Add tests-static to tests in malloc/Makefile
[glibc.git] / ChangeLog
blobb417ee785cb7085661d9ce115e323663935d332f
1 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3         * malloc/Makefile (tests): Remove individual static test names
4         and just add all of tests-static.
6         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
8 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
10         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11         file.
13         * sysdeps/sparc/fpu/fegetmode.c: New file.
14         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
19         * sysdeps/s390/fpu/fegetmode.c: New file.
20         * sysdeps/s390/fpu/fesetmode.c: Likewise.
22         * sysdeps/powerpc/fpu/fegetmode.c: New file.
23         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
24         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
25         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
26         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
27         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
29         * sysdeps/mips/fpu/fegetmode.c: New file.
30         * sysdeps/mips/fpu/fesetmode.c: Likewise.
32         * sysdeps/m68k/fpu/fegetmode.c: New file.
33         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
35         * sysdeps/ia64/fpu/fegetmode.c: New file.
36         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
38         * sysdeps/hppa/fpu/fegetmode.c: New file.
39         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
41         * sysdeps/arm/fegetmode.c: New file.
42         * sysdeps/arm/fesetmode.c: Likewise.
44         * sysdeps/alpha/fpu/fegetmode.c: New file.
45         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
47         * sysdeps/aarch64/fpu/fegetmode.c: New file.
48         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
50         * math/fegetmode.c: New file.
51         * math/fesetmode.c: Likewise.
52         * sysdeps/i386/fpu/fegetmode.c: Likewise.
53         * sysdeps/i386/fpu/fesetmode.c: Likewise.
54         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
55         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
56         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
57         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
58         declaration.
59         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
60         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
61         typedef.
62         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
63         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
64         (femode_t): New typedef.
65         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
66         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
67         (femode_t): New typedef.
68         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
69         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
70         (femode_t): New typedef.
71         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
72         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
73         (femode_t): New typedef.
74         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
75         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
76         (femode_t): New typedef.
77         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
78         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
79         (femode_t): New typedef.
80         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
81         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
82         (femode_t): New typedef.
83         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
84         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
85         (femode_t): New typedef.
86         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
87         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
88         (femode_t): New typedef.
89         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
90         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
91         (femode_t): New typedef.
92         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
93         declaration.
94         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
95         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
96         (femode_t): New typedef.
97         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
98         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
99         (femode_t): New typedef.
100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
101         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
102         (femode_t): New typedef.
103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
104         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
105         (femode_t): New typedef.
106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
107         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
108         (femode_t): New typedef.
109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
110         * manual/arith.texi (FE_DFL_MODE): Document macro.
111         (fegetmode): Document function.
112         (fesetmode): Likewise.
113         * math/Versions (fegetmode): New libm symbol at version
114         GLIBC_2.25.
115         (fesetmode): Likewise.
116         * math/Makefile (libm-support): Add fegetmode and fesetmode.
117         (tests): Add test-femode and test-femode-traps.
118         * math/test-femode-traps.c: New file.
119         * math/test-femode.c: Likewise.
120         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
121         alias for __fe_dfl_env.
122         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
123         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
124         (__fe_dfl_mode): Likewise.
125         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
126         version GLIBC_2.25.
127         * sysdeps/nacl/libm.abilist: Update.
128         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
129         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
130         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
131         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
132         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
133         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
134         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
135         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
136         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
137         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
138         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
139         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
141         Likewise.
142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
143         Likewise.
144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
145         Likewise.
146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
147         Likewise.
148         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
149         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
150         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
151         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
152         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
154         Likewise.
155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
156         Likewise.
157         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
158         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
159         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
161 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
163         [BZ #20495]
164         [BZ #20508]
165         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
166         processors, set Use_dl_runtime_resolve_slow and set
167         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
168         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
169         New.
170         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
171         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
172         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
173         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
174         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
175         if Use_dl_runtime_resolve_opt is set.  Use
176         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
177         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
178         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
179         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
180         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
181         New.
182         (_dl_runtime_resolve_opt): Likewise.
183         (_dl_runtime_profile): Define only if _dl_runtime_profile is
184         defined.
186 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
188         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
189         __libc_memalign with "+ RELA R_390_GLOB_DAT".
191 2016-09-06  Florian Weimer  <fweimer@redhat.com>
193         Convert malloc to __libc_lock.  Automated part, using this Perl
194         s/// command:
195           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
196             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
197         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
198         conversion.
200 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
202         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
203         (linknamespace-symlists-tests): Likewise.
204         (linknamespace-header-tests): Likewise.
206 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
208         [BZ #19810]
209         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
210         * elf/tst-noload.c: New test case.
211         * elf/Makefile (tests): Add tst-noload.
213 2016-09-02  Roland McGrath  <roland@hack.frob.com>
215         * sysdeps/nacl/dup.c: Add libc_hidden_def.
217         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
218         not any more.
220         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
222 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
224         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
225         (do_cos_slow): Likewise.
226         (do_sin): Likewise.
227         (do_sin_slow): Likewise.
228         (slow): Likewise.
229         (slow1): Likewise.
230         (slow2): Likewise.
231         (sloww): Likewise.
232         (sloww1): Likewise.
233         (sloww2): Likewise.
234         (bsloww): Likewise.
235         (bsloww1): Likewise.
236         (bsloww2): Likewise.
237         (cslow2): Likewise.
239         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
241         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
242         arguments.  Consolidate input partitioning from callers here.
243         (do_cos_slow): Likewise.
244         (do_sin): Likewise.
245         (do_sin_slow): Likewise.
246         (do_sincos_1): Remove the no longer necessary input partitioning.
247         (do_sincos_2): Likewise.
248         (__sin): Likewise.
249         (__cos): Likewise.
250         (slow1): Likewise.
251         (slow2): Likewise.
252         (sloww1): Likewise.
253         (sloww2): Likewise.
254         (bsloww1): Likewise.
255         (bsloww2): Likewise.
256         (cslow2): Likewise.
258 2016-09-02  Florian Weimer  <fweimer@redhat.com>
260         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
261         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
262         outside of allocated array.
264 2016-09-02  Florian Weimer  <fweimer@redhat.com>
266         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
267         instead of MB_CUR_MAX to avoid variable-length array.
269 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
271         * math/Makefile (libm-calls): Remove k_rem_pio2F.
272         (type-double-routines): Add k_rem_pio2.
273         (type-float-routines): Add k_rem_pio2f.
275         * sysdeps/generic/math_private.h:
276         (__kernel_rem_pio2l): Removed.
278         * math/k_rem_pio2l.c: Removed.
279         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
280         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
281         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
282         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
284 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
286         * math/Makefile (gen-libm-calls): Add s_fmin
287         (libm-calls): Remove above.
289         * math/s_fmin.c: Refactor into ...
290         * math/s_fmin_template.c: New file.
292         * math/s_fminf.c: Removed.
293         * math/s_fminl.c: Removed.
294         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
295         (LDOUBLE_fmin_libm_version): New macro.
297         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
298         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
300 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
302         * math/Makefile: (gen-libm-calls): Add s_fmax.
303         (libm-calls): Remove above.
305         * math/s_fmax.c: Refactor into ...
306         * math/s_fmax_template.c: New file.
307         * math/s_fmaxf.c: Removed.
308         * math/s_fmaxl.c: Removed.
310         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
311         (LDOUBLE_fmaxl_libm_version): New macro.
313         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
314         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
316         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
317         s_fmin.c to pick the aarch64 version of the file.
318         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
319         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
321 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
323         * math/Makefile: (gen-libm-calls): Add s_nextdown.
324         (libm-calls): Remove above.
326         * math/s_nextdown.c: Refactor into ...
327         * math/s_nextdown_template.c: New file.
328         * math/s_nextdownf.c: Removed.
329         * math/s_nextdownl.c: Removed.
331         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
333 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
335         * math/Makefile (gen-libm-calls): Add s_fdim.
336         (libm-calls): Move to above.
338         * math/s_fdim.c: Renamed and refactored into to ...
339         * math/s_fdim_template.c: New file.
340         * math/s_fdiml.c: Removed.
341         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
342         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
344         * sysdeps/generic/math-type-macros-double.h:
345         (declare_mgen_alias): Don't declare if already declared.
346         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
347         Likewise.
349         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
350         (declare_mgen_alias): Don't declare if already declared.
351         (M_LIBM_NEED_COMPAT): Likewise.
352         (declare_mgen_libm_compat): Likewise.
353         (LDOUBLE_fdiml_libm_version): New macro.
355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
356         Include math/s_fdim.c now that ldbl-opt version is not needed.
357         (declare_mgen_alias): New macro to disable aliasing.
359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
360         (declare_mgen_alias): Likewise.
361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
362         (declare_mgen_alias): Likewise.
363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
364         (declare_mgen_alias): Likewise.
365         (M_LIBM_NEED_COMPAT): Likewise.
367 2016-09-01  Florian Weimer  <fweimer@redhat.com>
369         [BZ #20525]
370         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
371         Include <linux/quota.h>.
372         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
373         and btodb.
374         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
375         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
376         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
377         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
378         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
379         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
380         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
381         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
382         types.
383         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
384         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
386 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
388         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
389         (gammal_positive): Fix spacing.
390         (__ieee754_gammal_r): Likewise.
392 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
394         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
395         (_Float128): Define as long double, always.
396         (L): Apply long double type suffix, always.
398         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
399         _Float128, excepting comments.
401         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
402         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
403         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
404         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
405         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
406         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
407         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
408         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
409         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
410         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
411         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
412         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
413         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
414         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
415         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
416         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
417         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
418         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
419         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
420         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
421         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
422         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
423         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
424         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
425         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
426         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
427         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
428         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
429         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
430         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
431         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
432         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
433         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
434         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
435         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
436         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
437         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
438         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
439         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
440         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
441         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
442         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
443         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
444         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
445         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
446         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
447         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
448         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
449         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
450         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
451         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
452         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
453         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
454         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
455         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
456         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
457         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
458         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
459         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
460         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
461         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
462         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
463         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
464         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
465         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
466         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
467         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
468         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
470         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
471         _Float128, and include math_private.h.
472         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
474         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
475         long double semantics.
476         (_Float128): Likewise.
477         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
478         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
479         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
480         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
482 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
484         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
485         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
486         * sysdeps/s390/configure: Regenerated.
487         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
488         instruction for raising over-/underflow if z196 zarch is supported
489         by default.
490         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
492 2016-08-30  Svante Signell  <svante.signell@gmail.com>
494         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
495         it point to a dumb buffer for RPC to fill it.
497 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
499         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
500         instead of if/else.
501         (do_sin_slow): Likewise.
502         (do_sincos_1): Use fabs instead of if/else.
503         (do_sincos_2): Likewise.
504         (__sin): Likewise.
505         (__cos): Likewise.
506         (slow2): Likewise.
507         (sloww): Likewise.
508         (sloww1): Likewise.  Drop argument M.
509         (sloww2): Use fabs instead of if/else.
510         (bsloww): Likewise.
511         (bsloww1): Likewise.
512         (bsloww2): Likewise.
514         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
515         fall through comment.
516         (do_sincos_1): Likewise.
518         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
519         Consolidate switch cases 0 and 2.
521 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
523         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
524         (libm-calls): Remove the above.
526         * math/s_cexp_template.c: Update using type-generic macros.
527         * math/s_clog10_template.c: Likewise.
528         * math/s_cpow_template.c: Likewise.
529         * math/s_clog_template.c: Likewise.
530         * math/s_cproj_template.c: Likewise.
531         * math/s_csqrt_template.c: Likewise.
533         * math/s_cexp.c: Removed.
534         * math/s_cexpf.c: Removed.
535         * math/s_cexpl.c: Removed.
536         * math/s_clog10.c: Removed.
537         * math/s_clog10f.c: Removed.
538         * math/s_clog10l.c: Removed.
539         * math/s_cpow.c: Removed.
540         * math/s_cpowf.c: Removed.
541         * math/s_cpowl.c: Removed.
542         * math/s_clog.c: Removed.
543         * math/s_clogf.c: Removed.
544         * math/s_clogl.c: Removed.
545         * math/s_cproj.c: Removed.
546         * math/s_cprojf.c: Removed.
547         * math/s_cprojl.c: Removed.
548         * math/s_csqrt.c: Removed.
549         * math/s_csqrtf.c: Removed.
550         * math/s_csqrtl.c: Removed.
552         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
553         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
554         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
555         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
556         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
557         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
559         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
560         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
561         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
562         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
563         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
564         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
565         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
566         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
567         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
568         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
569         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
571         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
572         version.
574         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
575         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
576         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
577         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
579 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
581         * s_cexp_template.c: Copy of s_cexp.c.
582         * s_clog_template.c: Copy of s_clog.c.
583         * s_clog10_template.c: Copy of s_clog10.c.
584         * s_cpow_template.c: Copy of s_cpow.c.
585         * s_cproj_template.c: Copy of s_cproj.c.
586         * s_csqrt_template.c: Copy of s_csqrt.c.
588 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
590         [BZ #20517]
591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
592         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
593         exported.
595 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
597         * math/fetestexceptflag.c: New file.
598         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
599         Stefan Liebler.
600         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
601         (fetestexceptflag): New function declaration.
602         * manual/arith.texi (fetestexceptflag): Document function.
603         * math/Versions (fetestexceptflag): New libm symbol at version
604         GLIBC_2.25.
605         * math/Makefile (libm-support): Add fetestexceptflag.
606         (tests): Add test-fetestexceptflag.
607         * math/test-fetestexceptflag.c: New file.
608         * sysdeps/nacl/libm.abilist: Update.
609         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
610         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
611         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
612         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
613         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
614         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
615         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
616         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
617         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
618         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
619         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
620         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
622         Likewise.
623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
624         Likewise.
625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
626         Likewise.
627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
628         Likewise.
629         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
630         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
631         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
632         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
633         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
635         Likewise.
636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
637         Likewise.
638         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
639         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
640         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
642 2016-08-26  Florian Weimer  <fweimer@redhat.com>
644         [BZ #20432]
645         Avoid strong references to malloc-internal symbols when linking
646         statically, to support statically interposed mallocs.
647         * include/libc-symbols.h (call_function_static_weak): New macro.
648         * malloc/Makefile (tests): Add tst-interpose-nothread,
649         tst-interpose-thread, tst-interpose-static-nothread,
650         tst-interpose-static-thread.
651         (tests-static): Add tst-interpose-static-nothread,
652         tst-interpose-static-thread.
653         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
654         tst-interpose-aux-thread.o.
655         (test-extras): Add tst-interpose-aux-nothread,
656         tst-interpose-aux-thread.
657         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
658         tst-interpose-aux-nothread.o.
659         (tst-interpose-thread, tst-interpose-static-thread): Link with
660         tst-interpose-aux-thread.o and libthread.
661         * malloc/tst-interpose-aux-nothread.c: New file.
662         * malloc/tst-interpose-aux-thread.c: Likewise.
663         * malloc/tst-interpose-aux.c: Likewise.
664         * malloc/tst-interpose-aux.h: Likewise.
665         * malloc/tst-interpose-nothread.c: Likewise.
666         * malloc/tst-interpose-skeleton.c: Likewise.
667         * malloc/tst-interpose-static-nothread.c: Likewise.
668         * malloc/tst-interpose-static-thread.c: Likewise.
669         * malloc/tst-interpose-thread.c: Likewise.
670         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
671         * sysdeps/mach/hurd/fork.c (__fork): Only call
672         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
673         __malloc_fork_unlock_child if defined.
674         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
676 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
678         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
679         timespec C99 designated initialization.
681 2016-08-26  Florian Weimer  <fweimer@redhat.com>
683         [BZ #19946]
684         Avoid expected SIGALRM signals.
685         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
686         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
687         (xpthread_create, xpthread_detach, xpthread_join)
688         (delayed_exit_thread, delayed_exit): New functions.
689         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
690         (tf): Use xpthread_cond_wait.
691         (do_test): Likewise.  Replace alarm with delayed_exit.
692         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
693         (do_test): Call delayed_exit.  Report failure.
694         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
695         (do_test): Call delayed_exit.
696         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
697         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
698         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
699         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
700         error.
701         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
702         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
703         error.
704         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
705         (do_test): Call delayed_exit.
706         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
707         (do_test): Call delayed_exit.
708         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
709         (do_test): Call delayed_exit instead of alarm.  Use
710         xpthread_mutex_lock.
711         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
712         (do_test): Call delayed_exit instead of alarm.  Use
713         xpthread_mutex_lock.
714         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
715         (do_test): Call delayed_exit instead of alarm.
716         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
717         (do_test): Call delayed_exit instead of alarm.  Use
718         xpthread_spin_lock.
719         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
720         (do_test): Call delayed_exit instead of alarm.  Use
721         xpthread_join.
723 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
725         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
726         adjust CFA when allocating register save area on re-aligned
727         stack.
729 2016-08-26  Florian Weimer  <fweimer@redhat.com>
731         * string/tst-cmp.c: New test.
732         * string/Makefile (tests): Add it.
734 2016-08-25  Mark Wielaard  <mark@klomp.org>
736         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
737         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
738         (check_tree_recurse): Use newly defined accessors.
739         (check_tree): Likewise.
740         (maybe_split_for_insert): Likewise.
741         (__tfind): Likewise.
742         (__tdelete): Likewise.
743         (trecurse): Likewise.
744         (tdestroy_recurse): Likewise.
745         (__tsearch): Likewise. And add asserts for malloc alignment.
746         (__twalk): Cast root to node in case CHECK_TREE is defined.
748 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
750         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
752 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
754         * math/Makefile (libm-gen-calls): Add
755         catan, catanh, ctan, ctanh.
756         (libm-calls): Remove the above.
758         * math/s_catan_template.c: Update using type-generic macros.
759         * math/s_catanh_template.c: Likewise.
760         * math/s_ctan_template.c: Likewise.
761         * math/s_ctanh_template.c: Likewise.
763         * math/s_catanf.c: Removed.
764         * math/s_catan.c: Removed.
765         * math/s_catanl.c: Removed.
766         * math/s_catanhf.c: Removed.
767         * math/s_catanh.c: Removed.
768         * math/s_catanhl.c: Removed.
769         * math/s_ctanf.c: Removed.
770         * math/s_ctan.c: Removed.
771         * math/s_ctanl.c: Removed.
772         * math/s_ctanhf.c: Removed.
773         * math/s_ctanh.c: Removed.
774         * math/s_ctanhl.c: Removed.
776         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
777         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
778         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
779         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
780         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
781         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
783         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
784         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
785         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
786         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
788 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
790         * s_catan_template.c: Copy of s_catan.c.
791         * s_catanh_template.c: Copy of s_catanh.c.
792         * s_ctan_template.c: Copy of s_ctan.c.
793         * s_ctanh_template.c: Copy of s_ctanh.c.
795 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
797         * math/Makefile (gen-libm-calls): Move
798         casin, casinh, csin, csinh here.
799         (libm-calls): Remove the above.
801         * math/s_casin_template.c: Update using type-generic macros.
802         * math/s_casinh_template.c: Likewise.
803         * math/s_csin_template.c: Likewise.
804         * math/s_csinh_template.c: Likewise.
805         * math/k_casinh_template.c: Likewise.
807         * math/s_casinf.c: Removed.
808         * math/s_casin.c: Removed.
809         * math/s_casinl.c: Removed.
810         * math/s_casinh.c: Removed.
811         * math/s_casinhf.c: Removed.
812         * math/s_casinhl.c: Removed.
813         * math/s_csin.c: Removed.
814         * math/s_csinf.c: Removed.
815         * math/s_csinl.c: Removed.
816         * math/s_csinh.c: Removed.
817         * math/s_csinhf.c: Removed.
818         * math/s_csinhl.c: Removed.
819         * math/k_casinh.c: Removed.
820         * math/k_casinhf.c: Removed.
821         * math/k_casinhl.c: Removed.
823         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
824         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
825         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
826         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
828         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
829         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
830         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
831         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
832         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
833         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
834         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
835         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
837         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
838         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
839         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
840         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
842         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
843         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
844         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
845         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
847 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
849         * s_casin_template.c: Copy of s_casin.c.
850         * s_casinh_template.c: Copy of s_casinh.c.
851         * s_csin_template.c: Copy of s_csin.c.
852         * s_csinh_template.c: Copy of s_csinh.c.
853         * k_casinh_template.c: Copy of k_casinh.c.
855 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
857         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
859 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
861         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
862         (mul_split) Remove, rename as mul_splitl, remove
863         redundant float.h include, and include via mul_splitl.h
865         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
866         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
867         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
868         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
869         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
871         * math/mul_splitl.h: New file.
873         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
874         Move into mul_split.h, and remove redundant float.h include.
876         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
877         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
878         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
879         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
881         * math/mul_split.h: New file.
883 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
885         * math/Makefile (libm-gen-calls): Move
886         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
887         (libm-calls): Remove above.
889         * math/s_cacos_template.c: Update using type-generic macros.
890         * math/s_cacosh_template.c: Likewise.
891         * math/s_ccos_template.c: Likewise.
892         * math/s_ccosh_template.c: Likwise.
894         * math/s_cacosf.c: Removed.
895         * math/s_cacos.c: Removed.
896         * math/s_cacosl.c: Removed.
897         * math/s_cacoshf.c: Removed.
898         * math/s_cacosh.c: Removed.
899         * math/s_cacoshl.c: Removed.
900         * math/s_ccosf.c: Removed.
901         * math/s_ccos.c: Removed.
902         * math/s_ccosl.c: Removed.
903         * math/s_ccoshf.c: Removed.
904         * math/s_ccosh.c: Removed.
905         * math/s_ccoshl.c: Removed.
907         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
908         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
909         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
910         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
911         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
912         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
914         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
915         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
916         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
917         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
919         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
920         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
921         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
922         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
924 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
926         * s_cacos_template.c: Copy of s_cacos.c.
927         * s_cacosh_template.c: Copy of s_cacosh.c.
928         * s_ccos_template.c: Copy of s_ccos.c.
929         * s_ccosh_template.c: Copy of s_ccosh.c.
931 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
933         * stdlib/tst-strtod-round-skeleton.c:
934         Refactored from tst-strtod-round.c.
936         (L_): New macro to apply literal modifier.
937         (FNPFX): New macro to select str or wcs prefix.
938         (CHAR): New macro to choose wchar_t or char.
939         (STRM): New macro to choose printf for tested character type.
941         (STRTO): New macro to choose appropriate string -> real function.
942         (FNPFXS): Stringitized version of FNPFX.
943         (STR): Support for above macro.
944         (STRX): Likewise.
946         (TEST): Update with above macros.
947         (test): Likewise.
948         (GEN_ONE_TEST): Likewise.
949         (test_in_one_mode): Likewise.
951         * stdlib/tst-strtod-round.c: New file.
952         * wcsmbs/tst-wcstod-round.c: New file.
954         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
955         (tst-wcstod-round): Add libm depencency for fesetround.
957 2016-08-19  Zack Weinberg  <zackw@panix.com>
959         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
961 2016-08-18  Torvald Riegel  <triegel@redhat.com>
963         [BZ #20477]
964         * resolv/res_hconf.c (do_init): Use atomic access.
965         * resolv/res_hconf.h: Add comments.
966         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
967         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
970 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
972         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
973         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
974         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
975         Likewise.
977 2016-08-18  Florian Weimer  <fweimer@redhat.com>
979         [BZ #16907]
980         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
981         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
982         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
983         (__attribute__): Remove definition.
985 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
987         * sysdeps/ieee754/ldbl-128/e_asinl.c:
988         Remove unused sqrtl declaration.
990 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
992         * math/Makefile: (gen-libm-templates.stmp): New rule.
993         (libm-calls): Move carg conj cimag and cabs into ...
994         (gen-libm-calls): New variable.
995         (generated): Inform Make objects from gen-libm-calls
996         may be generated.
998         * sysdeps/generic/math-type-macros.h: New file.
999         * sysdeps/generic/math-type-macros-float.h: Likewise.
1000         * sysdeps/generic/math-type-macros-double.h: Likewise.
1001         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1002         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1003         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1005         * math/cabs.c: Refactor into
1006         * math/cabs_template.c: new file.
1007         * math/cabsf.c: Removed.
1008         * math/cabsl.c: Removed.
1009         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1010         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1012         * math/carg.c: Refactor into
1013         * math/carg_template.c: new file.
1014         * math/cargf.c: Removed.
1015         * math/cargl.c: Removed.
1016         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1017         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1019         * math/conj.c: Refactor into
1020         * math/conj_template.c: new file.
1021         * math/conjf.c: Removed.
1022         * math/conjl.c: Removed.
1023         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1024         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1026         * math/cimag.c: Refactor into
1027         * math/cimag_template.c: new file.
1028         * math/cimagf.c: Removed.
1029         * math/cimagl.c: Removed.
1030         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1031         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1033         * math/cimag.c: Refactor into
1034         * math/cimag_template.c: new file.
1035         * math/cimagf.c: Removed.
1036         * math/cimagl.c: Removed.
1037         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1038         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1040 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1042         Reduce time to expected nptl/tst-once5 failure.
1043         * nptl/tst-once5.cc (TIMEOUT): Define.
1045 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1047         [BZ #20452]
1048         Avoid additional copies of objects in libc.a in static libraries.
1049         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1050         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1051         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1052         rt-sysdep.
1053         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1054         Add nptl-sysdep.
1055         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1056         Add ptw-sysdep.
1057         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1058         rt-sysdep.
1059         * sysdeps/unix/sysv/linux/alpha/Makefile
1060         (libpthread-shared-only-routines): Add ptw-sysdep,
1061         ptw-sigprocmask, ptw-rt_sigaction.
1062         * sysdeps/unix/sysv/linux/ia64/Makefile
1063         (librt-shared-only-routines): Add rt-sysdep.
1064         * sysdeps/unix/sysv/linux/i386/Makefile
1065         (libpthread-shared-only-routines): Add libc-do-syscall.
1066         * sysdeps/unix/sysv/linux/microblaze/Makefile
1067         (libpthread-shared-only-routines): Add sysdep.
1068         * sysdeps/unix/sysv/linux/powerpc/Makefile
1069         (librt-shared-only-routines): Add rt-sysdep.
1070         (libpthread-shared-only-routines): Add sysdep.
1071         * sysdeps/unix/sysv/linux/s390/Makefile
1072         (librt-shared-only-routines): Add rt-sysdep.
1073         * sysdeps/unix/sysv/linux/sparc/Makefile
1074         (librt-shared-only-routines): Add rt-sysdep.
1075         (libpthread-shared-only-routines): Add sysdep.
1076         * sysdeps/unix/sysv/linux/tile/Makefile
1077         (libpthread-shared-only-routines): Likewise.
1079 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1081         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1082         Mask implicit bit out of unpacked value.
1083         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1084         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1085         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1087         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1089         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1091         * sysdeps/s390/fpu/fesetexcept.c: New file.
1093         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1094         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1095         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1097         * sysdeps/mips/fpu/fesetexcept.c: New file.
1099         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1101         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1103         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1105         * sysdeps/arm/fesetexcept.c: New file.
1107         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1109         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1111         * math/fesetexcept.c: New file.
1112         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1113         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1114         * math/fenv.h: Define
1115         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1116         <bits/libc-header-start.h> instead of including <features.h>.
1117         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1118         declaration.
1119         * manual/arith.texi (fesetexcept): Document function.
1120         * math/Versions (fesetexcept): New libm symbol at version
1121         GLIBC_2.25.
1122         * math/Makefile (libm-support): Add fesetexcept.
1123         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1124         * math/test-fesetexcept.c: New file.
1125         * math/test-fesetexcept-traps.c: Likewise.
1126         * sysdeps/nacl/libm.abilist: Update.
1127         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1128         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1129         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1130         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1131         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1132         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1133         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1134         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1135         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1136         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1137         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1138         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1140         Likewise.
1141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1142         Likewise.
1143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1144         Likewise.
1145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1146         Likewise.
1147         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1148         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1149         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1150         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1151         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1153         Likewise.
1154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1155         Likewise.
1156         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1157         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1158         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1160 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1162         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1163         New.
1164         (do_test): Apply default_stack_size_in_mb if not set.
1165         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1167 2016-08-15  Andreas Schwab  <schwab@suse.de>
1169         [BZ #20435]
1170         CVE-2016-6323
1171         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1172         as .cantunwind.
1174 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1176         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1177         comment from fraiseexcpt.c.
1179         * math/test-fexcept.c (feraiseexcept_exact): New function.
1180         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1181         (test_except): Likewise.
1183 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1185         [BZ #20455]
1186         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1187         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1188         to be restored.
1190         * math/test-fexcept-traps.c: New file.
1191         * math/test-fexcept.c: Likewise.
1192         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1193         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1194         macro.
1195         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1196         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1198 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1200         * include/atomic.h (atomic_fetch_and_relaxed,
1201         atomic_fetch_and_release, atomic_fetch_or_release,
1202         atomic_fetch_xor_release): New.
1204 2016-08-06  Christian Seiler  <christian@iwakd.de>
1206         [BZ #20444]
1207         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1208         MACH_PORT_NULL.
1210 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1212         * math/s_fdim.c: Avoid alias renamed.
1213         * math/s_fdimf.c: Likewise.
1214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1215         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1216         Add s_fdimf-vis3, s_fdim-vis3.
1217         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1218         (CFLAGS-s_fdim-vis3.c): Likewise.
1219         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1220         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1222 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1225         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1226         Remove s_fdimf-vis3, s_fdim-vis3.
1227         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1228         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1235         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1236         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1238 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1240         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1241         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1242         -Wa,-Av9a -mvis.
1244 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1246         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1247         LIT() to individual constants in simple expressions
1248         after splitting on spaces.
1249         (_apply_lit): Rename replaced version, and use it to
1250         apply to what appears to be a token.
1252         * math/libm-test.inc: Fix many, many issues with
1253         spacing.
1255 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1257         * math/math.h: Move comment about <bits/mathdef.h> definitions
1258         above inclusion of <bits/mathdef.h>.  Do not mention
1259         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1261 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1263         * include/atomic.h (atomic_exchange_relaxed): New.
1265 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1267         * math/e_scalb.c: Do not include <fenv.h>.
1268         (invalid_fn): Do calculation resulting in NaN instead of raising
1269         FE_INVALID and returning a NaN explicitly.
1270         * math/e_scalbf.c: Do not include <fenv.h>.
1271         (invalid_fn): Do calculation resulting in NaN instead of raising
1272         FE_INVALID and returning a NaN explicitly.
1273         * math/e_scalbl.c: Do not include <fenv.h>.
1274         (invalid_fn): Do calculation resulting in NaN instead of raising
1275         FE_INVALID and returning a NaN explicitly.
1277 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1279         * po/de.po: Updated from Translation Project.
1280         * po/fi.po: Likewise.
1281         * po/sv.po: Likewise.
1283 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1285         [BZ #20452]
1286         Use sysdep.o from libc.a in static libraries.
1287         * sysdeps/unix/sysv/linux/i386/Makefile
1288         (libpthread-shared-only-routines): Add sysdep.
1289         (librt-shared-only-routines): Likewise.
1291 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1293         * math/tgmath.h (nextdown): Define if
1294         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1295         (nextup): Likewise.
1297         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1298         macro.
1299         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1300         Document.
1301         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1302         Document macro.
1303         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1304         (exp10f): Likewise.
1305         (exp10l): Likewise.
1306         * math/bits/mathcalls.h (exp10): Declare if
1307         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1309         * manual/arith.texi (nextup): Fix typo in last change.
1311 2016-08-03  Zack Weinberg  <zackw@panix.com>
1313         [BZ #19239]
1314         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1315         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1316         define major, minor, and makedev to issue deprecation warnings on use.
1317         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1318         previously-activated deprecation warnings for these macros and prevent
1319         subsequent inclusions of this header from having any effect.
1320         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1321         including <sys/sysmacros.h>, and undefine it again afterward.
1323 2016-08-03  Zack Weinberg  <zackw@panix.com>
1325         * sysdeps/generic/sys/sysmacros.h: Delete file.
1326         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1327         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1328         * bits/sysmacros.h: ... here; this encoding is now the generic
1329         encoding.  Now defines only the following macros:
1330         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1331         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1332         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1334         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1335         bits/sysmacros.h and the above new macros to generate the
1336         public implementations of major, minor, and makedev.
1337         * misc/tst-makedev.c: New test.
1338         * include/sys/sysmacros.h: New wrapper.
1340         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1341         (routines): Add makedev.
1342         (tests): Add tst-makedev.
1343         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1344         gnu_dev_makedev.
1345         * posix/Makefile (headers): Remove sys/sysmacros.h.
1346         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1348         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1349         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1350         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1351         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1352         * sysdeps/unix/sysv/linux/arm/libc.abilist
1353         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1354         * sysdeps/unix/sysv/linux/i386/libc.abilist
1355         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1356         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1357         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1358         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1359         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1360         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1361         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1362         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1363         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1368         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1369         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1370         * sysdeps/unix/sysv/linux/sh/libc.abilist
1371         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1372         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1375         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1376         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1377         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1378         Add GLIBC_2.25.
1380         * include/features.h (__glibc_clang_prereq): New macro.
1381         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1382         (__attribute_deprecated_msg__): New macros.
1384 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1386         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1387         macro.
1388         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1389         * manual/arith.texi (issignaling): Document as ISO from TS
1390         18661-1:2014.
1391         (nextup): Likewise.
1392         (nextupf): Likewise.
1393         (nextupl): Likewise.
1394         (nextdown): Likewise.
1395         (nextdownf): Likewise.
1396         (nextdownl): Likewise.
1397         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1398         macro.
1399         * math/math.h: Define
1400         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1401         <bits/libc-header-start.h> instead of including <features.h>.
1402         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1403         [__USE_GNU].
1404         * math/bits/mathcalls.h (nextdown): Declare if
1405         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1406         (nextup): Likewise.
1407         (__issignaling): Likewise.
1409 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1411         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1412         check, and remove __glibc_likely hint
1413         from FP_INFINITE check.
1414         * s_csinhf.c (__csinhf): Likewise.
1416         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1417         hint from FP_INFINITE check.
1418         * s_csinhl.c (__csinhl): Likewise.
1420 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1422         * math/Makefile (libm-calls): Insert F placeholder into
1423         object names.  Move w_lgamma_compat* routines into
1424         (libm-compat-calls): New variable.
1425         (libm-compat-calls-ldouble-yes): New variable.
1426         (calls): Insert F placeholder.
1427         (generated): Redefine using new type-foreach macro call.
1428         (routines): Likewise.
1430         (types): New variable to hold a list of symbolic names
1431         for each type supported by the target machine.
1432         (libm-routines): Redefine using new types variable.
1433         (type-foreach): macro to replace fooF with the
1434         appropriately suffixed foo for each types.
1436         (type-ldouble-suffix): New variable.
1437         (type-ldouble-routines): Likewise.
1438         (type-ldouble-yes): Likewise.
1439         (type-double-suffix): Likewise.
1440         (type-double-routines): Likewise.
1441         (type-float-suffix): Likewise.
1442         (type-float-routines): Likewise.
1444         (dbl-only-routines): Remove.
1445         (long-c-yes): Likewise.
1446         (long-m-routines): Likewise.
1447         (long-m-support): Likewise.
1448         (long-m-yes): Likewise.
1449         (test-longdouble-yes): Likewise.
1451         (test-float.o): Simplify by increasing the scope of the
1452         recipe which adds libm-test.stmp to the vector types.
1453         (test-ifloat.o): Likewise.
1454         (test-float-finite.o): Likewise.
1455         (test-double.o): Likewise
1456         (test-idouble.o): Likewise.
1457         (test-double-finite.o): Likewise.
1458         (test-ldouble.o): Likewise
1459         (test-ildoubl.o): Likewise.
1460         (test-ldouble-finite.o): Likewise.
1462         (libm-tests): Redefine type tests using foreach and the
1463         list of types in types.
1465         (CPPFLAGS-test-ildoubl.c): Rename to
1466         (CPPFLAGS-test-ildouble.c): New variable
1468         * math/test-ildoubl.c: Rename to
1469         * math/test-ildouble.c: New file.
1471 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1473         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1474         Use fabsl instead of fabs.
1475         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1476         Likewise.
1477         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1478         Add long double suffix to constant to ensure proper
1479         promotion to long double.
1481 2016-08-03  Tom Tromey  <tom@tromey.com>
1483         [BZ #20311]
1484         * nptl_db/Makefile (headers): Add proc_service.h.
1485         * nptl_db/proc_service.h: Add include guard.  Use
1486         __BEGIN/__END_DECLS.
1487         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1488         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1489         arguments.
1492 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1494         [BZ #17730]
1495         Avoid using memalign for TCB allocations.
1496         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1497         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1498         Avoid alignment gap in the TLS_DTV_AT_TP case.
1499         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1500         determine the pointer to free.
1501         * nptl/tst-tls3-malloc.c: New test.
1502         * nptl/Makefile (tests): Add it.
1503         (tst-tls3-malloc): Link with libdl, libpthread.
1504         (LDFLAGS-tst-tls3-malloc): Set.
1505         (tst-tls3-malloc.out): Depend on DSO used in test.
1507 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1509         [BZ #17730]
1510         Avoid using memalign for TLS allocations.
1511         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1512         is_static member with to_free member.
1513         (union dtv): Use struct dtv_pointer.
1514         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1515         dtv_pointer instead of is_static.
1516         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1517         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1518         instead of val.
1519         (allocate_dtv_entry): New function.
1520         (allocate_and_init): Return struct dtv_pointer.  Call
1521         allocate_dtv_entry instead of __libc_memalign.
1522         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1523         instead of val.
1524         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1525         instead of is_static.  Adjust call to allocate_and_init.
1526         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1527         struct dtv_pointer instead of val.
1529 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1531         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1532         (MALLOC_ALIGN_MASK): Move ...
1533         * malloc/malloc-internal.h: ... to here.
1534         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1536 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1538         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1539         (UDP_ENCAP_GTP1U): Likewise.
1541         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1542         (PF_MAX): Update value.
1543         (AF_QIPCRTR): New macro.
1545 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1547         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1548         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1549         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1550         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1551         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1552         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1553         s_truncf-vis3, s_trunc-vis3.
1554         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1555         (CFLAGS-s_ceil-vis3.c): Likewise.
1556         (CFLAGS-s_floorf-vis3.c): Likewise.
1557         (CFLAGS-s_floor-vis3.c): Likewise.
1558         (CFLAGS-s_truncf-vis3.c): Likewise.
1559         (CFLAGS-s_trunc-vis3.c): Likewise.
1560         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1561         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1562         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1563         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1564         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1565         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1566         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1567         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1568         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1569         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1570         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1571         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1573 2016-08-02  David S. Miller  <davem@davemloft.net>
1575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1576         (__nearbyint_vis3): Don't check for sNaN before float register is
1577         loaded with the incoming argument.
1578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1579         (__nearbyintf_vis3): Likewise.
1580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1581         Likewise.
1582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1583         Likewise.
1585         * string/test-strncmp.c (do_test_limit): Make sure the test data
1586         stream is aligned as required for the type "CHAR".
1587         (do_test): Likewise.
1589 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1591         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1592         by beq instructions jumping to the end of the function.
1593         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1594         clobber list. Use "i" constraint instead of "X".
1595         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1596         of "X".
1598 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1600         * bits/libc-header-start.h: New file.
1601         * Makefile (headers): Add bits/libc-header-start.h.
1602         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1603         (__GLIBC_USE): New macro.
1604         * libio/stdio.h: Define
1605         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1606         <bits/libc-header-start.h> instead of including <features.h>.
1607         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1608         (open_memstream): Likewise.
1609         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1610         (__asprintf): Likewise.
1611         (asprintf): Likewise.
1612         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1613         (getdelim): Likewise.
1614         (getline): Likewise.
1615         * string/string.h: Define
1616         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1617         <bits/libc-header-start.h> instead of including <features.h>.
1618         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1619         (strndup): Likewise.
1620         * wcsmbs/wchar.h: Define
1621         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1622         <bits/libc-header-start.h> instead of including <features.h>.
1623         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1624         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1626 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1628         Support linking against compatibility symbols, for use in tests.
1629         * include/libc-symbols.h (symbol_version_reference): New macro.
1630         (symbol_version): Use it.
1631         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1632         (compat_symbol): Use compat_symbol_reference.
1633         (compat_symbol_1, compat_symbol_2): Remove.
1634         (compat_symbol_reference, compat_symbol_reference_1)
1635         (compat_symbol_reference_2): New macro.  Use
1636         symbol_version_reference.
1638 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1640         [BZ #19469]
1641         * malloc/Makefile (CPPFLAGS): Compile tests with
1642         -DTEST_NO_MALLOPT.
1643         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1645 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1647         [BZ #20033]
1648         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1649         finite version.
1650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1651         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1652         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1653         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1654         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1655         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1656         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1657         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1658         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1659         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1660         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1661         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1662         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1663         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1664         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1665         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1666         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1667         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1668         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1669         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1670         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1671         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1672         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1673         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1674         in zero power.
1676 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1678         [BZ #20370]
1679         * malloc/arena.c (get_free_list): Update comment.  Assert that
1680         arenas on the free list have no attached threads.
1681         (remove_from_free_list): New function.
1682         (reused_arena): Call it.
1684 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1686         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1687         when it is a NaN.
1688         [_IEEE_FP_INEXACT] Remove.
1689         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1690         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1691         when it is a NaN.
1692         [_IEEE_FP_INEXACT] Remove.
1693         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1694         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1695         when it is a NaN.
1696         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1697         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1698         when its absolute value is greater than 0x1.0p52.
1699         [_IEEE_FP_INEXACT] Remove.
1700         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1701         when its absolute value is greater than 0x1.0p23.
1702         [_IEEE_FP_INEXACT] Remove.
1704 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1706         * version.h (RELEASE): Set to "development"
1707         (VERSION): Set to 2.24.90.
1708         * NEWS: Add 2.25 section.
1710         * version.h (RELEASE): Set to "stable"
1711         (VERSION): Set to 2.24.
1712         * include/features.h (__GLIBC_MINOR__): Set to 24.
1714         * NEWS: Add 2.24 fixed bugs.
1715         * po/libc.pot: Regenerate.
1717 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1720         [$(subdir) = math] (libm-sysdep_routines): Remove.
1721         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1722         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1723         s_truncf-vis3, s_trunc-vis3.
1724         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1726         file.
1727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1748         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1749         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1750         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1751         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1752         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1753         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1754         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1755         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1760         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1761         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1762         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1763         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1764         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1765         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1766         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1767         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1768         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1769         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1771 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1773         [BZ #20384]
1774         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1775         test-double-libmvec-sincos-avx-main.o,
1776         test-double-libmvec-sincos-avx2-main.o,
1777         test-double-libmvec-sincos-main.o,
1778         test-float-libmvec-sincosf-avx-main.o,
1779         test-float-libmvec-sincosf-avx2-main.o and
1780         test-float-libmvec-sincosf-main.o.
1781         test-float-libmvec-sincosf-avx512-main.o.
1782         ($(objpfx)test-double-libmvec-sincos): Also link with
1783         $(objpfx)test-double-libmvec-sincos-main.o.
1784         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1785         $(objpfx)test-double-libmvec-sincos-avx-main.o.
1786         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1787         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1788         ($(objpfx)test-float-libmvec-sincosf): Also link with
1789         $(objpfx)test-float-libmvec-sincosf-main.o.
1790         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1791         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1792         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1793         test-double-libmvec-sincos-avx512-main.o and
1794         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1795         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1796         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1797         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1798         (CFLAGS-test-double-libmvec-sincos.c): Removed.
1799         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1800         (CFLAGS-test-double-libmvec-sincos-main.c): New.
1801         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1802         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1803         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1804         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1805         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1806         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1807         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1808         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1809         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1810         -DREQUIRE_AVX2.
1811         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1812         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1813         -DREQUIRE_AVX512F.
1814         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1815         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1816         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1817         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1818         file.
1819         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1820         Likewise.
1821         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1822         Likewise.
1823         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1824         Likewise.
1825         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1826         Likewise.
1827         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1828         Likewise.
1829         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1830         Likewise.
1831         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1832         Likewise.
1834 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
1836         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1838 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
1840         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1841         and typo in a comment about AT_HWCAP entry.
1843 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1845         * sysdeps/aarch64/libm-test-ulps: Updated.
1847 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1849         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1850         of r13 as it is not restored in mvcle case.
1852 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1854         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1855         Rename "ret" to "__ret".
1856         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1857         inline_syscall5, inline_syscall6): Likewise.
1859 2016-07-19   Will Newton  <will.newton@gmail.com>
1861         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1862         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1863         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1864         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1865         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1867 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1869         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1870         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1871         -mfpmath=387 with $(rtld-CFLAGS).
1872         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1873         $(rtld-CFLAGS).
1875 2016-07-18   Ross Burton  <ross.burton@intel.com>
1876              Khem Raj  <raj.khem@gmail.com>
1878         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1879         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1880         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1881         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1882         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1883         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1884         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1885         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1886         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1887         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1888         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1889         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1890         R_METAG_TLS_DTPOFF): New.
1892 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1893             Matt Clay  <mclay@lycos.com>
1895         [BZ #20357]
1896         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1897         to call __mpsin/__mpcos and to negate values.
1898         * math/auto-libm-test-in: Add test.
1899         * math/auto-libm-test-out: Regenerate.
1901 2016-07-18  Zack Weinberg  <zackw@panix.com>
1903         * grp/Makefile: Don't install the internal header grp-merge.h.
1905 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1907         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1909 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1911         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1913 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1915         [BZ #15368]
1916         * sysdeps/unix/sysv/linux/nptl-signals.h
1917         (__nptl_clear_internal_signals): New function.
1918         (__libc_signal_block_all): Likewise.
1919         (__libc_signal_block_app): Likewise.
1920         (__libc_signal_restore_set): Likewise.
1921         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1922         implementation.
1923         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1924         the cached pid/tid value in pthread structure.
1926 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1928         [BZ #20347]
1929         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1931 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1933         [BZ #20348]
1934         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1935         preadv64, pwrite64 and pwritev64.
1937 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1939         [BZ #20350]
1940         * posix/tst-preadwrite.c: Renamed to ...
1941         * posix/tst-preadwrite-common.c: This.
1942         (PREAD): Removed.
1943         (PWRITE): Likewise.
1944         (STRINGIFY): Likewise.
1945         (STRINGIFY2): Likewise.
1946         (do_prepare): Make it static and remove function arguments.
1947         (do_test): Likewise.
1948         (PREPARE): Updated.
1949         (TEST_FUNCTION): New.
1950         (name): Make it static.
1951         (fd): Likewise.
1952         (do_prepare): Use create_temp_file.
1953         (do_test): Renamed to ...
1954         (do_test_with_offset): This.  Make it static and accept offset.
1955         Properly check return value of PWRITE and PREAD.  Return bytes
1956         read.  Don't close fd nor unlink name.
1957         * posix/tst-preadwrite.c: Rewrite.
1958         * posix/tst-preadwrite64.c: Likewise.
1960 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1962         [BZ #20309]
1963         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1964         -mtls-dialect=gnu2 works.
1965         * configure: Regenerated.
1966         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1967         (tests): Add tst-gnu2-tls1.
1968         (modules-names): Add tst-gnu2-tls1mod.
1969         ($(objpfx)tst-gnu2-tls1): New.
1970         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1971         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1972         * elf/tst-gnu2-tls1.c: New file.
1973         * elf/tst-gnu2-tls1mod.c: Likewise.
1974         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1975         bytes for push in the PLT entry to align the stack.
1977 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1979         [BZ #20349]
1980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1982 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1984         [BZ #18707]
1985         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1986         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1988 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1990         * sysdeps/unix/sysv/linux/sysdep.h
1991         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1992         guards.
1993         * misc/tst-preadvwritev-common.c: New file.
1994         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1995         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1996         a check for files larger than 2GB.
1998         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1999         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2000         * sysdeps/unix/sysv/linux/pread.c
2001         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2002         __OFF_T_MATCHES_OFF64_T.
2003         * sysdeps/unix/sysv/linux/pread64.c
2004         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2005         * sysdeps/unix/sysv/linux/preadv.c
2006         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2007         * sysdeps/unix/sysv/linux/preadv64.c
2008         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2009         * sysdeps/unix/sysv/linux/pwrite.c
2010         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2011         * sysdeps/unix/sysv/linux/pwrite64.c
2012         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2013         * sysdeps/unix/sysv/linux/pwritev.c
2014         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2015         * sysdeps/unix/sysv/linux/pwritev64.c
2016         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2018 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2020         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2021         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2023 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2025         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2027 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2029         [BZ #20240]
2030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2031         (CFLAGS-s_modf-ppc32.c): New variable.
2032         (CFLAGS-s_modff-ppc32.c): Likewise.
2033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2034         (CFLAGS-s_modf-ppc64.c): Likewise.
2035         (CFLAGS-s_modff-ppc64.c): Likewise.
2037 2016-07-07  Andreas Schwab  <schwab@suse.de>
2039         [BZ #20263]
2040         * nptl/tst-robust10.c: New test.
2041         * nptl/Makefile (tests): Add tst-robust10.
2043 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2045         [BZ #20263]
2046         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2048 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2050         * sysdeps/s390/linkmap.h (struct link_map_machine):
2051         Remove member gotplt and add member jmprel.
2052         * sysdeps/s390/s390-32/dl-machine.h
2053         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2054         instead of gotplt with &got[3].
2055         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2056         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2058 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2060         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2062 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2064         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2065         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2066         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2067         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2068         * libio/vtables.c (_IO_vtable_check)
2069         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2070         * libio/libioP.h (IO_set_accept_foreign_vtables)
2071         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2073 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2075         [BZ #20314]
2076         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2077         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2078         $(common-objpfx)cmath.
2079         ($(common-objpfx)cstdlib): New target.
2080         ($(common-objpfx)cmath): Likewise.
2082 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2084         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2086 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2088         [BZ #20327]
2089         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2090         are not part of the string.
2092 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2094         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2095         * nptl/tst-cancel4-common.h (fifoname): New variable.
2096         (fifofd): Likewise.
2097         (cl_fifo): New function.
2098         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2099         SIGINT.
2100         (tf_open): Add early cancel test.
2102 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2104         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2106 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2108         * sysdeps/generic/ldsodefs.h
2109         (dl_symbol_visibility_binds_local_p): New inline function.
2110         * elf/dl-addr.c (determine_info): Treat hidden and internal
2111         symbols as local.
2112         * elf/dl-lookup.c (do_lookup_x): Likewise.
2113         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2115 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2117         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2118         invalid exception for a sNaN input.
2119         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2120         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2121         (__nearbyint_vis3): Likewise
2122         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2123         (__nearbyintf_vis3): Likewise
2124         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2125         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2126         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2127         Likewise.
2128         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2129         Likewise.
2131 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2133         [BZ #20139]
2134         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2135         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2136         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2137         2.24 or above.
2138         (HAVE_AVX512_ASM_SUPPORT): Removed.
2139         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2140         * sysdeps/x86_64/configure: Regenerated.
2141         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2142         check unconditional.
2143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2144         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2145         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2146         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2147         Likewise.
2148         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2149         Likewise.
2150         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2151         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2152         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2153         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2154         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2155         Likewise.
2156         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2157         Likewise.
2158         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2159         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2160         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2161         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2163         Likewise.
2164         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2165         Likewise.
2166         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2167         Likewise.
2168         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2169         Likewise.
2170         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2171         Likewise.
2172         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2173         Likewise.
2174         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2175         Likewise.
2176         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2177         Likewise.
2178         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2179         Likewise.
2180         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2181         Likewise.
2182         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2183         Likewise.
2185 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2187         [BZ #20024]
2188         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2189         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2190         of this implementation of vector function.
2191         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2192         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2193         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2194         Likewise.
2195         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2196         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2197         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2198         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2199         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2200         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2201         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2202         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2203         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2204         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2205         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2206         for testing vector sincos with fixed ABI.
2207         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2208         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2209         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2210         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2211         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2212         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2213         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2214         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2215         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2216         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2217         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2218         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2219         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2220         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2221         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2222         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2224 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2226         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2228 2016-06-30  Anton Blanchard  <anton@samba.org>
2230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2231         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2232         s_sinf-ppc64.
2233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2236         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2238 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2242         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2243         e_expf-ppc64.
2244         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2245         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2246         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2247         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2249 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2251         [BZ #20277]
2252         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2253         when SHARED is defined.
2255 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2257         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2258         (index_arch_Prefer_ERMS): Likewise.
2259         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2260         __memcpy_erms for Prefer_ERMS.
2261         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2262         (__memmove_erms): Enabled for libc.a.
2263         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2264         __memmove_erms or Prefer_ERMS.
2265         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2266         __mempcpy_erms for Prefer_ERMS.
2267         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2268         __memset_erms for Prefer_ERMS.
2270 2016-06-30  Andreas Schwab  <schwab@suse.de>
2272         [BZ #20262]
2273         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2274         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2275         of memory.
2277 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2279         [BZ #18645]
2280         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2281         (test-extras): Add tst-cleanupx4aux.
2282         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2283         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2284         tst-cleanupx4aux.o.
2285         * nptl/tst-cleanupx4aux.c: New file.
2287 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2289         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2291 2016-06-29  Andreas Schwab  <schwab@suse.de>
2293         [BZ #20260]
2294         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2295         address before the beginning of the string as an integer to avoid
2296         array-bounds warning.
2298 2016-06-28  Richard Henderson  <rth@redhat.com>
2300         * elf/elf.h (EM_BPF): New.
2301         (EM_NUM): Update.
2302         (R_BPF_NONE, R_BPF_MAP_FD): New.
2304         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2305         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2306         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2307         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2308         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2309         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2310         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2311         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2312         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2313         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2314         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2315         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2316         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2317         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2318         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2319         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2320         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2321         (EM_NUM): Update.
2323 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2325         [BZ #18960]
2326         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2327         Set _nl_current_LC_CATEGORY_used to two instead of one.
2329 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2331         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2332         (do_test): ... this.
2333         (TEST_FUNCTION): New macro.
2334          Include test-skeleton.c.
2335         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2336         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2338 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2340         [BZ #15479]
2341         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2342         floating-point environment rather than just control word.
2343         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2344         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2345         floating-point environment, with "invalid" exceptions merged in,
2346         rather than just control word.
2347         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2348         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2349         "inexact" exceptions.
2351         [BZ #15479]
2352         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2353         floating-point environment rather than just control word.
2354         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2355         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2356         floating-point environment, with "invalid" exceptions merged in,
2357         rather than just control word.
2358         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2359         * math/libm-test.inc (floor_test_data): Do not allow spurious
2360         "inexact" exceptions.
2362         [BZ #15479]
2363         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2364         floating-point environment rather than just control word.
2365         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2366         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2367         floating-point environment, with "invalid" exceptions merged in,
2368         rather than just control word.
2369         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2370         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2371         "inexact" exceptions.
2373 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2375         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2376         __libc_vfork.
2377         (__vfork) [IS_IN (libc)]: Remove alias.
2378         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2379         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2380         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2382 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2384         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2385         of atomic_compare_and_exchange_bool_rel.
2386         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2387         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2388         catomic_compare_and_exchange_bool_rel): Remove.
2389         * sysdeps/aarch64/atomic-machine.h
2390         (atomic_compare_and_exchange_bool_rel): Likewise.
2391         * sysdeps/alpha/atomic-machine.h
2392         (atomic_compare_and_exchange_bool_rel): Likewise.
2393         * sysdeps/arm/atomic-machine.h
2394         (atomic_compare_and_exchange_bool_rel): Likewise.
2395         * sysdeps/mips/atomic-machine.h
2396         (atomic_compare_and_exchange_bool_rel): Likewise.
2397         * sysdeps/microblaze/atomic-machine.h
2398         ( __arch_compare_and_exchange_bool_8_rel,
2399         __arch_compare_and_exchange_bool_16_rel): Likewise.
2400         * sysdeps/powerpc/atomic-machine.h
2401         ( __arch_compare_and_exchange_bool_8_rel,
2402         __arch_compare_and_exchange_bool_16_rel): Likewise.
2403         * sysdeps/powerpc/powerpc32/atomic-machine.h
2404         ( __arch_compare_and_exchange_bool_32_rel,
2405         __arch_compare_and_exchange_bool_64_rel): Likewise.
2406         * sysdeps/powerpc/powerpc64/atomic-machine.h
2407         ( __arch_compare_and_exchange_bool_32_rel,
2408         __arch_compare_and_exchange_bool_64_rel): Likewise.
2409         * sysdeps/tile/atomic-machine.h
2410         (atomic_compare_and_exchange_bool_rel): Likewise.
2412 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2414         [BZ #20296]
2415         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2416         when either argument is a NaN.
2417         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2418         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2420         * math/libm-test.inc (snan_value_ld): New macro.
2421         (isgreater_test_data): Add sNaN tests.
2422         (isgreaterequal_test_data): Likewise.
2423         (isless_test_data): Likewise.
2424         (islessequal_test_data): Likewise.
2425         (islessgreater_test_data): Likewise.
2426         (isunordered_test_data): Likewise.
2427         (nextafter_test_data): Likewise.
2428         (nexttoward_test_data): Likewise.
2429         (remainder_test_data): Likewise.
2430         (remquo_test_data): Likewise.
2431         (significand_test_data): Likewise.
2432         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2434 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2436         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2437         environment macros are defined.
2438         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2440 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2442         [BZ #20191]
2443         Implement vtable verification in libio.
2444         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2445         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2446         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2447         _IO_new_file_init_internal instead of _IO_file_init.
2448         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2449         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2450         * libio/Makefile (routines): Add vtables.
2451         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2452         (_IO_init): Remove, not for internal use.
2453         (_IO_init_internal): Declare, internal replacement for _IO_init.
2454         (_IO_file_init): Remove, not for internal use.
2455         (_IO_new_file_init): Remove, not for internal use.
2456         (_IO_new_file_init_internal): Declare, internal replacement for
2457         _IO_new_file_init.
2458         (_IO_old_file_init): Remove, not for internal use.
2459         (_IO_old_file_init_internal): Declare, internal replacement for
2460         _IO_old_file_init.
2461         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2462         internal use.
2463         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2464         Declare.
2465         (libio_vtable): New macro.
2466         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2467         functions.
2468         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2469         _IO_new_file_init.
2470         (_IO_new_file_init): New externally visible wrapper which disables
2471         vtable verification.
2472         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2473         Define as vtables.
2474         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2475         (_IO_init): New externally visible wrapper which disables
2476         vtable verification.
2477         * libio/iofdopen.c (_IO_new_fdopen): Call
2478         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2479         comment.
2480         * libio/iofopen.c (__fopen_internal): Call
2481         _IO_new_file_init_internal instead of _IO_file_init.
2482         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2483         Define as vtables.
2484         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2485         _IO_new_file_init_internal instead of _IO_file_init.
2486         * libio/iopopen.c (_IO_new_popen): Likewise.
2487         (_IO_proc_jumps): Define as vtable.
2488         * libio/iovdprintf.c (_IO_vdprintf): Call
2489         _IO_new_file_init_internal instead of _IO_file_init.
2490         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2491         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2492         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2493         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2494         _IO_old_file_init.
2495         (_IO_old_file_init): New externally visible wrapper which disables
2496         vtable verification.
2497         (_IO_old_file_jumps): Define as vtable.
2498         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2499         _IO_old_file_init_internal instead of _IO_old_file_init.
2500         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2501         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2502         (_IO_old_proc_jumps): Define as vtable.
2503         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2504         Define as vtables.
2505         * libio/vtables.c: New file.
2506         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2507         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2508         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2509         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2510         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2511         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2512         instead of _IO_init.
2514 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2516         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2518 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2520         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2521         potentially unused.
2523 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2525         * test-skeleton.c (write_message): New function.
2526         * malloc/tst-mallocfork2.c (write_message): Remove.
2527         * debug/tst-longjmp_chk2.c (write_indented): New function.
2528         (write_message): Remove.
2529         (stackoverflow_handler): Call write_indented.
2531 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2533         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2534         "inexact" exceptions after fnstenv.
2535         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2536         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2537         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2539 2015-06-22  Zack Weinberg  <zackw@panix.com>
2541         * sysdeps/generic/bits/hwcap.h: Moved to ...
2542         * bits/hwcap.h: Here.
2544 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2546         * sysdeps/aarch64/memcpy.S (memcpy):
2547         Further tuning for performance.
2549 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2551         [BZ #20284]
2552         * malloc/arena.c (reused_arena): Do not return NULL if we start
2553         out with a non-corrupted arena.
2555 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2557         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2558         * misc/tst-preadvwritev.c: New file.
2559         * misc/tst-preadvwritev64.c: Likewise.
2560         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2561         usage.
2562         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2563         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2564         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2565         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2567 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2569         [BZ #19654]
2570         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2571         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2572         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2573         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2574         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2575         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2576         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2577         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2578         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2579         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2580         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2581         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2582         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2583         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2584         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2585         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2586         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2587         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2588         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2589         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2590         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2591         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2592         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2593         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2594         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2595         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2597 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2599         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2600         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2602 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2604         * sysdeps/aarch64/memcpy.S (memcpy):
2605         Rewrite of optimized memcpy and memmove.
2606         * sysdeps/aarch64/memmove.S (memmove): Remove
2607         memmove code (merged into memcpy.S).
2609 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2611         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2612         * sysdeps/generic/dl-dtv.h: New file.
2613         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2614         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2615         (dtv_t): Remove.
2616         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2617         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2618         (dtv_t): Remove.
2619         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2620         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2621         (dtv_t): Remove.
2622         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2623         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2624         (dtv_t): Remove.
2625         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2626         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2627         (dtv_t): Remove.
2628         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2629         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2630         (dtv_t): Remove.
2631         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2632         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2633         (dtv_t): Remove.
2634         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2635         (dtv_t): Remove.
2636         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2637         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2638         (dtv_t): Remove.
2639         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2640         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2641         (dtv_t): Remove.
2642         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2643         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2644         (dtv_t): Remove.
2645         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2646         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2647         (dtv_t): Remove.
2648         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2649         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2650         (dtv_t): Remove.
2651         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2652         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2653         (dtv_t): Remove.
2654         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2655         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2656         (dtv_t): Remove.
2657         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2658         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2659         (dtv_t): Remove.
2661 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2663         Revert symbol poisoning of  __malloc_initialize_hook.
2664         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2665         poisoning.
2666         * malloc/Makefile: Remove un-poisoning.
2667         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2668         instead of old__malloc_initialize_hook.
2669         * malloc/malloc-hooks.h: Likewise.
2670         * malloc/malloc.c: Likewise.
2671         * malloc/mcheck-init.c: Likewise.
2673 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2675         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2677 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2679         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2680         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2681         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2682         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2684 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2686         * NEWS: Mention addition of nextup and nextdown.
2687         * manual/arith.texi: Document nextup and nextdown.
2688         * manual/libm-err-tab.pl: Add nextup and nextdown.
2689         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2690         * math/Versions (libm): Add GLIBC_2.24.
2691         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2692         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2693         Add new test.
2694         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2695         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2696         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2697         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2698         (nextup_test_data): Likewise.
2699         (nextdown_test_data): Likewise.
2700         * math/s_nextdown.c: New file.
2701         * math/s_nextdownf.c: Likewise.
2702         * math/s_nextdownl.c: Likewise.
2703         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2704         F(nextup): New function.
2705         F(nextdown): Likewise.
2706         * math/tgmath.h: Add nextup and nextdown.
2707         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2708         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2709         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2710         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2711         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2712         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2713         Add nextup and nextdown.
2714         (CFLAGS-nldbl-nextup.c): New variable.
2715         (CFLAGS-nldbl-nextdown.c): Likewise.
2716         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2717         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2718         * sysdeps/nacl/libm.abilist: Update.
2719         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2721         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2722         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2724         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2725         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2726         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2727         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2728         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2729         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2730         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2733         Likewise.
2734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2736         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2737         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2738         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2739         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2740         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2743         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2744         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2745         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2746         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2748 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2750         * manual/pattern.texi: Fix typos & grammar errors.
2752 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2754         * manual/search.texi: Fix typos & grammar errors.
2756 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2758         * manual/message.texi: Fix typos & grammar errors.
2760 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2762         * manual/contrib.texi: Fix spelling typos.
2763         * manual/crypt.texi: Likewise.
2764         * manual/filesys.texi: Likewise.
2765         * manual/locale.texi: Likewise.
2766         * manual/message.texi: Likewise.
2767         * manual/nss.texi: Likewise.
2768         * manual/string.texi: Likewise.
2770 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2772         * manual/locale.texi: Fix typos & grammar errors.
2774 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2776         * manual/charset.texi: Fix typos & grammar errors.
2778 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2780         * manual/string.texi: Fix typos.
2782 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2784         * manual/ctype.texi: Fix typos.
2786 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2788         * manual/memory.texi: Fix various typos & grammar errors.
2790 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
2792         [BZ #20255]
2793         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
2794         * math/libm-test.inc (fdim_test_data): Add another test.
2796         [BZ #6796]
2797         [BZ #20255]
2798         [BZ #20256]
2799         * math/s_fdim.c: Include <math_private.h>.
2800         (__fdim): Use math_narrow_eval on result.
2801         * math/s_fdimf.c: Include <math_private.h>.
2802         (__fdimf): Use math_narrow_eval on result.
2803         * sysdeps/i386/fpu/s_fdim.S: Remove file.
2804         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2805         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2806         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2807         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2808         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2809         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2810         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2811         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2812         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2813         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2814         * math/libm-test.inc (fdim_test_data): Expect errno setting on
2815         overflow.  Add sNaN tests.
2817         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2818         fpclassify.
2819         * math/s_fdimf.c (__fdimf): Likewise.
2820         * math/s_fdiml.c (__fdiml): Likewise.
2822 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2824         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2825         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2827         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2828         ifunc'ed strcasecmp/strncasecmp.
2829         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2830         [EALIGN]: Removed.
2831         [END]: Likewise.
2832         [__strcasecmp]: Define instead of the above to control symbol name.
2833         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2834         for __strcasecmp_power8.
2835         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2836         for __strncasecmp_power8.
2837         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2838         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2839         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2840         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2841         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2842         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2844 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
2846         [BZ #20252]
2847         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2848         arguments when second argument is a NaN.
2849         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2850         qNaN tests.
2852         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2853         (conj_test_data): Likewise.
2854         (copysign_test_data): Likewise.
2855         (creal_test_data): Likewise.
2856         (fma_test_data): Likewise.
2857         (fmod_test_data): Likewise.
2859         [BZ #20250]
2860         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2861         itself.
2862         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2863         zero input to itself.
2864         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2865         Likewise.
2866         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2867         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2868         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2869         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2870         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2872 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2874         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2875         * nptl/tst-cancel4-common.c: New file.
2876         * nptl/tst-cancel4-common.h: Likewise.
2877         * nptl/tst-cancel4.c: Move common definitions to
2878         tst-cancel4-common.{c,h} file.
2879         * nptl/tst-cancel4_1.c: New test.
2880         * nptl/tst-cancel4_2.c: New test.
2882 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2884         [BZ #20248]
2885         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2886         (write_message): New function.
2887         (stackoverflow_handler): Call it instead of printf, to avoid
2888         excessive stack usage by printf.
2889         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2891 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2893         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2894         (prio_inherit_missing): Remove define.
2895         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2896         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2897         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2898         Likewise.
2899         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2900         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2901         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2902         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2903         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2904         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2906 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2908         [BZ #19670]
2909         [BZ #19672]
2911         * io/test-lfs.c (do_prepare): Use xmalloc.
2912         * io/tst-fcntl.c (do_prepare): Likewise.
2913         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2914         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2915         * login/tst-utmp.c (do_prepare): Likewise.
2916         * posix/tst-exec.c (do_prepare): Likewise.
2917         * posix/tst-pathconf.c (prepare): Likewise.
2918         * posix/tst-spawn.c (do_prepare): Likewise.
2919         * posix/tst-truncate.c (do_prepare): Likewise.
2920         * rt/tst-aio.c (do_prepare): Likewise.
2921         * rt/tst-aio64.c (do_prepare): Likewise.
2923 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2925         [BZ #20237]
2926         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2927         (get*ent): Set entidx to NULL during initialization.  If entidx is
2928         NULL, start iteration from the beginning.
2930 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2932         * malloc/malloc.c (musable): Return correct size for dumped fake
2933         mmapped chunk.
2935 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2937         [BZ #20222]
2938         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2939         (_IO_cookie_write): Likewise.
2940         (_IO_cookie_seek): Likewise.
2941         (_IO_cookie_close): Likewise.
2942         (_IO_old_cookie_seek): Likewise.
2943         (set_callbacks): New function.
2944         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2946 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2948         * locale/programs/localedef.c (oldstyle_tables): Remove.
2949         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2951 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2953         [BZ #20240]
2954         * math/Makefile (CFLAGS-s_modf.c): New variable.
2955         (CFLAGS-s_modff.c): Likewise.
2956         (CFLAGS-s_modfl.c): Likewise.
2957         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2959 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2961         [BZ #20215]
2962         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2963         [!__GNUC_PREREQ (3,2)]: Likewise.
2965 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2967         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2968         (msghdr.msg_controllen): Likewise.
2969         (cmsghdr.cmsg_len): Likewise.
2970         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2971         ptw-oldsendmsg.
2972         (CFLAGS-oldrecvmsg.c): Remove rule.
2973         (CFLAGS-oldsendmsg.c): Likewise.
2974         (CFLAGS-recvmsg.c): Add rule.
2975         (CFLAGS-sendmsg.c): Likewise.
2976         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2977         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2978         (CFLAGS-recvmsg.c): Remove rule.
2979         (CFLAGS-sendmsg.c): Likewise.
2980         (CFLAGS-oldrecvmsg.c): Likewise.
2981         (CFLAGS-oldsendmsg.c): Likewise.
2982         (CFLAGS-recvmmsg.c): Likewise.
2983         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2984         to kernel defined interfaces.
2985         (msghdr.msg_controllen): Likewise.
2986         (cmsghdr.cmsg_len): Likewise.
2987         (msghdr.__glibc_reserved1): Remove member.
2988         (msghdr.__glibc_reserved2): Likewise.
2989         (cmsghdr.__glibc_reserved1): Likewise.
2990         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2991         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2992         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2993         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2994         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2995         version.
2996         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2997         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2998         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2999         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3000         Remove recvmsg and sendmsg.
3001         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3002         Likewise.
3003         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3004         Likewise.
3005         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3006         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3007         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3008         Likewise.
3009         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3010         Likewise.
3011         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3012         [libc] (GLIBC_2.24): Likewise.
3013         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3014         Likewise.
3015         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3016         Likewise.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3018         [libc] (GLIBC_2.24): Likewise.
3019         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3020         Likewise.
3021         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3022         Likewise.
3023         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3024         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3025         Likewise.
3026         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3027         Likewise.
3028         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3029         Likewise.
3030         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3031         Likewise.
3032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3033         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3034         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3035         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3036         version for {recv,send,recm,sendm}msg.
3037         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3040         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3042         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3043         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3045         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3048         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3050         Likewise.
3051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3052         Likewise.
3053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3055         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3056         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3057         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3058         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3059         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3060         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3063         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3064         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3065         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3067 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3069         [BZ #19564]
3070         Remove __malloc_initialize_hook from the API.
3071         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3072         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3073         #pragma GCC poison.
3074         * malloc/malloc-hooks.h: New file.
3075         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3076         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3077         (old__malloc_initialize_hook): Rename from
3078         __malloc_initialize_hook to evade poisoning.  Turn into compat
3079         symbol.
3080         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3081         __malloc_initialize_hook.
3082         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3083         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3084         * manual/memory.texi (Hooks for Malloc): Remove
3085         __malloc_initialize_hook.  Adjust hook example.
3087 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3089         [BZ #20235]
3090         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3091         itself.
3092         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3093         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3095         [BZ #20234]
3096         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3097         infinity or NaN input to itself.
3099         [BZ #20233]
3100         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3101         to itself.
3103         [BZ #20232]
3104         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3105         itself.
3107 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3109         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3110         __libc_start_main via GOT.
3112 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3114         * sysdeps/x86_64/memcopy.h: New file.
3115         * sysdeps/x86_64/wordcopy.c: Likewise.
3117 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3119         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3120         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3121         <cstdlib>.
3122         (optimization_barrier): New.
3123         (do_test): Use it.  Call quick_exit in the global namespace.
3124         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3125         instead of <cstdlib>, <thread>.
3126         (optimization_barrier): New.
3127         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3128         Call quick_exit in the global namespace.
3129         (do_test): Call optimization_barrier.  Use pthread_create,
3130         pthread_join instead of std::thread.
3132 2016-06-09  Andreas Schwab  <schwab@suse.de>
3134         [BZ #19755]
3135         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3136         new entries in auto-propagate mode.
3137         * nscd/grpcache.c (cache_addgr): Likewise.
3139 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3141         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3142         New functions.
3143         (add_temp_file): Use them.
3145 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3147         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3149 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3151         [BZ #20229]
3152         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3153         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3154         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3156         [BZ #20228]
3157         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3158         itself.
3159         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3160         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3162         [BZ #20227]
3163         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3164         itself.
3165         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3166         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3167         * math/libm-test.inc (log_test_data): Add sNaN tests.
3169         [BZ #20226]
3170         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3171         itself.
3172         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3173         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3174         (exp10_test_data): Likewise.
3175         (expm1_test_data): Likewise.
3177         [BZ #20225]
3178         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3179         itself.
3180         * math/s_ldexpf.c (__ldexpf): Likewise.
3181         * math/s_ldexpl.c (__ldexpl): Likewise.
3182         * math/w_scalbln.c (__w_scalbln): Likewise.
3183         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3184         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3185         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3186         (scalbln_test_data): Likewise.
3188         [BZ #20224]
3189         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3190         argument to itself.
3191         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3193 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3195         [BZ #19776]
3196         * sysdeps/x86_64/memcpy.S: Make it dummy.
3197         * sysdeps/x86_64/mempcpy.S: Likewise.
3198         * sysdeps/x86_64/memmove.S: New file.
3199         * sysdeps/x86_64/memmove_chk.S: Likewise.
3200         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3201         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3202         * sysdeps/x86_64/memmove.c: Removed.
3203         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3204         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3205         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3206         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3207         Likewise.
3208         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3209         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3211         memcpy-sse2-unaligned, memmove-avx-unaligned,
3212         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3213         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3214         (__libc_ifunc_impl_list): Replace
3215         __memmove_chk_avx512_unaligned_2 with
3216         __memmove_chk_avx512_unaligned.  Remove
3217         __memmove_chk_avx_unaligned_2.  Replace
3218         __memmove_chk_sse2_unaligned_2 with
3219         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3220         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3221         with __memmove_avx512_unaligned.  Replace
3222         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3223         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3224         with __memcpy_chk_avx512_unaligned.  Remove
3225         __memcpy_chk_avx_unaligned_2.  Replace
3226         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3227         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3228         Replace __memcpy_avx512_unaligned_2 with
3229         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3230         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3231         with __mempcpy_chk_avx512_unaligned.  Remove
3232         __mempcpy_chk_avx_unaligned_2.  Replace
3233         __mempcpy_chk_sse2_unaligned_2 with
3234         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3235         Replace __mempcpy_avx512_unaligned_2 with
3236         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3237         Replace __mempcpy_sse2_unaligned_2 with
3238         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3239         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3240         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3241         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3242         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3243         (ENTRY): Removed.
3244         (END): Likewise.
3245         (ENTRY_CHK): Likewise.
3246         (libc_hidden_builtin_def): Likewise.
3247         Don't include ../memcpy.S.
3248         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3249         __memcpy_chk_avx512_unaligned_erms and
3250         __memcpy_chk_avx512_unaligned.  Use
3251         __memcpy_chk_avx_unaligned_erms and
3252         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3253         Default to __memcpy_chk_sse2_unaligned.
3254         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3255         Change function suffix from unaligned_2 to unaligned.
3256         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3257         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3258         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3259         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3260         (ENTRY): Removed.
3261         (END): Likewise.
3262         (ENTRY_CHK): Likewise.
3263         (libc_hidden_builtin_def): Likewise.
3264         Don't include ../mempcpy.S.
3265         (mempcpy): New.  Add a weak alias.
3266         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3267         __mempcpy_chk_avx512_unaligned_erms and
3268         __mempcpy_chk_avx512_unaligned.  Use
3269         __mempcpy_chk_avx_unaligned_erms and
3270         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3271         Default to __mempcpy_chk_sse2_unaligned.
3273 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3275         [BZ #19881]
3276         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3277         into ...
3278         * sysdeps/x86_64/memset.S: This.
3279         (__bzero): Removed.
3280         (__memset_tail): Likewise.
3281         (__memset_chk): Likewise.
3282         (memset): Likewise.
3283         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3284         defined.
3285         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3286         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3287         (__memset_zero_constant_len_parameter): Check SHARED instead of
3288         PIC.
3289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3290         memset-avx2 and memset-sse2-unaligned-erms.
3291         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3292         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3293         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3294         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3295         (__bzero): Enabled.
3296         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3297         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3298         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3299         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3300         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3301         (memset): Removed.
3302         (__memset_chk): Likewise.
3303         (MEMSET_SYMBOL): New.
3304         (libc_hidden_builtin_def): Replace __memset_sse2 with
3305         __memset_sse2_unaligned.
3306         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3307         __memset_chk_sse2 and __memset_chk_avx2 with
3308         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3309         Use __memset_chk_sse2_unaligned_erms or
3310         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3311         __memset_chk_avx512_unaligned_erms and
3312         __memset_chk_avx512_unaligned.
3314 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3316         * math/gen-auto-libm-test.c (fp_format_desc): remove
3317         suffix member.
3318         (output_generic_value): Remove usage of suffix member,
3319         and the resulting unuse of the fp_format argument.
3320         (output_for_one_input_case): Remove unused fp_format
3321         parameter.
3323         * math/auto-libm-test-out: Regenerate.
3325         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3326         usage with TEST_COND_ibm128.
3327         (TEST_COND_flt_32): Remove.
3328         (TEST_COND_dbl_64): Remove.
3329         (TEST_COND_ldbl_96_intel): Remove.
3330         (TEST_COND_ldbl_96_m68k): Remove.
3331         (TEST_COND_ldbl_128): Remove.
3333 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3335         * auto-libm-test-in:
3336         Replace flt-32 usage with binary32.
3337         Replace dbl-64 usage with binary64.
3338         Replace ldbl-intel-96 usage with intel96.
3339         Replace ldbl-m68k-96 usage with m68k96.
3340         Replace ldbl-128ibm usage with ibm128.
3341         Replace ldbl-128 usage with binary128.
3343         * auto-libm-test-out: Regenerate.
3345 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3347         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3348         (parse_ulps): Dynamically generate type name matching
3349         string from all_floats.
3350         (get_ulps): Generate the ulps as an array instead.
3351         (output_ulps): Dynamically compose the type based
3352         on the number of supported formats, and print
3353         the indices as type specific helper macros.
3355         * math/libm-test.inc: Remove comment about CHOOSE.
3356         (ulp_data): Generate the type in libm-test-ulps.h.
3357         (ULP_IDX): New macro.
3358         (find_ulps): Update usage of max_ulp.
3360         * math/test-double-vlen2.h (CHOOSE): Remove.
3361         * math/test-double-vlen4.h (CHOOSE): Likewise.
3362         * math/test-double-vlen8.h (CHOOSE): Likewise.
3363         * math/test-float.c (CHOOSE): Likewise.
3364         * math/test-float-finite.c (CHOOSE): Likewise.
3365         * math/test-double.c (CHOOSE): Likewise.
3366         * math/test-double-finite.c (CHOOSE): Likewise.
3367         * math/test-idouble.c (CHOOSE): Likewise.
3368         * math/test-ifloat.c (CHOOSE): Likewise.
3369         * math/test-ildoubl.c (CHOOSE): Likewise.
3370         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3371         * math/test-ldouble.c (CHOOSE): Likewise.
3373         * math/test-float.h (TEST_FLOAT): Remove.
3374         * math/test-double.h (TEST_DOUBLE): Likewise.
3375         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3377 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3379         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3380         (parse_args): Strip C suffix from floating point literals
3381         typed with 'f' and wrap them with LIT().
3383         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3384         (test_ff_f_data_nexttoward): Rename to
3385         (test_fj_f_data): New struct.
3386         (nexttoward_test_data): Relabel tests as
3387         TEST_fj_f instead of TEST_ff_f.
3389 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3391         Emacs bug 23726.
3392         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3393         (__libc_realloc): Correct size computation for dumped fake mmapped
3394         chunks.
3396 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3398         [BZ #20219]
3399         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3400         to itself.
3401         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3403         [BZ #20218]
3404         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3405         to itself.
3406         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3408 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3410         [BZ #20195]
3411         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3412         check to ...
3413         (init_cpu_features): Here.
3415 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3417         [BZ #20214]
3418         * sysdeps/unix/sysv/linux/bits/in.h
3419         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3420          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3421         Define to 1.
3422         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3423          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3424         Define to 0.
3425         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3426         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3428 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3430         [BZ #20198]
3431         * stdlib/Makefile (tests): Add tst-quick_exit, and
3432         tst-thread-quick_exit.
3433         [ifeq ($(have-cxx-thread_local),yes)]
3434         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3435         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3436         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3437         (LDLIBS-tst-thread-quick_exit): Likewise.
3438         [ifneq ($(have-cxx-thread_local),yes)]
3439         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3440         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3441         If run_dtors is true call __call_tls_dtors.
3442         (exit): Call __run_exit_handlers with run_dtors set to true.
3443         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3444         definition.
3445         * stdlib/quick_exit.c (quick_exit): Remove function.
3446         (__new_quick_exit): New function.
3447         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3448         function.
3449         * stdlib/tst-quick_exit.cc: New file.
3450         * stdlib/tst-thread-quick_exit.cc: New file.
3451         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3452         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3453         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3454         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3455         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3456         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3457         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3458         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3459         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3460         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3461         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3462         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3463         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3464         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3465         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3466         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3471         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3472         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3473         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3474         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3475         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3478         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3479         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3480         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3482 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3484         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3485         a typo in comments.
3487 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3489         [BZ #20213]
3490         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3491         argument to itself.
3492         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3494 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3496         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3497         required flags.
3498         (CFLAGS-pwritev64.c): Likewise.
3499         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3501         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3502         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3503         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3504         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3505         syscall from auto-generation.
3506         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3507         [WORDSIZE == 64] (pwritev64): Remove macro.
3508         [!PWRITEV] (PWRITEV): Likewise.
3509         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3510         [!PWRITEV] (PWRITE): Likewise.
3511         [!PWRITEV] (OFF_T): Likewise.
3512         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3513         (LO_HI_LONG): Remove macro.
3514         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3515         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3516         (PWRITEV): Remove macro.
3517         (PWRITEV_REPLACEMENTE): Likewise.
3518         (PWRITE): Likewise.
3519         (OFF_T): Likewise.
3520         (pwritev64): New function.
3521         * nptl/tst-cancel4.c (tf_writev): Add test.
3523         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3524         required flags.
3525         (CFLAGS-preadv64.c): Likewise.
3526         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3527         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3528         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3529         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3530         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3531         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3532         syscall from auto-generation.
3533         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3534         [WORDSIZE == 64] (preadv64): Remove macro.
3535         [!PREADV] (PREADV): Likewise.
3536         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3537         [!PREADV] (PREAD): Likewise.
3538         [!PREADV] (OFF_T): Likewise.
3539         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3540         (LO_HI_LONG): Remove macro.
3541         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3542         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3543         (PREADV): Remove macro.
3544         (PREADV_REPLACEMENTE): Likewise.
3545         (PREAD): Likewise.
3546         (OFF_T): Likewise.
3547         (preadv64): New function.
3548         * nptl/tst-cancel4.c (tf_preadv): Add test.
3550 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3552         [BZ #20212]
3553         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3554         argument to itself.
3555         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3557 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3559         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3560         New symbol defined as libc_hidden_def.
3561         (strcasestr): Became a weak alias to __strcasestr.
3562         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3563         according to multi-arch support.  Move __stpncpy hidden
3564         definition from here to...
3565         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3566         symbol stpncpy.
3567         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3568         libc_hidden_builtin_def.
3569         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3570         memset symbol to use when multi-arch support is available.
3572 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3574         * dlfcn/tst-rec-dlopen.c: Include string.h.
3576 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3578         * manual/install.texi: Remove mention of --without-tls
3579         * INSTALL: Regenerate.
3581 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3583         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3584         Remove.
3585         (call_function, interposed_malloc_called): New variables.
3586         (malloc): New function.
3587         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3588         and clear call_function as needed.
3590 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3592         * include/wchar.h (__wmemset): Use __typeof.
3594 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3596         * include/wchar.h (__wmemset): Declare function without typeof.
3598 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3600         [BZ #20205]
3601         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3602         exponent when incrementing negative subnormal with low mantissa
3603         word zero.
3604         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3605         Add another test.
3607 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3609         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3610         __wmemset instead of wmemset.
3612 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3614         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3615         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3616         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3617         __USE_KERNEL_IPV6_DEFS to 0.
3618         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3619         Update comment.
3621 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3623         [BZ #19861]
3624         Do not use IFUNC resolver with potentially unrelocated symbol.
3625         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3626         (DEFINE_FORK): Remove macro and inline definition.
3627         (fork_alias): Renamed from fork_ifunc.
3628         (__fork_alias): Renamed from __fork_ifunc.
3630 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3632         [BZ 19653]
3633         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3634         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3636 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3638         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3639         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3640         i386-linux-gnu).
3641         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3642         Set to no.
3643         * sysdeps/mach/hurd/configure: Refresh.
3645 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3647         [BZ #20178]
3648         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3649         on failure instead of exit.
3651 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3653         [BZ #3629]
3654         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3655         of POSIX.1-2008.
3657 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3659         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3660           Use PLT entry for calling _hurd_self_sigstate.
3662 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3664         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3665         available logical processors with SMT level type sharing L2
3666         cache for Intel processors.
3668 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3670         [BZ #20160]
3671         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3672         argument to itself before returning the result.
3673         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3674         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3675         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3676         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3677         Likewise.
3678         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3679         Likewise.
3680         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3681         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3682         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3683         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3684         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3685         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3687         [BZ #20160]
3688         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3689         argument to itself before returning the result.
3690         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3691         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3692         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3693         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3694         Likewise.
3695         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3696         Likewise.
3697         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3698         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3699         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3700         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3701         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3702         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3704 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3706         * libm-test.inc: Replace usage of M_El with
3707         (lit_e): New macro.
3709 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3711         * libm-test.inc: Replace usage of M_PI_4l with
3712         (lit_pi_4_d): New macro.
3714 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3716         * libm-test.inc: Replace usage of M_PIl with
3717         (lit_pi): New macro.
3719 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3721         * libm-test.inc: Replace usage of M_PI2l with
3722         (lit_pi_2_d): New macro.
3724         * math/test-double.h (LITM): New macro.
3725         * math/test-float.h (LITM): Likewise.
3726         * math/test-ldouble.h (LITM): Likewise.
3728 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3730         * libm-test.inc (M_PI_34l): Rename to
3731         (lit_pi_3_m_4_d): New Macro.
3732         (M_PI_34_LOG10El): Rename to
3733         (lit_pi_3_m_4_ln10_m_d): New Macro.
3734         (M_PI2_LOG10El): Rename to
3735         (lit_pi_2_ln10_m_d):  New Macro.
3736         (M_PI4_LOG10El): Rename to
3737         (lit_pi_4_ln10_m_d):  New Macro.
3738         (M_PI_LOG10El): Rename to
3739         (lit_pi_ln10_d):  New Macro.
3741 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3743         [BZ #20157]
3744         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3745         determine whether to negate low half if [_ARCH_PPCGR], and integer
3746         comparison otherwise.
3747         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3748         determine whether to negate low half.
3750         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3751         (NO_TEST_INLINE_DOUBLE): Likewise.
3752         (TEST_COND_x86_64): Likewise.
3753         (TEST_COND_x86): Likewise.
3754         (M_PI_6l): Likewise.
3756 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3758         * math/libm-test.inc:
3759         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3760         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3761         (TEST_LDOUBLE): Update usage to evaluate as true if
3762         the guarded tests match the property being tested.
3763         (LDBL_MAX_EXP): Change to MAX_EXP.
3764         (LDBL_MIN_EXP): Change to MIN_EXP.
3765         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3766         nexttoward tests.
3768 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3770         * math/libm-test.inc:
3771         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3772         (TYPE_MIN): Likewise.
3773         (TYPE_TRUE_MIN): Likewise.
3774         (TYPE_MAX): Likewise.
3775         (MIN_EXP): Likewise.
3776         (MAX_EXP): Likewise.
3777         (MANT_DIG): Likewise.
3779         (FSTR_MAX): New macro.
3780         (__CONCATX): Likewise.
3781         (QTYPE_STR): Likewise.
3782         (TEST_COND_binary32): Likewise.
3783         (TEST_COND_binary64): Likewise.
3784         (TEST_COND_binary128): Likewise.
3785         (TEST_COND_ibm128): Likewise.
3786         (TEST_COND_intel96): Likewise.
3787         (TEST_COND_m68k96): Likewise.
3789         (TEST_COND_flt_32): Redefine as equivalent format test macro.
3790         (TEST_COND_dbl_64): Likewise.
3791         (TEST_COND_ldbl_96_intel): Likewise.
3792         (TEST_COND_ldbl_96_m68k): Likewise.
3793         (TEST_COND_ldbl_128): Likewise.
3794         (TEST_COND_ldbl_128ibm): Likewise.
3796         (plus_zero): Redefine using LIT macro.
3797         (minus_zero): Likewise.
3798         (plus_infty): Redefine as (INF).
3799         (minux_infty): Redefine as (-INF).
3800         (max_value): Redefine as TYPE_MAX.
3801         (min_value): Redefine as TYPE_MIN.
3802         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3804         (print_float): Refactor to use snprintf to convert FLOAT values
3805         to string. This brings it closer to dropin replacement of strtof
3806         for the TS 18661 defined types.
3807         (update_stats): Likewise.
3808         (print_complex_function_ulps): Likewise.
3809         (print_max_error): Likewise.
3810         (print_complex_max_error): Likewise.
3811         (check_float_internal): Likewise.
3813         * math/test-float.h (PREFIX): New macro.
3814         (LIT): Likewise.
3815         (TYPE_STR): Likewise.
3816         (FTOSTR): Likewise.
3818         * math/test-double.h (PREFIX): New macro.
3819         (LIT): Likewise.
3820         (TYPE_STR): Likewise.
3821         (FTOSTR): Likewise.
3823         * math/test-ldouble.h (PREFIX): New macro.
3824         (LIT): Likewise.
3825         (TYPE_STR): Likewise.
3826         (FTOSTR): Likewise.
3828 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3830         [BZ #20156]
3831         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3832         to itself when zero or not finite.
3833         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3834         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3835         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3836         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3838 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
3840         [BZ #20153]
3841         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3842         x * x + x for infinities and NaNs.
3844         [BZ #20151]
3845         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3846         argument to itself before returning result.
3847         (__ieee754_y0l): Likewise.
3848         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3849         (__ieee754_y1l).
3851         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3852         (atan_test_data): Likewise.
3853         (ceil_test_data): Likewise.
3854         (cos_test_data): Likewise.
3855         (cosh_test_data): Likewise.
3856         (erf_test_data): Likewise.
3857         (exp2_test_data): Likewise.
3858         (fabs_test_data): Likewise.
3859         (floor_test_data): Likewise.
3860         (ilogb_test_data): Likewise.
3861         (j0_test_data): Likewise.
3862         (j1_test_data): Likewise.
3863         (jn_test_data): Likewise.
3864         (lgamma_test_data): Likewise.
3865         (lrint_test_data): Likewise.
3866         (llrint_test_data): Likewise.
3867         (logb_test_data): Likewise.
3868         (lround_test_data): Likewise.
3869         (llround_test_data): Likewise.
3870         (nearbyint_test_data): Likewise.
3871         (rint_test_data): Likewise.
3872         (round_test_data): Likewise.
3873         (sin_test_data): Likewise.
3874         (sincos_test_data): Likewise.
3875         (sinh_test_data): Likewise.
3876         (sqrt_test_data): Likewise.
3877         (tan_test_data): Likewise.
3878         (tanh_test_data): Likewise.
3879         (tgamma_test_data): Likewise.
3880         (trunc_test_data): Likewise.
3881         (y0_test_data): Likewise.
3882         (y1_test_data): Likewise.
3883         (yn_test_data): Likewise.
3885         * math/libm-test.inc: Update comment about NaN testing.
3886         (TEST_SNAN): New macro.
3887         (snan_value): Likewise.
3888         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3889         (fpclassify_test_data): Add sNaN tests.
3890         (isfinite_test_data): Likewise.
3891         (isinf_test_data): Likewise.
3892         (isnan_test_data): Likewise.
3893         (isnormal_test_data): Likewise.
3894         (issignaling_test_data): Likewise.
3895         (signbit_test_data): Likewise.
3896         * math/gen-libm-test.pl (%beautify): Add snan_value.
3897         (show_exceptions): Add argument $test_snan.
3898         (parse_args): Handle snan_value as non-finite.  Update call to
3899         show_exceptions.
3900         * math/Makefile (libm-test-no-inline-cflags): Add
3901         -fsignaling-nans.
3903 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3905         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3906         (CFLAGS-oldsendmsg.c): Add rule.
3907         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3908         Correct recvmsg symbol name.
3909         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3910         Likewise.
3912 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3914         * sysdeps/unix/sysv/linux/Makefile
3915         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3916         oldsendmmsg.
3917         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3918         sendmmsg.
3919         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3920         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3921         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3922         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3924         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3925         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3927         Likewise.
3928         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3929         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3930         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3931         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3932         iovlen and controllen fields to adjust to POSIX specification.
3933         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3935         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3936         and change to correct expected type.
3937         (msghdr.msg_controllen): Likewise.
3938         (cmsghdr.cmsg_len): Likewise.
3939         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3940         expected POSIX assumption about the size.
3941         (msghdr.msg_controllen): Likewise.
3942         (msghdr.__glibc_reserved1): Likewise.
3943         (msghdr.__glibc_reserved2): Likewise.
3944         (cmsghdr.cmsg_len): Likewise.
3945         (cmsghdr.__glibc_reserved1): Likewise.
3946         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3947         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3948         (CFLAGS-sendmsg.c): Remove rule.
3949         (CFLAGS-recvmsg.c): Likewise.
3950         (CFLAGS-oldsendmsg.c): Add rule.
3951         (CFLAGS-oldrecvmsg.c): Likewise.
3952         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3953         recvmsg and sendmsg.
3954         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3955         Likewise.
3956         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3957         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3958         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3959         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3960         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3961         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3962         Likewise.
3963         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3964         Likewise.
3965         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3966         Likewise.
3967         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3968         Likewise.
3969         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3970         Likewise.
3971         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3972         Likewise.
3973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3974         (GLIBC_2.24): Likewise.
3975         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3976         Likewise.
3977         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3978         Likewise.
3979         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3980         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3981         Likewise.
3982         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3983         Likewise.
3984         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3985         Likewise.
3986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3987         (GLIBC_2.24): Likewise.
3988         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3989         Likewise.
3990         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3991         Likewise.
3992         * sysdeps/unix/sysv/linux/Makefile
3993         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3994         (CFLAGS-sendmsg.c): Add rule.
3995         (CFLAGS-recvmsg.c): Likewise.
3996         (CFLAGS-oldsendmsg.c): Likewise.
3997         (CFLAGS-oldrecvmsg.c): Likewise.
3998         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3999         initialization.
4000         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4001         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4002         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4003         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4004         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4005         iovlen and controllen fields to adjust to POSIX specification.
4006         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4007         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4008         added recvmsg and sendmsg.
4009         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4010         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4011         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4012         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4013         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4014         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4015         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4016         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4017         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4018         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4019         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4020         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4022         Likewise.
4023         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4025         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4026         Likewise.
4027         Likewise.
4028         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4029         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4030         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4031         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4032         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4033         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4035         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4037         Likewise.
4038         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4039         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4041         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4042         from auto-generation.
4043         (sendmsg): Likewise.
4044         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4045         (sendmsg): Likewise.
4046         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4047         (sendmsg): Likewise.
4048         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4049         (sendmsg): Likewise.
4050         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4051         (sendmsg): Likewise.
4052         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4053         (sendmsg): Likewise.
4054         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4055         Likewise.
4056         (sendmsg): Likewise.
4057         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4058         (sendmsg): Likewise.
4059         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4060         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4061         Remove.
4062         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4063         Likewise.
4064         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4065         Undefine.
4066         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4067         Likewise.
4068         * sysdeps/unix/sysv/linux/kernel-features.h
4069         (__ASSUME_SENDMSG_SYSCALL): Define.
4070         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4071         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4072         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4073         Remove.
4074         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4075         Likewise.
4076         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4077         Undefine.
4078         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4079         Likewise.
4080         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4081         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4082         Remove.
4083         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4084         Likewise.
4085         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4086         Undefine.
4087         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4088         Likewise.
4089         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4090         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4091         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4092         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4093         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4094         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4095         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4096         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4097         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4099 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4101         * stdlib/gen-tst-strtod-round.c: Add backslash to
4102         compile command in comment.
4103         (printfp): Remove the literal suffix, and define an infinite
4104         value as INF to avoid expansion clash with INFINITY.
4105         (round_str): Remove the literal suffix.
4106         (round_for_all): Likewise, remove the now duplicate ldbl-64
4107         entry, and remove some magic constants.
4109         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4110         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4111         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4112         (_CONCAT): New macro.
4113         (CONCAT): Likewise.
4114         (CHOOSE_ld): Likewise.
4115         (CHOOSE_f): Likewise.
4116         (CHOOSE_d): Likewise.
4117         (FTYPE_MEMBER): Likewise.
4118         (BOOL_MEMBER): Likewise.
4119         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4120         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4121         (_XNTRY): Likewise.
4122         (XNTRY): Likewise.
4123         (_ENTRY): Likewise.
4124         (ENTRY): Likewise.
4125         (test_exactness): Generate members via macro.
4126         (test_results): Likewise.
4127         (test): Update members.
4128         (TEST): Redefine using new macros.
4129         (INF): New macro.
4130         (fetestmodes): New structure.
4131         (do_test): Refactor to be type generic.
4132         (test_in_one_mode): Refactor duplicate code into
4133         (GEN_ONE_TEST): New macro.
4135         * stdlib/tst-strtod-round-data.h: Regenerate.
4137         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4138         Extend to pass additional arbitrary parameters to
4139         generators.
4141 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4143         [BZ #15479]
4144         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4145         floating-point state after first floating-point operation on
4146         input.  Restore full floating-point state instead of just rounding
4147         mode.
4148         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4149         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4150         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4151         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4152         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4154         [BZ #15479]
4155         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4156         floating-point state after first floating-point operation on
4157         input.  Restore full floating-point state instead of just rounding
4158         mode.
4159         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4160         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4161         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4162         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4163         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4165 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4167         [BZ #19727]
4168         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4169         valid high surrogate.
4170         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4171         of an utf16 surrogate.
4172         * iconv/gconv_simple.c (BODY): Likewise.
4173         * iconvdata/bug-iconv12.c: New file.
4174         * iconvdata/Makefile (tests): Add bug-iconv12.
4176 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4178         [BZ #19726]
4179         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4180         outptrp in case of an illegal input.
4181         * iconv/tst-iconv6.c: New file.
4182         * iconv/Makefile (tests): Add tst-iconv6.
4184 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4186         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4187         an error in case of a value in range of an utf16 low surrogate.
4189 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4191         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4192         an error in case of a value in range of an utf16 low surrogate.
4194 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4196         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4197         Move to ...
4198         * sysdeps/s390/Makefile: ... here.
4199         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4200         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4201         (BRANCH_ON_COUNT): New define.
4202         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4203         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4204         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4205         run on s390-32, too.
4206         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4207         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4208         run on s390-32, too.
4209         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4210         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4211         run on s390-32, too.
4213 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4215         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4216         etf3eh or new vector loop-variant.
4218 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4220         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4221         etf3eh or new vector loop-variant.
4223 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4225         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4226         or new vector loop-variant.
4228 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4230         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4231         Rename to TR_LOOP and usage of tr instead of troo instruction.
4233 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4235         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4236         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4238 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4240         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4241         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4242         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4243         New override define.
4244         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4246 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4248         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4249         * sysdeps/s390/configure.ac: Add test for S390 vector register
4250         support in gcc.
4251         * sysdeps/s390/configure: Regenerated.
4253 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4255         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4256         Install file from $(objpfx)gconv-modules.
4257         ($(objpfx)gconv-modules): Concatenate architecture specific file
4258         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4259         * sysdeps/s390/gconv-modules: New file.
4260         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4261         Deleted.
4262         ($(objpfx)gconv-modules-s390): Deleted.
4263         (sysdeps-gconv-modules): New variable.
4265 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4267         [BZ #15479]
4268         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4269         of immediate operand to rounding instruction.
4270         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4271         Likewise.
4272         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4273         Likewise.
4274         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4275         Likewise.
4277 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4279         * math/libm-test.inc (MIN_EXP): Directly define as
4280         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4282 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4284         * math/libm-test.inc (MANT_DIG): Directly define as
4285         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4287 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4289         * stdlib/gen-tst-strtod-round.c (main):
4290           Change usage to more closely match the generated
4291           output.  Add usage and compilation instructions.
4292           (string_to_fp): Add and use FILE* parameter as
4293           output target.
4294           (print_fp): Likewise.
4295           (round_str): Likewise.
4296           (round_for_all): Likewise.
4297         * stdlib/tst-strtod-round.c (tests): Move into
4298         * stdlib/tst-strtod-round-data.h: New file.
4300 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4302         [BZ #15479]
4303         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4304         (__round): Do not force "inexact" exception.
4305         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4306         variable.
4307         (__round): Do not force "inexact" exception.
4308         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4309         (__roundf): Do not force "inexact" exception.
4310         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4311         (__roundl): Do not force "inexact" exception.
4312         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4313         (__roundl): Do not force "inexact" exception.
4314         * math/libm-test.inc (round_test_data): Do not allow spurious
4315         "inexact" exceptions.
4317         [BZ #15479]
4318         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4319         exception in comment.
4320         (huge): Remove variable.
4321         (__floor): Do not force "inexact" exception.
4322         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4323         "inexact" exception in comment.
4324         (huge): Remove variable.
4325         (__floor): Do not force "inexact" exception.
4326         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4327         exception in comment.
4328         (huge): Remove variable.
4329         (__floorf): Do not force "inexact" exception.
4330         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4331         exception in comment.
4332         (huge): Remove variable.
4333         (__floorl): Do not force "inexact" exception.
4335         [BZ #15479]
4336         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4337         exception in comment.
4338         (huge): Remove variable.
4339         (__ceil): Do not force "inexact" exception.
4340         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4341         "inexact" exception in comment.
4342         (huge): Remove variable.
4343         (__ceil): Do not force "inexact" exception.
4344         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4345         (__ceilf): Do not force "inexact" exception.
4346         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4347         exception in comment.
4348         (huge): Remove variable.
4349         (__ceill): Do not force "inexact" exception.
4351 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4353         * config.h.in (BIND_NOW): New.
4354         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4355         * configure: Regenerated.
4356         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4357         indirect branch via the GOT slot.
4359 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4361         [BZ #19765]
4362         * sysdeps/s390/mempcpy.S: New File.
4363         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4364         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4365         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4366         Add mempcpy variants.
4367         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4368         (memcpy): Adjust to be usable from mempcpy entry point.
4369         (__memcpy_mvcle): Likewise.
4370         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4371         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4372         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4373         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4374         (__memcpy_z10): Likewise.
4375         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4377 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4379         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4380         Remove __GI_ symbol.
4381         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4382         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4383         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4384         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4385         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4386         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4388 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4390         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4391         Use cghi instead of chi to compare 64bit value.
4393 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4395         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4396         Jump to 1MB check before executing mvc-loop.
4398 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4400         [BZ #6527]
4401         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4402         unconditionally.
4403         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4405 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4407         * stdlib/tst-strtod6.c (do_test): Use new type generic
4408         invocation of the test function.
4409         (test): Refactor into ...
4410         (TEST_STRTOD): New macro base function.
4412 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4414         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4415         (TEST_STRTOD): New macro.
4416         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4418 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4420         * stdlib/tst-strtod6.c (do_test): Use new type generic
4421         invocation of the test function.
4422         (test): Refactor into ...
4423         (TEST_STRTOD): New macro base function.
4425 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4427         CVE-2016-4429
4428         [BZ #20112]
4429         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4430         payload.
4432 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4434         [BZ #20111]
4435         * bits/sockaddr.h (_SS_SIZE): Define.
4436         * bits/socket.h (_SS_SIZE): Remove.
4437         (_SS_PADSIZE): Adjust to account for all padding.
4438         (struct sockaddr_storage): Update comment.  Avoid implicit
4439         padding.
4440         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4441         (_SS_PADSIZE): Adjust to account for all padding.
4442         (struct sockaddr_storage): Update comment.  Avoid implicit
4443         padding.
4444         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4445         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4446         (_SS_PADSIZE): Adjust to account for all padding.
4447         (struct sockaddr_storage): Update comment.  Avoid implicit
4448         padding.
4449         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4450         __SS_SIZE is 126 in this version.
4451         * inet/tst-sockaddr.c: New file.
4452         * inet/Makefile (tests): Add tst-sockaddr.c
4453         (tst-sockaddr.c): Compile with non-strict aliasing.
4455 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4457         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4458         [XPG3 || XPG4].
4459         (NL_ARGMAX): Also expect for [XPG3].
4460         (NL_LANGMAX): Likewise.
4461         (NL_MSGMAX): Likewise.
4462         (NL_NMAX): Likewise.
4463         (NL_SETMAX): Likewise.
4464         (NL_TEXTMAX): Likewise.
4465         (NZERO): Likewise.
4466         (TMP_MAX): Likewise.
4467         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4468         variable.
4470         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4471         (PF_MAX): Update value.
4472         (AF_KCM): New macro.
4473         (SOL_NETBEUI): Likewise.
4474         (SOL_LLC): Likewise.
4475         (SOL_DCCP): Likewise.
4476         (SOL_NETLINK): Likewise.
4477         (SOL_TIPC): Likewise.
4478         (SOL_RXRPC): Likewise.
4479         (SOL_PPPOL2TP): Likewise.
4480         (SOL_BLUETOOTH): Likewise.
4481         (SOL_PNPIPE): Likewise.
4482         (SOL_RDS): Likewise.
4483         (SOL_IUCV): Likewise.
4484         (SOL_CAIF): Likewise.
4485         (SOL_ALG): Likewise.
4486         (SOL_NFC): Likewise.
4487         (SOL_KCM): Likewise.
4488         (MSG_BATCH): New enum value and macro.
4490 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4492         [BZ #18185]
4493         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4494         sharing L2 cache to 2 for Knights Landing.
4496 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4498         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4499         (FTW_DP): Do not expect for [XPG3 || XPG4].
4500         (FTW_SL): Do not expect for [XPG3].
4501         (FTW_SLN): Likewise.
4502         (FTW_PHYS): Likewise.
4503         (FTW_MOUNT): Likewise.
4504         (FTW_DEPTH): Likewise.
4505         (FTW_CHDIR): Likewise.
4506         (nftw): Likewise.
4507         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4508         variable.
4510 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4512         * manual/errno.texi: Fix various typos & grammar errors.
4514 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4516         * manual/intro.texi: Fix duplicated typo.
4518 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4520         [BZ #13304]
4521         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4522         <float.h>, <math_private.h> and <stdlib.h>.
4523         (add_split): New function.
4524         (mul_split): Likewise.
4525         (ext_val): New typedef.
4526         (store_ext_val): New function.
4527         (mul_ext_val): New function.
4528         (compare): New function.
4529         (add_split_ext): New function.
4530         (__fmal): After checking for Inf, NaN and zero, compute result as
4531         an exact sum of scaled double values in round-to-nearest before
4532         adding those up and adjusting for other rounding modes.
4533         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4534         tests of fma.
4535         * math/auto-libm-test-out: Regenerated.
4537 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4539         [BZ #20119]
4540         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4541         processor level type mask for CPUID with EAX == 11.
4543 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4545         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4546         logical threads if the HTT bit is 0.
4547         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4548         (index_cpu_HTT): Likewise.
4549         (reg_HTT): Likewise.
4551 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4553         [BZ #20115]
4554         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4555         Remove alignments on jump targets.
4557 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4559         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4560         (getpwent): Likewise.
4561         (setpwent): Likewise.
4562         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4563         variable.
4565         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4566         (remque): Likewise.
4567         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4568         variable.
4570 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4572         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4573         not being tested.
4575 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4577         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4578         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4579         call.
4580         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4581         (__condvar_cleanup1): Likewise.
4583 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4585         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4586         New
4587         (__pthread_unwind): Renamed to ...
4588         (PTHREAD_UNWIND): This.
4589         (__pthread_enable_asynccancel): Replace
4590         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4592 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4594         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4595         (CLONE_NEWCGROUP): New macro.
4597         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4598         (Q_GETNEXTQUOTA): New macro.
4600 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4602         [BZ #19907]
4603         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4604         buffer updated by the previous run.
4605         * string/test-memcpy.c (do_one_test): Likewise.
4606         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4607         * string/test-memmove.c (do_one_test): Likewise.
4609 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4611         [BZ #20094]
4612         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4613         not [__USE_XOPEN].
4614         (unlockpt): Likewise.
4615         (ptsname): Likewise.
4616         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4617         variable.
4619         [BZ #20076]
4620         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4621         instead of [__USE_UNIX98].
4622         (S_ISSOCK): Likewise.
4623         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4624         variable.
4626         [BZ #20074]
4627         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4628         [__USE_POSIX].
4629         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4630         variable.
4632         [BZ #20051]
4633         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4634         (ttyslot): Do not declare.
4635         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4636         (ttyslot): New prototype.
4637         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4638         variable.
4639         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4641 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4643         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4645 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4647         Fix race condition in tst-mallocfork2, use fewer resources.
4648         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4649         to current process group.
4650         (signal_sender): Yield in the non-sleeping case.
4652 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4654         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4655         (ecvt): Likewise.
4656         (fcvt): Likewise.
4657         (gcvt): Likewise.
4658         (getsubopt): Likewise.
4659         (grantpt): Likewise.
4660         (initstate): Likewise.
4661         (l64a): Likewise.
4662         (mktemp): Likewise.
4663         (mkstemp): Likewise.
4664         (ptsname): Likewise.
4665         (random): Likewise.
4666         (realpath): Likewise.
4667         (setstate): Likewise.
4668         (srandom): Likewise.
4669         (ttyslot): Likewise.
4670         (unlockpt): Likewise.
4671         (valloc): Likewise.
4673         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4674         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4675         variable.
4677 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4679         [BZ #20072]
4680         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4681         init_cpu_features only if SHARED is defined.
4682         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4684 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4686         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4687         non-inclusive caches on Intel processors.
4689 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4691         * malloc/malloc.c (dumped_main_arena_start)
4692         (dumped_main_arena_end): New variables.
4693         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4694         (do_check_chunk): Skip dumped fake mmapped chunks.
4695         (munmap_chunk): Likewise.
4696         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4697         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4698         mmapped chunks.
4699         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4700         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4701         and dumped_main_arena_end to cover the dumped heap.
4703 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4705         * conform/data/time.h-data (getdate_err): Do not expect for
4706         [XPG3].
4707         (getdate): Likewise.
4708         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4709         variable.
4711         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4712         (F_ULOCK): Likewise.
4713         (F_TEST): Likewise.
4714         (F_TLOCK): Likewise.
4715         (useconds_t): Likewise.
4716         (intptr_t): Do not expect for [XPG3] or [XPG4].
4717         (brk): Do not expect for [XPG3]
4718         (fchown): Likewise.
4719         (fchdir): Likewise.
4720         (ftruncate): Likewise.
4721         (getdtablesize): Likewise.
4722         (gethostid): Likewise.
4723         (getpagesize): Likewise.
4724         (getpgid): Likewise.
4725         (getsid): Likewise.
4726         (getwd): Likewise.
4727         (lchown): Likewise.
4728         (lockf): Likewise.
4729         (readlink): Likewise.
4730         (sbrk): Likewise.
4731         (setpgrp): Likewise.
4732         (setregid): Likewise.
4733         (setreuid): Likewise.
4734         (symlink): Likewise.
4735         (sync): Likewise.
4736         (truncate): Likewise.
4737         (ualarm): Likewise.
4738         (usleep): Likewise.
4739         (vfork): Likewise.
4740         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4741         variable.
4743         [BZ #20054]
4744         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4745         not [__USE_UNIX98].
4746         * conform/data/unistd.h-data (gethostname): Do not expect for
4747         [XPG3].
4749         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4750         [!POSIX] (S_IFBLK): Likewise.
4751         [!POSIX] (S_IFCHR): Likewise.
4752         [!POSIX] (S_IFIFO): Likewise.
4753         [!POSIX] (S_IFREG): Likewise.
4754         [!POSIX] (S_IFDIR): Likewise.
4755         [!POSIX] (S_IFLNK): Likewise.
4756         [!POSIX] (S_IFSOCK): Likewise.
4757         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4758         variable.
4759         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4761 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4763         * sysdeps/aarch64/memset.S (__memset):
4764         Rewrite of optimized memset.
4766 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4768         [BZ #19703]
4769         Partially async-signal-safe fork for single-threaded processes.
4770         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4771         variable.  Do not acquire and reset/release malloc and libio locks
4772         in single-threaded processes.
4773         * malloc/tst-mallocfork2.c: New file.
4774         * malloc/Makefile (tests): Add it.
4776 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4778         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4779         argument.  Use scratch buffer instead of extend_alloca.
4780         (gethosts): Use scratch buffer instead of extend_alloca.
4781         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
4782         extend_alloca.
4783         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4785 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
4787         [BZ #20055]
4788         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4789         instead of [__USE_UNIX98].
4790         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4791         [__USE_UNIX98].
4792         * conform/data/termios.h-data (tcgetsid): Do not expect for
4793         [XPG3].
4794         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4795         variable.
4796         (test-xfail-XPG4/termios.h/conform): Likewise.
4798 2016-05-11  Florian Weimer  <fweimer@redhat.com>
4800         Do not use mcheck in localedef.
4801         * locale/programs/localedef.c (turn_on_mcheck)
4802         (__malloc_initialize_hook): Remove.
4804 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4806         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4807         * sysdeps/s390/s390-64/Makefile: Likewise.
4809 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4811         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4812         Remove ifunc-defines.sym.
4813         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4814         Likewise.
4815         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4816         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4817         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4818         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4819         rtld-global-offsets.sym.
4820         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4821         * sysdeps/x86/cpu-features-offsets.sym: This.
4822         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4823         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4825 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
4827         [BZ #20073]
4828         * io/sys/stat.h (fchmod): Declare for
4829         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4830         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4831         variable.
4833         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4834         [XPG3] (S_IFSOCK): Likewise.
4835         [XPG3] (S_ISVTX): Likewise.
4836         [XPG3] (S_ISLNK): Likewise.
4837         [XPG3] (S_ISSOCK): Likewise.
4838         [XPG3] (fchmod): Likewise.
4839         [XPG3] (lstat): Likewise.
4840         [XPG3] (mknod): Likewise.
4842         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4843         [XPG3].  Expect type long and XFAIL for [XPG4].
4844         (st_blocks): Likewise.
4846         [BZ #20044]
4847         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4848         (pthread_atfork): New prototype.
4849         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4850         variable.
4852         [BZ #20043]
4853         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4854         prototype.
4856 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4858         [BZ #20017]
4859         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4860         gmtime.
4862 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4864         [BZ #19994]
4865         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4866         flag in _res.options.
4868 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4870         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4871         [XPG3 || XPG4].
4872         (blksize_t): Likewise.
4873         (clockid_t): Likewise.
4874         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4875         variable.
4876         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4878 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4880         * sysdeps/unix/sysv/linux/s390/init-first.c:
4881         Add VDSO_SYMBOL(getcpu).
4882         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4883         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4884         Add VDSO_SYMBOL(getcpu).
4885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4886         New define HAVE_GETCPU_VSYSCALL.
4887         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4889 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4891         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4892         instead of <sysdeps/x86_64/cacheinfo.c>.
4893         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4894         * sysdeps/x86/cacheinfo.c: Here.
4896 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4898         * malloc/malloc-internal.h: Adjust header file guard.
4900 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4902         [BZ #19787]
4903         * inet/getnameinfo.c (check_sprintf_result): New function.
4904         (CHECKED_SNPRINTF): New macro.
4905         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4906         to the host buffer.
4907         (gni_host_local): Use checked_copy to copy the host name.
4908         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4909         (gni_serv_local): Use checked_copy to copy the service name.
4910         (getnameinfo): Remove unnecessary truncation of result buffers.
4912 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4914         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4915         in case of inet_ntop failure.
4917 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4919         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4920         avoid long lines.
4921         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4922         variables.
4923         (gni_host_inet, gni_host_local): Add comment.
4924         (gni_host): Add comment.  Use temporary to avoid long lines.
4926 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4928         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4929         registers specifiers where general purpose registers specifiers should
4930         have been used.
4932 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4934         [BZ #19779]
4935         CVE-2016-1234
4936         Avoid copying names of directory entries.
4937         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4938         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4939         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4940         (struct readdir_result): New type.
4941         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4942         (GL_READDIR): New macros.
4943         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4944         (convert_dirent, convert_dirent64): New functions.
4945         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4946         convert_dirent64.  Adjust references to the readdir result.
4947         * sysdeps/unix/sysv/linux/i386/glob64.c:
4948         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4949         * posix/bug-glob2.c (LONG_NAME): Define.
4950         (filesystem): Add LONG_NAME.
4951         (my_DIR): Increase the size of room_for_dirent.
4953 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4955         [BZ #20041]
4956         * misc/sys/select.h (__need_timespec): Only define if
4957         [__USE_XOPEN2K].
4958         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4959         variable.
4960         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4961         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4962         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4964 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4965             Segher Boessenkool  <segher@gcc.gnu.org>
4967         [BZ #20004]
4968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4969         (__novec_swapcontext): Add missing load.
4971 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4973         [BZ #20023]
4974         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4975         <time.h>.
4976         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4977         variable.
4978         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4980 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4983         flags CLONE_VM compare.
4985 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4987         [BZ #20031]
4988         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4989         completely empty.
4991 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4993         [BZ #19573]
4994         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4995         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4996         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4997         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4998         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4999         (hesiod_free_list): Mark as hidden.
5000         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5001         res_set, res_get.
5002         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5003         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5004         (hesiod_init): Remove obsolete res_ninit call.
5005         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5006         (hesiod_bind): Do not call init.
5007         (get_txt_records): Use res_mkquery, res_send instead of
5008         res_nmkquery, res_nsend.
5009         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5010         instead of _nss_hesiod_init.
5011         (_nss_hesiod_initgroups_dyn): Likewise.
5012         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5013         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5014         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5016 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5018         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5019         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5021 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5023         * hesiod/hesiod.h: Remove RCS keyword.
5024         * hesiod/hesiod_p.h: Likewise.
5026         * hesiod/hesiod.c: Likewise.
5028 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5030         [BZ #12450]
5031         * locale/iso-639.def: Add Samogitian/sgs.
5033 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5035         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5037         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5039 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5040             Carlos O'Donell  <carlos@redhat.com>
5042         [BZ #19072]
5043         * grp/Makefile (headers): Add grp-merge.h
5044         (routines): Add grp-merge.
5045         * grp/getgrgid_r.c: Include grp-merge.h.
5046         (DEEPCOPY_FN): Define.
5047         (MERGE_FN): Define.
5048         * grp/getgrname_r.c: Include grp-merge.h.
5049         (DEEPCOPY_FN): Define.
5050         (MERGE_FN): Define.
5051         * grp/grp-merge.c: New file.
5052         * grp/grp-merge.h: New file.
5053         * include/grp-merge.h: New file.
5054         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5055         __copy_grp@GLIBC_PRIVATE.
5056         * manual/nss.texi (Actions in the NSS configuration): Describe
5057         return, continue, and merge.
5058         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5059         (DEEPCOPY_FN): Define.
5060         (MERGE_FN): Define.
5061         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5062         (DEEPCOPY_FN): Define.
5063         (MERGE_FN): Define.
5064         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5065         [!MERGE_FN]: Define __merge_einval.
5066         (CHECK_MERGE): Define.
5067         (REENTRANT_NAME): Process merge if do_merge is true.
5068         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5069         (__nss_getent_r): Likewise.
5070         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5071         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5073 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5075         [BZ #20012]
5076         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5077         length to calculate the buffer to read.
5078         (fmemopen_write): Set the buffer position based on bytes written.
5079         (fmemopen_seek): Return EINVAL for invalid whence modes.
5081         [BZ #19957]
5082         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5083         tst-getpid2.
5084         (test): Add tst-clone2.
5085         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5086         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5087         pid/tid fields for CLONE_VM.
5088         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5089         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5090         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5091         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5092         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5093         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5094         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5095         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5097         Likewise.
5098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5099         Likewise.
5100         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5101         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5102         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5103         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5104         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5105         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5106         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5107         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5109 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5111         [BZ #19642]
5112         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5113         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5114         (gni_serv_local, gni_serv): New functions extracted from
5115         getnameinfo.
5116         (getnameinfo): Call gni_host and gni_serv to perform the
5117         processing.  Always free scratch buffer.
5119 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5121         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5122         remaining bytes in the dest string, with zeros.
5124 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5126         [BZ #20010]
5127         CVE-2016-3706
5128         * sysdeps/posix/getaddrinfo.c
5129         (convert_hostent_to_gaih_addrtuple): New function.
5130         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5131         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5132         AF_INET data.
5134 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5136         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5137         callback function gl_readdir.
5138         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5139         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5140         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5141         memcpy to copy the name.
5142         * manual/pattern.texi (Calling Glob): Document requirements for
5143         implementations of the gl_readdir callback function.
5144         * manual/examples/mkdirent.c: New example.
5145         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5146         per the manual guidance.
5147         * posix/tst-gnuglob.c (my_readdir): Likewise.
5149 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5151         [BZ #20014]
5152         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5153         not [__USE_POSIX].
5154         (getchar_unlocked): Likewise.
5155         (putc_unlocked): Likewise.
5156         (putchar_unlocked): Likewise.
5157         (flockfile): Likewise.
5158         (ftrylockfile): Likewise.
5159         (funlockfile): Likewise.
5160         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5161         variable.
5162         (test-xfail-XPG4/stdio.h/conform): Likewise.
5164         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5165         Expect constant.
5166         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5167         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5168         variable.
5169         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5170         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5172         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5173         [__USE_LARGEFILE64] (off64_t): Likewise.
5174         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5175         variable.
5177 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5179         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5181 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5183         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5184         * resolv/res_init.c: Likewise.
5185         * resolv/res_mkquery.c: Likewise.
5187 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5189         * resolv/res_init.c (isascii): Do not define.  Use definition in
5190         <ctype.h>.
5191         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5192         (LOG_AUTH): Remove.
5193         (SPRINTF): Remove, adjust caller.
5194         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5196 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5198         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5199         SUNSECURITY conditional.
5200         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5202 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5204         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5205         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5206         Remove BSD-related preprocessor conditionals.
5207         * conf/portability.h: Remove.
5209 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5211         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5212         * resolv/res_data.c: Likewise.
5214 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5216         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5217         * resolv/res_data.c: Remove code conditional on ultrix.
5219 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5221         * resolv/res_init.c (RFC1535): Do not define.  Remove
5222         RFC1535 preprocessor conditionals.
5223         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5224         because there configuration options which make the resolver
5225         behavior different.
5227 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5229         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5230         RESOLVSORT preprocessor conditionals.
5231         * resolv/nss_dns/dns-host.c: Likewise.
5232         * resolv/res_init.c: Likewise.
5234 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5236         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5237         is never defined.
5239 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5241         * inet/inet_lnaof.c: Remove SCSS keyword.
5242         * inet/inet_mkadr.c: Likewise.
5243         * inet/inet_net.c: Likewise.
5244         * inet/inet_netof.c: Likewise.
5245         * inet/rcmd.c: Likewise.
5246         * inet/rexec.c: Likewise.
5247         * inet/ruserpass.c: Likewise.
5249 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5251         * resolv/inet_addr.c: Remove _LIBC conditionals.
5252         * resolv/res_data.c: Likewise.
5253         * resolv/res_init.c: Likewise.
5254         * resolv/res_mkquery.c: Likewise.
5255         * resolv/res_libc.c: Update comment.
5256         * resolv/README: Update.
5258 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5260         * resolv/gethnamaddr.c: Remove SCSS keyword.
5261         * resolv/herror.c: Likewise.
5262         * resolv/inet_addr.c: Likewise.
5263         * resolv/inet_net_ntop.c: Likewise.
5264         * resolv/inet_net_pton.c: Likewise.
5265         * resolv/inet_neta.c: Likewise.
5266         * resolv/inet_ntop.c: Likewise.
5267         * resolv/inet_pton.c: Likewise.
5268         * resolv/ns_date.c: Remove RCS keyword.
5269         * resolv/ns_name.c: Likewise.
5270         * resolv/ns_netint.c: Likewise.
5271         * resolv/ns_parse.c: Likewise.
5272         * resolv/ns_print.c: Likewise.
5273         * resolv/ns_samedomain.c: Likewise.
5274         * resolv/ns_ttl.c: Likewise.
5275         * resolv/nsap_addr.c: Likewise.
5276         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5277         * resolv/res_data.c: Remove RCS keyword.
5278         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5279         * resolv/res_init.c: Likewise.
5280         * resolv/res_mkquery.c: Likewise.
5281         * resolv/res_query.c: Likewise.
5282         * resolv/res_send.c: Likewise.
5284 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5286         * conform/data/stdio.h-data (fdopen): Expect also for
5287         [XPG3 || XPG4].
5289         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5290         (fseeko): Likewise.
5291         (ftello): Likewise.
5292         (ftrylockfile): Likewise.
5293         (funlockfile): Likewise.
5294         (getc_unlocked): Likewise.
5295         (getchar_unlocked): Likewise.
5296         (putc_unlocked): Likewise.
5297         (putchar_unlocked): Likewise.
5299 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5301         [BZ #19868]
5302         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5303         DNS packet syntax checks (which were not needed before).  Skip
5304         over non-PTR records.
5306 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5308         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5309         definition.  Include <stddef.h> instead.
5311 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5313         [BZ #19831]
5314         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5315         function.
5316         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5317         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5319 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5321         [BZ #19862]
5322         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5323         (getanswer_r): Do not call syslog.
5324         (gaih_getanswer_slice): Likewise.
5325         * resolv/gethnamaddr.c (AskedForGot): Remove.
5326         (getanswer): Do not call syslog.
5327         (gethostbyaddr): Likewise.
5329 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5331         * conform/data/signal.h-data (union sigval): Expect also if
5332         [XOPEN2K].
5333         (struct sigevent): Likewise.
5334         (SIGEV_NONE): Likewise.
5335         (SIGEV_SIGNAL): Likewise.
5336         (SIGEV_THREAD): Likewise.
5337         (SIGRTMIN): Likewise.
5338         (SIGRTMAX): Likewise.
5339         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5340         variable.
5341         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5343 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5345         [BZ #19830]
5346         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5347         (gaih_getanswer_slice): Likewise.
5348         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5349         Also check for availability of RR metadata.
5351 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5353         [BZ #19825]
5354         * resolv/res_send.c (send_vc): Remove early *resplen2
5355         initialization.  Set *resplen2 on socket error.  Call
5356         close_and_return_error for other errors.
5358 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5360         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5361         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5362         (SCM_IUCV_TRGCLS): New define.
5364 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5366         [BZ #20005]
5367         * libio/fmemopen.c (fmemopen_write): Update internal position after
5368         write.
5369         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5370         * stdio-common/tst-fmemopen4.c: New file..
5372 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5374         [BZ #19996]
5375         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5376         not [__USE_XOPEN2K].
5377         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5378         variable.
5380         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5381         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5382         variable.
5384         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5385         [__USE_XOPEN2K8].
5386         [__USE_LARGEFILE64] (off64_t): Likewise.
5387         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5388         variable.
5390 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5392         [BZ #19989]
5393         * libio/stdio.h (cuserid): Do not declare if
5394         [__USE_XOPEN2K && !__USE_GNU].
5395         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5396         variable.
5398 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5400         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5401         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5403         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5404         ifunc'ed strcspn.
5405         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5406         [EALIGN]: Removed.
5407         [END]: Likewise
5408         [STRSPN]: Define instead of the above to control symbol name.
5409         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5410         New file.
5411         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5412         Likewise.
5413         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5414         Likewise.
5415         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5416         Likewise.
5417         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5418         [INITIAL_MASK]: New macro.
5419         [STRCSPN]: Likewise.
5420         [UPDATE_MASK]: Likewise.
5421         [USE_AS_STRCSPN]: Lisewise.
5423 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5425         [BZ #19931]
5426         * stdio-common/tst-vfprintf-width-prec.c: New file.
5427         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5428         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5429         (generated): Add mtrace-related files.
5430         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5431         (tst-%-mem.out): New pattern rule, replaces
5432         tst-printf-bz18872-mem.out.
5433         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5434         specifier, deallocate any previously allocated work buffer.
5436 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5438         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5439         Add nop before __startcontext, add explaining comments.
5441 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5443         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5444         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5445         completely different API.
5447         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5448         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5449         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5450         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5451         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5452         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5453         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5454         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5455         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5456         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5458 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5460         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5462 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5464         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5465         when it is the default of 0.
5467 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5469         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5470         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5471         (sysdep_routines): Add new strcasestr targets.
5472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5473         (__libc_ifunc_impl_list): Likewise.
5474         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5475         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5476         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5477         * sysdeps/powerpc/powerpc64/power8/Makefile:
5478         New file to add strcasestr-ppc64 to sysdep_routines.
5479         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5480         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5482 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5484         * benchtests/Makefile (wcsmbs-benchset): Include only for
5485         native builds and runs.
5486         (LOCALES): Likewise.
5487         (bench-build): Build timing-type here instead of the bench
5488         target.  Generate locale only for native builds.
5489         * benchtests/README: Add note for cross-building.
5491         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5493         * benchtests/README: Update README to include instructions on
5494         using bench-build.
5496         * Makefile.in (bench-build): New target.
5497         * Rules (PHONY): Add bench-build target.
5498         * benchtests/Makefile (bench): Depend on bench-build.
5499         (bench-build): New target.
5501 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5503         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5504         profil_reply_port.
5505         (profile_waiter): Do not initialize profil_reply_port.
5506         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5507         frequency instead of tick length in us.
5509 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5511         [BZ #18712]
5512         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5513         (__old_mempcpy_small): Likewise.
5514         (__old_strcpy_small): Likewise.
5515         (__old_stpcpy_small): Likewise.
5516         (__old_strpbrk_c2): Fix compat symbol name.
5517         (__old_strpbrk_c3): Likewise.
5518         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5519         (__mempcpy_small): Remove.
5520         (__strcpy_small): Remove.
5521         (__stpcpy_small): Remove.
5523 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5525         [BZ #19400]
5526         * locale/iso-639.def: Add the Talossan/tzl language.
5528 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5530         [BZ #16983]
5531         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5532         comment.  Add "ln" to strchr check on postal_fmt.
5534 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5536         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5537         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5538         tel_dom_fmt.
5540 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5542         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5543         (sysdep_routines): Added __strlen_power8.
5544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5545         __strlen_power8 entry.
5546         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5547         Implementation for POWER8.
5548         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5549         for __strlen_power8.
5550         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5551         Implementation for POWER8.
5553 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5555         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5557 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5559         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5560         Goldmont and Airmont processors.
5562 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5564         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5565         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5566         (__STRING2_SMALL_GET32): Remove.
5567         (memset): Remove.
5568         (__memset_1): Remove.
5569         (__memset_gc): Remove.
5570         (__mempcpy): Remove.
5571         (mempcpy): Remove.
5572         (__mempcpy_args): Remove.
5573         (strchr): Remove.
5574         (strcpy): Remove.
5575         (strcpy_args): Remove.
5576         (__stpcpy_args): Remove.
5577         (__strcmp_cc): Remove.
5578         (__strcmp_gc): Remove.
5579         (strstr): Remove.
5581 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5583         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5584         * nis/nis_call.c (nis_server_cache_add): Likewise.
5586 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5588         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5590 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5592         * malloc/arena.c (__malloc_fork_lock_parent)
5593         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5594         internal_function attribute.
5596 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5598         * stdio-common/printf_fp.c (__printf_fp_l):
5599         Rename ___printf_fp_l to __printf_fp_l and
5600         remove strong alias. Use libc_hidden_def instead
5601         of ldbl_hidden_def macro.
5603 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5605         Remove malloc hooks from fork handler.  They are no longer needed
5606         because malloc runs right before fork, and no malloc calls from
5607         other fork handlers are not possible anymore.
5608         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5609         declarations.
5610         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5611         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5612         (atfork_recursive_cntr): Remove.
5613         (__malloc_fork_lock_parent): Do not override malloc hooks and
5614         thread_arena.
5615         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5616         thread_arena.
5617         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5618         thread_arena instead of save_arena.
5620 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5622         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5623         (thread_atfork, thread_atfork_static): Remove.
5624         * sysdeps/mach/hurd/malloc-machine.h:
5625         (thread_atfork, thread_atfork_static): Remove.
5627 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5629         [BZ #19431]
5630         Run the malloc fork handler as late as possible to avoid deadlocks.
5631         * malloc/malloc-internal.h: New file.
5632         * malloc/malloc.c: Include it.
5633         * malloc/arena.c (ATFORK_MEM): Remove.
5634         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5635         Update comment.
5636         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5637         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5638         Remove outdated comment.
5639         (ptmalloc_init): Do not call thread_atfork.  Remove
5640         thread_atfork_static.
5641         * malloc/tst-malloc-fork-deadlock.c: New file.
5642         * Makefile (tests): Add tst-malloc-fork-deadlock.
5643         (tst-malloc-fork-deadlock): Link against libpthread.
5644         * manual/memory.texi (Aligned Memory Blocks): Update safety
5645         annotation comments.
5646         * sysdeps/nptl/fork.c (__libc_fork): Call
5647         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5648         __malloc_fork_unlock_child.
5649         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5651 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5653         [BZ #19613]
5654         Remove union wait.
5655         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5656         (w_stopsig, w_stopval): Remove.
5657         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5658         stat_loc argument.
5659         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5660         (__WAIT_STATUS_DEFN): Remove.
5661         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5662         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5663         (wait, wait3, wait4): Use int * for the stat_loc argument.
5664         * posix/wait.c (__wait): Likewise.
5665         * posix/wait3.c (__wait3): Likewise.
5666         * posix/wait4.c (__wait4): Likewise.
5667         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5668         (__WAIT_STATUS_DEFN): Remove.
5669         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5670         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5671         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5672         argument.
5673         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5674         * sysdeps/posix/wait3.c (__wait3): Likewise.
5675         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5676         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5677         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5678         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5679         stat_loc argument.
5680         * manual/process.texi (BSD Wait Functions): Remove union wait.
5682 2016-04-13  Andreas Schwab  <schwab@suse.de>
5684         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5685         (test-extras): Add tst-tlsalign-vars.
5686         * math/Makefile: Wrap long lines.
5687         (libm-vec-test-wrappers): Define.
5688         (test-extras): Add $(libm-vec-test-wrappers).
5689         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5690         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5691         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5692         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5693         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5694         (extra-test-objs): Add corresponding objects.
5696 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5698         [BZ #19928]
5699         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5700         New.
5701         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5702         times of shared cache size.
5703         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5704         (VMOVNT): New.
5705         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5706         (VMOVNT): Likewise.
5707         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5708         (VMOVNT): Likewise.
5709         (VMOVU): Changed to movups for smaller code sizes.
5710         (VMOVA): Changed to movaps for smaller code sizes.
5711         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5712         comments.
5713         (PREFETCH): New.
5714         (PREFETCH_SIZE): Likewise.
5715         (PREFETCHED_LOAD_SIZE): Likewise.
5716         (PREFETCH_ONE_SET): Likewise.
5717         Rewrite to use forward and backward loops, which move 4 vector
5718         registers at a time, to support overlapping addresses and use
5719         non temporal store if size is above the threshold and there is
5720         no overlap between destination and source.
5722 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5724         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5725         Include dl-vdso.
5726         * sysdeps/unix/sysv/linux/mips/Versions: Add
5727         __vdso_clock_gettime.
5728         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5729         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5730         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5731         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5732         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5733         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5734         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5735         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5736         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5738 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5740         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5741         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5742         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5743         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5744         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5745         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5748         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5749         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5750         syscalls generation.
5751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5752         [__NR_pwrite64] (__NR_write): Remove define.
5753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5754         [__NR_pwrite64] (__NR_write): Remove define.
5755         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5756         Remove define.
5757         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5758         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5759         Remove define.
5760         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5761         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5762         Linux implementation as base.
5763         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5765         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5766         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5768         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5771         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5772         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5773         syscall generation.
5774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5775         [__NR_pread64] (__NR_pread): Remove define.
5776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5777         [__NR_pread64] (__NR_pread): Likewise.
5778         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5779         define.
5780         (__libc_pread): Use SYSCALL_LL macro on offset argument.
5781         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5782         Remove define.
5783         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5784         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5785         Linux implementation as base.
5786         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5787         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5788         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5790         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5791         definition.
5792         (__ALIGNMENT_COUNT): Likewise.
5793         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5794         (__ALIGNMENT_COUNT): Likewise.
5795         (SYSCALL_LL): New define.
5796         (SYSCALL_LL64): Likewise.
5797         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5798         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5799         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5800         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5802         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5803         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5804         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5805         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5806         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5807         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5809 2016-04-11  Florian Weimer  <fweimer@redhat.com>
5811         [BZ #19865]
5812         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5813         original buffer before retry.
5815 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5817         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5818         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5819         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5820         GLRO(dl_auxv) list.
5821         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5822         including <ldsodefs.h>.
5823         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5825 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
5827         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5828         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5829         $(CPPFLAGS).
5831 2016-04-09  Khem Raj  <raj.khem@gmail.com>
5833         [BZ #17950]
5834         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5835         Add -mfpmath=387.
5837 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
5839         * sysdeps/i386/configure.ac: Change == to = when calling test.
5840         * sysdeps/x86_64/configure.ac: Likewise.
5841         * sysdeps/i386/configure: Regenerated.
5842         * sysdeps/x86_64/configure: Likewise.
5844 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
5846         [BZ #16137]
5847         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5848         * benchtests/bench-strcoll.c (input_files): Likewise.
5849         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5850         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5851         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5853 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5855         [BZ #19929]
5856         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5857         [__USE_XOPEN2K8 && !__USE_GNU].
5858         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5859         variable.
5861         [BZ #19925]
5862         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5863         define if [!__USE_MISC && __USE_XOPEN2K].
5864         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5865         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5866         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5867         Likewise.
5868         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5869         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5870         variable.
5871         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5873 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5875         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5876         (sysdep_routines): Add new strspn targets.
5877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5878         (__libc_ifunc_impl_list): Add strspn.
5879         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5880         New file.
5881         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5882         Likewise.
5883         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5884         Likewise.
5885         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5886         Likewise.
5888 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5890         * misc/hsearch_r.c: Include <limits.h>.
5892 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5894         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5896 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5898         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5899         (MEMCPY_SYMBOL): New.
5900         (MEMPCPY_SYMBOL): Likewise.
5901         (MEMMOVE_CHK_SYMBOL): Likewise.
5902         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5903         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5904         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5905         Provide alias for memcpy in libc.a and ld.so.
5907 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5909         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5910         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5911         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5912         Disabled fro now.
5913         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5914         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5916 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5918         * benchtests/Makefile (string-benchset): Add memcpy-large,
5919         memmove-large and memset-large.
5920         * benchtests/bench-memcpy-large.c: New file.
5921         * benchtests/bench-memmove-large.c: Likewise.
5922         * benchtests/bench-memmove-large.c: Likewise.
5923         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5925 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5927         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5928         32-bit displacement to avoid long nop between instructions.
5930 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5932         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5933         a comment on VMOVU and VMOVA.
5935 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5937         [BZ #19633]
5938         Use specified locale for number formatting in strfmon_l.
5939         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5940         (__nl_lookup_word): New inline functions.
5941         * include/printf.h (__print_fp_l): Declare.
5942         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5943         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5944         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5945         (___printf_fp): New function.
5946         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5947         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5948         * stdlib/tst-strfmon_l.c (do_test): New test.
5949         * stdlib/Makefile (tests): Add kt.
5950         (LOCALES): Build additional locales.
5951         (tst-strfmon_l.out): Require locales.
5953 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5955         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5956         if not in libc.
5957         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5958         Likewise.
5959         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5960         Likewise.
5961         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5962         Likewise.
5964 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5966         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5967         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5968         with unaligned_erms.
5969         (__memmove_erms): Skip if source == destination.
5970         (__memmove_unaligned_erms): Don't check source == destination
5971         first.
5973 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5975         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5976         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5978 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5980         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5981         * string/strspn.c (strspn): Likewise.
5983 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5985         * benchtests/bench-memset.c (do_test): Support 64-byte
5986         alignment.
5987         (test_main): Test 64-byte alignment.
5989 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5991         * benchtests/bench-memmove.c (test_main): Test 64-byte
5992         alignment.
5994 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5996         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5998 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6000         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6001         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6002         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6004         * string/strpbrk.c (strpbrk): Rewrite function.
6005         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6006         (__strpbrk_c2): Likewise.
6007         (__strpbrk_c3): Likewise.
6008         * string/string-inlines.c
6009         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6010         Likewise.
6011         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6012         Likewise.
6014         * string/strspn.c (strcspn): Rewrite function.
6015         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6016         (__strspn_c1): Remove inline function.
6017         (__strspn_c2): Likewise.
6018         (__strspn_c3): Likewise.
6019         * string/string-inlines.c
6020         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6021         compatibility symbol.
6022         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6023         Likewise.
6024         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6025         Likewise.
6026         * string/string-inlines.c: Include generic version.
6028 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6029             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6031         * string/Version (libc): Add GLIBC_2.24.
6032         * string/strcspn.c (strcspn): Rewrite function.
6033         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6034         (__strcspn_c1): Remove inline function.
6035         (__strcspn_c2): Likewise.
6036         (__strcspn_c3): Likewise.
6037         * string/string-inline.c
6038         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6039         compatibility symbol.
6040         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6041         Likewise.
6042         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6043         Likewise.
6044         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6046 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6048         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6049         Use ahi instead of aghi to adjust stack pointer.
6051 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6053         [BZ #19853]
6054         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6055         TEST to take significant digits as second parameter.
6056         [TEST]: Redefine in terms of TEST_N taking 30
6057         significant digits.
6058         (do_test): Add test case to demonstrate precision
6059         failure in the ldbl-128ibm printf.
6060         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6061         (__mpn_extract_long_double): Carry 7 extra intermediate
6062         bits of precision to aide computing difference when
6063         signs differ.
6065 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6067         [BZ #19881]
6068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6069         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6070         memset-avx512-unaligned-erms.
6071         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6072         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6073         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6074         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6075         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6076         __memset_sse2_unaligned_erms, __memset_erms,
6077         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6078         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6079         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6080         file.
6081         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6082         Likewise.
6083         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6084         Likewise.
6085         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6086         Likewise.
6088 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6090         [BZ #19776]
6091         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6092         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6093         memmove-avx512-unaligned-erms.
6094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6095         (__libc_ifunc_impl_list): Test
6096         __memmove_chk_avx512_unaligned_2,
6097         __memmove_chk_avx512_unaligned_erms,
6098         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6099         __memmove_chk_sse2_unaligned_2,
6100         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6101         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6102         __memmove_avx512_unaligned_erms, __memmove_erms,
6103         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6104         __memcpy_chk_avx512_unaligned_2,
6105         __memcpy_chk_avx512_unaligned_erms,
6106         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6107         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6108         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6109         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6110         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6111         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6112         __mempcpy_chk_avx512_unaligned_erms,
6113         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6114         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6115         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6116         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6117         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6118         __mempcpy_erms.
6119         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6120         file.
6121         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6122         Likwise.
6123         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6124         Likwise.
6125         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6126         Likwise.
6128 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6130         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6131         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6132         (La_s390_64_regs): Likewise.
6133         (La_s390_32_retval): Append vector register lrv_v24.
6134         (La_s390_64_retval): Likeweise.
6135         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6136         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6137         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6138         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6140 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6142         [BZ #19916]
6143         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6144         to create a non-vector/vector version for _dl_runtime_resolve and
6145         _dl_runtime_profile. Move implementation to ...
6146         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6147         (_dl_runtime_resolve) Save and restore fpr/vrs.
6148         (_dl_runtime_profile) Save and restore vrs and fix some issues
6149         if _dl_call_pltexit is called.
6150         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6151         Choose the correct resolver function if running on a machine with vx.
6152         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6153         to create a non-vector/vector version for _dl_runtime_resolve and
6154         _dl_runtime_profile. Move implementation to ...
6155         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6156         (_dl_runtime_resolve) Save and restore fpr/vrs.
6157         (_dl_runtime_profile) Save and restore vrs and fix some issues
6158         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6159         Choose the correct resolver function if running on a machine with vx.
6161 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6163         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6165 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6167         [BZ #19509]
6168         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6169         skip_map != NULL.
6170         * elf/tst-dlsym-error.c: New file.
6171         * elf/Makefile (tests): Add tst-dlsym-error.
6172         (tst-dlsym-error): Link against libdl.
6174 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6176         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6177         (__ASSUME_FUTIMESAT): Remove macro.
6178         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6180 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6182         [BZ #19879]
6183         CVE-2016-3075
6184         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6185         copy name.
6187 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6189         [BZ #19837]
6190         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6191         error if parse_line fails.
6193 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6195         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6196         (index_cpu_ERMS): Likewise.
6197         (reg_ERMS): Likewise.
6199 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6201         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6202         PER_LINUX_FDPIC): Add.
6204 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6207         memcpy-avx512-no-vzeroupper.
6208         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6209         to ...
6210         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6211         (MEMCPY): Don't define.
6212         (MEMCPY_CHK): Likewise.
6213         (MEMPCPY): Likewise.
6214         (MEMPCPY_CHK): Likewise.
6215         (MEMPCPY_CHK): Renamed to ...
6216         (__mempcpy_chk_avx512_no_vzeroupper): This.
6217         (MEMPCPY_CHK): Renamed to ...
6218         (__mempcpy_chk_avx512_no_vzeroupper): This.
6219         (MEMCPY_CHK): Renamed to ...
6220         (__memmove_chk_avx512_no_vzeroupper): This.
6221         (MEMCPY): Renamed to ...
6222         (__memmove_avx512_no_vzeroupper): This.
6223         (__memcpy_avx512_no_vzeroupper): New alias.
6224         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6226 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6228         [BZ #18858]
6229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6230         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6231         and mempcpy-avx512-no-vzeroupper.
6232         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6233         New.
6234         (MEMPCPY): Likewise.
6235         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6236         (MEMPCPY_CHK): New.
6237         (MEMPCPY): Likewise.
6238         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6239         (MEMPCPY): Likewise.
6240         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6241         (MEMPCPY): Likewise.
6242         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6243         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6244         Likewise.
6245         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6246         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6248 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6249              Amit Pawar  <Amit.Pawar@amd.com>
6251         [BZ #19583]
6252         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6253         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6254         processors.  Set Fast_Copy_Backward for AMD Excavator
6255         processors.
6256         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6257         New.
6258         (index_arch_Fast_Unaligned_Copy): Likewise.
6259         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6260         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6262 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6264         [BZ #19791]
6265         * resolv/res_send.c (close_and_return_error): New function.
6266         (send_dg): Initialize *resplen2 after reopen failure.  Call
6267         close_and_return_error for error returns.  On error paths without
6268         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6269         successful return.
6271 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6273         [BZ# 19860]
6274         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6275         zero if the compiler does not provide the AVX512F bit.
6277 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6279         [BZ #19848]
6280         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6281         from 8 to 4.
6282         (__ieee754_powl): Compare integer exponent against 4 not 8.
6283         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6284         from 8 to 4.
6285         (__ieee754_powl): Compare integer exponent against 4 not 8.
6286         * math/auto-libm-test-in: Add more tests of pow.
6287         * math/auto-libm-test-out: Regenerated.
6288         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6291 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6293         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6294         Make code unconditional.
6295         [!__NR_utimensat]: Remove conditional code.
6296         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6297         Make code unconditional.
6298         [!__NR_utimensat]: Remove conditional code.
6299         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6300         Make code unconditional.
6301         [!__NR_utimensat]: Remove conditional code.
6303 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6305         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6306         Make code unconditional.
6308 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6310         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6311         call-clobbered %eax on retry path.
6312         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6314 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6316         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6317         Don't set %rcx twice before "rep movsb".
6319 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6321         [BZ #19583]
6322         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6323         inline.  Check family before setting family, model and
6324         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6325         bits here.
6326         (init_cpu_features): Replace HAS_CPU_FEATURE and
6327         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6328         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6329         for Intel processors with usable AVX2.  Call get_common_indeces
6330         for other processors with family == NULL.
6331         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6332         (CPU_FEATURES_ARCH_P): Likewise.
6333         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6334         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6336 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6338         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6339         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6340         $(shared-thread-library) instead of hardcoding the path to libpthread.
6342 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6344         * sysdeps/unix/sysv/linux/kernel-features.h
6345         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6346         * sysdeps/unix/sysv/linux/getdents.c
6347         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6348         [!have_no_getdents64_defined]: Likewise.
6349         (__GETDENTS): Remove __have_no_getdents64 conditional.
6351 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6353         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6354         Remove macro.
6355         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6356         <kernel-features.h>.
6357         (signalfd) [__NR_signalfd4]: Make code unconditional.
6358         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6360 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6362         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6363         style.
6365 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6367         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6368         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6369         __pthread_unwind.
6370         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6371         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6372         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6373         (__condvar_cleanup1): Likewise.
6375 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6377         [BZ #19822]
6378         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6379         move it to the final $@ location.
6381 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6383         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6384         access where posix_spawn success and pid argument is null.
6385         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6386         success case.
6388 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6390         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6392         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6394         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6395         and __fcntl.
6396         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6397         __fcntl only.
6398         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6399         adding attribute_hidden to __open and __fcntl.
6401         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6402         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6403         depend on libc-modules.h,
6404         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6406 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6408         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6409         Remove macro.
6410         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6411         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6412         entry.
6414         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6415         Remove macro.
6416         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6417         include <kernel-features.h>.
6418         [!__ASSUME_FALLOCATE]: Remove conditional code.
6419         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6421 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6423         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6424         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6425         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6426         (_ZGVdN4v_cos_avx2): Likewise.
6427         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6428         (_ZGVdN4v_cos): Likewise.
6429         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6430         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6431         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6432         (_ZGVdN4v_exp_avx2): Likewise.
6433         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6434         (_ZGVdN4v_exp): Likewise.
6435         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6436         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6437         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6438         (_ZGVdN4v_log_avx2): Likewise.
6439         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6440         (_ZGVdN4v_log): Likewise.
6441         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6442         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6443         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6444         (_ZGVdN4vv_pow_avx2): Likewise.
6445         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6446         (_ZGVdN4vv_pow): Likewise.
6447         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6448         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6449         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6450         (_ZGVdN4v_sin_avx2): Likewise.
6451         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6452         (_ZGVdN4v_sin): Likewise.
6453         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6454         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6455         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6456         (_ZGVdN4vvv_sincos_avx2): Likewise.
6457         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6458         (_ZGVdN4vvv_sincos): Likewise.
6459         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6460         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6461         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6462         (_ZGVbN4v_cosf_sse4): Likewise.
6463         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6464         (_ZGVdN8v_cosf_avx2): Likewise.
6465         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6466         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6467         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6468         (_ZGVbN4v_expf_sse4): Likewise.
6469         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6470         (_ZGVdN8v_expf_avx2): Likewise.
6471         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6472         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6473         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6474         (_ZGVbN4v_logf_sse4): Likewise.
6475         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6476         (_ZGVdN8v_logf_avx2): Likewise.
6477         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6478         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6479         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6480         (_ZGVbN4vv_powf_sse4): Likewise.
6481         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6482         (_ZGVdN8vv_powf_avx2): Likewise.
6483         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6484         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6485         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6486         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6487         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6488         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6489         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6490         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6491         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6492         (_ZGVbN4v_sinf_sse4): Likewise.
6493         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6494         (_ZGVdN8v_sinf_avx2): Likewise.
6495         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6496         Use JUMPTARGET to call callee.
6497         (WRAPPER_IMPL_SSE2_ff): Likewise.
6498         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6499         (WRAPPER_IMPL_AVX): Likewise.
6500         (WRAPPER_IMPL_AVX_ff): Likewise.
6501         (WRAPPER_IMPL_AVX_fFF): Likewise.
6502         (WRAPPER_IMPL_AVX512): Likewise.
6503         (WRAPPER_IMPL_AVX512_ff): Likewise.
6504         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6505         Likewise.
6506         (WRAPPER_IMPL_SSE2_ff): Likewise.
6507         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6508         (WRAPPER_IMPL_AVX): Likewise.
6509         (WRAPPER_IMPL_AVX_ff): Likewise.
6510         (WRAPPER_IMPL_AVX_fFF): Likewise.
6511         (WRAPPER_IMPL_AVX512): Likewise.
6512         (WRAPPER_IMPL_AVX512_ff): Likewise.
6513         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6515 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6517         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6518         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6519         qualifier.
6520         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6521         internal_function qualifiers.
6523 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6525         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6526         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6527         * math/atest-exp.c (exp_mpn): Mark chk unused.
6528         * math/atest-exp2.c (exp_mpn): Likwise.
6529         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6530         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6532 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6534         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6535         Remove macro.
6536         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6537         <kernel-features.h>.
6538         [__NR_ppoll]: Make code unconditional.
6539         [!__ASSUME_PPOLL]: Remove conditional code.
6541         * sysdeps/unix/sysv/linux/kernel-features.h
6542         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6543         (__ASSUME_ACCEPT4): Likewise.
6544         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6545         Define.
6546         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6547         Likewise.
6548         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6549         Likewise.
6550         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6551         Likewise.
6552         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6553         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6554         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6555         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6556         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6557         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6558         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6559         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6560         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6561         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6562         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6563         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6564         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6565         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6566         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6567         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6568         Likewise.
6569         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6570         Likewise.
6571         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6572         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6573         0x040300].
6574         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6575         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6576         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6577         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6578         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6579         0x030300].
6580         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6581         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6582         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6583         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6584         0x040300].
6585         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6586         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6587         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6588         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6589         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6590         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6591         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6592         0x030300].
6593         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6594         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6595         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6596         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6597         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6598         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6599         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6600         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6601         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6602         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6603         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6604         0x040300].
6605         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6606         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6607         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6608         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6609         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6610         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6611         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6612         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6613         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6614         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6615         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6616         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6617         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6618         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6619         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6620         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6621         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6622         Likewise.
6623         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6624         Likewise.
6626 2016-03-15  Andreas Schwab  <schwab@suse.de>
6628         [BZ #19257]
6629         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6630         statp->_u._ext.nscount as loop count.
6632 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6634         * math/test-signgam-finite-c99.c: Also #undef
6635         __LIBC_INTERNAL_MATH_INLINES.
6636         * math/test-signgam-main.c: Likewise.
6638 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6640         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6641         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6642         (MADV_FREE): Likewise.
6643         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6644         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6645         EPOLLEXCLUSIVE.
6647 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6649         * timezone/README: Remove mention of checktab.awk. Mention wiki
6650         SharedSourceFiles.
6652 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6654         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6655         WUNTRACED.
6657 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6659         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6660         order to match the type of p when calling atomic_exchange_acq().
6662 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6664         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6665         cfi_offset calls.
6666         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6667         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6668         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6669         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6670         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6672 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6674         * timezone/checktab.awk: Removed.
6676 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6678         * manual/math.texi (Errors in Math Functions): Document relaxed
6679         accuracy goals for IBM long double.
6680         * math/libm-test.inc (test_exceptions): Always allow spurious
6681         "underflow" and "inexact" exceptions for IBM long double.
6683 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6685         [BZ #19762]
6686         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6687         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6688         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6689         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6690         (bit_arch_*): This for feature array.
6691         (bit_*): Renamed to ...
6692         (bit_cpu_*): This for cpu array.
6693         (index_*): Renamed to ...
6694         (index_arch_*): This for feature array.
6695         (index_*): Renamed to ...
6696         (index_cpu_*): This for cpu array.
6697         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6698         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6699         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6700         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6701         bit_##name with index_cpu_##name and bit_cpu_##name.
6702         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6703         bit_##name with index_arch_##name and bit_arch_##name.
6705 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6707         [BZ #19792]
6708         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6709         Terminate FDE before return label.
6711 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6713         [BZ #19790]
6714         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6715         (rintl): Define as macro.
6716         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6717         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6718         of fesetround.  Ensure results are evaluated before end of scope.
6719         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6720         USE_AS_NEARBYINTL and include s_rintl.c.
6721         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6722         Disable exception traps in new environment.
6723         (libc_feholdsetround_ppc_ctx): Likewise.
6725 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6727         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6728         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6729         (tst_audit10_aux) [__AVX512F__]: ... here.
6731 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6733         * include/sys/auxv.h: New file.
6735 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6737         [BZ #19759]
6738         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6740 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6742         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6743         operand modifier.
6744         (feclearexcept): Likewise.
6746 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6748         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6749         to reflect the entire 32-bit HWCAP.
6750         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6751         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6753 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6755         [BZ #19783]
6756         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6757         $(test-via-rtld-prefix).
6758         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6760 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6762         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6763         union wait.  Report any non-zero exit status as error.
6765 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6767         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6768         configured with --enable-hardcoded-path-in-tests.
6770 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6772         [BZ #19677]
6773         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6774         (__ieee754_remainderl): Put zero low parts in canonical form.
6775         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6776         file.  Based on
6777         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6778         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6779         with wrapper round test-fmodrem-ldbl-128ibm.c.
6780         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6781         file.
6782         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6783         Likewise.
6784         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6785         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6787 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6789         [BZ #19610]
6790         * elf/ldconfig.c (opt_link): Update comment.
6791         (options): Update help string for option -X.
6792         (search_dir): Unlink stale symbolic link only if updating symbolic
6793         links.
6794         * elf/tst-ldconfig-X.sh: New file.
6795         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6796         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6798 2016-03-07  Andreas Schwab  <schwab@suse.de>
6800         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6801         needed arguments.
6803 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
6805         [BZ #15333]
6806         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6807         to lstat64.
6809 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6811         * libio/filedoalloc.c (isatty): Remove.
6812         (local_isatty): Add comment.  Call __isatty directly.
6813         (_IO_file_doallocate): Update comment.  Assume _LIBC.
6814         * libio/wfiledoalloc.c (isatty): Remove.
6815         (_IO_wfile_doallocate): Update comment.
6817 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6819         [BZ #19269]
6820         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6821         tst-audit4-aux.o.
6822         (tst-audit10): Depend on tst-audit10-aux.o.
6823         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6824         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6825         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6826         instead of inline AVX code.
6827         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6828         instead of inline AVX512 code.
6829         * sysdeps/x86_64/tst-audit4-aux.c: New file
6830         * sysdeps/x86_64/tst-audit10-aux.c: New file
6832         [BZ #19648]
6833         * test-skeleton.c (main): Do not set RLIMIT_DATA.
6835 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6837         [BZ #14750]
6838         [BZ #10354]
6839         [BZ #18433]
6840         * include/sched.h (__clone): Add hidden prototype.
6841         (__clone2): Likewise.
6842         * include/unistd.h (__dup): Likewise.
6843         * posix/Makefile (tests): Add tst-spawn2.
6844         * posix/tst-spawn2.c: New file.
6845         * sysdeps/posix/dup.c (__dup): Add hidden definition.
6846         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6847         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6848         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6849         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6850         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6851         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6852         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6853         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6854         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6855         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6857         Likewise.
6858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6859         Likewise.
6860         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6861         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6862         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6863         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6864         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6865         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6866         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6867         * sysdeps/unix/sysv/linux/nptl-signals.h
6868         (____nptl_is_internal_signal): New function.
6869         * sysdeps/unix/sysv/linux/spawni.c: New file.
6871         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6872         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6873         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6874         * posix/tst-execvp2.c (do_test): Likewise.
6875         * posix/tst-execvp3.c (do_test): Likewise.
6876         * posix/tst-execvp4.c (do_test): Likewise.
6877         * posix/tst-execvpe1.c: New file.
6878         * posix/tst-execvpe2.c: Likewise.
6879         * posix/tst-execvpe3.c: Likewise.
6880         * posix/tst-execvpe4.c: Likewise.
6881         * posix/tst-execvpe5.c: Likewise.
6882         * posix/tst-execvpe6.c: Likewise.
6884         [BZ #19534]
6885         * posix/execl.c (execl): Remove dynamic memory allocation.
6886         * posix/execle.c (execle): Likewise.
6887         * posix/execlp.c (execlp): Likewise.
6889 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6891         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6892         Replace .text with .text.avx512.
6893         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6894         Likewise.
6896 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6898         * sysdeps/generic/libnsl.abilist: New file.
6899         * sysdeps/generic/libutil.abilist: New file.
6901 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6903         [BZ #19762]
6904         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6905         HAS_ARCH_FEATURE with Fast_Rep_String.
6906         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6907         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6908         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6909         Likewise.
6910         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6911         Likewise.
6912         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6913         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6914         Likewise.
6915         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6916         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6917         Likewise.
6919 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6921         [BZ #19745]
6922         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6923         with *%rax in call.
6925 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6927         [BZ #19745]
6928         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6929         with *__libc_start_main@GOTPCREL(%rip) in call.
6931 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6933         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6934         inside conditional for nonempty $(CXX).
6936         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6937         nonempty.
6939         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6940         to test for empty $(CXX) rather than $(CXX) of "no".
6942 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6944         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6946 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6947             H.J. Lu  <hongjiu.lu@intel.com>
6949         [BZ #18880]
6950         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6951         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6952         enable __memcpy_ssse3_back.
6954 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6956         [BZ #19758]
6957         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6958         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6960 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6962         [BZ #19490]
6963         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6964         (__fentry__): Likewise.
6966 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6968         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6969         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6971 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6973         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6974         __mcount_internal directly.
6975         (C_LABEL(__fentry__)): Likewise.
6976         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6977         directly.
6979 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6981         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6982         (__start_context): Call __setcontext directly.
6984 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6986         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6987         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6988         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6989         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6990         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6991         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6992         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6993         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6994         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6995         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6996         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6997         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6998         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6999         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7000         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7001         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7002         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7003         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7004         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7005         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7006         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7007         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7008         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7009         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7010         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7011         Remove conditional code.
7012         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7013         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7014         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7015         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7016         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7017         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7018         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7019         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7020         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7021         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7022         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7023         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7025 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7027         * NEWS (2.23): Fix typo in bug 19048 text.
7029 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7031         [BZ #14259]
7032         * Makeconfig: Rename msgcatdir to localedir.
7033         Rename inst_msgcatdir to inst_localedir.
7034         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7035         * config.make.in: Add localedir.
7036         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7037         (ldd-rewrite): Likewise.
7038         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7039         (install-others): Use inst_localedir.
7040         (CPPFLAGS): Use localedir.
7041         * locale/Makefile (locale-CPPFLAGS): Likewise.
7042         * po/Makefile (mo-installed): Use inst_localedir.
7044         [BZ #19575]
7045         * localedata/charmaps/GB18030: Update comments regarding PAU to
7046         non-PUA mappings.
7048 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7050         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7051         test for header.
7052         * sysdeps/unix/sysv/linux/configure: Regenerated.
7053         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7054         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7055         Remove conditional code.
7056         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7058         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7059         Define to 3.2.0.
7060         (arch_minimum_kernel): Likewise.
7061         * sysdeps/unix/sysv/linux/configure: Regenerated.
7062         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7063         Define to 2.6.32.
7064         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7065         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7066         (arch_minimum_kernel): Define to 2.6.32.
7067         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7068         * README: Document Linux 3.2 requirement.
7069         * manual/install.texi (Linux): Document Linux 3.2 headers
7070         requirement.
7071         * INSTALL: Regenerated.
7073 2016-02-24  Andreas Schwab  <schwab@suse.de>
7075         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7076         if !NO_LONG_DOUBLE.
7078 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7080         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7081         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7083 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7085         [BZ #19512]
7086         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7088 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7090         * posix/tst-dir.c: Include libc-internal.h.
7092 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7094         [BZ #19056]
7095         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7096         * manual/filesys.texi (Reading/Closing Directory): Mention
7097         deprecaion.
7098         * posix/tst-dir.c (main): Disable deprecation warning in test.
7100 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7102         [BZ #19679]
7103         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7104         Renamed to ...
7105         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7106         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7107         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7108         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7109         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7110         * sysdeps/x86_64/dl-trampoline.h
7111         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7112         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7114 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7116         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7118 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7120         * elf/elf.h (R_386_GOT32X): New.
7121         (R_386_NUM): Update.
7122         (R_X86_64_GOTPCRELX: New.
7123         (R_X86_64_REX_GOTPCRELX): New.
7124         (R_X86_64_NUM): Update.
7126 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7128         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7130 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7132         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7133         assign attr->stackaddr to it, and adjust it down when
7134         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7135         [_STACK_GROWS_UP]: Delete assert.
7136         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7137         Implement stack grows up logic.
7138         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7139         stack grows up logic.
7141 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7143         * NEWS: Update with 2.24 template.
7145 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7147         [BZ #19678]
7148         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7149         Ensure +0.0 is returned when taking the next value below the least
7150         positive value.
7152 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7154         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7155         available.  Do not define NO_THREADS.
7156         * malloc/malloc.c: Do not check NO_THREADS.
7157         * malloc/arena.c: Likewise.
7159 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7161         * malloc/malloc.c (__libc_mallinfo): Update comment.
7162         (struct malloc_par): Remove max_total_mem member, it was always 0.
7163         (int_mallinfo): Store 0 into usmblks (no functional change).
7164         * malloc/hooks.c (struct malloc_state): Document that
7165         max_total_mem is always 0.
7166         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7167         always 0.
7168         * manual/memory.texi (Statistics of Malloc): Likewise.
7170 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7172         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7173         * malloc/arena.c (arena_max): Remove.
7174         (heap_trim, _int_new_arena): Do not update arena_max.
7176 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7178         * resolv/res_init.c (res_ninit): Update comment.
7180 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7182         [BZ #19505]
7183         * posix/spawn_int.h: Add headers and include guard.
7184         (__spawn_valid_fd): New function.
7185         * posix/spawn_faction_addopen.c
7186         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7187         * posix/spawn_faction_addclose.c
7188         (posix_spawn_file_actions_addclose): Likewise.
7189         * posix/spawn_faction_adddup2.c
7190         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7191         second file descriptor.
7192         * posix/spawn_valid_fd.c: New file.
7193         * posix/tst-posix_spawn-fd.c: New file.
7194         * posix/Makefile (routines): Add spawn_valid_fd.
7195         (tests): Add tst-posix_spawn-fd.
7197 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7199         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7200         (do_test): Limit the number of arenas, so that we can use fewer
7201         outer threads.  Limit timeout to 3 seconds, in preparation for a
7202         larger TIMEOUT value.
7204 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7206         [BZ #19674]
7207         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7208         sign in overflowing and underflowing results when overflow or
7209         underflow is detected early.  Include sign in result before rather
7210         than after scaling.
7212         [BZ #19603]
7213         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7214         (__ieee754_remainderl): Adjust sign of integer version of low part
7215         when taking absolute value of high part.
7216         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7217         * math/libm-test.inc (remainder_test_data): Add another test.
7218         (remquo_test_data): Likewise.
7220 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7222         [BZ #19602]
7223         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7224         equal high parts and both low parts zero specially.
7225         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7226         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7227         Add test-fmodl-ldbl-128ibm.
7229         [BZ #19595]
7230         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7231         common logic for all cases of shifting subnormal results.  Do not
7232         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7233         exponent to ldbl_insert_mantissa in subnormal case.
7235         [BZ #19594]
7236         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7237         on high and low parts then adjust result and use
7238         ldbl_canonicalize_int if needed.
7240         [BZ #19593]
7241         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7242         on high part and __floor or __ceil on low part then use
7243         ldbl_canonicalize_int if needed.
7245         [BZ #19592]
7246         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7247         high and low parts then use ldbl_canonicalize_int if needed.
7249         [BZ #17899]
7250         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7251         New function.
7252         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7253         on high and low parts then use ldbl_canonicalize_int if needed.
7255 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7257         * configure: Regenerated.
7259         * po/libc.pot: Regenerated.
7261         * po/be.po: Updated translation.
7262         * po/bg.po: Likewise.
7263         * po/ca.po: Likewise.
7264         * po/cs.po: Likewise.
7265         * po/da.po: Likewise.
7266         * po/el.po: Likewise.
7267         * po/eo.po: Likewise.
7268         * po/es.po: Likewise.
7269         * po/fi.po: Likewise.
7270         * po/fr.po: Likewise.
7271         * po/gl.po: Likewise.
7272         * po/hr.po: Likewise.
7273         * po/hu.po: Likewise.
7274         * po/ia.po: Likewise.
7275         * po/id.po: Likewise.
7276         * po/it.po: Likewise.
7277         * po/ja.po: Likewise.
7278         * po/lt.po: Likewise.
7279         * po/nb.po: Likewise.
7280         * po/nl.po: Likewise.
7281         * po/pt_BR.po: Likewise.
7282         * po/rw.po: Likewise.
7283         * po/sk.po: Likewise.
7284         * po/sl.po: Likewise.
7285         * po/sv.po: Likewise.
7286         * po/tr.po: Likewise.
7287         * po/zh_CN.po: Likewise.
7288         * po/zh_TW.po: Likewise.
7290         * version.h (RELEAES): Set to "development".
7291         (VERSION): Set to 2.23.90.
7293         * version.h (RELEASE): Set to "stable".
7294         (VERSION): Set to 2.23.
7295         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7297         * NEWS: Updated fixed bugs.
7299 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7300             Wilco Dijkstra  <wdijkstr@arm.com>
7302         [BZ #19462]
7303         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7304         (_STRING_INLINE_unaligned): This.
7305         * include/string.h: Include <string_private.h>.
7306         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7307         _STRING_INLINE_unaligned.
7308         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7309         (_STRING_INLINE_unaligned): New.
7310         * sysdeps/aarch64/string_private.h: New file.
7311         * sysdeps/generic/string_private.h: Likewise.
7312         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7313         * sysdeps/s390/string_private.h: Likewise.
7314         * sysdeps/x86/string_private.h: Likewise.
7315         * sysdeps/m68k/m680x0/m68020/bits/string.h
7316         (_STRING_ARCH_unaligned): Renamed to ...
7317         (_STRING_INLINE_unaligned): This.
7318         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7319         to ...
7320         (_STRING_INLINE_unaligned): This.
7321         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7322         to ...
7323         (_STRING_INLINE_unaligned): This.
7324         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7325         to ...
7326         (_STRING_INLINE_unaligned): This.
7328 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7329             H.J. Lu  <hongjiu.lu@intel.com>
7331         [BZ #19590]
7332         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7333         relocation.
7335 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7337         [BZ #18665]
7338         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7339         *herrno_p.
7340         (gaih_getanswer): Document functional behviour. Return tryagain
7341         if any result is tryagain.
7342         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7343         when freed.
7344         * resolv/res_send.c: Add copyright text.
7345         (__libc_res_nsend): Document that MAXPACKET is expected.
7346         (send_vc): Document. Remove buffer reuse.
7347         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7348         size of the buffer. Add Dprint for truncated UDP buffer.
7350 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7352         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7353         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7354         * INSTALL: Regenerate.
7356 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7357             Jonathan Wakely  <jwakely@redhat.com>
7358             Carlos O'Donell  <carlos@redhat.com>
7360         [BZ 19439]
7361         * math/Makefile (tests): Add test-math-isinff.
7362         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7363         * math/bits/mathcalls.h [__USE_MISC]: Use
7364         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7365         functions not in C++11 and which don't conflict e.g. isinff,
7366         isinfl etc.
7367         * math/test-math-isinff.cc: New file.
7369 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7371         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7373 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7375         [BZ #19529]
7376         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7378 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7380         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7382 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7384         [BZ #19550]
7385         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7386         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7387         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7388         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7389         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7390         New syscall entry.
7391         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7392         New syscall entry.
7393         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7394         syscall entry.
7396 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7398         [BZ #18240]
7399         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7400         unsigned int wraparound.
7402 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7404         [BZ #18240]
7405         * misc/bug18240.c: New test.
7406         * misc/Makefile (tests): Add it.
7408 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7409             Joseph Myers  <joseph@codesourcery.com>
7411         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7412         load in branch delay slot when less than a word of input left.
7414 2016-01-27  Andreas Schwab  <schwab@suse.de>
7416         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7417         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7418         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7419         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7421 2016-01-26  David S. Miller  <davem@davemloft.net>
7423         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7425 2016-01-25  David S. Miller  <davem@davemloft.net>
7427         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7428         __sqrtl_finite.
7429         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7430         instead using versioned_symbol.
7431         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7432         of entries.
7434         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7435         __sqrtl_finite to GLIBC_2.23
7437 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7439         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7441 2016-01-25  Andreas Schwab  <schwab@suse.de>
7443         [BZ #17514]
7444         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7445         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7446         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7447         * nptl/tst-mutex-errorcheck.c: New file.
7449 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7451         [BZ #18560]
7452         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7453         (IPCOP_semop): Likewise.
7454         (IPCOP_semget): Likewise.
7455         (IPCOP_semctl): Likewise.
7456         (IPCOP_msgsnd): Likewise.
7457         (IPCOP_msgrcv): Likewise.
7458         (IPCOP_msgget): Likewise.
7459         (IPCOP_msgctl): Likewise.
7460         (IPCOP_shmat): Likewise.
7461         (IPCOP_shmdt): Likewise.
7462         (IPCOP_shmget): Likewise.
7463         (IPCOP_shmctl): Likewise.
7465 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7467         * string/tst-endian.c: Include <libc-internal.h>.
7468         (do_test): Ignore tautological-compare warnings around
7469         "htobeXX (beXXtoh (i)) != i" and
7470         "htoleXX (leXXtoh (i)) != i" if-statements.
7472 2016-01-24  David S. Miller  <davem@davemloft.net>
7474         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7475         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7476         alias.
7477         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7478         __sqrtl_finite.
7480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7482 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7484         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7485         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7486         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7488 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7490         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7491         (thread_func): Use new function to simplify barrier check.
7492         (do_test): Use new function to simplify checking barrier exit
7493         code, and actually join the child thread.
7495 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7497         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7498         semicolon.
7499         (__libc_tend): Likewise.
7500         (__libc_tabort): Likewise.
7502 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7504         * sysdeps/nios2/libm-test-ulps: Update.
7505         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7506         (__gtsf2): Likewise.
7507         (__unorddf2): Likewise.
7508         (__unordsf2): Likewise.
7509         (__ledf2): Likewise.
7511 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7513         * nis/nis_table.c (__follow_path): Disable diagnostic for
7514         uninitialized variable that is a false positive for gcc 4.7.
7515         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7517 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7519         * sysdeps/nacl/lowlevellock-futex.h
7520         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7521         Always evaluate PRIVATE argument.
7523 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7525         [BZ #19490]
7526         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7527         (pthread_cond_broadcast): Use ENTRY/END
7528         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7529         (pthread_cond_signal): Likewise.
7530         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7531         Likewise.
7532         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7533         Likewise.
7534         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7535         Likewise.
7537 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7539         * sysdeps/ieee754/dbl-64/s_finite.c
7540         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7541         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7542         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7543         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7544         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7547         (__gtsf2): Add as optional for libc.so.
7548         (__unordsf2): Likewise.
7549         (__signbit): Remove for libc.so.
7550         (__signbitl): Likewise.
7552 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7554         * iconvdata/bug-iconv11.c (test_ibm93x):
7555         Use %zu printf format specifier for size_t argument.
7557 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7559         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7560         already-recorded ulps.
7561         * sysdeps/arm/libm-test-ulps: Regenerated.
7562         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7563         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7564         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7566 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7567             Paul Pluzhnikov  <ppluzhnikov@google.com>
7569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7570         assembler not supporting AVX-512.
7572 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7574         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7576 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7578         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7579         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7581         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7583         * sysdeps/arm/libm-test-ulps: Regenerated.
7585 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7587         [BZ #19451]
7588         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7590 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7592         [BZ #19486]
7593         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7594         * sysdeps/generic/fix-fp-int-convert-overflow.h
7595         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7596         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7597         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7598         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7599         Likewise.
7600         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7601         Avoid conversions to long int where inexact exceptions
7602         could be raised.
7603         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7604         Likewise.
7605         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7606         Avoid conversions to long long int where inexact exceptions
7607         could be raised.
7608         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7609         Likewise.
7611 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7613         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7614         * configure: Regenerated.
7616 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7618         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7620 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7622         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7623         outside of comment.
7625 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7627         * nptl/tst-barrier1.c: Add description on first line.
7628         * nptl/tst-barrier2.c: Likewise.
7629         * nptl/tst-barrier3.c: Likewise.
7630         * nptl/tst-barrier4.c: Likewise.
7631         * nptl/tst-barrier5.c: Likewise.
7633 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7635         [BZ #18868]
7636         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7638 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7641         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7642         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7643         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7644         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7645         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7646         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7647         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7648         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7649         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7650         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7652 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7654         [BZ #13065]
7655         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7656         new implementation.
7657         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7658         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7659         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7660         (BARRIER_IN_THRESHOLD): New macro.
7661         * nptl/pthread_barrierattr_setpshared.c
7662         (pthread_barrierattr_setpshared): Clean up.
7663         * nptl/tst-barrier4.c: Correct comment.
7664         * nptl/tst-barrier5.c: New file.
7665         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7666         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7667         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7668         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7669         * nptl/lowlevelbarrier.sym: Remove.
7670         * nptl/DESIGN-barrier.txt: Remove.
7671         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7672         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7673         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7674         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7675         error.
7676         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7677         implementation.
7679 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7681         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7682         (do_child): Mask SIGRTMIN while thr is running.
7684 2016-01-15  Martin Sebor  <msebor@redhat.com>
7686         [BZ #19432]
7687         * iconvdata/Makefile: Add bug-iconv11.
7688         * iconvdata/bug-iconv11.c: New test.
7689         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7690         * iconvdata/ibm933.c: Same.
7691         * iconvdata/ibm935.c: Same.
7692         * iconvdata/ibm937.c: Same.
7693         * iconvdata/ibm939.c: Same.
7695 2016-01-15  Martin Sebor  <msebor@redhat.com>
7697         [BZ #19443]
7698         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7699         [DEBUG] (_ufc_set_bits): Declare used.
7700         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7701         [DEBUG] (print_all): Declare used.
7702         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7703         operands of the ternary ?: expression to target type.
7704         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7705         calling the undeclared abort.
7706         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7708 2016-01-15  Martin Sebor  <msebor@redhat.com>
7710         [BZ #18755]
7711         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7712         warnings.
7713         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7714         (__gai_create_helper_thread): Same.
7715         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7716         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7717         to suppress -Wmaybe-uninitialized warnings.
7719 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7721         [BZ #19465]
7722         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7723         inside if.
7724         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7725         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7726         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7728 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7730         [BZ #19466]
7731         * time/tst-mktime2.c (time_t_max): Removed.
7732         (time_t_min): Likewise.
7733         (TYPE_SIGNED): New.
7734         (TYPE_MINIMUM): Likewise.
7735         (TYPE_MAXIMUM): Likewise.
7736         (TIME_T_MIN): Likewise.
7737         (TIME_T_MAX): Likewise.
7738         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7739         and TIME_T_MIN.
7740         (do_test): Likewise.
7742 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7744         [BZ #19467]
7745         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7746         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7748 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7750         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7752 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7754         * benchtests/Makefile (PYTHON): Define.
7755         (bench-func): Use $(PYTHON) to run python scripts.
7756         ($(objpfx)bench-%.c): Likewise.
7758 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7760         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7761         leading slash when `file_name' is "/".
7763 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7765         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7766         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7767         Likewise.
7768         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7769         Likewise.
7770         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7771         Likewise.
7772         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7773         enum constant and macro.
7774         (PTRACE_SETSIGMASK): Likewise.
7775         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7776         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7777         (PTRACE_GETSIGMASK): Likewise.
7778         (PTRACE_SETSIGMASK): Likewise.
7779         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7780         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7781         Likewise.
7782         (PTRACE_SETSIGMASK): Likewise.
7783         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7784         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7785         (PTRACE_GETSIGMASK): Likewise.
7786         (PTRACE_SETSIGMASK): Likewise.
7787         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7788         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7789         Likewise.
7790         (PTRACE_SETSIGMASK): Likewise.
7791         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7792         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7793         Likewise.
7794         (PTRACE_SETSIGMASK): Likewise.
7795         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7796         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7797         Likewise.
7798         (PTRACE_SETSIGMASK): Likewise.
7799         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7801 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
7802             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7804         [BZ #19439]
7805         * math/bits/mathcalls.h
7806         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7807         prototype.
7808         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7810 2016-01-11  Andreas Schwab  <schwab@suse.de>
7812         [BZ #19253]
7813         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7814         cache when TZDEFRULES was used.
7815         * time/tst-tzname.c: New file.
7816         * time/Makefile (test): Add tst-tzname.
7817         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7818         * timezone/Makefile (test-zones): Add $(posixrules-file).
7819         ($(testdata)/$(posixrules-file)): New rule.
7821 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7823         Fix doc quoting problems with Texinfo 5
7824         Without this change, in the info file output, Texinfo 5 quotes code
7825         in text with undirected single quotes 'like this' and generates
7826         code examples that with many PDF readers cannot be cut out of PDFs
7827         and pasted into code.
7828         * manual/libc.texinfo: Configure the libc manual like the GNU
7829         Emacs manual, by using @documentencoding and setting
7830         txicodequoteundirected and txicodequotebacktick.  This way,
7831         Texinfo 5 quotes code in text with directed single quotes ‘like
7832         this’ and produces examples that can be cut out of PDFs.  This
7833         change causes Texinfo 5 to generate info files that contain UTF-8
7834         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7835         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7837 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7839         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7840         __libc_tabort, __libc_tend): New wrappers that enforce compiler
7841         barriers to their respective compiler built-ins.
7842         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7843         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7844         * sysdeps/powerpc/sysdep.h: Likewise.
7845         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7846         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7847         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7849 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
7851         * scripts/config.guess: Revert previous shebang change.
7852         * scripts/config.sub: Likewise.
7853         * scripts/mkinstalldirs: Likewise.
7855 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7857         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7858         PPC_FEATURE2_HAS_IEEE128.
7859         * sysdeps/powerpc/dl-procinfo.c:
7860         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7862 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7864         [BZ #19415]
7865         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7866         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7867         (_dl_lookup_address): Rewrite using function resolver trampoline.
7868         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7869         two bits in address.
7871 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7873         * longlong.h: Change !__SHMEDIA__ to
7874         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7875         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7877 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7878             Joseph Myers  <joseph@codesourcery.com>
7879             Mark Shinwell  <shinwell@codesourcery.com>
7880             Andrew Stubbs  <ams@codesourcery.com>
7881             Rich Felker <dalias@libc.org>
7883         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7885 2016-01-07  Richard Henderson  <rth@redhat.com>
7887         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7889 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7891         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7892         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7893         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7894         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7895         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7897 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7898             Joseph Myers  <joseph@codesourcery.com>
7900         * timezone/private.h: Update from tzcode 2015g.
7901         * timezone/tzfile.h: Likewise.
7902         * timezone/tzselect.ksh: Likewise.
7903         * timezone/zdump.c: Likewise.
7904         * timezone/zic.c: Likewise.
7905         * timezone/ialloc.c: Remove file.
7906         * timezone/scheck.c: Likewise.
7907         * timezone/Makefile (extra-objs): Remove variable.
7908         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7909         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7910         -Wno-maybe-uninitialized.
7911         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7912         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7913         (CFLAGS-ialloc.c): Remove variable.
7914         (CFLAGS-scheck.c): Likewise.
7915         * timezone/README: Update list of files from tzcode.
7917 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7919         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7920         instead of __fxprintf when _LIBC is undefined.
7922 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7924         * catgets/test-gencat.sh: Remove space after shebang.
7925         * conform/GlibcConform.pm: Likewise.
7926         * conform/check-header-lists.sh: Likewise.
7927         * conform/conformtest.pl: Likewise.
7928         * conform/linknamespace.pl: Likewise.
7929         * conform/list-header-symbols.pl: Likewise.
7930         * debug/catchsegv.sh: Likewise.
7931         * elf/genrtldtbl.awk: Likewise.
7932         * elf/tst-pathopt.sh: Likewise.
7933         * elf/tst-rtld-load-self.sh: Likewise.
7934         * grp/tst_fgetgrent.sh: Likewise.
7935         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7936         * iconvdata/gen-8bit-gap.sh: Likewise.
7937         * iconvdata/gen-8bit.sh: Likewise.
7938         * iconvdata/run-iconv-test.sh: Likewise.
7939         * intl/tst-gettext.sh: Likewise.
7940         * intl/tst-gettext2.sh: Likewise.
7941         * intl/tst-gettext4.sh: Likewise.
7942         * intl/tst-gettext6.sh: Likewise.
7943         * intl/tst-translit.sh: Likewise.
7944         * io/ftwtest-sh: Likewise.
7945         * libio/test-freopen.sh: Likewise.
7946         * locale/gen-translit.pl: Likewise.
7947         * malloc/tst-mtrace.sh: Likewise.
7948         * manual/check-safety.sh: Likewise.
7949         * manual/libc-texinfo.sh: Likewise.
7950         * manual/tsort.awk: Likewise.
7951         * manual/xtract-typefun.awk: Likewise.
7952         * nptl/tst-cancel-wrappers.sh: Likewise.
7953         * nptl/tst-tls6.sh: Likewise.
7954         * posix/globtest.sh: Likewise.
7955         * posix/tst-getconf.sh: Likewise.
7956         * posix/wordexp-tst.sh: Likewise.
7957         * scripts/check-c++-types.sh: Likewise.
7958         * scripts/check-local-headers.sh: Likewise.
7959         * scripts/config.guess: Likewise.
7960         * scripts/config.sub: Likewise.
7961         * scripts/cpp: Likewise.
7962         * scripts/cross-test-ssh.sh: Likewise.
7963         * scripts/documented.sh: Likewise.
7964         * scripts/evaluate-test.sh: Likewise.
7965         * scripts/gen-libc-abis: Likewise.
7966         * scripts/gen-sorted.awk: Likewise.
7967         * scripts/list-fixed-bugs.py: Likewise.
7968         * scripts/merge-test-results.sh: Likewise.
7969         * scripts/mkinstalldirs: Likewise.
7970         * scripts/rellns-sh: Likewise.
7971         * scripts/test-installation.pl: Likewise.
7972         * scripts/update-copyrights: Likewise.
7973         * stdio-common/tst-printf.sh: Likewise.
7974         * stdio-common/tst-unbputc.sh: Likewise.
7975         * stdlib/tst-fmtmsg.sh: Likewise.
7976         * stdlib/tst-setcontext3.sh: Likewise.
7977         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7978         * sysdeps/unix/make-syscalls.sh: Likewise.
7980 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7982         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7983         asm stw with atomic_exchange_rel.  Add explanatory comment.
7984         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7985         Likewise.
7987 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7989         [BZ #19122]
7990         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7991         * sysdeps/generic/dl-unistd.h: New file.
7992         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7994 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7996          [BZ #19122]
7997          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7998          * sysdeps/generic/dl-mman.h: New file.
7999          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8001 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8003         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8004         trailing whitespace removed.
8005         * scripts/config.guess: Update to version 2016-01-01.
8006         * scripts/config.sub: Update to version 2016-01-01.
8007         * scripts/move-if-change: Update from gnulib.
8009 2016-01-04  Anton Blanchard  <anton@samba.org>
8011         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8012         for array indices.
8013         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8015 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8017         * NEWS: Update copyright dates.
8018         * catgets/gencat.c (print_version): Likewise.
8019         * csu/version.c (banner): Likewise.
8020         * debug/catchsegv.sh: Likewise.
8021         * debug/pcprofiledump.c (print_version): Likewise.
8022         * debug/xtrace.sh (do_version): Likewise.
8023         * elf/ldconfig.c (print_version): Likewise.
8024         * elf/ldd.bash.in: Likewise.
8025         * elf/pldd.c (print_version): Likewise.
8026         * elf/sotruss.sh: Likewise.
8027         * elf/sprof.c (print_version): Likewise.
8028         * iconv/iconv_prog.c (print_version): Likewise.
8029         * iconv/iconvconfig.c (print_version): Likewise.
8030         * locale/programs/locale.c (print_version): Likewise.
8031         * locale/programs/localedef.c (print_version): Likewise.
8032         * login/programs/pt_chown.c (print_version): Likewise.
8033         * malloc/memusage.sh (do_version): Likewise.
8034         * malloc/memusagestat.c (print_version): Likewise.
8035         * malloc/mtrace.pl: Likewise.
8036         * manual/libc.texinfo: Likewise.
8037         * nptl/version.c (banner): Likewise.
8038         * nscd/nscd.c (print_version): Likewise.
8039         * nss/getent.c (print_version): Likewise.
8040         * nss/makedb.c (print_version): Likewise.
8041         * posix/getconf.c (main): Likewise.
8042         * scripts/test-installation.pl: Likewise.
8043         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8045         * All files with FSF copyright notices: Update copyright dates
8046         using scripts/update-copyrights.
8047         * intl/plural.c: Regenerated.
8048         * locale/programs/charmap-kw.h: Likewise.
8049         * locale/programs/locfile-kw.h: Likewise.
8051 2016-01-02  Helge Deller  <deller@gmx.de>
8053         [BZ #19285]
8054         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8055         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8056         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8057         (MADV_xxK_PAGES): Remove.
8059 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8061         [BZ #15421]
8062         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8063         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8064         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8065         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8067 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8069         [BZ #19408]
8070         * sysdeps/unix/sysv/linux/personality.c: New file.
8071         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8072         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8073         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8074         (sysdep_routines): Add personality.
8075         (tests): Add tst-personality.
8076         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8077         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8078         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8079         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8080         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8081         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8082         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8083         Likewise.
8084         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8085         Likewise.
8086         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8087         Likewise.
8088         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8089         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8090         Likewise.
8092 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8094         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8095         (PATH_ARM_SYSTYPE): Remove.
8096         (PATH_CPUINFO): Likewise.
8097         (IO_BASE_FOOTBRIDGE): Likewise.
8098         (IO_SHIFT_FOOTBRIDGE): Likewise.
8099         (struct platform): Likewise.
8100         (init_iosys): Remove compatibility code for 2.4 kernels.
8101         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8103 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8105         * malloc/tst-malloc-thread-fail.c: New file.
8106         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8107         (tst-malloc-thread-fail): Link against libpthread.
8109 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8111         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8112         (get_parser): New function.
8113         (main): New function.
8115 2015-12-29  Rob Wu  <rob@robwu.nl>
8117         [BZ #19369]
8118         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8120 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8122         [BZ #19270]
8123         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8125 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8127         [BZ #15421]
8128         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8130 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8132         [BZ #13690]
8133         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8134         after releasing it.
8135         (__lll_robust_unlock): Likewise.
8136         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8137         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8138         (lll_robust_unlock): Likewise.
8139         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8140         Prevent warnings in callers.
8142 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8144         * malloc/arena.c (list_lock): Update comment.
8146 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8148         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8149         __parse_hwcap_and_convert_at_platform to libc.a.
8151 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8153         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8154         platform and feature support for POWER9.
8155         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8156         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8157         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8158         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8159         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8160         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8161         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8162         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8164 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8166         Harmonize generic stdio-lock support with nptl
8168         This fixes build when _IO_funlockfile is a macro, fixes build where
8169         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8170         stack unwind.
8172         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8173         _IO_release_lock ): Use cleanup attribute on new
8174         _IO_acquire_lock_file variable instead of assuming that
8175         _IO_release_lock will be called.
8176         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8177         _IO_acquire_lock_needs_exceptions_enabled.
8178         (_IO_acquire_lock_clear_flags2): New macro.
8180 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8182         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8184 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8186         [BZ #19182]
8187         * malloc/arena.c (list_lock): Document lock ordering requirements.
8188         (free_list_lock): New lock.
8189         (ptmalloc_lock_all): Comment on free_list_lock.
8190         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8191         (detach_arena): Update comment.  free_list_lock is now needed.
8192         (_int_new_arena): Use free_list_lock around detach_arena call.
8193         Acquire arena lock after list_lock.  Add comment, including FIXME
8194         about incorrect synchronization.
8195         (get_free_list): Switch to free_list_lock.
8196         (reused_arena): Acquire free_list_lock around detach_arena call
8197         and attached threads counter update.  Add two FIXMEs about
8198         incorrect synchronization.
8199         (arena_thread_freeres): Switch to free_list_lock.
8200         * malloc/malloc.c (struct malloc_state): Update comments to
8201         mention free_list_lock.
8203 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8205         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8206         Remove functions.
8207         (sloww, sloww1): Accept argument to offset quadrant.
8208         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8209         quadrant.
8210         (__sin, __cos): Consolidate common code into new functions.
8211         (reduce_sincos_1, do_sincos_1): New functions.
8212         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8214         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8215         code to new functions.
8216         (reduce_sincos_2, do_sincos_2): New functions.
8217         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8219         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8220         common code for sincos.
8221         (__cos) [!IN_SINCOS]: Likewise.
8222         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8223         New function.
8224         (__sincos): Use it.
8226 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8228         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8229         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8230         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8232 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8234         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8236         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8237         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8238         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8239         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8240         index_Prefer_No_VZEROUPPER): New feature.
8241         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8242         Prefer_No_VZEROUPPER for Knights Landing.
8244 015-12-18  Torvald Riegel  <triegel@redhat.com>
8246         * math/atest-exp2.c (mp_exp_m1): Remove.
8248 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8250         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8251         syscalls.
8252         (__SYSCALL0): New macro.
8253         (__SYSCALL1): Likewise.
8254         (__SYSCALL2): Likewise.
8255         (__SYSCALL3): Likewise.
8256         (__SYSCALL4): Likewise.
8257         (__SYSCALL5): Likewise.
8258         (__SYSCALL6): Likewise.
8259         (__SYSCALL_CONCAT_X): Likewise.
8260         (__SYSCALL_CONCAT): Likewise.
8261         (__SYSCALL_DIST): Likewise.
8262         (__SYSCALL_CALL): Likewise.
8264 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8266         [BZ #19363]
8267         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8269 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8271         [BZ #19375]
8272         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8273         negative subnormals.
8275 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8278         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8279         (INTERNAL_SYSCALL_NCS): Use it.
8280         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8282 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8284         [BZ #19243]
8285         * malloc/arena.c (get_free_list): Remove assert and adjust
8286         reference count handling.  Add comment about reused_arena
8287         interaction.
8288         (reused_arena): Add comments abount get_free_list interaction.
8289         * malloc/tst-malloc-thread-exit.c: New file.
8290         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8291         (tst-malloc-thread-exit): Link against libpthread.
8293 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8295         [BZ #19367]
8296         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8297         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8298         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8299         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8300         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8302 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8304         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8305         Silvermont optimizations for Knights Landing.
8307 2015-12-15  Andreas Schwab  <schwab@suse.de>
8309         [BZ #17197]
8310         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8311         immediately after emitting SI.
8312         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8313         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8314         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8315         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8316         * iconvdata/bug-iconv10.c: New file.
8317         * iconvdata/Makefile (tests): Add bug-iconv10.
8318         ($(objpfx)bug-iconv10.out): New rule.
8320 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8322         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8323         aliasing violation.
8325 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8327         [BZ #18472]
8328         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8329         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8330         conditionals for them.
8331         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8332         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8334         sys/kdaemon.h.
8335         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8336         compat-only syscall, obsoleted in glibc 2.23.
8337         (create_module): Likewise.
8338         (get_kernel_syms): Likewise.
8339         (query_module): Likewise.
8340         (uselib): Likewise.
8341         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8343 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8345         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8346         <linux/version.h>.
8347         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8348         conditional code.
8349         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8350         and ioshift_name initialization.
8352 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8354         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8355         Fix indentation.
8357 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8359         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8361 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8363         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8365 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8366             Jakub Wilk  <jwilk@debian.org>
8368         [BZ #19347]
8369         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8370         to change the group of the device to the tty group.
8372 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8374         Split large string section; add truncation advice
8375         * manual/examples/strncat.c: Remove.
8376         This example was misleading, as the code would have undefined
8377         behavior if "hello" was longer than SIZE.  Anyway, the manual
8378         shouldn't encourage strncpy+strncat for this sort of thing.
8379         * manual/string.texi (Copying Strings and Arrays): Split into
8380         three sections Copying Strings and Arrays, Concatenating Strings,
8381         and Truncating Strings, as this section was way too long.  All
8382         cross-referenced changed.  Add advice about string-truncation
8383         functions.  Remove misleading strncat example.
8385 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8387         * manual/nss.texi (NSS Modules Interface): Document
8388         NSS_STATUS_NOTFOUND and SUCCESS.
8390 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8392         [BZ 18568]
8393         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8394         201505L, for Unicode 8.
8396 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8398         * locale/C-translit.h: Regenerate.
8400 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8402         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8403         and U+0153.
8405 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8407         [BZ #19351]
8408         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8409         expanding log(1+z), compare z rather than its square with epsilon
8410         to determine when to avoid evaluating the expansion.
8412         [BZ #19350]
8413         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8414         Increase overflow threshold.
8416         [BZ #19349]
8417         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8418         when small.
8420         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8421         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8422         New macro.
8423         [__LINUX_KERNEL_VERSION >= 0x040300]
8424         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8425         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8426         Likewise.
8427         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8428         Likewise.
8429         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8430         Likewise.
8431         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8432         Likewise.
8433         [__LINUX_KERNEL_VERSION >= 0x040300]
8434         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8435         [__LINUX_KERNEL_VERSION >= 0x040300]
8436         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8437         [__LINUX_KERNEL_VERSION >= 0x040300]
8438         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8439         [__LINUX_KERNEL_VERSION >= 0x040300]
8440         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8441         [__LINUX_KERNEL_VERSION >= 0x040300]
8442         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8443         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8444         Likewise.
8445         [__LINUX_KERNEL_VERSION >= 0x040300]
8446         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8447         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8448         Likewise.
8449         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8450         Likewise.
8451         [__LINUX_KERNEL_VERSION >= 0x040300]
8452         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8453         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8454         Likewise.
8455         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8456         Likewise.
8457         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8458         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8459         Likewise.
8460         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8461         Likewise.
8462         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8463         Likewise.
8464         [__LINUX_KERNEL_VERSION >= 0x040300]
8465         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8466         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8467         Likewise.
8468         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8469         Likewise.
8470         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8471         Likewise.
8472         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8473         Likewise.
8474         [__LINUX_KERNEL_VERSION >= 0x040300]
8475         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8476         [__LINUX_KERNEL_VERSION >= 0x040300]
8477         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8478         [__LINUX_KERNEL_VERSION >= 0x040300]
8479         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8480         [__LINUX_KERNEL_VERSION >= 0x040300]
8481         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8482         [__LINUX_KERNEL_VERSION >= 0x040300]
8483         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8484         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8485         Likewise.
8486         [__LINUX_KERNEL_VERSION >= 0x040300]
8487         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8488         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8489         Likewise.
8490         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8491         Likewise.
8492         [__LINUX_KERNEL_VERSION >= 0x040300]
8493         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8494         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8495         Likewise.
8496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8497         Likewise.
8498         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8499         (__ASSUME_SOCKET_SYSCALL): Likewise.
8500         (__ASSUME_BIND_SYSCALL): Likewise.
8501         (__ASSUME_CONNECT_SYSCALL): Likewise.
8502         (__ASSUME_LISTEN_SYSCALL): Likewise.
8503         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8504         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8505         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8506         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8507         (__ASSUME_SEND_SYSCALL): Likewise.
8508         (__ASSUME_SENDTO_SYSCALL): Likewise.
8509         (__ASSUME_RECV_SYSCALL): Likewise.
8510         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8511         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8512         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8513         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8514         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8515         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8516         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8517         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8518         Likewise.
8519         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8520         Likewise.
8521         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8522         Likewise.
8523         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8524         Likewise.
8525         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8526         Likewise.
8527         [__LINUX_KERNEL_VERSION >= 0x020625]
8528         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8529         [__LINUX_KERNEL_VERSION >= 0x020625]
8530         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8531         [__LINUX_KERNEL_VERSION >= 0x020625]
8532         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8533         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8534         Likewise.
8535         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8536         Likewise.
8537         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8538         Likewise.
8539         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8540         Likewise.
8541         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8542         Likewise.
8543         [__LINUX_KERNEL_VERSION >= 0x020625]
8544         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8545         [__LINUX_KERNEL_VERSION >= 0x020625]
8546         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8547         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8548         Likewise.
8549         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8550         Likewise.
8552 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8554         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8555         record the current if the current ABI and CPU support the FP64
8556         extension.
8557         (has-modd-spreg): Define to record the current if the current ABI and
8558         CPU support 32-bit floating point values in odd FPU registers.
8559         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8560         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8561         $(has-modd-spreg) equals yes.
8562         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8563         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8564         $(has-modd-spreg) equal yes.
8566 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8568         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8569         basename.
8571 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8573         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8574         (bench-string): ... here.
8575         (bench): Add bench-string.
8576         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8577         to *-benchset to reflect what they are.
8578         (benchset): Adjust.
8580         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8581         cos-inputs.
8583 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8585         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8586         __attribute__ ((__simd__)) for vector math function declarations.
8588 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8590         Fix typo in strncat, wcsncat manual entries
8591         * manual/string.texi (Copying and Concatenation): Fix typos in
8592         sample implementations of strncat and wcsncat, by having them use
8593         the old value of the destination length, not the new one.
8595 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8597         [BZ #16961]
8598         [BZ #16962]
8599         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8600         string on the stack for strtod.
8601         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8602         a string on the stack for strtof.
8603         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8604         constructing a string on the stack for strtold.
8605         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8606         __strtold_nan to GLIBC_PRIVATE.
8607         * math/test-nan-overflow.c: New file.
8608         * math/test-nan-payload.c: Likewise.
8609         * math/Makefile (tests): Add test-nan-overflow and
8610         test-nan-payload.
8612 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8614         Consistency about byte vs character in string.texi
8615         * manual/string.texi (String and Array Utilities):
8616         Distinguish more carefully among bytes, multibyte characters,
8617         and wide characters.  Use "byte" when talking about C 'char',
8618         to distinguish it more clearly from multibyte characters.
8619         Say "wide character" or "multibyte character" instead of
8620         "character", when a wide or multibyte character is intended.
8621         Similarly for "multibyte string" versus "string".
8622         Define these terms more carefully.
8624 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8626         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8627         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8628         Likewise.
8629         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8630         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8631         * sysdeps/sh/math_private.h: New file.
8632         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8633         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8634         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8635         long double function name.
8636         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8637         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8638         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8639         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8640         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8642         Remove __finitel, __isinfl, and __isnanl.
8643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8644         Likewise.
8645         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8647         Remove __finitel.
8648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8649         Likewise.
8650         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8652 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8654         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8655         installed libmvec_nonshared.a.
8657 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8659         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8660         (sysdep_routines): Likewise.
8661         (sysdep-rtld-routines): Likewise.
8662         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8663         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8664         * sysdeps/powerpc/Versions: Added new
8665         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8666         * sysdeps/powerpc/hwcapinfo.c: New file.
8667         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8668         and parse hwcap, hwcap2 and platform number information.
8669         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8670         to store HWCAP+HWCAP2 and platform number.
8671         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8672         for HWCAP+HWCAP2 and platform number in the TCB.
8673         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8674         the HWCAP, HWCAP2 and platform number in the TCB.
8675         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8676         (TLS_INIT_TP): Included calls to add the hwcap and
8677         at_platform values in the TCB in TP initialization.
8678         (TLS_DEFINE_INIT_TP): Likewise.
8679         (THREAD_GET_HWCAP): New macro.
8680         (THREAD_SET_HWCAP): Likewise.
8681         (THREAD_GET_AT_PLATFORM): Likewise.
8682         (THREAD_SET_AT_PLATFORM): Likewise.
8683         * sysdeps/powerpc/powerpc32/dl-machine.h:
8684         (dl_platform_init): New function that calls
8685         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8686         powerpc32.
8687         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8688         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8689         this functionality, static linking case.
8690         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8691         linking case.
8692         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8693         __parse_hwcap_and_convert_at_platform for the static linking case.
8694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8695         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8696         ABI list for GLIBC 2.23.
8697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8698         Likewise.
8699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8700         Likewise.
8702 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8704         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8705         * configure: Regenerate.
8706         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8707         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8709 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8711         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8712         * iconvdata/ibm933.c: Likewise.
8713         * iconvdata/ibm935.c: Likewise.
8714         * iconvdata/ibm937.c: Likewise.
8715         * iconvdata/ibm939.c: Likewise.
8717 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8719         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8720         pthread_join.
8721         * nptl/tst-cancel21.c (tf): Likewise.
8723 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8725         [BZ #19313]
8726         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8727         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8728         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8729         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8730         Likewise.
8731         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8732         Likewise.
8733         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8734         Likewise.
8735         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8736         Likewise.
8737         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8738         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8739         unsigned long int with __CPU_MASK_TYPE.
8741 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8743         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8745 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8747         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8748         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8749         t512.x.
8750         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8752 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8754         [BZ #19214]
8755         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8756         argument to return extended model.  Update family and model
8757         with extended family and model when family == 0x0f.
8758         (init_cpu_features): Updated.
8760 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8762         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8763         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8765         * sysdeps/mach/hurd/mmap64.c: New file.
8767 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8769         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8770         rights for its main user thread in NEWTASK.
8772 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8774         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8775         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8777 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8779         [BZ #14259]
8780         * Makeconfig: Rename localedir to complocaledir.
8781         Rename inst_localedir to inst_complocaledir.
8782         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8783         * config.make.in: Use complocaledir and libc_cv_complocaledir.
8784         * configure.ac: Use libc_cv_complocaledir.
8785         * configure: Regenerate.
8786         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8787         -DCOMPLOCALEDIR.
8788         * locale/findlocale.c: Use COMPLOCALEDIR.
8789         * locale/loadarchive.c: Likewise.
8790         * locale/programs/locale.c: Likewise.
8791         * locale/programs/localedef.c: Likewise.
8792         * locale/programs/locarchive.c: Likewise.
8793         * localedata/Makefile: Use inst_complocaledir.
8794         * sysdeps/gnu/configure: Regenerate.
8795         * sysdeps/hppa/configure: Regenerate.
8796         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8797         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8799         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8800         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8801         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8802         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8804 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
8806         [BZ #19058]
8807         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8808         AS_NEEDED.
8809         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8810         workaround.
8811         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8812         libmvec-static-only-routines): Added new file.
8813         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8815 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8817         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8818         of interrupted RPC instead of restoring it.
8820         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8821         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8822         libc_hidden_def.
8823         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8824         into initialized data instead of common. Define rtld_hidden_data_def.
8825         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8826         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8827         libc_hidden_def.
8828         (if_freenameindex): Add libc_hidden_weak.
8829         (if_nameindex): Add libc_hidden_weak.
8830         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8831         __open64.
8832         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8833         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8834         * sysdeps/mach/nanosleep.c: Include <time.h>
8835         (__nanosleep): Rename to __libc_nanosleep.
8836         (__nanosleep): Add weak_alias.
8837         (nanosleep): Update alias.
8839 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8841         * stdlib/strtod_nan.c: New file.
8842         * stdlib/strtod_nan_double.h: Likewise.
8843         * stdlib/strtod_nan_float.h: Likewise.
8844         * stdlib/strtod_nan_main.c: Likewise.
8845         * stdlib/strtod_nan_narrow.h: Likewise.
8846         * stdlib/strtod_nan_wide.h: Likewise.
8847         * stdlib/strtof_nan.c: Likewise.
8848         * stdlib/strtold_nan.c: Likewise.
8849         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8850         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8851         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8852         * wcsmbs/wcstod_nan.c: Likewise.
8853         * wcsmbs/wcstof_nan.c: Likewise.
8854         * wcsmbs/wcstold_nan.c: Likewise.
8855         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8856         strtold_nan.
8857         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8858         wcstof_nan.
8859         * include/stdlib.h (__strtof_nan): Declare and use
8860         libc_hidden_proto.
8861         (__strtod_nan): Likewise.
8862         (__strtold_nan): Likewise.
8863         (__wcstof_nan): Likewise.
8864         (__wcstod_nan): Likewise.
8865         (__wcstold_nan): Likewise.
8866         * include/wchar.h (____wcstoull_l_internal): Declare.
8867         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8868         (____strtoull_l_internal): Remove declaration.
8869         (STRTOF_NAN): Define macro.
8870         (SET_MANTISSA): Remove macro.
8871         (STRTOULL): Likewise.
8872         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8873         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8874         (STRTOF_NAN): Define macro.
8875         (SET_MANTISSA): Remove macro.
8876         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8877         (SET_MANTISSA): Remove macro.
8878         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8879         macro.
8880         (SET_MANTISSA): Remove macro.
8881         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8882         macro.
8883         (SET_MANTISSA): Remove macro.
8884         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8885         (SET_MANTISSA): Remove macro.
8886         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8887         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8888         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8890         [BZ #19266]
8891         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8892         upper case and lower case letters inside NAN(), not using TOLOWER.
8893         * stdlib/tst-strtod-nan-locale-main.c: New file.
8894         * stdlib/tst-strtod-nan-locale.c: Likewise.
8895         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8896         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8897         Depend on $(gen-locales).
8898         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8899         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8900         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8901         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8902         Depend on $(gen-locales).
8903         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8905 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8907         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8909         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8911         __finitel, __isinfl, and __isnanl.
8912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8913         Likewise.
8914         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8916         __finitel.
8917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8918         Likewise.
8919         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8921 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8923         * malloc/memusage.c (me): Remove redundant getenv call.
8925 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8927         [BZ #19143]
8928         [BZ #19164]
8929         * nptl/check-cpuset.h: Remove.
8930         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8931         Remove CPU set size check.
8932         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8933         Likewise.
8934         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8935         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8936         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8937         (__pthread_setaffinity_new): Remove CPU set size check.
8938         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8939         (__kernel_cpumask_size): Remove.
8940         (__sched_setaffinity_new): Remove CPU set size check.
8941         * manual/threads.texi (Default Thread Attributes): Remove stale
8942         reference to check_cpuset_attr, determine_cpumask_size in comment.
8943         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8944         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8945         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8946         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8947         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8948         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8949         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8950         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8951         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8952         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8953         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8954         skeleton test file.
8955         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8956         tst-affinity-pid.
8958 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8960         * scripts/update-abilist.sh: New file.
8961         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8962         * Makerules (update-all-abi-%, update-all-abi)
8963         (subdir_update-all-abi): New targets.
8964         * elf/Makefile (update-all-abi): New target.
8966 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8968         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8969         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8970         (__libc_lock_define_initialized): Use it.
8971         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8972         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8973         * malloc/malloc.c (main_arena): Likewise.
8974         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8975         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8977 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8979         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8980         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8981         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8982         (PTRACE_O_MASK): Update value.
8983         * sysdeps/unix/sysv/linux/ia64/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.
8987         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8988         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8989         (PTRACE_O_MASK): Update value.
8990         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8991         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8992         (PTRACE_O_MASK): Update value.
8993         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8994         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8995         (PTRACE_O_MASK): Update value.
8996         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8997         New value in enum __ptrace_setoptions.
8998         (PTRACE_O_MASK): Update value.
8999         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9000         New value in enum __ptrace_setoptions.
9001         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9002         (PTRACE_O_MASK): Update value.
9004         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9005         New macro.
9006         (PACKET_AUXDATA): Likewise.
9007         (PACKET_ORIGDEV): Likewise.
9008         (PACKET_VERSION): Likewise.
9009         (PACKET_HDRLEN): Likewise.
9010         (PACKET_RESERVE): Likewise.
9011         (PACKET_TX_RING): Likewise.
9012         (PACKET_LOSS): Likewise.
9013         (PACKET_VNET_HDR): Likewise.
9014         (PACKET_TX_TIMESTAMP): Likewise.
9015         (PACKET_TIMESTAMP): Likewise.
9016         (PACKET_FANOUT): Likewise.
9017         (PACKET_TX_HAS_OFF): Likewise.
9018         (PACKET_QDISC_BYPASS): Likewise.
9019         (PACKET_ROLLOVER_STATS): Likewise.
9020         (PACKET_FANOUT_DATA): Likewise.
9021         (PACKET_MR_UNICAST): Likewise.
9023         [BZ #19242]
9024         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9025         (TOUPPER): Likewise.
9026         * stdlib/tst-strtol-locale-main.c: New file.
9027         * stdlib/tst-strtol-locale.c: Likewise.
9028         * stdlib/Makefile (tests): Add tst-strtol-locale.
9029         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9030         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9031         Depend on $(gen-locales).
9032         * wcsmbs/tst-wcstol-locale.c: New file.
9033         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9034         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9035         tr_TR.ISO-8859-9.
9036         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9037         Depend on $(gen-locales).
9039 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9041         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9042         __glibc_likely instead of __builtin_expect.  After falling back to
9043         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9044         system interface to register the code pages as occupied.
9046 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9048         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9049         [!ARM_MATH_PRIVATE_H].
9050         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9051         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9052         [!HPPA_MATH_PRIVATE_H].
9053         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9054         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9055         to [!I386_MATH_PRIVATE_H].
9056         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9057         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9058         Change guard to [!M68K_MATH_PRIVATE_H].
9059         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9060         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9061         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9062         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9063         macro.
9064         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9065         [!MIPS_MATH_PRIVATE_H].
9066         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9067         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9068         [!NIO2_MATH_PRIVATE_H].
9069         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9070         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9071         [!TILE_MATH_PRIVATE_H].
9072         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9074         [BZ #15421]
9075         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9076         initialize with 0 and define as weak alias of __signgam.
9077         * include/math.h [!_ISOMAC] (__signgam): Declare.
9078         * math/Makefile (libm-calls): Add w_lgamma_compat.
9079         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9080         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9081         test-signgam-ullong-init.
9082         (tests-static): Add test-signgam-uchar-static,
9083         test-signgam-uchar-init-static, test-signgam-uint-static,
9084         test-signgam-uint-init-static, test-signgam-ullong-static and
9085         test-signgam-ullong-init-static.
9086         (CFLAGS-test-signgam-uchar.c): New variable.
9087         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9088         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9089         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9090         (CFLAGS-test-signgam-uint.c): Likewise.
9091         (CFLAGS-test-signgam-uint-init.c): Likewise.
9092         (CFLAGS-test-signgam-uint-static.c): Likewise.
9093         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9094         (CFLAGS-test-signgam-ullong.c): Likewise.
9095         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9096         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9097         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9098         * math/Versions (libm): Add GLIBC_2.23.
9099         * math/lgamma-compat.h: New file.
9100         * math/test-signgam-main.c: Likewise.
9101         * math/test-signgam-uchar-init-static.c: Likewise.
9102         * math/test-signgam-uchar-init.c: Likewise.
9103         * math/test-signgam-uchar-static.c: Likewise.
9104         * math/test-signgam-uchar.c: Likewise.
9105         * math/test-signgam-uint-init-static.c: Likewise.
9106         * math/test-signgam-uint-init.c: Likewise.
9107         * math/test-signgam-uint-static.c: Likewise.
9108         * math/test-signgam-uint.c: Likewise.
9109         * math/test-signgam-ullong-init-static.c: Likewise.
9110         * math/test-signgam-ullong-init.c: Likewise.
9111         * math/test-signgam-ullong-static.c: Likewise.
9112         * math/test-signgam-ullong.c: Likewise.
9113         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9114         wrapper of w_lgamma_main.c.
9115         * math/w_lgamma_compat.c: New file.
9116         * math/w_lgamma_compatf.c: Likewise.
9117         * math/w_lgamma_compatl.c: Likewise.
9118         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9119         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9120         defining compatibility symbols.
9121         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9122         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9123         wrapper of w_lgammaf_main.c.
9124         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9125         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9126         defining compatibility symbols.
9127         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9128         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9129         wrapper of w_lgammal_main.c.
9130         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9131         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9132         defining compatibility symbols.
9133         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9134         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9135         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9136         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9137         <lgamma-compat.h>.
9138         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9139         (__ieee754_gamma): Define as alias.
9140         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9141         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9142         <lgamma-compat.h>.
9143         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9144         (__ieee754_gammaf): Define as alias.
9145         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9146         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9147         <lgamma-compat.h>.
9148         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9149         (__ieee754_gammal): Define as alias.
9150         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9151         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9152         <math/w_lgamma_compat.c>.
9153         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9154         Define as alias of __lgamma_compat and use in defining lgammal.
9155         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9156         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9157         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9158         (USE_AS_COMPAT): New macro.
9159         (LGAMMA_OLD_VER): Undefine and redefine.
9160         (lgammal): Do not define here.
9161         (gammal): Only define here if [GAMMA_ALIAS].
9162         * conform/linknamespace.pl (@whitelist): Remove signgam.
9163         * sysdeps/nacl/libm.abilist: Update.
9164         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9165         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9166         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9167         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9168         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9169         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9170         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9171         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9172         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9173         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9174         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9175         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9177         Likewise.
9178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9179         Likewise.
9180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9181         Likewise.
9182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9183         Likewise.
9184         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9185         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9186         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9187         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9188         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9190         Likewise.
9191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9192         Likewise.
9193         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9194         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9195         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9197 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9199         [BZ #16364]
9200         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9201         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9203 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9205         * sysdeps/s390/fpu/bits/mathinline.h:
9206         Use __asm__ [__volatile__] instead of asm [volatile].
9207         * sysdeps/s390/abort-instr.h: Likewise.
9208         * sysdeps/s390/atomic-machine.h: Likewise.
9209         * sysdeps/s390/bits/string.h: Likewise.
9210         * sysdeps/s390/dl-tls.h: Likewise.
9211         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9212         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9213         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9214         * sysdeps/s390/fpu/fesetround.c: Likewise.
9215         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9216         * sysdeps/s390/fpu/s_fma.c: Likewise.
9217         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9218         * sysdeps/s390/memusage.h: Likewise.
9219         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9220         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9221         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9222         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9223         * sysdeps/s390/nptl/tls.h: Likewise.
9224         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9225         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9226         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9227         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9228         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9229         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9230         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9231         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9232         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9233         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9234         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9235         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9236         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9237         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9238         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9239         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9240         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9241         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9242         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9243         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9244         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9246         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9248 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9249             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9251         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9252         Add lwarx hint, and use macro for acquire instruction.
9253         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9254         Likewise.
9255         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9256         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9257         update to use new atomic macros.
9259 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9261         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9262         (__lll_trylock_elision): Fix setting of adapt_count.
9263         * sysdeps/unix/sysv/linux/powerpc/htm.h
9264         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9265         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9266         (_ABORT_SYSCALL): Renumber, and clarify definition.
9267         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9269 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9271         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9272         after system headers to prevent MIN/MAX redefinition.  Define
9273         HAVE_ALLOCA to preserve builtin alloca usage.
9275 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9277         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9278         static and don't set or restore rounding.
9279         (__cos)[IN_SINCOS]: Likewise.
9280         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9281         (__sincos): Set and restore rounding mode.  Remove check for infinite
9282         or NaN input.
9284         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9286         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9287         as used.
9289 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9291         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9293 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9295         * config.make.in (have-glob-dat-reloc): New.
9296         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9297         target supports GLOB_DAT relocaton. AC_SUBST.
9298         * configure: Regenerated.
9299         * elf/Makefile (tests): Add tst-prelink.
9300         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9301         (tst-prelink-ENV): New.
9302         ($(objpfx)tst-prelink-conflict.out): Likewise.
9303         ($(objpfx)tst-prelink-cmp.out): Likewise.
9304         * sysdeps/x86/tst-prelink.c: Moved to ...
9305         * elf/tst-prelink.c: Here.
9306         * sysdeps/x86/tst-prelink.exp: Moved to ...
9307         * elf/tst-prelink.exp: Here.
9308         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9309         (tst-prelink-ENV): Removed.
9310         ($(objpfx)tst-prelink-conflict.out): Likewise.
9311         ($(objpfx)tst-prelink-cmp.out): Likewise.
9312         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9314 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9316         [BZ #14551]
9317         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9318         (__mpn_construct_long_double): If high part overflows to infinity,
9319         set errno and recompute overflowed result of the correct sign.
9320         * sysdeps/ieee754/ldbl-128ibm/Makefile
9321         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9322         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9323         $(libm).
9324         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9326 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9328         [BZ #15479]
9329         [BZ #19238]
9330         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9331         floating-point state after first operation on input.  Restore full
9332         state rather than just rounding mode.
9333         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9334         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9335         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9337         [BZ #19235]
9338         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9339         add 0.5 to integer arguments.
9340         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9341         Likewise.
9342         (.LC2): New object.
9344 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9346         * scripts/pylintrc (reports): Set to no.
9348 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9350         * elf/dl-load.c (open_verify): Take new argument FD.
9351         Skip __open call if passed FD is not -1.
9352         (_dl_map_object, open_path): Update callers.
9353         * elf/dl-sysdep-open.h: New file.
9354         * elf/dl-load.c: Include it.
9355         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9356         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9357         * sysdeps/nacl/dl-sysdep-open.h: New file.
9358         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9359         from libc to rtld.
9361 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9363         [BZ #19228]
9364         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9365         and restore full floating-point state.
9366         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9367         Likewise.
9368         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9369         Likewise.
9370         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9371         Likewise.
9372         * math/test-nearbyint-except-2.c: New file.
9373         * math/Makefile (tests): Add test-nearbyint-except-2.
9375 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9377         [BZ #19178]
9378         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9379         (tst-prelink-ENV): New.
9380         ($(objpfx)tst-prelink-conflict.out): Likewise.
9381         ($(objpfx)tst-prelink-cmp.out): Likewise.
9382         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9383         * sysdeps/x86/tst-prelink.c: New file.
9384         * sysdeps/x86/tst-prelink.exp: Likewise.
9386 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9388         * math/auto-libm-test-in: Add another test of pow.
9389         * math/auto-libm-test-out: Regenerated.
9390         * math/libm-test.inc (pow_test_data): Add another test.
9392 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9394         [BZ #19219]
9395         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9396         weak_alias to nearbyintl.
9398 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9400         * sysdeps/aarch64/bits/string.h: New file.
9401         (_STRING_ARCH_unaligned): Define.
9403 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9405         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9406         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9407         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9408         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9411 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9413         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9414         for original name of the DSO.  Add it to the name list of the DSO
9415         if it is actually given.
9416         (_dl_map_object): Keep track of whether an audit module rewrote
9417         the file name.  If yes, pass the original name to
9418         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9419         debugging is enabled, log the change of the file name.
9420         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9421         _dl_map_object_from_fd.
9422         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9423         * elf/tst-audit11.c: New file
9424         * elf/tst-auditmod11.c: New file.
9425         * elf/tst-audit11mod1.c: New file.
9426         * elf/tst-audit11mod2.c: New file.
9427         * elf/tst-audit11mod2.map: New file.
9428         * elf/tst-audit12.c: New file
9429         * elf/tst-auditmod12.c: New file.
9430         * elf/tst-audit12mod1.c: New file.
9431         * elf/tst-audit12mod2.c: New file.
9432         * elf/tst-audit12mod2.map: New file.
9433         * elf/tst-audit12mod3.c: New file.
9435 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9437         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9438         Don't create weak aliases,
9439         because versioned symbols are created later.
9440         * sysdeps/s390/s390-32/setjmp.S
9441         (setjmp, _setjmp): Remove weak and rename to an unique name
9442         in SHARED case due to existing versioned symbols.
9443         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9444         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9445         (getcontext): Create weak alias only in non SHARED case.
9446         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9448 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9450         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9451         (__ASSUME_*_SYSCALL) Define new macros.
9452         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9453         Remove socketcall syscalls.
9454         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9455         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9456         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9457         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9458         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9459         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9461 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9463         [BZ #12926]
9464         Terminate process on invalid netlink response.
9465         * sysdeps/unix/sysv/linux/netlinkaccess.h
9466         (__netlink_assert_response): Declare.
9467         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9468         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9469         (sysdep_routines): Add netlink_assert_response.
9470         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9471         __netlink_assert_response.
9472         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9473         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9474         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9475         __netlink_assert_response.
9477 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9479         [BZ #19178]
9480         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9481         (RTYPE_CLASS_PLT): Likewise.
9482         (RTYPE_CLASS_COPY): Likewise.
9483         (RTYPE_CLASS_TLS): Likewise.
9484         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9485         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9486         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9487         DL_DEBUG_PRELINK.
9489 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9491         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9492         calls with argument -0.5.
9493         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9495         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9496         (libc_cv_z_nodlopen): Likewise.
9497         (libc_cv_z_initfirst): Likewise.
9498         * configure: Regenerated.
9500 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9502         Simplify abilist format to be line-based.
9503         * scripts/abilist.awk: Collect descriptors in the descs variable.
9504         (emit): Write descs variable and sort it
9505         externally, with sort.
9506         * sysdeps/**/*.abilist: Convert to new format.
9508 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9510         [BZ #11460]
9511         * io/Makefile (routines): Add fts64.
9512         (tests): Add tst-fts and tst-fts-lfs.
9513         (CFLAGS-fts64.c): New.
9514         * io/Versions (GLIBC_2.23): New.
9515         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9516         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9517         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9518         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9519         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9520         (FTSENT64): Likewise.
9521         (fts64_children): Likewise.
9522         (fts64_close): Likewise.
9523         (fts64_open): Likewise.
9524         (fts64_read): Likewise.
9525         (fts64_set): Likewise.
9526         * io/fts64.c: New file.
9527         * io/tst-fts.c: New test.
9528         * io/tst-fts-lfs.c: Likewise.
9529         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9530         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9531         fts64_set.
9532         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9533         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9534         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9535         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9536         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9537         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9538         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9539         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9540         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9541         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9542         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9543         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9544         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9546         Likewise.
9547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9548         Likewise.
9549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9551         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9552         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9553         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9554         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9555         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9558         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9559         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9560         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9561         * sysdeps/wordsize-64/fts.c: New file.
9562         * sysdeps/wordsize-64/fts64.c: Likewise.
9563         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9564         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9565         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9566         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9568 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9570         * math/libm-test.inc (NON_FINITE): New macro.
9571         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9572         * math/gen-libm-test.pl (show_exceptions): Add argument
9573         $non_finite.
9574         (parse_args): Update call to show_exceptions.
9575         * math/test-math-finite.h: New file.
9576         * math/test-math-no-finite.h: Likewise.
9577         * math/test-double-finite.c: Likewise.
9578         * math/test-float-finite.c: Likewise.
9579         * math/test-ldouble-finite.c: Likewise.
9580         * math/test-double.c: Include "test-math-no-finite.h".
9581         * math/test-float.c: Include "test-math-no-finite.h".
9582         * math/test-ldouble.c: Include "test-math-no-finite.h".
9583         * math/test-math-inline.h (TEST_FINITE): New macro.
9584         * math/test-math-vector.h (TEST_FINITE): Likewise.
9585         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9586         (libm-tests): Add test-float-finite and test-double-finite.
9587         ($(objpfx)test-float-finite.o): New dependency on
9588         $(objpfx)libm-test.stmp.
9589         ($(objpfx)test-double-finite.o): Likewise.
9590         ($(objpfx)test-ldouble-finite.o): Likewise.
9591         (libm-test-no-inline-cflags): New variable.
9592         (libm-test-finite-cflags): Likewise.
9593         (CFLAGS-test-float-finite.c): Likewise.
9594         (CFLAGS-test-double-finite.c): Likewise.
9595         (CFLAGS-test-ldouble-finite.c): Likewise.
9596         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9597         (CFLAGS-test-double.c): Likewise.
9598         (CFLAGS-test-ldouble.c): Likewise.
9600 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9602         * io/fcntl.c (__fcntl): Add ... to prototype.
9603         * misc/ioctl.c (__ioctl): Likewise.
9604         * misc/syscall.c (syscall): Likewise.
9606 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9608         * scripts/list-fixed-bugs.py: New file.
9610         [BZ #19213]
9611         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9612         returned for argument 1.
9613         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9614         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9615         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9616         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9617         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9618         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9620         [BZ #19211]
9621         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9622         __USE_XOPEN], not if [!__USE_ISOC99].
9623         (lgammaf): Likewise.
9624         (lgammal): Likewise.
9625         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9626         (gammaf): Likewise.
9627         (gammal): Likewise.
9628         * math/test-signgam-finite-c11.c: New file.
9629         * math/test-signgam-finite-c99.c: Likewise.
9630         * math/test-signgam-finite.c: Likewise.
9631         * math/Makefile (tests): Add test-signgam-finite,
9632         test-signgam-finite-c99 and test-signgam-finite-c11.
9633         (CFLAGS-test-signgam-finite.c): New variable.
9634         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9635         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9637         [BZ #19212]
9638         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9639         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9640         500].
9641         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9642         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9643         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9644         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9645         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9646         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9647         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9648         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9649         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9650         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9652         [BZ #19209]
9653         * math/bits/math-finite.h (ldexp): Remove declaration.
9654         (ldexpf): Likewise.
9655         (ldexpl): Likewise.
9657         [BZ #19205]
9658         * math/bits/math-finite.h (acosf): Condition declaration on
9659         [__USE_ISOC99].
9660         (acosl): Likewise.
9661         (acoshf): Likewise.
9662         (acoshl): Likewise.
9663         (asinf): Likewise.
9664         (asinl): Likewise.
9665         (atan2f): Likewise.
9666         (atan2l): Likewise.
9667         (atanhf): Likewise.
9668         (atanhl): Likewise.
9669         (coshf): Likewise.
9670         (coshl): Likewise.
9671         (expf): Likewise.
9672         (expl): Likewise.
9673         (fmodf): Likewise.
9674         (fmodl): Likewise.
9675         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9676         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9677         (j0l): Likewise.
9678         (y0f): Likewise.
9679         (y0l): Likewise.
9680         (j1f): Likewise.
9681         (j1l): Likewise.
9682         (y1f): Likewise.
9683         (y1l): Likewise.
9684         (jnf): Likewise.
9685         (jnl): Likewise.
9686         (ynf): Likewise.
9687         (ynl): Likewise.
9688         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9689         (lgammal_r): Likewise.
9690         (__lgamma_r_finite): New declaration.
9691         (__lgammaf_r_finite): Likewise.
9692         (__lgammal_r_finite): Likewise.
9693         (lgamma): Use __lgamma_r_finite.
9694         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9695         __lgammaf_r_finite.
9696         (lgammal): Condition definition on [__USE_ISOC99].  Use
9697         __lgammal_r_finite.
9698         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9699         __lgamma_r_finite.
9700         (gammaf): Condition definition on [__USE_ISOC99].  Use
9701         __lgammaf_r_finite.
9702         (gammal): Condition definition on [__USE_ISOC99].  Use
9703         __lgammal_r_finite.
9704         (logf): Condition declaration on [__USE_ISOC99].
9705         (logl): Likewise.
9706         (log10f): Likewise.
9707         (log10l): Likewise.
9708         (ldexpf): Likewise.
9709         (ldexpl): Likewise.
9710         (powf): Likewise.
9711         (powl): Likewise.
9712         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9713         __USE_ISOC99].
9714         (remainderf): Condition declaration on [__USE_ISOC99].
9715         (remainderl): Likewise.
9716         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9717         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9718         (scalbl): Likewise.
9719         (sinhf): Condition declaration on [__USE_ISOC99].
9720         (sinhl): Likewise.
9721         (sqrtf): Likewise.
9722         (sqrtl): Likewise.
9724 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9726         * sysdeps/arm/atomic-machine.h
9727         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9728         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9729         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9730         Remove conditional code.
9731         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9732         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9733         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9734         Change conditional to [__ASSEMBLER__].
9735         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9736         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9737         [!__ASSEMBLER__].
9738         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9739         code.
9740         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9741         conditional macro definitions.
9742         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9743         (__arch_compare_and_exchange_val_16_acq): Likewise.
9744         (__arch_compare_and_exchange_val_32_acq): Likewise.
9745         (atomic_exchange_and_add): Likewise.
9746         (atomic_add): Likewise.
9747         (atomic_add_negative): Likewise.
9748         (atomic_add_zero): Likewise.
9749         (atomic_bit_set): Likewise.
9750         (atomic_bit_test_set): Likewise.
9751         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9752         code unconditional.
9753         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9755         * math/test-math-errno.h: New file.
9756         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9757         empty.
9758         (TEST_ERRNO): New macro.
9759         (TEST_EXCEPTIONS): Likewise.
9760         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9761         (TEST_EXCEPTIONS): Likewise.
9762         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9763         * math/test-double.c: Include "test-math-errno.h".
9764         * math/test-float.c: Likewise.
9765         * math/test-ldouble.c: Likewise.
9766         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9767         code unconditional.
9768         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9769         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9770         unconditional.
9771         (test_errno): Only run code if TEST_ERRNO.
9772         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9774 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9776         * nptl/tst-once5.cc: Remove attribution.
9778 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9780         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9781         sqrt, tan, tanh, y0, y1 and yn.
9782         * math/auto-libm-test-out: Regenerated.
9783         * math/libm-test.inc (scalb_test_data): Add more tests.
9784         (scalbn_test_data): Likewise.
9785         (scalbln_test_data): Likewise.
9786         (signbit_test_data): Likewise.
9787         (sin_test_data): Likewise.
9788         (sincos_test_data): Likewise.
9789         (sinh_test_data): Likewise.
9790         (sqrt_test_data): Likewise.
9791         (tan_test_data): Likewise.
9792         (tanh_test_data): Likewise.
9793         (tgamma_test_data): Likewise.
9794         (y0_test_data): Likewise.
9795         (y1_test_data): Likewise.
9796         (yn_test_data): Likewise.
9797         (significand_test_data): Likewise.
9798         * sysdeps/i386/fpu/libm-test-ulps: Update.
9800 2015-11-03  David Kastrup  <dak@gnu.org>
9802         [BZ #18604]
9803         * assert/assert.h (assert): Don't macro-expand failed assertion
9804         expression in error message.
9805         * malloc/malloc.c (assert): Likewise.
9807 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
9809         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9810         test.
9811         * configure: Regenerated.
9813 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
9815         * math/libm-test.inc (modf_test_data): Add more tests.
9816         (nearbyint_test_data): Likewise.
9817         (nextafter_test_data): Likewise.
9818         (nexttoward_test_data): Likewise.
9819         (pow_test_data): Likewise.
9820         (remainder_test_data): Likewise.
9821         (remquo_test_data): Likewise.
9822         (rint_test_data): Likewise.
9824         [BZ #19201]
9825         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9826         Check for zero remainder in case of large exponents and ensure
9827         correct sign of result in that case.
9828         * math/libm-test.inc (remainder_test_data): Add more tests.
9830         [BZ #6799]
9831         * math/s_nextafter.c: Include <errno.h>.
9832         (__nextafter): Set errno on overflow and underflow.
9833         * math/s_nexttowardf.c: Include <errno.h>.
9834         (__nexttowardf): Set errno on overflow and underflow.
9835         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9836         (__nextafterl): Set errno on overflow and underflow.
9837         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9838         (__nexttoward): Set errno on overflow and underflow.
9839         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9840         (__nexttowardf): Set errno on overflow and underflow.
9841         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9842         (__nextafterf): Set errno on overflow and underflow.
9843         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9844         (__nextafterl): Set errno on overflow and underflow.
9845         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9846         (__nexttoward): Set errno on overflow and underflow.
9847         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9848         (__nexttowardf): Set errno on overflow and underflow.
9849         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9850         (__nextafterl): Set errno on overflow and underflow.
9851         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9852         (__nexttoward): Set errno on overflow and underflow.
9853         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9854         (__nexttowardf): Set errno on overflow and underflow.
9855         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9856         (__nexttoward): Set errno on overflow and underflow.
9857         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9858         (__nexttowardf): Set errno on overflow and underflow.
9859         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9860         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9861         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9862         (__nextafterl): Set errno on overflow and underflow.
9863         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9864         setting to be missing on overflow.  Add more tests.
9865         (nexttoward_test_data): Likewise.
9867         * configure.ac (libc_cv_initfini_array): Remove configure test.
9868         * configure: Regenerated.
9870 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9872         [BZ #19189]
9873         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9874         non-finite argument handle arguments with negative sign.
9876         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9877         result from infinite argument.
9878         (j1_test_data): Likewise.
9879         (jn_test_data): Likewise.
9880         (y0_test_data): Likewise.
9881         (y1_test_data): Likewise.
9882         (yn_test_data): Likewise.
9884         [BZ #16171]
9885         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9886         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9887         * math/w_remainderf.c (dremf): Define as weak alias of
9888         __remainderf.
9889         * math/w_remainderl.c (dreml): Define as weak alias of
9890         __remainderl.
9891         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9892         __remainder.
9893         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9894         __remainderf.
9895         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9896         __remainderl.
9897         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9898         weak alias of remainderl.
9899         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9900         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9901         alias of __remainder.
9902         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9903         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9904         strong alias of __remainderl.
9905         (dreml): Use long_double_symbol.
9906         * math/Makefile (libm-calls): Remove w_drem.
9907         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9908         (CFLAGS-nldbl-drem.c): Remove variable.
9909         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9910         * math/w_drem.c: Remove file.
9911         * math/w_dremf.c: Likewise.
9912         * math/w_dreml.c: Likewise.
9913         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9914         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9915         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9917         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9918         * sysdeps/i386/configure: Regenerated.
9919         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9920         * sysdeps/x86_64/configure: Regenerated.
9922         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9923         test.
9924         (libc_cv_visibility_attribute): Likewise.
9925         (libc_cv_protected_data): Test unconditionally.
9926         (libc_cv_broken_visibility_attribute): Remove configure test.
9927         (libc_cv_have_sdata_section): Test unconditionally.
9928         * configure: Regenerated.
9930         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9931         * include/scratch_buffer.h: Include <stddef.h> instead of
9932         <libc-internal.h>.
9933         (struct scratch_buffer): Use max_align_t instead of
9934         libc_max_align_t.
9936 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9938         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9939         instead of extend_alloca.  Change control flow to avoid a goto.
9940         Remove assert which is trivially always true.
9942 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9944         [BZ #16068]
9945         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9946         (FE_ALL_EXCEPT_X86): New macro.
9947         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9948         FE_ALL_EXCEPT.  Ensure precision control is included in
9949         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9950         handle "denormal operand exception" and clear FZ and DAZ bits.
9951         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9952         (FE_ALL_EXCEPT_X86): New macro.
9953         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9954         FE_ALL_EXCEPT.  Ensure precision control is included in
9955         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9956         handle "denormal operand exception" and clear FZ and DAZ bits.
9957         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9958         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9959         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9960         test-fenv-x87 and test-fenv-sse-2.
9961         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9963         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9964         * math/test-double.h (BUILD_COMPLEX): New macro.
9965         * math/test-float.h (BUILD_COMPLEX): Likewise.
9966         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9968         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9969         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9970         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9972         instead of DBL_DENORM_MIN in comment.
9973         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9974         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9976         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9977         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9978         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9980 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9982         [BZ# 19048]
9983         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9984         attached_threads member.
9985         (main_arena): Initialize attached_threads.
9986         * malloc/arena.c (list_lock): Update comment.
9987         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9988         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9989         (deattach_arena): New function.
9990         (_int_new_arena): Initialize arena reference count and deattach
9991         replaced arena.
9992         (get_free_list, reused_arena): Update reference count and deattach
9993         replaced arena.
9994         (arena_thread_freeres): Update arena reference count and only put
9995         unreferenced arenas on the free list.
9997 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9999         [BZ #19181]
10000         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10001         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10002         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10003         * math/test-fenv-clear-main.c: New file.
10004         * math/test-fenv-clear.c: Likewise.
10005         * math/Makefile (tests): Add test-fenv-clear.
10006         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10007         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10008         test-fenv-clear-sse.
10009         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10011         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10012         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10013         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10015 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10017         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10018         static libc.
10020 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10022         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10023         test.
10024         * sysdeps/i386/configure: Regenerated.
10025         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10026         test.
10027         * sysdeps/x86_64/configure: Regenerated.
10028         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10030         memset-avx2 unconditionally instead of conditionally on
10031         [$(config-cflags-avx2) = yes].
10032         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10033         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10034         unconditional.
10035         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10036         * sysdeps/x86_64/multiarch/memset_chk.S
10037         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10038         to [IS_IN (libc) && SHARED].
10040 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10042         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10043         configure test.
10044         * sysdeps/arm/configure: Regenerated.
10045         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10046         Define variable if not already defined.
10048         [BZ #17404]
10049         * sysdeps/mips/atomic-machine.h
10050         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10051         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10052         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10054         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10055         unconditional.
10056         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10057         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10058         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10059         unconditional.
10060         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10061         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10062         unconditional.
10063         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10064         * stdlib/setenv.c
10065         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10066         code unconditional.
10067         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10068         Remove conditional code.
10069         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10070         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10071         unconditional.
10072         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10073         code.
10074         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10075         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10076         unconditional.
10077         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10078         code.
10079         * sysdeps/ieee754/ldbl-128/k_tanl.c
10080         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10081         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10082         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10083         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10084         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10085         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10086         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10087         unconditional.
10088         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10089         code.
10090         * sysdeps/ieee754/ldbl-96/k_tanl.c
10091         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10092         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10094         * nptl/tst-initializers1-c11.c: New file.
10095         * nptl/tst-initializers1-gnu11.c: Likewise.
10096         * nptl/Makefile (tests): Add these new tests.
10097         (CFLAGS-tst-initializers1-c11.c): New variable.
10098         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10100         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10101         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10102         instead of -std=gnu99.
10103         * configure.ac (systemtap): Test with -std=gnu11 instead of
10104         -std=gnu99.
10105         * configure: Regenerated.
10106         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10107         in compilation command in comment.
10109         * sysdeps/nptl/configure.ac: Remove file.
10110         * sysdeps/nptl/configure: Remove generated file.
10111         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10112         * configure: Regenerated.
10113         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10114         * config.make.in (have-forced-unwind): Remove variable.
10115         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10116         unconditional.
10117         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10118         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10119         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10120         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10121         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10122         unconditional.
10124 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10126         [BZ #19174]
10127         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10128         .skip_lock_out_of_tbegin_retries.
10129         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10130         (__lll_lock_elision): Likewise, and respect a value of
10131         try_tbegin <= 0.
10133 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10135         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10136         statement.
10138 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10140         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10141         variable.
10142         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10143         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10145         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10146         of -std=c1x -D_ISOC11_SOURCE.
10148         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10149         * configure: Regenerated.
10150         * manual/install.texi (Tools for Compilation): Document
10151         requirement for GCC 4.7 or later.
10152         * INSTALL: Regenerated.
10154 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10156         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10157         on CNT to a conditional jump to 'puntdata'.
10159 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10161         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10162         (libc_cv_gcc_tls_model_attr): Likewise.
10163         * configure: Regenerated.
10165         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10166         * configure: Regenerated.
10167         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10169 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10171         * configure.ac (old_glibc_headers): Remove configure test.
10172         * configure: Regenerated.
10173         * config.make.in (old-glibc-headers): Remove variable.
10174         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10175         (install): Remove dependency on remove-old-headers.
10176         (headers2_0): Remove variable.
10177         (remove-old-headers): Remove rule.
10179         * configure.ac (libc_cv_dot_text): Remove configure test.
10180         (libc_cv_asm_set_directive): Use .text instead of
10181         ${libc_cv_dot_text} in configure test.
10182         * configure: Regenerated.
10184 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10186         [BZ #19168]
10187         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10189 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10191         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10192         not support static linking.
10193         * configure: Regenerate.
10195 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10197         * math/libm-test.inc (check_float_internal): Do not special-case
10198         errors up to 0.5 ulp.
10200         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10201         log2.
10202         * math/auto-libm-test-out: Regenerated.
10203         * math/libm-test.inc (MAX_EXP): New macro.
10204         (ilogb_test_data): Add more tests.
10205         (isfinite_test_data): Likewise.
10206         (isgreater_test_data): Likewise.
10207         (isgreaterequal_test_data): Likewise.
10208         (isinf_test_data): Likewise.
10209         (isless_test_data): Likewise.
10210         (islessequal_test_data): Likewise.
10211         (islessgreater_test_data): Likewise.
10212         (isnan_test_data): Likewise.
10213         (isnormal_test_data): Likewise.
10214         (issignaling_test_data): Likewise.
10215         (isunordered_test_data): Likewise.
10216         (j0_test_data): Likewise.
10217         (j1_test_data): Likewise.
10218         (jn_test_data): Likewise.
10219         (lgamma_test_data): Likewise.
10220         (log_test_data): Likewise.
10221         (log10_test_data): Likewise.
10222         (log1p_test_data): Likewise.
10223         (log2_test_data): Likewise.
10224         (logb_test_data): Likewise.
10225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10227         [BZ #18611]
10228         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10229         avoid excess range and precision on underflow.
10230         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10231         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10232         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10233         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10234         underflow.
10235         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10236         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10237         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10238         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10239         * math/auto-libm-test-in: Do not allow missing errno setting for
10240         tests of j1 and jn.
10241         * math/auto-libm-test-out: Regenerated.
10243 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10245         [BZ #15491]
10246         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10247         floating-point environment instead of clearing all exceptions.
10248         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10249         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10250         merging in "invalid" exceptions from frndint.
10251         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10252         * math/test-nearbyint-except.c: New file.
10253         * math/Makefile (tests): Add test-nearbyint-except.
10255 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10257         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10259         * sysdeps/tile/libm-test-ulps: Regenerated.
10261 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10264         (__NR_sync_file_range2): Assume it is always defined.
10265         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10266         (__NR_sync_file_range): Assume it is always defined.
10268 2015-10-22  Andreas Schwab  <schwab@suse.de>
10270         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10271         INTERNAL_SYSCALL_ERRNO.
10272         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10273         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10274         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10275         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10276         Likewise.
10277         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10279 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10281         * io/tst-fcntl.c (fd): New static variable.
10282         (do_prepare): Open temporary file here....
10283         (do_test): ...not here.
10285         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10287 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10289         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10290         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10291         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10292         Moved before "#ifdef __ASSEMBLER__".
10294 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10296         [BZ #19156]
10297         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10298         arguments very close to 0.
10300 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10302         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10303         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10305 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10307         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10308         New.  Defined for GCC 5 and above when not compiling for
10309         profiling.
10310         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10312         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10313         Renamed to ...
10314         (CFLAGS-epoll_pwait.o): This.
10315         (CFLAGS-mmap.c): Renamed to ...
10316         (CFLAGS-mmap.o): This.
10317         (CFLAGS-mmap64.c): Renamed to ...
10318         (CFLAGS-mmap64.o): This.
10319         (CFLAGS-epoll_pwait.os): New.
10320         (CFLAGS-mmap.os): Likewise.
10321         (CFLAGS-mmap64.os): Likewise.
10322         (CFLAGS-semtimedop.os): Likewise.
10323         (CFLAGS-semtimedop.c): Renamed to ...
10324         (CFLAGS-semtimedop.o): This.
10326 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10328         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10329         warning message.
10331 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10333         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10334         * Makefile ($(objpfx)c++-types-check.out): Filter out
10335         $(+gccwarn-c) instead of -Wstrict-prototypes.
10337         * io/fts.c (fts_open): Convert to prototype-style function
10338         definition.
10339         * malloc/mcheck.c (mcheck): Likewise.
10340         (mcheck_pedantic): Likewise.
10341         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10342         internal_function.
10343         (re_search_internal): Likewise.
10344         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10345         prototype-style function definition.
10346         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10347         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10348         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10349         (xdr_utmpptr): Likewise.
10350         (xdr_utmparr): Likewise.
10351         (xdr_utmpidle): Likewise.
10352         (xdr_utmpidleptr): Likewise.
10353         (xdr_utmpidlearr): Likewise.
10355         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10356         log, log10 and log2.
10357         * math/auto-libm-test-out: Regenerated.
10358         * math/libm-test.inc (fmod_test_data): Add more tests.
10359         (fpclassify_test_data): Likewise.
10360         (frexp_test_data): Likewise.
10361         (hypot_test_data): Likewise.
10362         (ilogb_test_data): Likewise.
10364 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10366         * debug/fortify_fail.c (__fortify_fail): Convert to
10367         prototype-style function definition.  Use internal_function.
10368         * libio/genops.c (save_for_backup): Convert to prototype-style
10369         function definition.
10370         * libio/wgenops.c (save_for_wbackup): Likewise.
10371         * login/grantpt.c (grantpt): Likewise.
10372         * login/ptsname.c (ptsname): Likewise.
10373         (__ptsname_r): Likewise.
10374         * login/unlockpt.c (unlockpt): Likewise.
10375         * mach/msgserver.c (__mach_msg_server): Likewise.
10376         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10377         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10378         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10379         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10380         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10381         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10382         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10383         Likewise.
10384         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10385         internal_function.
10386         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10387         prototype-style function definition.
10388         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10389         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10390         (__pthread_create_2_0): Likewise.
10391         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10392         * nptl/register-atfork.c (__register_atfork): Likewise.
10393         * posix/glob.c (glob): Likewise.
10394         * posix/regcomp.c (re_comp): Likewise.
10395         * posix/regexec.c (re_exec): Likewise.
10396         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10397         [!__STDC__]: Remove conditional code.
10398         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10399         [!__STDC__]: Remove conditional code.
10400         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10401         [!__STDC__]: Remove conditional code.
10402         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10403         [!__STDC__]: Remove conditional code.
10404         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10405         [!__STDC__]: Remove conditional code.
10406         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10407         [!__STDC__]: Remove conditional code.
10408         * stdlib/mul.c [__STDC__]: Make code unconditional.
10409         [!__STDC__]: Remove conditional code.
10410         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10411         [!__STDC__]: Remove conditional code.
10412         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10413         [!__STDC__]: Remove conditional code.
10414         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10415         function definition.
10416         (STRTOF): Likewise.
10417         * stdlib/strtod_l.c (__STRTOF): Likewise.
10418         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10419         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10420         (__strtol_l): Likewise.
10421         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10422         [!__STDC__]: Remove conditional code.
10423         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10424         definition.
10425         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10426         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10427         type.
10428         (__strcasecmp): Convert to prototype-style function definition.
10429         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10430         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10431         type.
10432         (__strncasecmp): Convert to prototype-style function definition.
10433         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10434         * sunrpc/xdr.c (xdr_union): Likewise.
10435         * sunrpc/xdr_array.c (xdr_array): Likewise.
10436         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10437         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10438         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10439         Likewise.
10440         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10441         Likewise.
10442         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10443         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10444         Likewise.
10445         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10446         (LOCALE_PARAM_PROTO): Likewise.
10447         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10448         argument type.
10449         (ut_argument_spec): Remove macro.
10450         (ut_argument_spec_iso): Rename to ut_argument_spec.
10451         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10452         prototype-style function definition.
10453         (memcpy_uppcase): Likewise.
10454         (__strftime_internal): Likewise.
10455         (my_strftime): Likewise.
10456         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10457         (LOCALE_PARAM_DECL): Likewise.
10458         [_LIBC] (LOCALE_PARAM): Include argument type.
10459         (__strptime_internal): Convert to prototype-style function
10460         definition.
10461         (strptime): Likewise.
10462         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10463         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10464         type.
10465         (__wcscasecmp): Convert to prototype-style function definition.
10466         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10467         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10468         type.
10469         (__wcsncasecmp): Convert to prototype-style function definition.
10471         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10472         function definition.
10473         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10474         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10475         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10476         * elf/dl-minimal.c (_itoa): Likewise.
10477         * hurd/hurdmalloc.c (malloc): Likewise.
10478         (free): Likewise.
10479         (realloc): Likewise.
10480         * inet/inet6_option.c (inet6_option_space): Likewise.
10481         (inet6_option_init): Likewise.
10482         (inet6_option_append): Likewise.
10483         (inet6_option_alloc): Likewise.
10484         (inet6_option_next): Likewise.
10485         (inet6_option_find): Likewise.
10486         * io/ftw.c (FTW_NAME): Likewise.
10487         (NFTW_NAME): Likewise.
10488         (NFTW_NEW_NAME): Likewise.
10489         (NFTW_OLD_NAME): Likewise.
10490         * libio/iofwide.c (_IO_fwide): Likewise.
10491         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10492         (_IO_str_init_static): Likewise.
10493         (_IO_str_init_readonly): Likewise.
10494         (_IO_str_overflow): Likewise.
10495         (_IO_str_underflow): Likewise.
10496         (_IO_str_count): Likewise.
10497         (_IO_str_seekoff): Likewise.
10498         (_IO_str_pbackfail): Likewise.
10499         (_IO_str_finish): Likewise.
10500         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10501         (_IO_wstr_overflow): Likewise.
10502         (_IO_wstr_underflow): Likewise.
10503         (_IO_wstr_count): Likewise.
10504         (_IO_wstr_seekoff): Likewise.
10505         (_IO_wstr_pbackfail): Likewise.
10506         (_IO_wstr_finish): Likewise.
10507         * locale/programs/localedef.c (normalize_codeset): Likewise.
10508         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10509         (add_locales_to_archive): Likewise.
10510         (delete_locales_from_archive): Likewise.
10511         * malloc/malloc.c (__libc_mallinfo): Likewise.
10512         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10513         * misc/tsearch.c (__tfind): Likewise.
10514         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10515         * nptl/pthread_attr_getdetachstate.c
10516         (__pthread_attr_getdetachstate): Likewise.
10517         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10518         Likewise.
10519         * nptl/pthread_attr_getinheritsched.c
10520         (__pthread_attr_getinheritsched): Likewise.
10521         * nptl/pthread_attr_getschedparam.c
10522         (__pthread_attr_getschedparam): Likewise.
10523         * nptl/pthread_attr_getschedpolicy.c
10524         (__pthread_attr_getschedpolicy): Likewise.
10525         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10526         Likewise.
10527         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10528         Likewise.
10529         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10530         Likewise.
10531         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10532         Likewise.
10533         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10534         (__pthread_attr_init_2_0): Likewise.
10535         * nptl/pthread_attr_setdetachstate.c
10536         (__pthread_attr_setdetachstate): Likewise.
10537         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10538         Likewise.
10539         * nptl/pthread_attr_setinheritsched.c
10540         (__pthread_attr_setinheritsched): Likewise.
10541         * nptl/pthread_attr_setschedparam.c
10542         (__pthread_attr_setschedparam): Likewise.
10543         * nptl/pthread_attr_setschedpolicy.c
10544         (__pthread_attr_setschedpolicy): Likewise.
10545         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10546         Likewise.
10547         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10548         Likewise.
10549         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10550         Likewise.
10551         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10552         Likewise.
10553         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10554         Likewise.
10555         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10556         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10557         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10558         use internal_function.
10559         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10560         prototype-style function definition.
10561         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10562         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10563         internal_function.
10564         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10565         Convert to prototype-style function definition.
10566         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10567         Likewise.
10568         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10569         Likewise.
10570         (__pthread_mutex_unlock): Likewise.
10571         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10572         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10573         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10574         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10575         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10576         * nss/makedb.c (process_input): Likewise.
10577         * posix/fnmatch.c (__strchrnul): Likewise.
10578         (__wcschrnul): Likewise.
10579         (fnmatch): Likewise.
10580         * posix/fnmatch_loop.c (FCT): Likewise.
10581         * posix/glob.c (globfree): Likewise.
10582         (__glob_pattern_type): Likewise.
10583         (__glob_pattern_p): Likewise.
10584         * posix/regcomp.c (re_compile_pattern): Likewise.
10585         (re_set_syntax): Likewise.
10586         (re_compile_fastmap): Likewise.
10587         (regcomp): Likewise.
10588         (regerror): Likewise.
10589         (regfree): Likewise.
10590         * posix/regexec.c (regexec): Likewise.
10591         (re_match): Likewise.
10592         (re_search): Likewise.
10593         (re_match_2): Likewise.
10594         (re_search_2): Likewise.
10595         (re_search_stub): Likewise.  Use internal_function
10596         (re_copy_regs): Likewise.
10597         (re_set_registers): Convert to prototype-style function
10598         definition.
10599         (prune_impossible_nodes): Likewise.  Use internal_function.
10600         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10601         prototype-style function definition.
10602         (inet_net_pton_ipv4): Likewise.
10603         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10604         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10605         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10606         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10607         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10608         Make variadic.
10609         * time/strptime_l.c (localtime_r): Convert to prototype-style
10610         function definition.
10611         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10612         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10613         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10614         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10616         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10617         definition.
10618         (_ufc_doit_r): Likewise.
10619         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10620         (_ufc_output_conversion_r): Likewise.
10621         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10622         * inet/rcmd.c (rcmd_af): Likewise.
10623         (rcmd): Likewise.
10624         (ruserok_af): Likewise.
10625         (ruserok): Likewise.
10626         (ruserok2_sa): Likewise.
10627         (ruserok_sa): Likewise.
10628         (iruserok_af): Likewise.
10629         (iruserok): Likewise.
10630         (__ivaliduser): Likewise.
10631         (__validuser2_sa): Likewise.
10632         * inet/rexec.c (rexec_af): Likewise.
10633         (rexec): Likewise.
10634         * inet/ruserpass.c (ruserpass): Likewise.
10635         * locale/programs/xmalloc.c (xcalloc): Likewise.
10636         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10637         * math/w_drem.c (__drem): Likewise.
10638         * math/w_dremf.c (__dremf): Likewise.
10639         * math/w_dreml.c (__dreml): Likewise.
10640         * misc/daemon.c (daemon): Likewise.
10641         * resolv/res_debug.c (p_fqnname): Likewise.
10642         * stdlib/div.c (div): Likewise.
10643         * string/memcmp.c (memcmp_bytes): Likewise.
10644         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10645         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10647         * crypt/cert.c (main): Convert to prototype-style function
10648         definition.
10649         * io/pipe.c (__pipe): Likewise.
10650         * io/pipe2.c (__pipe2): Likewise.
10651         * misc/futimesat.c (futimesat): Likewise.
10652         * misc/utimes.c (__utimes): Likewise.
10653         * posix/execve.c (__execve): Likewise.
10654         * posix/execvp.c (execvp): Likewise.
10655         * posix/execvpe.c (__execvpe): Likewise.
10656         * posix/fexecve.c (fexecve): Likewise.
10657         * socket/socketpair.c (socketpair): Likewise.
10658         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10659         * stdlib/erand48.c (erand48): Likewise.
10660         * stdlib/erand48_r.c (__erand48_r): Likewise.
10661         * stdlib/jrand48.c (jrand48): Likewise.
10662         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10663         * stdlib/lcong48.c (lcong48): Likewise.
10664         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10665         * stdlib/nrand48.c (nrand48): Likewise.
10666         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10667         * stdlib/seed48.c (seed48): Likewise.
10668         * stdlib/seed48_r.c (__seed48_r): Likewise.
10669         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10670         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10671         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10673 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10675         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10676         * configure: Regenerated.
10677         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10678         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10679         unconditional.
10680         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10681         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10682         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10683         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10684         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10685         unconditional.
10686         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10688         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10689         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10691         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10692         function definition.
10693         * crypt/crypt_util.c (__encrypt_r): Likewise.
10694         * libio/genops.c (_IO_no_init): Likewise.
10695         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10696         (_IO_old_fopencookie): Likewise.
10697         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10698         * libio/iogetline.c (_IO_getline): Likewise.
10699         (_IO_getline_info): Likewise.
10700         * libio/iogetwline.c (_IO_getwline): Likewise.
10701         (_IO_getwline_info): Likewise.
10702         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10703         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10704         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10705         (find_entry): Likewise.
10706         (iterate_table): Likewise.
10707         (lookup): Likewise.
10708         * login/forkpty.c (forkpty): Likewise.
10709         * misc/hsearch_r.c (__hsearch_r): Likewise.
10710         * misc/select.c (__select): Likewise.
10711         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10712         Likewise.
10713         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10714         Likewise.
10715         * nptl/old_pthread_cond_timedwait.c
10716         (__pthread_cond_timedwait_2_0): Likewise.
10717         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10718         * nptl/pthread_barrierattr_getpshared.c
10719         (pthread_barrierattr_getpshared): Likewise.
10720         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10721         Likewise.
10722         * nptl/pthread_mutex_setprioceiling.c
10723         (pthread_mutex_setprioceiling): Likewise.
10724         * nptl/pthread_mutexattr_getprioceiling.c
10725         (pthread_mutexattr_getprioceiling): Likewise.
10726         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10727         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10728         Likewise.
10729         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10730         Likewise.
10731         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10732         Likewise.
10733         * socket/recvfrom.c (__recvfrom): Likewise.
10734         * socket/sendto.c (__sendto): Likewise.
10735         * socket/setsockopt.c (__setsockopt): Likewise.
10736         * stdio-common/_itoa.c (_itoa): Likewise.
10737         * stdio-common/_itowa.c (_itowa): Likewise.
10738         * stdio-common/reg-printf.c (__register_printf_specifier):
10739         Likewise.
10740         (__register_printf_function): Likewise.
10741         * stdio-common/tempname.c (__path_search): Likewise.
10742         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10743         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10744         * stdlib/random_r.c (__initstate_r): Likewise.
10745         * stdlib/setenv.c (__add_to_environ): Likewise.
10746         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10747         * streams/getpmsg.c (getpmsg): Likewise.
10748         * streams/putmsg.c (putmsg): Likewise.
10749         * streams/putpmsg.c (putpmsg): Likewise.
10750         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10751         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10752         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10753         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10754         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10755         * sunrpc/svc_udp.c (cache_get): Likewise.
10756         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10757         * sysdeps/mach/hurd/getcwd.c
10758         (__canonicalize_directory_name_internal): Likewise.
10759         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10760         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10761         * sysdeps/mach/hurd/select.c (__select): Likewise.
10762         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10763         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10764         * sysdeps/sparc/nptl/pthread_barrier_init.c
10765         (__pthread_barrier_init): Likewise.
10766         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10767         (__pthread_cond_timedwait): Likewise.
10768         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10769         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10770         Likewise.
10771         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10772         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10773         Likewise.
10774         * sysvipc/semtimedop.c (semtimedop): Likewise.
10775         * time/setitimer.c (__setitimer): Likewise.
10776         * time/strftime_l.c (emacs_strftime): Likewise.
10778 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10780         * config.make.in (have-ssp): Delete.
10781         (stack-protector): New variable.
10782         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
10783         cache test for -fstack-protector-strong.  Export stack_protector to
10784         the best ssp flag.
10785         * configure: Regenerated.
10786         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10787         * nscd/Makefile (CFLAGS-nscd): Likewise.
10788         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10790 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
10792         [BZ #19122]
10793         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10794         attribute_hidden.
10796 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10798         [BZ #18743]
10799         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10800         code to...
10801         (ELIDE_LOCK): ...here.
10802         (__get_new_count): New function with part of the code from
10803         __elide_lock that updates the value of adapt_count after a
10804         transaction abort.
10805         (__elided_trylock): Moved this code to...
10806         (ELIDE_TRYLOCK): ...here.
10808 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10810         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10811         * configure: Regenerate.
10812         * INSTALL: Regenerate.
10813         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10814         and tweak grammar.
10816 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
10818         * login/programs/pt_chown.c: Include signal.h
10819         (main): Clear any signal mask from the parent process.
10821 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10823         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10824         * configure: Regenerated.
10825         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10826         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10827         $(gnu89-inline-CFLAGS).
10829         * configure.ac (libc_cv_asm_weak_directive): Remove configure
10830         test.
10831         (libc_cv_asm_weakext_directive): Likewise.
10832         * configure: Regenerated.
10833         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10834         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10835         * include/libc-symbols.h
10836         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10837         #error.
10838         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10839         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10841         * sysdeps/arm/backtrace.c (__backtrace): Convert to
10842         prototype-style function definition.
10843         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10844         * sysdeps/i386/ffs.c (__ffs): Likewise.
10845         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10846         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10847         Likewise.
10848         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10849         Likewise.
10850         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10851         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10852         Likewise.
10853         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10854         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10855         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10856         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10857         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10858         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10859         * sysdeps/mach/hurd/access.c (__access): Likewise.
10860         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10861         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10862         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10863         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10864         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10865         (cthread_getspecific): Likewise.
10866         (cthread_setspecific): Likewise.
10867         (__libc_getspecific): Likewise.
10868         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10869         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10870         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10871         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10872         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10873         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10874         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10875         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10876         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10877         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10878         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10879         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10880         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10881         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10882         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10883         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10884         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10885         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10886         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10887         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10888         * sysdeps/mach/hurd/link.c (__link): Likewise.
10889         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10890         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10891         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10892         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10893         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10894         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10895         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10896         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10897         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10898         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10899         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10900         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10901         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10902         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10903         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10904         * sysdeps/mach/hurd/send.c (__send): Likewise.
10905         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10906         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10907         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10908         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10909         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10910         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10911         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10912         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10913         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10914         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10915         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10916         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10917         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10918         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10919         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10920         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10921         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10922         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10923         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10924         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10925         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10926         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10927         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10928         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10929         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10930         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10931         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10932         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10933         * sysdeps/posix/alarm.c (alarm): Likewise.
10934         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10935         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10936         * sysdeps/posix/dup.c (__dup): Likewise.
10937         * sysdeps/posix/dup2.c (__dup2): Likewise.
10938         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10939         (main): Likewise.
10940         * sysdeps/posix/flock.c (__flock): Likewise.
10941         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10942         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10943         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10944         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10945         * sysdeps/posix/isatty.c (__isatty): Likewise.
10946         * sysdeps/posix/killpg.c (killpg): Likewise.
10947         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10948         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10949         * sysdeps/posix/raise.c (raise): Likewise.
10950         * sysdeps/posix/remove.c (remove): Likewise.
10951         * sysdeps/posix/rename.c (rename): Likewise.
10952         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10953         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10954         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10955         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10956         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10957         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10958         * sysdeps/posix/sigset.c (sigset): Likewise.
10959         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10960         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10961         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10962         * sysdeps/posix/time.c (time): Likewise.
10963         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10964         (ttyname): Likewise.
10965         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10966         * sysdeps/posix/utime.c (utime): Likewise.
10967         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10968         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10969         Likewise.
10970         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10971         (pthread_spin_trylock): Likewise.
10972         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10973         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10974         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10975         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10976         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10977         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10978         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10979         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10980         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10981         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10982         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10983         * sysdeps/s390/ffs.c (__ffs): Likewise.
10984         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10985         Likewise.
10986         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10987         Likewise.
10988         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10989         Likewise.
10990         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10991         (pthread_barrier_destroy): Likewise.
10992         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10993         (__pthread_barrier_wait): Likewise.
10994         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10995         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10996         (__pthread_barrier_wait): Likewise.
10997         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10998         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10999         (memcmp_not_common_alignment): Likewise.
11000         (MEMCMP): Likewise.
11001         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11002         (_wordcopy_fwd_dest_aligned): Likewise.
11003         (_wordcopy_bwd_aligned): Likewise.
11004         (_wordcopy_bwd_dest_aligned): Likewise.
11005         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11006         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11007         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11008         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11009         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11010         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11011         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11012         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11013         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11014         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11015         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11016         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11017         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11018         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11019         * sysdeps/unix/stime.c (stime): Likewise.
11020         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11021         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11022         Likewise.  Use internal_function.
11023         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11024         Convert to prototype-style function definition.
11025         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11026         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11027         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11028         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11029         Likewise.  Use internal_function.
11030         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11031         prototype-style function definition
11032         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11033         Likewise.
11034         (__getlogin_r): Likewise.
11035         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11036         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11037         (__pthread_cond_broadcast): Likewise.
11038         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11039         (__pthread_cond_destroy): Likewise.
11040         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11041         (__pthread_cond_init): Likewise.
11042         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11043         (__pthread_cond_signal): Likewise.
11044         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11045         (__pthread_cond_wait): Likewise.
11046         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11047         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11048         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11049         Likewise.
11050         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11051         Likewise.
11052         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11053         Likewise.
11054         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11055         Likewise.
11056         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11058         (__ftruncate64): Likewise.
11059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11060         (truncate64): Likewise.
11061         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11062         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11063         (pthread_getcpuclockid): Likewise.
11064         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11065         Likewise.
11066         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11067         Likewise.
11068         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11069         Likewise.
11070         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11071         Likewise.
11072         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11073         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11074         (__libc_sigaction): Likewise.
11075         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11076         Likewise.
11077         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11078         (__sigprocmask): Likewise.
11079         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11080         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11081         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11082         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11083         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11084         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11085         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11086         Likewise.
11087         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11088         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11089         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11090         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11091         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11092         Likewise.
11093         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11094         (__sigprocmask): Likewise.
11095         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11096         (cfgetispeed): Likewise.
11097         (cfsetospeed): Likewise.
11098         (cfsetispeed): Likewise.
11099         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11100         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11101         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11102         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11103         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11104         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11105         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11106         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11107         Likewise.
11108         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11109         Likewise.
11110         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11111         Likewise.
11112         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11113         Likewise.
11114         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11116 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11118         sunrpc: Rewrite with explicit TLS access using __thread.
11119         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11120         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11121         directly.
11122         (__rpc_thread_variables): Access thread_rpc_vars directly.
11123         Eliminate redundant assignment of the tvp variable.
11125 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11127         malloc: Rewrite with explicit TLS access using __thread.
11128         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11129         (tsd_setspecific, tsd_getspecific): Remove.
11130         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11131         (tsd_setspecific, tsd_getspecific): Likewise.
11132         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11133         (tsd_setspecific, tsd_getspecific): Likewise.
11134         * malloc/arena.c (thread_arena): New TLS variable.
11135         (arena_key): Remove variable.
11136         (arena_get): Use thread_arena.
11137         (arena_lookup): Remove macro.
11138         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11139         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11140         (_int_new_arena, get_free_list, reused_arena)
11141         (arena_thread_freeres): Use thread_arena.
11142         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11143         tsd_getspecific, tsd_setspecific from safety annotations.
11144         (Allocating Cleared Space): Remove arena_lookup from safety
11145         annotations.
11147 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11149         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11150         struct scratch_buffer instead of extend_alloca.
11152 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11154         * sysdeps/unix/sysv/linux/kernel-features.h
11155         (__ASSUME_SOCK_CLOEXEC): Remove.
11156         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11157         (__have_paccept): Remove unused macro.
11158         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11159         * misc/syslog.c (openlog_internal): Remove fallback code for
11160         !__ASSUME_SOCK_CLOEXEC.
11161         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11162         missing SOCK_CLOEXEC.
11163         * nscd/connections.c (have_sock_cloexec): Remove definition.
11164         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11165         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11166         !__ASSUME_SOCK_CLOEXEC.
11167         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11168         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11169         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11170         definition.
11171         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11172         code for !__ASSUME_SOCK_CLOEXEC.
11174 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11176         [BZ #18982]
11177         * manual/stdio.texi (Variable Arguments Output): Add portability
11178         note, explaining that vfprintf clobbers the va_list pointer.
11180 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11182         * math/libm-test.inc (fabs_test_data): Add more tests.
11183         (fdim_test_data): Likewise.
11184         (fma_test_data): Likewise.
11185         (fmax_test_data): Likewise.
11186         (fmin_test_data): Likewise.
11187         (fmod_test_data): Likewise.
11189 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11191         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11192         data.
11194 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11196         * math/libm-test.inc (ceil_test_data): Add more tests and more
11197         expectations for "inexact".
11198         (floor_test_data): Add more tests.
11199         (round_test_data): Likewise.
11200         (trunc_test_data): Likewise.
11202         * crypt/cert.c (good_bye): Convert to prototype-style function
11203         definition.
11204         (get8): Likewise.
11205         (put8): Likewise.
11206         * crypt/crypt-entry.c (crypt): Likewise.
11207         (__fcrypt): Likewise.
11208         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11209         (_ufc_set_bits): Likewise.
11210         (_ufc_clearmem): Likewise.
11211         (__init_des_r): Likewise.
11212         (shuffle_sb): Likewise.
11213         (shuffle_sb): Likewise.
11214         (_ufc_setup_salt_r): Likewise.
11215         (_ufc_mk_keytab_r): Likewise.
11216         (_ufc_dofinalperm_r): Likewise.
11217         (encrypt): Likewise.
11218         (__setkey_r): Likewise.
11219         (setkey): Likewise.
11220         * crypt/md5.c (md5_init_ctx): Likewise.
11221         (md5_read_ctx): Likewise.
11222         (md5_finish_ctx): Likewise.
11223         (md5_stream): Likewise.
11224         (md5_buffer): Likewise.
11225         (md5_process_bytes): Likewise.
11226         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11227         (__sha256_finish_ctx): Likewise.
11228         (__sha256_process_bytes): Likewise.
11229         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11230         (__sha512_finish_ctx): Likewise.
11231         (__sha512_process_bytes): Likewise.
11232         * ctype/isctype.c (__isctype): Likewise.
11233         * debug/backtrace.c (__backtrace): Likewise.
11234         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11235         * debug/fgets_chk.c (__fgets_chk): Likewise.
11236         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11237         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11238         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11239         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11240         * debug/memset_chk.c (__memset_chk): Likewise.
11241         * debug/strcat_chk.c (__strcat_chk): Likewise.
11242         * debug/strncat_chk.c (__strncat_chk): Likewise.
11243         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11244         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11245         * dirent/dirfd.c (dirfd): Likewise.
11246         * dirent/getdents.c (__getdirentries): Likewise.
11247         * dirent/getdents64.c (getdirentries64): Likewise.
11248         * dirent/rewinddir.c (__rewinddir): Likewise.
11249         * dirent/seekdir.c (seekdir): Likewise.
11250         * dirent/telldir.c (telldir): Likewise.
11251         * elf/sln.c (makesymlinks): Likewise.
11252         (makesymlink): Likewise.
11253         * gmon/gmon.c (__moncontrol): Likewise.
11254         (__monstartup): Likewise.
11255         (write_hist): Likewise.
11256         (write_call_graph): Likewise.
11257         (write_bb_counts): Likewise.
11258         * grp/setgroups.c (setgroups): Likewise.
11259         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11260         * inet/inet_net.c (inet_network): Likewise.
11261         * inet/inet_netof.c (inet_netof): Likewise.
11262         * inet/rcmd.c (rresvport_af): Likewise.
11263         (rresvport): Likewise.
11264         * io/access.c (__access): Likewise.
11265         * io/chdir.c (__chdir): Likewise.
11266         * io/chmod.c (__chmod): Likewise.
11267         * io/chown.c (__chown): Likewise.
11268         * io/close.c (__close): Likewise.
11269         * io/creat.c (creat): Likewise.
11270         * io/creat64.c (creat64): Likewise.
11271         * io/dup.c (__dup): Likewise.
11272         * io/dup2.c (__dup2): Likewise.
11273         * io/dup3.c (__dup3): Likewise.
11274         * io/euidaccess.c (__euidaccess): Likewise.
11275         * io/faccessat.c (faccessat): Likewise.
11276         * io/fchmod.c (__fchmod): Likewise.
11277         * io/fchmodat.c (fchmodat): Likewise.
11278         * io/fchown.c (__fchown): Likewise.
11279         * io/fchownat.c (fchownat): Likewise.
11280         * io/fcntl.c (__fcntl): Likewise.
11281         * io/flock.c (__flock): Likewise.
11282         * io/fts.c (fts_load): Likewise.
11283         (fts_close): Likewise.
11284         (fts_read): Likewise.
11285         (fts_set): Likewise.
11286         (fts_children): Likewise.
11287         (fts_build): Likewise.
11288         (fts_stat): Likewise.
11289         (fts_sort): Likewise.
11290         (fts_alloc): Likewise.
11291         (fts_lfree): Likewise.
11292         (fts_palloc): Likewise.
11293         (fts_padjust): Likewise.
11294         (fts_maxarglen): Likewise.
11295         (fts_safe_changedir): Likewise.
11296         * io/getwd.c (getwd): Likewise.
11297         * io/isatty.c (__isatty): Likewise.
11298         * io/lchown.c (__lchown): Likewise.
11299         * io/link.c (__link): Likewise.
11300         * io/linkat.c (linkat): Likewise.
11301         * io/lseek.c (__libc_lseek): Likewise.
11302         * io/mkdir.c (__mkdir): Likewise.
11303         * io/mkdirat.c (mkdirat): Likewise.
11304         * io/mkfifo.c (mkfifo): Likewise.
11305         * io/mkfifoat.c (mkfifoat): Likewise.
11306         * io/open.c (__libc_open): Likewise.
11307         * io/open64.c (__libc_open64): Likewise.
11308         * io/readlink.c (__readlink): Likewise.
11309         * io/readlinkat.c (readlinkat): Likewise.
11310         * io/rmdir.c (__rmdir): Likewise.
11311         * io/symlink.c (__symlink): Likewise.
11312         * io/symlinkat.c (symlinkat): Likewise.
11313         * io/ttyname.c (ttyname): Likewise.
11314         * io/ttyname_r.c (__ttyname_r): Likewise.
11315         * io/umask.c (__umask): Likewise.
11316         * io/unlink.c (__unlink): Likewise.
11317         * io/unlinkat.c (unlinkat): Likewise.
11318         * io/utime.c (utime): Likewise.
11319         * libio/clearerr.c (clearerr): Likewise.
11320         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11321         * libio/feof.c (_IO_feof): Likewise.
11322         * libio/feof_u.c (feof_unlocked): Likewise.
11323         * libio/ferror.c (_IO_ferror): Likewise.
11324         * libio/ferror_u.c (ferror_unlocked): Likewise.
11325         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11326         * libio/fileno.c (__fileno): Likewise.
11327         * libio/fputc.c (fputc): Likewise.
11328         * libio/fputc_u.c (fputc_unlocked): Likewise.
11329         * libio/fputwc.c (fputwc): Likewise.
11330         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11331         * libio/freopen.c (freopen): Likewise.
11332         * libio/freopen64.c (freopen64): Likewise.
11333         * libio/fseek.c (fseek): Likewise.
11334         * libio/fseeko.c (fseeko): Likewise.
11335         * libio/fseeko64.c (fseeko64): Likewise.
11336         * libio/ftello.c (__ftello): Likewise.
11337         * libio/ftello64.c (ftello64): Likewise.
11338         * libio/fwide.c (fwide): Likewise.
11339         * libio/genops.c (_IO_un_link): Likewise.
11340         (_IO_link_in): Likewise.
11341         (_IO_least_marker): Likewise.
11342         (_IO_switch_to_main_get_area): Likewise.
11343         (_IO_switch_to_backup_area): Likewise.
11344         (_IO_switch_to_get_mode): Likewise.
11345         (_IO_free_backup_area): Likewise.
11346         (_IO_switch_to_put_mode): Likewise.
11347         (__overflow): Likewise.
11348         (__underflow): Likewise.
11349         (__uflow): Likewise.
11350         (_IO_setb): Likewise.
11351         (_IO_doallocbuf): Likewise.
11352         (_IO_default_underflow): Likewise.
11353         (_IO_default_uflow): Likewise.
11354         (_IO_default_xsputn): Likewise.
11355         (_IO_sgetn): Likewise.
11356         (_IO_default_xsgetn): Likewise.
11357         (_IO_sync): Likewise.
11358         (_IO_default_setbuf): Likewise.
11359         (_IO_default_seekpos): Likewise.
11360         (_IO_default_doallocate): Likewise.
11361         (_IO_init): Likewise.
11362         (_IO_old_init): Likewise.
11363         (_IO_default_sync): Likewise.
11364         (_IO_default_finish): Likewise.
11365         (_IO_default_seekoff): Likewise.
11366         (_IO_sputbackc): Likewise.
11367         (_IO_sungetc): Likewise.
11368         (_IO_set_column): Likewise.
11369         (_IO_set_column): Likewise.
11370         (_IO_adjust_column): Likewise.
11371         (_IO_get_column): Likewise.
11372         (_IO_init_marker): Likewise.
11373         (_IO_remove_marker): Likewise.
11374         (_IO_marker_difference): Likewise.
11375         (_IO_marker_delta): Likewise.
11376         (_IO_seekmark): Likewise.
11377         (_IO_unsave_markers): Likewise.
11378         (_IO_nobackup_pbackfail): Likewise.
11379         (_IO_default_pbackfail): Likewise.
11380         (_IO_default_seek): Likewise.
11381         (_IO_default_stat): Likewise.
11382         (_IO_default_read): Likewise.
11383         (_IO_default_write): Likewise.
11384         (_IO_default_showmanyc): Likewise.
11385         (_IO_default_imbue): Likewise.
11386         (_IO_iter_next): Likewise.
11387         (_IO_iter_file): Likewise.
11388         * libio/getc.c (_IO_getc): Likewise.
11389         * libio/getwc.c (_IO_getwc): Likewise.
11390         * libio/iofclose.c (_IO_new_fclose): Likewise.
11391         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11392         * libio/iofflush.c (_IO_fflush): Likewise.
11393         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11394         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11395         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11396         * libio/iofgets.c (_IO_fgets): Likewise.
11397         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11398         * libio/iofgetws.c (fgetws): Likewise.
11399         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11400         * libio/iofopen64.c (_IO_fopen64): Likewise.
11401         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11402         (_IO_cookie_write): Likewise.
11403         (_IO_cookie_seek): Likewise.
11404         (_IO_cookie_close): Likewise.
11405         (_IO_cookie_seekoff): Likewise.
11406         (_IO_old_cookie_seek): Likewise.
11407         * libio/iofputs.c (_IO_fputs): Likewise.
11408         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11409         * libio/iofputws.c (fputws): Likewise.
11410         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11411         * libio/iofread.c (_IO_fread): Likewise.
11412         * libio/iofread_u.c (__fread_unlocked): Likewise.
11413         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11414         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11415         * libio/ioftell.c (_IO_ftell): Likewise.
11416         * libio/iofwrite.c (_IO_fwrite): Likewise.
11417         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11418         * libio/iogets.c (_IO_gets): Likewise.
11419         * libio/iopadn.c (_IO_padn): Likewise.
11420         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11421         (_IO_new_popen): Likewise.
11422         (_IO_new_proc_close): Likewise.
11423         * libio/ioputs.c (_IO_puts): Likewise.
11424         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11425         (_IO_seekoff): Likewise.
11426         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11427         (_IO_seekpos): Likewise.
11428         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11429         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11430         * libio/ioungetc.c (_IO_ungetc): Likewise.
11431         * libio/ioungetwc.c (ungetwc): Likewise.
11432         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11433         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11434         * libio/iowpadn.c (_IO_wpadn): Likewise.
11435         * libio/libc_fatal.c (__libc_fatal): Likewise.
11436         * libio/memstream.c (__open_memstream): Likewise.
11437         (_IO_mem_sync): Likewise.
11438         (_IO_mem_finish): Likewise.
11439         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11440         (_IO_old_file_close_it): Likewise.
11441         (_IO_old_file_finish): Likewise.
11442         (_IO_old_file_fopen): Likewise.
11443         (_IO_old_file_attach): Likewise.
11444         (_IO_old_file_setbuf): Likewise.
11445         (_IO_old_do_write): Likewise.
11446         (old_do_write): Likewise.
11447         (_IO_old_file_underflow): Likewise.
11448         (_IO_old_file_overflow): Likewise.
11449         (_IO_old_file_sync): Likewise.
11450         (_IO_old_file_seekoff): Likewise.
11451         (_IO_old_file_write): Likewise.
11452         (_IO_old_file_xsputn): Likewise.
11453         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11454         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11455         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11456         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11457         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11458         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11459         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11460         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11461         (_IO_old_popen): Likewise.
11462         (_IO_old_proc_close): Likewise.
11463         * libio/oldpclose.c (__old_pclose): Likewise.
11464         * libio/pclose.c (__new_pclose): Likewise.
11465         * libio/peekc.c (_IO_peekc_locked): Likewise.
11466         * libio/putc.c (_IO_putc): Likewise.
11467         * libio/putc_u.c (putc_unlocked): Likewise.
11468         * libio/putchar.c (putchar): Likewise.
11469         * libio/putchar_u.c (putchar_unlocked): Likewise.
11470         * libio/putwc.c (putwc): Likewise.
11471         * libio/putwc_u.c (putwc_unlocked): Likewise.
11472         * libio/putwchar.c (putwchar): Likewise.
11473         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11474         * libio/rewind.c (rewind): Likewise.
11475         * libio/setbuf.c (setbuf): Likewise.
11476         * libio/setlinebuf.c (setlinebuf): Likewise.
11477         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11478         * libio/vscanf.c (_IO_vscanf): Likewise.
11479         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11480         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11481         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11482         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11483         (_IO_switch_to_main_wget_area): Likewise.
11484         (_IO_switch_to_wbackup_area): Likewise.
11485         (_IO_wsetb): Likewise.
11486         (_IO_wdefault_pbackfail): Likewise.
11487         (_IO_wdefault_finish): Likewise.
11488         (_IO_wdefault_uflow): Likewise.
11489         (__woverflow): Likewise.
11490         (__wuflow): Likewise.
11491         (__wunderflow): Likewise.
11492         (_IO_wdefault_xsputn): Likewise.
11493         (_IO_wdefault_xsgetn): Likewise.
11494         (_IO_wdoallocbuf): Likewise.
11495         (_IO_wdefault_doallocate): Likewise.
11496         (_IO_switch_to_wget_mode): Likewise.
11497         (_IO_free_wbackup_area): Likewise.
11498         (_IO_switch_to_wput_mode): Likewise.
11499         (_IO_sputbackwc): Likewise.
11500         (_IO_sungetwc): Likewise.
11501         (_IO_adjust_wcolumn): Likewise.
11502         (_IO_init_wmarker): Likewise.
11503         (_IO_wmarker_delta): Likewise.
11504         (_IO_seekwmark): Likewise.
11505         (_IO_unsave_wmarkers): Likewise.
11506         * libio/wmemstream.c (open_wmemstream): Likewise.
11507         (_IO_wmem_sync): Likewise.
11508         (_IO_wmem_finish): Likewise.
11509         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11510         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11511         * locale/programs/simple-hash.c (init_hash): Likewise.
11512         (delete_hash): Likewise.
11513         (insert_entry): Likewise.
11514         (set_entry): Likewise.
11515         (next_prime): Likewise.
11516         (is_prime): Likewise.
11517         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11518         (xmalloc): Likewise.
11519         (xrealloc): Likewise.
11520         * locale/programs/xstrdup.c (xstrdup): Likewise.
11521         * localedata/collate-test.c (xstrcoll): Likewise.
11522         * localedata/xfrm-test.c (xstrcmp): Likewise.
11523         * login/getlogin_r.c (__getlogin_r): Likewise.
11524         * login/getpt.c (__posix_openpt): Likewise.
11525         * login/login_tty.c (login_tty): Likewise.
11526         * login/setlogin.c (setlogin): Likewise.
11527         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11528         (mach_msg_destroy_port): Likewise.
11529         (mach_msg_destroy_memory): Likewise.
11530         * malloc/mcheck.c (flood): Likewise.
11531         * misc/acct.c (acct): Likewise.
11532         * misc/brk.c (__brk): Likewise.
11533         * misc/chflags.c (chflags): Likewise.
11534         * misc/chroot.c (chroot): Likewise.
11535         * misc/fchflags.c (fchflags): Likewise.
11536         * misc/fstab.c (getfsspec): Likewise.
11537         (getfsfile): Likewise.
11538         * misc/fsync.c (fsync): Likewise.
11539         * misc/ftruncate.c (__ftruncate): Likewise.
11540         * misc/ftruncate64.c (__ftruncate64): Likewise.
11541         * misc/getdomain.c (getdomainname): Likewise.
11542         (getdomainname): Likewise.
11543         * misc/gethostname.c (__gethostname): Likewise.
11544         * misc/getpass.c (getpass): Likewise.
11545         * misc/getttyent.c (skip): Likewise.
11546         (value): Likewise.
11547         * misc/gtty.c (gtty): Likewise.
11548         * misc/hsearch.c (hsearch): Likewise.
11549         (hcreate): Likewise.
11550         * misc/hsearch_r.c (__hcreate_r): Likewise.
11551         (__hdestroy_r): Likewise.
11552         * misc/ioctl.c (__ioctl): Likewise.
11553         * misc/mkdtemp.c (mkdtemp): Likewise.
11554         * misc/mkostemp.c (mkostemp): Likewise.
11555         * misc/mkostemp64.c (mkostemp64): Likewise.
11556         * misc/mkostemps.c (mkostemps): Likewise.
11557         * misc/mkostemps64.c (mkostemps64): Likewise.
11558         * misc/mkstemp.c (mkstemp): Likewise.
11559         * misc/mkstemp64.c (mkstemp64): Likewise.
11560         * misc/mkstemps.c (mkstemps): Likewise.
11561         * misc/mkstemps64.c (mkstemps64): Likewise.
11562         * misc/mktemp.c (__mktemp): Likewise.
11563         * misc/preadv.c (preadv): Likewise.
11564         * misc/preadv64.c (preadv64): Likewise.
11565         * misc/pwritev.c (pwritev): Likewise.
11566         * misc/pwritev64.c (pwritev64): Likewise.
11567         * misc/readv.c (__readv): Likewise.
11568         * misc/revoke.c (revoke): Likewise.
11569         * misc/setdomain.c (setdomainname): Likewise.
11570         * misc/setegid.c (setegid): Likewise.
11571         * misc/seteuid.c (seteuid): Likewise.
11572         * misc/sethostid.c (sethostid): Likewise.
11573         * misc/sethostname.c (sethostname): Likewise.
11574         * misc/setregid.c (__setregid): Likewise.
11575         * misc/setreuid.c (__setreuid): Likewise.
11576         * misc/sstk.c (sstk): Likewise.
11577         * misc/stty.c (stty): Likewise.
11578         * misc/syscall.c (syscall): Likewise.
11579         * misc/syslog.c (setlogmask): Likewise.
11580         * misc/truncate.c (__truncate): Likewise.
11581         * misc/truncate64.c (truncate64): Likewise.
11582         * misc/ualarm.c (ualarm): Likewise.
11583         * misc/usleep.c (usleep): Likewise.
11584         * misc/ustat.c (ustat): Likewise.
11585         * misc/writev.c (__writev): Likewise.
11586         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11587         * nptl/old_pthread_cond_broadcast.c
11588         (__pthread_cond_broadcast_2_0): Likewise.
11589         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11590         Likewise.
11591         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11592         Likewise.
11593         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11594         Likewise.
11595         * nptl/pt-raise.c (raise): Likewise.
11596         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11597         Likewise.
11598         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11599         * nptl/pthread_barrierattr_destroy.c
11600         (pthread_barrierattr_destroy): Likewise.
11601         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11602         Likewise.
11603         * nptl/pthread_barrierattr_setpshared.c
11604         (pthread_barrierattr_setpshared): Likewise.
11605         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11606         Likewise.
11607         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11608         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11609         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11610         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11611         Likewise.
11612         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11613         Likewise.
11614         * nptl/pthread_condattr_getpshared.c
11615         (pthread_condattr_getpshared): Likewise.
11616         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11617         Likewise.
11618         * nptl/pthread_condattr_setpshared.c
11619         (pthread_condattr_setpshared): Likewise.
11620         * nptl/pthread_detach.c (pthread_detach): Likewise.
11621         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11622         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11623         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11624         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11625         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11626         Likewise.
11627         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11628         Likewise.
11629         * nptl/pthread_mutex_getprioceiling.c
11630         (pthread_mutex_getprioceiling): Likewise.
11631         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11632         Likewise.
11633         * nptl/pthread_mutexattr_getprotocol.c
11634         (pthread_mutexattr_getprotocol): Likewise.
11635         * nptl/pthread_mutexattr_getpshared.c
11636         (pthread_mutexattr_getpshared): Likewise.
11637         * nptl/pthread_mutexattr_getrobust.c
11638         (pthread_mutexattr_getrobust): Likewise.
11639         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11640         Likewise.
11641         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11642         Likewise.
11643         * nptl/pthread_mutexattr_setprioceiling.c
11644         (pthread_mutexattr_setprioceiling): Likewise.
11645         * nptl/pthread_mutexattr_setprotocol.c
11646         (pthread_mutexattr_setprotocol): Likewise.
11647         * nptl/pthread_mutexattr_setpshared.c
11648         (pthread_mutexattr_setpshared): Likewise.
11649         * nptl/pthread_mutexattr_setrobust.c
11650         (pthread_mutexattr_setrobust): Likewise.
11651         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11652         Likewise.
11653         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11654         Likewise.
11655         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11656         Likewise.
11657         * nptl/pthread_rwlockattr_getkind_np.c
11658         (pthread_rwlockattr_getkind_np): Likewise.
11659         * nptl/pthread_rwlockattr_getpshared.c
11660         (pthread_rwlockattr_getpshared): Likewise.
11661         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11662         Likewise.
11663         * nptl/pthread_rwlockattr_setkind_np.c
11664         (pthread_rwlockattr_setkind_np): Likewise.
11665         * nptl/pthread_rwlockattr_setpshared.c
11666         (pthread_rwlockattr_setpshared): Likewise.
11667         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11668         Likewise.
11669         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11670         Likewise.
11671         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11672         Likewise.
11673         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11674         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11675         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11676         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11677         * nptl/sem_close.c (sem_close): Likewise.
11678         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11679         * nptl/sem_init.c (__old_sem_init): Likewise.
11680         * nptl/sigaction.c (__sigaction): Likewise.
11681         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11682         * posix/_exit.c (_exit): Likewise.
11683         * posix/alarm.c (alarm): Likewise.
11684         * posix/confstr.c (confstr): Likewise.
11685         * posix/fpathconf.c (__fpathconf): Likewise.
11686         * posix/getgroups.c (__getgroups): Likewise.
11687         * posix/getpgid.c (__getpgid): Likewise.
11688         * posix/group_member.c (__group_member): Likewise.
11689         * posix/pathconf.c (__pathconf): Likewise.
11690         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11691         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11692         * posix/setgid.c (__setgid): Likewise.
11693         * posix/setpgid.c (__setpgid): Likewise.
11694         * posix/setuid.c (__setuid): Likewise.
11695         * posix/sleep.c (__sleep): Likewise.
11696         * posix/sysconf.c (__sysconf): Likewise.
11697         * posix/times.c (__times): Likewise.
11698         * posix/uname.c (__uname): Likewise.
11699         * posix/waitid.c (__waitid): Likewise.
11700         * pwd/getpw.c (__getpw): Likewise.
11701         * resolv/base64.c (b64_pton): Likewise.
11702         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11703         * resolv/gethnamaddr.c (Dprintf): Likewise.
11704         (gethostbyname): Likewise.
11705         (gethostbyname2): Likewise.
11706         (gethostbyaddr): Likewise.
11707         (_sethtent): Likewise.
11708         (_gethtbyname): Likewise.
11709         (_gethtbyname2): Likewise.
11710         (_gethtbyaddr): Likewise.
11711         (map_v4v6_address): Likewise.
11712         (map_v4v6_hostent): Likewise.
11713         (addrsort): Likewise.
11714         (ht_sethostent): Likewise.
11715         (ht_gethostbyname): Likewise.
11716         (ht_gethostbyaddr): Likewise.
11717         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11718         (inet_net_ntop_ipv4): Likewise.
11719         * resolv/inet_neta.c (inet_neta): Likewise.
11720         * resolv/inet_ntop.c (inet_ntop): Likewise.
11721         (inet_ntop4): Likewise.
11722         (inet_ntop6): Likewise.
11723         * resolv/inet_pton.c (__inet_pton): Likewise.
11724         (inet_pton4): Likewise.
11725         (inet_pton6): Likewise.
11726         * resolv/res_debug.c (loc_aton): Likewise.
11727         (loc_ntoa): Likewise.
11728         * resource/getpriority.c (__getpriority): Likewise.
11729         * resource/getrusage.c (__getrusage): Likewise.
11730         * resource/nice.c (nice): Likewise.
11731         * resource/setpriority.c (__setpriority): Likewise.
11732         * resource/setrlimit64.c (setrlimit64): Likewise.
11733         * resource/vlimit.c (vlimit): Likewise.
11734         * resource/vtimes.c (vtimes): Likewise.
11735         * rt/aio_error.c (aio_error): Likewise.
11736         * rt/aio_return.c (aio_return): Likewise.
11737         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11738         * signal/kill.c (__kill): Likewise.
11739         * signal/killpg.c (killpg): Likewise.
11740         * signal/raise.c (raise): Likewise.
11741         * signal/sigaction.c (__sigaction): Likewise.
11742         * signal/sigaddset.c (sigaddset): Likewise.
11743         * signal/sigaltstack.c (sigaltstack): Likewise.
11744         * signal/sigandset.c (sigandset): Likewise.
11745         * signal/sigblock.c (__sigblock): Likewise.
11746         * signal/sigdelset.c (sigdelset): Likewise.
11747         * signal/sigempty.c (sigemptyset): Likewise.
11748         * signal/sigfillset.c (sigfillset): Likewise.
11749         * signal/sighold.c (sighold): Likewise.
11750         * signal/sigignore.c (sigignore): Likewise.
11751         * signal/sigintr.c (siginterrupt): Likewise.
11752         * signal/sigisempty.c (sigisemptyset): Likewise.
11753         * signal/sigismem.c (sigismember): Likewise.
11754         * signal/signal.c (signal): Likewise.
11755         * signal/sigorset.c (sigorset): Likewise.
11756         * signal/sigpause.c (__sigpause): Likewise.
11757         * signal/sigpending.c (sigpending): Likewise.
11758         * signal/sigprocmask.c (__sigprocmask): Likewise.
11759         * signal/sigrelse.c (sigrelse): Likewise.
11760         * signal/sigreturn.c (__sigreturn): Likewise.
11761         * signal/sigset.c (sigset): Likewise.
11762         * signal/sigsetmask.c (__sigsetmask): Likewise.
11763         * signal/sigstack.c (sigstack): Likewise.
11764         * signal/sigsuspend.c (__sigsuspend): Likewise.
11765         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11766         * signal/sysv_signal.c (__sysv_signal): Likewise.
11767         * socket/accept.c (accept): Likewise.
11768         * socket/accept4.c (__libc_accept4): Likewise.
11769         * socket/bind.c (__bind): Likewise.
11770         * socket/connect.c (__connect): Likewise.
11771         * socket/getpeername.c (getpeername): Likewise.
11772         * socket/getsockname.c (__getsockname): Likewise.
11773         * socket/getsockopt.c (getsockopt): Likewise.
11774         * socket/listen.c (__listen): Likewise.
11775         * socket/recv.c (__recv): Likewise.
11776         * socket/recvmsg.c (__recvmsg): Likewise.
11777         * socket/send.c (__send): Likewise.
11778         * socket/sendmsg.c (__sendmsg): Likewise.
11779         * socket/shutdown.c (shutdown): Likewise.
11780         * socket/sockatmark.c (sockatmark): Likewise.
11781         * socket/socket.c (__socket): Likewise.
11782         * stdio-common/ctermid.c (ctermid): Likewise.
11783         * stdio-common/cuserid.c (cuserid): Likewise.
11784         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11785         * stdio-common/remove.c (remove): Likewise.
11786         * stdio-common/rename.c (rename): Likewise.
11787         * stdio-common/renameat.c (renameat): Likewise.
11788         * stdio-common/tempname.c (__gen_tempname): Likewise.
11789         * stdio-common/xbug.c (InitBuffer): Likewise.
11790         (AppendToBuffer): Likewise.
11791         (ReadFile): Likewise.
11792         * stdlib/a64l.c (a64l): Likewise.
11793         * stdlib/drand48_r.c (drand48_r): Likewise.
11794         * stdlib/getcontext.c (getcontext): Likewise.
11795         * stdlib/getenv.c (getenv): Likewise.
11796         * stdlib/l64a.c (l64a): Likewise.
11797         * stdlib/llabs.c (llabs): Likewise.
11798         * stdlib/lldiv.c (lldiv): Likewise.
11799         * stdlib/lrand48_r.c (lrand48_r): Likewise.
11800         * stdlib/mrand48_r.c (mrand48_r): Likewise.
11801         * stdlib/putenv.c (putenv): Likewise.
11802         * stdlib/random.c (__srandom): Likewise.
11803         (__initstate): Likewise.
11804         (__setstate): Likewise.
11805         * stdlib/random_r.c (__srandom_r): Likewise.
11806         (__setstate_r): Likewise.
11807         (__random_r): Likewise.
11808         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11809         * stdlib/setcontext.c (setcontext): Likewise.
11810         * stdlib/setenv.c (setenv): Likewise.
11811         (unsetenv): Likewise.
11812         * stdlib/srand48.c (srand48): Likewise.
11813         * stdlib/srand48_r.c (__srand48_r): Likewise.
11814         * stdlib/swapcontext.c (swapcontext): Likewise.
11815         * stdlib/system.c (__libc_system): Likewise.
11816         * stdlib/tst-strtod.c (expand): Likewise.
11817         * stdlib/tst-strtol.c (expand): Likewise.
11818         * stdlib/tst-strtoll.c (expand): Likewise.
11819         * streams/fattach.c (fattach): Likewise.
11820         * streams/fdetach.c (fdetach): Likewise.
11821         * streams/getmsg.c (getmsg): Likewise.
11822         * streams/isastream.c (isastream): Likewise.
11823         * string/ffs.c (__ffs): Likewise.
11824         * string/ffsll.c (ffsll): Likewise.
11825         * string/memcmp.c (memcmp_common_alignment): Likewise.
11826         (memcmp_not_common_alignment): Likewise.
11827         (MEMCMP): Likewise.
11828         * string/memcpy.c (memcpy): Likewise.
11829         * string/memmove.c (MEMMOVE): Likewise.
11830         * string/memset.c (memset): Likewise.
11831         * string/rawmemchr.c (RAWMEMCHR): Likewise.
11832         * string/strchrnul.c (STRCHRNUL): Likewise.
11833         * string/strerror.c (strerror): Likewise.
11834         * string/strndup.c (__strndup): Likewise.
11835         * string/strverscmp.c (__strverscmp): Likewise.
11836         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11837         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11838         (clnttcp_freeres): Likewise.
11839         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11840         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11841         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11842         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11843         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11844         (xdr_callhdr): Likewise.
11845         * sunrpc/rpcinfo.c (udpping): Likewise.
11846         (tcpping): Likewise.
11847         (pstatus): Likewise.
11848         (pmapdump): Likewise.
11849         (brdcst): Likewise.
11850         (deletereg): Likewise.
11851         (getprognum): Likewise.
11852         (getvers): Likewise.
11853         (get_inet_address): Likewise.
11854         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11855         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11856         (svcudp_stat): Likewise.
11857         (svcudp_recv): Likewise.
11858         (svcudp_reply): Likewise.
11859         (svcudp_getargs): Likewise.
11860         (svcudp_freeargs): Likewise.
11861         (svcudp_destroy): Likewise.
11862         * sunrpc/xdr.c (xdr_bytes): Likewise.
11863         (xdr_netobj): Likewise.
11864         (xdr_string): Likewise.
11865         (xdr_wrapstring): Likewise.
11866         * sunrpc/xdr_float.c (xdr_float): Likewise.
11867         (xdr_double): Likewise.
11868         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11869         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11870         * sysvipc/ftok.c (ftok): Likewise.
11871         * sysvipc/msgctl.c (msgctl): Likewise.
11872         * sysvipc/msgget.c (msgget): Likewise.
11873         * sysvipc/msgrcv.c (msgrcv): Likewise.
11874         * sysvipc/msgsnd.c (msgsnd): Likewise.
11875         * sysvipc/semget.c (semget): Likewise.
11876         * sysvipc/semop.c (semop): Likewise.
11877         * sysvipc/shmat.c (shmat): Likewise.
11878         * sysvipc/shmctl.c (shmctl): Likewise.
11879         * sysvipc/shmdt.c (shmdt): Likewise.
11880         * sysvipc/shmget.c (shmget): Likewise.
11881         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11882         * termios/speed.c (cfgetospeed): Likewise.
11883         (cfgetispeed): Likewise.
11884         (cfsetospeed): Likewise.
11885         (cfsetispeed): Likewise.
11886         * termios/tcflow.c (tcflow): Likewise.
11887         * termios/tcflush.c (tcflush): Likewise.
11888         * termios/tcgetattr.c (__tcgetattr): Likewise.
11889         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11890         * termios/tcgetsid.c (tcgetsid): Likewise.
11891         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11892         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11893         * time/adjtime.c (__adjtime): Likewise.
11894         * time/dysize.c (dysize): Likewise.
11895         * time/ftime.c (ftime): Likewise.
11896         * time/getitimer.c (__getitimer): Likewise.
11897         * time/gettimeofday.c (__gettimeofday): Likewise.
11898         * time/gmtime.c (__gmtime_r): Likewise.
11899         (gmtime): Likewise.
11900         * time/localtime.c (__localtime_r): Likewise.
11901         (localtime): Likewise.
11902         * time/offtime.c (__offtime): Likewise.
11903         * time/settimeofday.c (__settimeofday): Likewise.
11904         * time/stime.c (stime): Likewise.
11905         * time/strftime_l.c (tm_diff): Likewise.
11906         (iso_week_days): Likewise.
11907         * time/strptime.c (strptime): Likewise.
11908         * time/time.c (time): Likewise.
11909         * time/timespec_get.c (timespec_get): Likewise.
11910         * time/tzset.c (tzset_internal): Likewise.
11911         (compute_change): Likewise.
11912         (__tz_compute): Likewise.
11913         * wcsmbs/btowc.c (__btowc): Likewise.
11914         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11915         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11916         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11917         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11918         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11919         * wcsmbs/wcscat.c (__wcscat): Likewise.
11920         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11921         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11922         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11923         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11924         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11925         * wcsmbs/wcslen.c (__wcslen): Likewise.
11926         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11927         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11928         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11929         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11930         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11931         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11932         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11933         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11934         * wcsmbs/wcstok.c (wcstok): Likewise.
11935         * wcsmbs/wctob.c (wctob): Likewise.
11936         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11937         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11938         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11939         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11940         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11941         * wcsmbs/wmemset.c (__wmemset): Likewise.
11942         * wctype/wcfuncs.c (__towlower): Likewise.
11943         (__towupper): Likewise.
11945         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11946         (lll_unlock_elision): Add adapt_count parameter.
11948 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11950         * sysdeps/nptl/configure.ac: Do not give errors based on the
11951         results of top-level configure tests.
11952         * sysdeps/nptl/configure: Regenerated.
11954         * configure.ac (libc_cv_Bgroup): Remove configure test.
11955         * configure: Regenerated.
11956         * config.make.in (have-Bgroup): Remove variable.
11958         * configure.ac (sizeof_long_double): Remove configure test.
11959         * configure: Regenerated.
11960         * config.make.in (sizeof-long-double): Remove variable.
11962         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11963         * configure: Regenerated.
11964         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11965         variable.
11966         (exceptions): Likewise.
11967         * sysdeps/arm/configure: Regenerated.
11968         * config.make.in (exceptions): Remove variable.
11969         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11970         $(exceptions).
11971         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11972         (CFLAGS-vdprintf_chk.c): Likewise.
11973         (CFLAGS-printf_chk.c): Likewise.
11974         (CFLAGS-fprintf_chk.c): Likewise.
11975         (CFLAGS-vprintf_chk.c): Likewise.
11976         (CFLAGS-vfprintf_chk.c): Likewise.
11977         (CFLAGS-gets_chk.c): Likewise.
11978         (CFLAGS-fgets_chk.c): Likewise.
11979         (CFLAGS-fgets_u_chk.c): Likewise.
11980         (CFLAGS-fread_chk.c): Likewise.
11981         (CFLAGS-fread_u_chk.c): Likewise.
11982         (CFLAGS-wprintf_chk.c): Likewise.
11983         (CFLAGS-fwprintf_chk.c): Likewise.
11984         (CFLAGS-vwprintf_chk.c): Likewise.
11985         (CFLAGS-vfwprintf_chk.c): Likewise.
11986         (CFLAGS-fgetws_chk.c): Likewise.
11987         (CFLAGS-fgetws_u_chk.c): Likewise.
11988         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11989         (CFLAGS-fputc.c): Likewise.
11990         (CFLAGS-fputwc.c): Likewise.
11991         (CFLAGS-freopen64.c): Likewise.
11992         (CFLAGS-freopen.c): Likewise.
11993         (CFLAGS-fseek.c): Likewise.
11994         (CFLAGS-fseeko64.c): Likewise.
11995         (CFLAGS-fseeko.c): Likewise.
11996         (CFLAGS-ftello64.c): Likewise.
11997         (CFLAGS-ftello.c): Likewise.
11998         (CFLAGS-fwide.c): Likewise.
11999         (CFLAGS-genops.c): Likewise.
12000         (CFLAGS-getc.c): Likewise.
12001         (CFLAGS-getchar.c): Likewise.
12002         (CFLAGS-getwc.c): Likewise.
12003         (CFLAGS-getwchar.c): Likewise.
12004         (CFLAGS-iofclose.c): Likewise.
12005         (CFLAGS-iofflush.c): Likewise.
12006         (CFLAGS-iofgetpos64.c): Likewise.
12007         (CFLAGS-iofgetpos.c): Likewise.
12008         (CFLAGS-iofgets.c): Likewise.
12009         (CFLAGS-iofgetws.c): Likewise.
12010         (CFLAGS-iofputs.c): Likewise.
12011         (CFLAGS-iofputws.c): Likewise.
12012         (CFLAGS-iofread.c): Likewise.
12013         (CFLAGS-iofsetpos64.c): Likewise.
12014         (CFLAGS-iofsetpos.c): Likewise.
12015         (CFLAGS-ioftell.c): Likewise.
12016         (CFLAGS-iofwrite.c): Likewise.
12017         (CFLAGS-iogetdelim.c): Likewise.
12018         (CFLAGS-iogetline.c): Likewise.
12019         (CFLAGS-iogets.c): Likewise.
12020         (CFLAGS-iogetwline.c): Likewise.
12021         (CFLAGS-ioputs.c): Likewise.
12022         (CFLAGS-ioseekoff.c): Likewise.
12023         (CFLAGS-ioseekpos.c): Likewise.
12024         (CFLAGS-iosetbuffer.c): Likewise.
12025         (CFLAGS-iosetvbuf.c): Likewise.
12026         (CFLAGS-ioungetc.c): Likewise.
12027         (CFLAGS-ioungetwc.c): Likewise.
12028         (CFLAGS-oldfileops.c): Likewise.
12029         (CFLAGS-oldiofclose.c): Likewise.
12030         (CFLAGS-oldiofgetpos64.c): Likewise.
12031         (CFLAGS-oldiofgetpos.c): Likewise.
12032         (CFLAGS-oldiofsetpos64.c): Likewise.
12033         (CFLAGS-oldiofsetpos.c): Likewise.
12034         (CFLAGS-peekc.c): Likewise.
12035         (CFLAGS-putc.c): Likewise.
12036         (CFLAGS-putchar.c): Likewise.
12037         (CFLAGS-putwc.c): Likewise.
12038         (CFLAGS-putwchar.c): Likewise.
12039         (CFLAGS-rewind.c): Likewise.
12040         (CFLAGS-wfileops.c): Likewise.
12041         (CFLAGS-wgenops.c): Likewise.
12042         (CFLAGS-oldiofopen.c): Likewise.
12043         (CFLAGS-iofopen.c): Likewise.
12044         (CFLAGS-iofopen64.c): Likewise.
12045         (CFLAGS-oldtmpfile.c): Likewise.
12046         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12047         (CFLAGS-fprintf.c): Likewise.
12048         (CFLAGS-printf.c): Likewise.
12049         (CFLAGS-vfwprintf.c): Likewise.
12050         (CFLAGS-vfscanf.c): Likewise.
12051         (CFLAGS-vfwscanf.c): Likewise.
12052         (CFLAGS-fscanf.c): Likewise.
12053         (CFLAGS-scanf.c): Likewise.
12054         (CFLAGS-isoc99_vfscanf.c): Likewise.
12055         (CFLAGS-isoc99_vscanf.c): Likewise.
12056         (CFLAGS-isoc99_fscanf.c): Likewise.
12057         (CFLAGS-isoc99_scanf.c): Likewise.
12058         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12059         (CFLAGS-isoc99_fwscanf.c): Likewise.
12060         (CFLAGS-isoc99_vwscanf.c): Likewise.
12061         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12063         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12064         after mkstemp64.
12065         * login/tst-utmp.c (do_prepare): Likewise.
12066         * rt/tst-aio.c (do_prepare): Likewise.
12067         * rt/tst-aio64.c (do_prepare): Likewise.
12069 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12071         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12072         (__lll_lock_elision): Remove adapt_count decrement...
12073         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12074         (__lll_trylock_elision): Likewise.
12075         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12076         (__lll_unlock_elision): ... to here. And utilize
12077         new adapt_count parameter.
12078         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12079         (__lll_unlock_elision): Update to include adapt_count
12080         parameter.
12081         (lll_unlock_elision): Pass pointer to adapt_count
12082         variable.
12084 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12086         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12087         Add elision adapt_count parameter to list of arguments.
12088         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12089         (lll_unlock_elision): Update with new parameter list
12090         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12091         (lll_unlock_elision): Likewise.
12092         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12093         (lll_unlock_elision): Likewise.
12095 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12097         [BZ #19122]
12098         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12099         attribute_hidden.
12101         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12102         attribute_hidden.
12103         [IS_IN (rtld)] (__strdup): Likewise.
12104         [IS_IN (rtld)] (__strerror_r): Likewise.
12105         [IS_IN (rtld)] (__strsep_g): Likewise.
12106         [IS_IN (rtld)] (memchr): Likewise.
12107         [IS_IN (rtld)] (memcmp): Likewise.
12108         [IS_IN (rtld)] (memcpy): Likewise.
12109         [IS_IN (rtld)] (memmove): Likewise.
12110         [IS_IN (rtld)] (memset): Likewise.
12111         [IS_IN (rtld)] (rawmemchr): Likewise.
12112         [IS_IN (rtld)] (stpcpy): Likewise.
12113         [IS_IN (rtld)] (strchr): Likewise.
12114         [IS_IN (rtld)] (strcmp): Likewise.
12115         [IS_IN (rtld)] (strlen): Likewise.
12116         [IS_IN (rtld)] (strnlen): Likewise.
12117         [IS_IN (rtld)] (strsep): Likewise.
12119         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12120         attribute_hidden.
12121         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12123         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12124         attribute_hidden.
12125         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12127         * include/setjmp.h (__longjmp): Add attribute_hidden.
12128         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12130         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12131         Add attribute_hidden.
12133         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12134         [IS_IN (rtld)] (__open): Likewise.
12135         [IS_IN (rtld)] (__fcntl): Likewise.
12137         * include/dirent.h (__opendirat): Add attribute_hidden.
12138         (__getdents): Likewise.
12139         (__getdents64): Likewise.
12140         (__alloc_dir): Likewise.
12141         [IS_IN (rtld)] (__closedir): Likewise.
12142         [IS_IN (rtld)] (__fdopendir): Likewise.
12143         [IS_IN (rtld)] (__readdir): Likewise.
12144         [IS_IN (rtld)] (__readdir64): Likewise.
12145         [IS_IN (rtld)] (__rewinddir): Likewise.
12147         * include/dlfcn.h (_dl_catch_error): Moved to ...
12148         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12149         attribute_hidden.
12151         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12152         (_itoa_word): Likewise.
12154         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12155         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12156         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12157         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12158         (_dl_higher_prime_number): Likewise.
12159         (_dl_debug_printf_c): Likewise.
12160         (_dl_signal_cerror): Likewise.
12161         (_dl_receive_error): Likewise.
12162         (_dl_reloc_bad_type): Likewise.
12163         (_dl_resolve_conflicts): Likewise.
12164         (_dl_check_all_versions): Likewise.
12165         (_dl_check_map_versions): Likewise.
12166         (_dl_sort_fini): Likewise.
12167         (_dl_debug_initialize): Likewise.
12168         (_dl_init_paths): Likewise.
12169         (_dl_show_auxv): Likewise.
12170         (_dl_next_ld_env_entry): Likewise.
12171         (_dl_important_hwcaps): Likewise.
12172         (_dl_load_cache_lookup): Likewise.
12173         (_dl_update_slotinfo): Likewise.
12174         (_dl_show_scope): Likewise.
12176         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12177         attribute_hidden.
12178         (_wordcopy_fwd_dest_aligned): Likewise.
12179         (_wordcopy_bwd_aligned): Likewise.
12180         (_wordcopy_bwd_dest_aligned): Likewise.
12182         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12183         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12184         Likewise.
12185         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12186         Likewise.
12187         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12189 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12191         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12192         GCC 5 requirement.
12194 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12196         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12197         test.
12198         * sysdeps/i386/configure: Regenerated.
12199         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12200         code unconditional.
12202         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12203         test.
12204         (libc_cv_asm_popsection_directive): Likewise.
12205         * configure: Regenerated.
12206         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12207         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12208         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12209         (__make_section_unallocated): Make definition unconditional.
12210         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12211         Remove conditional definition.
12212         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12213         (__make_section_unallocated): Likewise.
12215         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12216         * configure: Regenerated.
12217         * config.make.in (static-libgcc): Remove variable.
12218         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12219         $(static-libgcc).
12220         (build-module-helper): Likewise.
12222         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12223         * configure: Regenerated.
12225 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12227         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12228         (struct char_buffer): New type.
12229         (char_buffer_start, char_buffer_size, char_buffer_error)
12230         (char_buffer_rewind, char_buffer_add): New functions.
12231         (ADDW): Remove macro, replaced by the char_buffer_add function.
12232         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12233         of extend_alloca.  Make control flow more explicit.
12235 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12237         [BZ #19137]
12238         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12239         Add -fomit-frame-pointer.
12240         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12242 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12244         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12245         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12246         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12247         only if !__GNUC_PREREQ (5,0).
12248         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12249         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12250         (INTERNAL_SYSCALL_NCS): Likewise.
12251         (LOADREGS_0): New macro for GCC 5.
12252         (ASMARGS_0): Likewise.
12253         (LOADREGS_1): Likewise.
12254         (ASMARGS_1): Likewise.
12255         (LOADREGS_2): Likewise.
12256         (ASMARGS_2): Likewise.
12257         (LOADREGS_3): Likewise.
12258         (ASMARGS_3): Likewise.
12259         (LOADREGS_4): Likewise.
12260         (ASMARGS_4): Likewise.
12261         (LOADREGS_5): Likewise.
12262         (ASMARGS_5): Likewise.
12263         (LOADREGS_6): Likewise.
12264         (ASMARGS_6): Likewise.
12266 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12268         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12269         -fomit-frame-pointer.
12270         (CFLAGS-mmap64.c): Likewise.
12271         (CFLAGS-semtimedop.c): Likewise.
12272         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12273         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12274         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12275         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12277 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12279         [BZ #18928]
12280         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12281         _dl_pointer_guard member.
12282         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12283         initializer.
12284         (security_init): Always set up pointer guard.
12285         (process_envvars): Do not process LD_POINTER_GUARD.
12287 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12289         [BZ #19134]
12290         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12291         (.LC2): Likewise.
12292         (.LC3): Likewise.
12293         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12295 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12297         [BZ #19129]
12298         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12299         r0 and r1.
12301 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12303         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12305 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12307         * include/stap-probe.h: Fix macro definition formatting.
12309 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12311         [BZ #19074]
12312         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12313         load and store num_ifs.
12315 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12317         [BZ #18822]
12318         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12319         (__sched_getaffinity_new): Add libc_hidden_proto and
12320         libc_hidden_def.
12322 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12324         [BZ #19007]
12325         * scripts/localplt.awk: Also allow GOT references.
12326         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12327         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12328         with "+ REL R_386_GLOB_DAT".
12329         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12330         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12332 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12334         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12335         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12336         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12337         Likewise.
12338         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12339         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12340         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12341         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12342         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12343         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12344         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12345         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12346         Likewise.
12347         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12349 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12351         [BZ #19125]
12352         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12353         <math_private.h> and <stdint.h>.
12354         (__llround): Avoid conversions to and from long long int, and
12355         subtractions, where those might raise spurious exceptions.
12356         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12357         <math_private.h> and <stdint.h>.
12358         (__llroundf): Avoid conversions to and from long long int, and
12359         subtractions, where those might raise spurious exceptions.
12361 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12363         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12364         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12365         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12366         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12367         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12368         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12369         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12370         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12371         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12372         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12373         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12374         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12375         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12376         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12377         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12378         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12379         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12380         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12381         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12382         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12383         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12384         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12385         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12386         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12387         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12388         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12389         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12390         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12391         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12392         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12393         (__xstat64_conv): Likewise.
12394         (__xstat32_conv): Likewise.
12396 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12398         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12399         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12400         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12401         <sysdeps/unix/sysv/linux/sysdep.h>.
12402         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12403         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12404         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12405         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12406         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12407         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12408         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12409         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12410         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12413         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12414         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12415         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12416         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12418         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12419         (sysdep-dl-routines): Add sysdep.
12420         [$(subdir) == nptl] (libpthread-routines): Likewise.
12421         [$(subdir) == rt] (librt-routines): Likewise.
12422         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12423         PIC when branching to SYSCALL_ERROR_LABEL.
12424         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12425         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12426         <sysdeps/unix/sysv/linux/sysdep.h>.
12427         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12428         (SYSCALL_ERROR_ERRNO): Removed.
12429         (SYSCALL_ERROR_HANDLER): Changed to empty.
12430         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12431         (__syscall_error): New prototype.
12432         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12433         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12435 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12437         [BZ #19124]
12438         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12439         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12440         _dl_runtime_resolve_avx.
12441         (_dl_runtime_profile_avx512): Make it a hidden alias of
12442         _dl_runtime_profile_avx.
12444 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12446         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12447         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12448         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12449         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12451         [BZ #16422]
12452         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12453         New configure test.
12454         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12455         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12456         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12457         <math_private.h> and <stdint.h>.
12458         (__llrint): Avoid conversions to long long int where those might
12459         raise spurious exceptions.
12460         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12461         <math_private.h> and <stdint.h>.
12462         (__llrintf): Avoid conversions to long long int where those might
12463         raise spurious exceptions.
12465 2015-10-12  Andreas Schwab  <schwab@suse.de>
12467         [BZ #18969]
12468         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12469         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12470         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12471         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12472         $(gen-locales).
12473         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12474         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12475         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12476         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12477         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12478         $(gen-locales).
12479         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12480         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12481         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12482         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12483         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12484         ($(objpfx)tst-ftell-active-handler.out)
12485         ($(objpfx)tst-ftell-append.out)
12486         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12487         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12488         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12489         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12490         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12491         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12492         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12493         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12494         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12495         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12496         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12497         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12498         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12499         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12500         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12501         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12502         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12503         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12504         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12505         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12506         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12507         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12508         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12509         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12510         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12511         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12512         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12513         $(gen-locales).
12514         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12515         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12516         $(gen-locales).
12517         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12518         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12519         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12520         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12521         $(gen-locales).
12522         * libio/tst_wprintf2.c (main): Use explicit locale.
12523         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12525 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12527         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12528         __msg_sig_post.
12529         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12531 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12533         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12534         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12536         * sysdeps/arm/libm-test-ulps: Regenerated.
12538         [BZ #15470]
12539         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12541         [BZ #16399]
12542         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12543         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12544         and <fix-fp-int-convert-overflow.h>.
12545         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12546         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12547         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12548         and <fix-fp-int-convert-overflow.h>.
12549         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12550         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12551         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12552         <fix-fp-int-convert-overflow.h>.
12553         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12554         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12555         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12556         <fix-fp-int-convert-overflow.h>.
12557         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12558         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12559         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12560         and <fix-fp-int-convert-overflow.h>.
12561         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12562         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12563         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12564         <limits.h> and <fix-fp-int-convert-overflow.h>.
12565         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12566         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12567         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12568         and <fix-fp-int-convert-overflow.h>.
12569         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12570         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12571         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12572         and <fix-fp-int-convert-overflow.h>.
12573         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12574         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12575         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12577 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12579         [BZ #18589]
12580         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12581         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12582         $(gen-locales).
12584 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12585             Phil Blundell <pb@pbcl.net>
12587         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12588         * nptl/tst-cancel26.c: New file.
12589         * nptl/tst-cancel27.c: Likewise.
12591 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12593         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12594         __ILP32__ isn't defined.
12595         (lrint): Likewise.
12596         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12597         (lrintf): Likewise.
12598         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12599         (lrintl): Likewise.
12600         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12601         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12602         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12604 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12606         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12607         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12609         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12610         file.
12611         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12612         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12614 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12616         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12617         configure test.
12618         * sysdeps/i386/configure: Regenerated.
12619         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12620         configure test.
12621         * sysdeps/x86_64/configure: Regenerated.
12622         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12623         Make code unconditional.
12625         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12626         test.
12627         * sysdeps/i386/configure: Regenerated.
12628         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12629         test.
12630         * sysdeps/x86_64/configure: Regenerated.
12631         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12632         Make code unconditional.
12633         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12634         Likewise.
12635         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12636         Likewise.
12637         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12638         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12639         code unconditional.
12640         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12641         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12642         code unconditional.
12643         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12644         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12645         code unconditional.
12646         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12647         code unconditional.
12648         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12649         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12650         code unconditional.
12651         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12652         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12653         code unconditional.
12654         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12655         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12656         code unconditional.
12657         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12658         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12659         code unconditional.
12660         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12661         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12663         [BZ #19095]
12664         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12665         mantissa to long int before shifting left.
12667 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12669         [BZ #19094]
12670         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12671         <limits.h>.
12672         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12673         when result overflows but exception would not result from cast.
12674         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12675         <limits.h>.
12676         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12677         when result overflows but exception would not result from cast.
12678         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12679         <limits.h>.
12680         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12681         when result overflows but exception would not result from cast.
12682         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12683         <limits.h>.
12684         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12685         when result overflows but exception would not result from cast.
12686         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12687         <limits.h>.
12688         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12689         when result overflows but exception would not result from cast.
12690         * math/libm-test.inc (lrint_test_data): Add more tests.
12691         (llrint_test_data): Likewise.
12693 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12695         [BZ #18872]
12696         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12697         Move out from under [$(run-built-tests) = yes] conditional.
12698         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12699         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12701 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12703         [BZ #18589]
12704         * string/Makefile (tests): Add bug-strcoll2.
12705         (LOCALES): Add cs_CZ.UTF-8.
12706         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12708         [BZ #18589]
12709         * string/bug-strcoll2.c: New file.
12710         * locale/categories.def: Revert commit
12711         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12712         * locale/langinfo.h: Likewise.
12713         * locale/localeinfo.h: Likewise.
12714         * locale/C-collate.c: Likewise.
12715         * locale/programs/ld-collate.c (collate_output): Likewise.
12716         * string/strcoll_l.c (STRDIFF): Likewise.
12717         (STRCOLL): Likewise.
12718         * wcsmbs/wcscoll_l.c: Likewise.
12720 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12722         * math/libm-test.inc (lround_test_data): Do not expect the absence
12723         of "inexact" for some tests with non-integer arguments.
12724         (llround_test_data): Likewise.
12726         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12727         test.
12728         (libc_cv_cc_sse2avx): Likewise.
12729         * sysdeps/i386/configure: Regenerated.
12730         * sysdeps/i386/i686/multiarch/Makefile
12731         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12732         [$(subdir) = math].
12733         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12734         code unconditional.
12735         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12736         Likewise.
12737         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12738         Likewise.
12739         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12740         Likewise.
12741         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12742         test.
12743         (libc_cv_cc_sse2avx): Likewise.
12744         * sysdeps/x86_64/configure: Regenerated.
12745         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12746         unconditional.
12747         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12748         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12749         unconditional.
12750         (_dl_runtime_profile)
12751         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12752         conditional code.
12753         * sysdeps/x86_64/fpu/multiarch/Makefile
12754         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12755         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12756         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12757         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12758         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12759         * sysdeps/x86_64/fpu/multiarch/e_log.c
12760         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12761         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12762         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12763         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12764         Likewise.
12765         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12766         Likewise.
12767         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12768         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12769         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12770         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12771         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12772         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12773         (HAVE_SSE2AVX_SUPPORT): Likewise.
12775 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12777         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12778         instead of #pragma optimize.
12780 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12782         [BZ #17195]
12783         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12784         as is similarly done in systrim and _int_free already.
12786 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12788         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12790 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12792         [BZ #19088]
12793         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12794         <limits.h>.
12795         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12796         overflows but exception would not result from cast.
12797         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12798         and <limits.h>.
12799         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12800         overflows but exception would not result from cast.
12801         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12802         <limits.h>.
12803         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12804         overflows but exception would not result from cast.
12805         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12806         <limits.h>.
12807         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12808         overflows but exception would not result from cast.
12809         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12810         <limits.h>.
12811         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12812         overflows but exception would not result from cast.
12813         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12814         <limits.h>.
12815         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12816         overflows but exception would not result from cast.
12817         * math/libm-test.inc (lround_test_data): Add more tests.
12818         (llround_test_data): Likewise.
12820 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
12822         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12823         (CFLAGS-ialloc.c): Ditto.
12824         (CFLAGS-scheck.c): Ditto.
12826 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12828         [BZ #19086]
12829         * manual/filesys.texi (Storage Allocation): Fix argument order for
12830         posix_fallocate64.
12832 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12834         [BZ #19085]
12835         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12836         exponent below 48 inside case for non-overflowing exponent.
12837         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12839 2015-10-07  Florian Weimer  <fweimer@redhat.com>
12841         * iconvdata/cp737.h (from_idx): Add const.
12842         * iconvdata/cp775.h (from_idx): Likewise.
12844 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12846         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12847         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12848         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12850         [BZ #19079]
12851         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12852         file, conditioned on [!_LP64].
12853         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12854         [!_LP64] (__lround): Do not define as function or alias.
12855         [!_LP64] (lround): Likewise.
12856         [!_LP64] (__lroundl): Likewise.
12857         [!_LP64] (lroundl): Likewise.
12858         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12859         macro.
12860         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12861         Likewise.
12863 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12865         * math/libm-test.inc (lrint_test_data): Add more tests.
12866         (llrint_test_data): Likewise.
12867         (lround_test_data): Likewise.
12868         (llround_test_data): Likewise.
12870         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12871         (llrint_test_data): Add tests used for lrint.
12873         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12874         test.
12875         * sysdeps/i386/configure: Regenerated.
12876         * sysdeps/i386/i686/multiarch/Makefile
12877         [$(config-cflags-sse4) = yes]: Make code unconditional.
12878         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12879         Likewise.
12880         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12881         Likewise.
12882         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12883         test.
12884         * sysdeps/x86_64/configure: Regenerated.
12885         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12886         Make code unconditional.
12887         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12888         Likewise.
12889         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12890         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12892         * scripts/rpm2dynsym.sh: Remove file.
12894 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12896         * configure.ac (libc_cv_cxx_thread_local): Define.
12897         * configure: Regenerate.
12898         * config.make.in (have-cxx-thread_local): Define.
12899         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12900         (LDLIBS-tst-thread_local1): Define.
12901         (tests): Add tst-thread_local1.
12902         [have-cxx-thread_local != yes] (tests-unsupported): Add
12903         tst-thread_local1.
12904         * nptl/tst-thread_local1.cc: New file.
12906 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12908         [BZ #19078]
12909         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12910         (u_thres): Likewise.
12911         (__expl): Determine whether to call __kernel_standard_l based on
12912         value of result, not argument.
12914         * math/libm-test.inc (scalb_test_data): Add more expectations for
12915         the "inexact" exception.
12917         [BZ #19077]
12918         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12919         0.0L for argument 1.0L.
12921         [BZ #19076]
12922         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12923         constant 0.0L when computing infinite result.
12925 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12927         [BZ #10432]
12928         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12929         malloc_usable_size.
12931 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12933         [BZ #19018]
12934         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12935         Mangle function pointer before storing it.
12936         (__call_tls_dtors): Demangle function pointer before calling it.
12938 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12940         [BZ #19012]
12941         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12942         Clean up on failure.
12944 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12946         [BZ #19071]
12947         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12948         long int variable to store possibly incremented high part of
12949         mantissa.
12950         * math/libm-test.inc (lround_test_data): Add tests used for
12951         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12952         for tests requiring 64-bit long.  Do not condition tests on
12953         [TEST_FLOAT] unnecessarily.
12954         (llround_test_data): Add tests used for lround.  Add another
12955         expectation for the "inexact" exception.  Do not condition tests
12956         on [TEST_FLOAT] unnecessarily.
12958         [BZ #887]
12959         [BZ #19049]
12960         [BZ #19050]
12961         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12962         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12963         <fix-int-fp-convert-zero.h>.
12964         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12965         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12966         <fix-int-fp-convert-zero.h>.
12967         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12968         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12969         <fix-int-fp-convert-zero.h>.
12970         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12971         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12972         <fix-int-fp-convert-zero.h>.
12973         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12974         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12975         <fix-int-fp-convert-zero.h>.
12976         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12977         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12978         <fix-int-fp-convert-zero.h>.
12979         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12980         * sysdeps/ieee754/flt-32/s_erff.c: Include
12981         <fix-int-fp-convert-zero.h>.
12982         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12983         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12984         <fix-int-fp-convert-zero.h>.
12985         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12986         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12987         <fix-int-fp-convert-zero.h>.
12988         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12989         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12990         <fix-int-fp-convert-zero.h>.
12991         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12992         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12993         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12994         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12995         file.
12996         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12998 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13000         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13002 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13004         [BZ #19059]
13005         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13006         overflowing computation.
13007         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13008         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13009         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13010         Likewise.
13011         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13012         Likewise.
13013         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13014         Likewise.
13015         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13016         Likewise.
13017         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13018         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13019         Likewise.
13020         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13021         Likewise.
13022         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13024         * nss/rewrite_field.c (__nss_rewrite_field): Use
13025         internal_function.
13026         * nss/valid_field.c (__nss_valid_field): Likewise.
13027         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13029 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13031         [BZ #18724]
13032         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13033         (__nss_invalid_field_characters, __nss_valid_field)
13034         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13035         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13036         tst-field.c: New file.
13037         * nss/Makefile (routines): Add valid_field, rewrite_field.
13038         (tests-static): Define unconditionally.
13039         (tests): Include tests-static.
13040         [build-static-nss] (tests-static): Use append.
13041         [build-static-nss] (tests): Remove modification.
13042         * nss/getent.c (print_group): Call putgrent.  Report error.
13043         (print_gshadow): Call putsgent.  Report error.
13044         (print_passwd): Call putpwent.  Report error.
13045         (print_shadow): Call putspent.  Report error.
13046         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13047         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13048         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13049         name, password, directory, shell fields for valid syntax.  Rewrite
13050         GECOS field to match syntax.
13051         * pwd/Makefile (tests): Add tst-putpwent.
13052         * pwd/tst-putpwent.c: New file.
13053         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13054         Check grName, grpasswd, gr_mem fields for valid syntax.
13055         Change loop variable i to size_t.
13056         * grp/Makefile (tests): Add tst-putgrent.
13057         * grp/tst-putgrent.c: New file.
13058         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13059         valid syntax.
13060         * shadow/Makefile (tests): Add tst-putspent.
13061         * shadow/tst-putspent.c: New file.
13062         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13063         sg_mem fields for valid syntax.
13064         * gshadow/Makefile (tests): Add tst-putsgent.
13065         * gshadow/tst-putsgent.c: New file.
13067 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13069         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13070         assembly instructions.
13072 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13074         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13075         prefix from operands.
13077 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13079         [BZ #16347]
13080         [BZ #19046]
13081         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13082         <libc-internal.h>.
13083         (MAXLGM): Do not use diagnostic control macros.
13084         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13085         threshold for ldbl-128ibm.
13086         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13087         instead of multiplying by log then subtracting.
13088         * math/auto-libm-test-in: Add more tests of lgamma.
13089         * math/auto-libm-test-out: Regenerated.
13091         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13092         (TYPE_HEX_DIG): Likewise.
13093         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13094         precisions when printing floating-point numbers.
13095         (check_float_internal): Likewise.
13097 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13099         [BZ #16620]
13100         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13101         of log (10) rounded downward to 48 bits.
13102         (log10_low): Use corresponding low part of log (10).
13104         [BZ #19032]
13105         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13106         compute result as (x - x) / (x - x) not as 0 / 0.
13107         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13108         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13110         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13111         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13112         and expm1.
13113         * math/auto-libm-test-out: Regenerated.
13114         * math/libm-test.inc (acos_test_data): Add more tests.
13115         (asin_test_data): Likewise.
13116         (asinh_test_data): Likewise.
13117         (atan_test_data): Likewise.
13118         (atanh_test_data): Likewise.
13119         (atan2_test_data): Likewise.
13120         (cbrt_test_data): Likewise.
13121         (ceil_test_data): Likewise.
13122         (copysign_test_data): Likewise.
13123         (cos_test_data): Likewise.
13124         (cosh_test_data): Likewise.
13125         (erf_test_data): Likewise.
13126         (erfc_test_data): Likewise.
13127         (exp_test_data): Likewise.
13128         (exp10_test_data): Likewise.
13129         (exp2_test_data): Likewise.
13130         (expm1_test_data): Likewise.
13131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13133 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13135         [BZ #19006]
13136         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13137         to ...
13138         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13139         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13140         to ...
13141         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13142         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13143         to ...
13144         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13145         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13146         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13147         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13148         to ...
13149         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13150         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13151         Moved to ...
13152         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13153         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13154         Moved to ...
13155         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13156         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13157         to ...
13158         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13159         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13160         Moved to ...
13161         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13162         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13163         to ...
13164         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13165         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13166         Removed.
13167         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13168         Likewise.
13169         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13170         Likewise.
13171         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13172         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13175         Likewise.
13176         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13177         Likewise.
13178         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13179         Likewise.
13180         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13181         Likewise.
13182         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13183         Likewise.
13184         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13185         Likewise.
13186         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13187         Likewise.
13188         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13189         Likewise.
13190         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13191         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13192         Likewise.
13193         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13194         Likewise.
13195         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13196         Likewise.
13197         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13198         Likewise.
13199         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13200         Likewise.
13201         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13202         Replace ../i486/pthread_cond_timedwait.S with
13203         ../pthread_cond_timedwait.S.
13205 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13207         * math/libm-test.inc (acos_test_data): Refine expectations for
13208         errno and "inexact" exceptions.
13209         (acosh_test_data): Likewise.
13210         (asin_test_data): Likewise.
13211         (asinh_test_data): Likewise.
13212         (atan_test_data): Likewise.
13213         (atanh_test_data): Likewise.
13214         (atan2_test_data): Likewise.
13215         (cbrt_test_data): Likewise.
13216         (ceil_test_data): Likewise.
13217         (copysign_test_data): Likewise.
13218         (cosh_test_data): Likewise.
13219         (erf_test_data): Likewise.
13220         (erfc_test_data): Likewise.
13221         (exp_test_data): Likewise.
13222         (exp10_test_data): Likewise.
13223         (exp2_test_data): Likewise.
13224         (expm1_test_data): Likewise.
13225         (fabs_test_data): Likewise.
13226         (floor_test_data): Likewise.
13227         (fma_test_data): Likewise.
13228         (fmax_test_data): Likewise.
13229         (fmin_test_data): Likewise.
13230         (fmod_test_data): Likewise.
13231         (fpclassify_test_data): Likewise.
13232         (frexp_test_data): Likewise.
13233         (hypot_test_data): Likewise.
13234         (ilogb_test_data): Likewise.
13235         (isgreater_test_data): Likewise.
13236         (isgreaterequal_test_data): Likewise.
13237         (isinf_test_data): Likewise.
13238         (isless_test_data): Likewise.
13239         (islessequal_test_data): Likewise.
13240         (islessgreater_test_data): Likewise.
13241         (isnan_test_data): Likewise.
13242         (isnormal_test_data): Likewise.
13243         (issignaling_test_data): Likewise.
13244         (isunordered_test_data): Likewise.
13245         (j0_test_data): Likewise.
13246         (j1_test_data): Likewise.
13247         (jn_test_data): Likewise.
13248         (lgamma_test_data): Likewise.
13249         (lrint_test_data): Likewise.
13250         (llrint_test_data): Likewise.
13251         (log_test_data): Likewise.
13252         (log10_test_data): Likewise.
13253         (log1p_test_data): Likewise.
13254         (log2_test_data): Likewise.
13255         (logb_test_data): Likewise.
13256         (lround_test_data): Likewise.
13257         (llround_test_data): Likewise.
13258         (modf_test_data): Likewise.
13259         (nearbyint_test_data): Likewise.
13260         (nextafter_test_data): Likewise.
13261         (nexttoward_test_data): Likewise.
13262         (pow_test_data): Likewise.
13263         (remainder_test_data): Likewise.
13264         (remquo_test_data): Likewise.
13265         (rint_test_data): Likewise.
13266         (round_test_data): Likewise.
13267         (signbit_test_data): Likewise.
13268         (sinh_test_data): Likewise.
13269         (sqrt_test_data): Likewise.
13270         (tanh_test_data): Likewise.
13271         (tgamma_test_data): Likewise.
13272         (trunc_test_data): Likewise.
13273         (y0_test_data): Likewise.
13274         (y1_test_data): Likewise.
13275         (yn_test_data): Likewise.
13276         (significand_test_data): Likewise.
13278 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13280         * manual/filesys.texi (Storage Allocation): Document that
13281         posix_fallocate emulation fails when fd is open with O_WRONLY.
13283 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13285         [BZ #19016]
13286         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13287         allow more cases with X^2 + Y^2 >= 0.5.
13288         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13289         normal element in sum instead of special-casing based on values of
13290         arguments.
13291         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13292         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13293         -1 as normal element in sum instead of special-casing based on
13294         values of arguments.
13295         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13296         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13297         (__x2y2m1): Update comment.
13298         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13299         as normal element in sum instead of special-casing based on values
13300         of arguments.
13301         * math/s_clog.c (__clog): Handle more cases using log1p without
13302         hypot.
13303         * math/s_clog10.c (__clog10): Likewise.
13304         * math/s_clog10f.c (__clog10f): Likewise.
13305         * math/s_clog10l.c (__clog10l): Likewise.
13306         * math/s_clogf.c (__clogf): Likewise.
13307         * math/s_clogl.c (__clogl): Likewise.
13308         * math/auto-libm-test-in: Add more tests of clog and clog10.
13309         * math/auto-libm-test-out: Regenerated.
13310         * sysdeps/i386/fpu/libm-test-ulps: Update.
13311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13313 2015-09-28  Martin Sebor  <msebor@redhat.com>
13315         [BZ #18969]
13316         * string/Makefile (LOCALES): Define.
13317         (gen-locales.mk): Include.
13318         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13319         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13320         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13321         on setlocale failure.
13323 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13325         [BZ #18985]
13326         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13327         (__strftime_internal): Likewise.
13328         * time/tst-strftime.c (do_bz18985): New test.
13329         (do_test): Call it.
13331 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13333         [BZ #18956]
13334         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13335         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13336         extracting high part.
13337         * math/auto-libm-test-in: Add another test of pow.
13338         * math/auto-libm-test-out: Regenerated.
13339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13341 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13343         [BZ #18825]
13344         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13345         New macro.
13346         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13347         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13348         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13349         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13350         DBL_NARROW_EVAL, reloading the PIC register as needed.
13351         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13352         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13353         FLT_NARROW_EVAL.  Use separate return path for case when first
13354         argument is NaN.
13355         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13356         DEFINE_LDBL_MIN.
13357         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13358         PIC register.
13359         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13360         math_check_force_underflow_nonneg.
13361         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13362         underflow for subnormal result.
13363         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13364         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13365         math_check_force_underflow_nonneg.
13366         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13367         math_check_force_underflow.
13368         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13369         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13370         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13371         DEFINE_LDBL_MIN.
13372         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13373         * math/auto-libm-test-in: Add more tests of pow.
13374         * math/auto-libm-test-out: Regenerated.
13376 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13378         * nss/bug17079.c (init_test_items): Add diagnostic for
13379         inconsistent entries.
13380         (test_buffer_size): Skip inconsistent entries.
13382 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13384         [BZ #13304]
13385         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13386         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13387         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13389         [BZ #13304]
13390         * sysdeps/microblaze/s_fma.c: New file.
13391         * sysdeps/microblaze/s_fmaf.c: Likewise.
13392         * sysdeps/microblaze/sfp-machine.h: Likewise.
13394 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13396         [BZ #17250]
13397         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13398         member.
13400 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13402         [BZ #18803]
13403         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13404         (MO): New macro.
13405         (__ieee754_hypot) [PIC]: Load PIC register.
13406         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13407         DBL_NARROW_EVAL.
13408         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13409         math_check_force_underflow_nonneg in case where result might be
13410         tiny.
13411         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13412         Likewise.
13413         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13414         Likewise.
13415         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13416         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13417         * math/auto-libm-test-in: Add more tests of hypot.
13418         * math/auto-libm-test-out: Regenerated.
13420 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13422         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13424 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13426         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13427         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13428         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13429         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13430         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13431         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13432         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13434         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13435         LOAD_PIC_REG.
13437         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13438         (FLT_CHECK_FORCE_UFLOW): Likewise.
13439         (DBL_CHECK_FORCE_UFLOW): Likewise.
13440         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13441         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13442         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13443         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13444         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13445         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13446         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13447         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13448         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13449         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13450         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13451         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13452         (flt_min): Replace with use of DEFINE_FLT_MIN.
13453         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13454         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13455         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13456         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13457         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13458         (flt_min): Replace with use of DEFINE_FLT_MIN.
13459         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13460         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13461         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13462         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13463         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13464         (flt_min): Replace with use of DEFINE_FLT_MIN.
13465         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13466         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13467         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13468         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13469         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13470         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13471         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13472         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13473         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13474         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13475         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13476         (flt_min): Replace with use of DEFINE_FLT_MIN.
13477         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13478         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13479         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13480         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13481         main computation.
13482         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13483         (flt_min): Replace with use of DEFINE_FLT_MIN.
13484         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13485         main computation.
13486         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13487         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13488         (MO): New macro.
13489         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13490         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13491         (flt_min): Replace with use of DEFINE_FLT_MIN.
13492         (MO): New macro.
13493         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13494         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13495         (__log1pl): Use MO.
13497         [BZ #19003]
13498         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13499         $(config-cflags-nofma).
13501 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13503         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13505 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13507         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13508         (TWO127): Likewise.
13510         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13511         (min_of_type): Likewise.
13512         (math_check_force_underflow): Likewise.
13513         (math_check_force_underflow_nonneg): Likewise.
13514         (math_check_force_underflow_complex): Likewise.
13515         * math/e_exp2l.c (__ieee754_exp2l): Use
13516         math_check_force_underflow_nonneg.
13517         * math/k_casinh.c (__kernel_casinh): Likewise.
13518         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13519         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13520         * math/s_catan.c (__catan): Use
13521         math_check_force_underflow_complex.
13522         * math/s_catanf.c (__catanf): Likewise.
13523         * math/s_catanh.c (__catanh): Likewise.
13524         * math/s_catanhf.c (__catanhf): Likewise.
13525         * math/s_catanhl.c (__catanhl): Likewise.
13526         * math/s_catanl.c (__catanl): Likewise.
13527         * math/s_ccosh.c (__ccosh): Likewise.
13528         * math/s_ccoshf.c (__ccoshf): Likewise.
13529         * math/s_ccoshl.c (__ccoshl): Likewise.
13530         * math/s_cexp.c (__cexp): Likewise.
13531         * math/s_cexpf.c (__cexpf): Likewise.
13532         * math/s_cexpl.c (__cexpl): Likewise.
13533         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13534         * math/s_clog10.c (__clog10): Likewise.
13535         * math/s_clog10f.c (__clog10f): Likewise.
13536         * math/s_clog10l.c (__clog10l): Likewise.
13537         * math/s_clogf.c (__clogf): Likewise.
13538         * math/s_clogl.c (__clogl): Likewise.
13539         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13540         * math/s_csinf.c (__csinf): Likewise.
13541         * math/s_csinh.c (__csinh): Likewise.
13542         * math/s_csinhf.c (__csinhf): Likewise.
13543         * math/s_csinhl.c (__csinhl): Likewise.
13544         * math/s_csinl.c (__csinl): Likewise.
13545         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13546         * math/s_csqrtf.c (__csqrtf): Likewise.
13547         * math/s_csqrtl.c (__csqrtl): Likewise.
13548         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13549         * math/s_ctanf.c (__ctanf): Likewise.
13550         * math/s_ctanh.c (__ctanh): Likewise.
13551         * math/s_ctanhf.c (__ctanhf): Likewise.
13552         * math/s_ctanhl.c (__ctanhl): Likewise.
13553         * math/s_ctanl.c (__ctanl): Likewise.
13554         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13555         instead of volatile.
13556         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13557         math_check_force_underflow.
13558         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13559         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13560         volatile when forcing underflow.
13561         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13562         math_check_force_underflow_nonneg.
13563         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13564         Likewise.
13565         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13566         math_check_force_underflow.
13567         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13568         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13569         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13570         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13571         math_check_force_underflow_nonneg.
13572         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13573         math_check_force_underflow.
13574         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13575         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13576         instead of volatile.
13577         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13578         math_check_force_underflow.
13579         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13580         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13581         math_check_force_underflow_nonneg.
13582         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13583         math_check_force_underflow.
13584         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13585         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13586         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13587         math_check_force_underflow_nonneg.
13588         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13589         Likewise.
13590         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13591         math_check_force_underflow.
13592         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13593         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13594         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13595         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13596         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13597         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13598         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13599         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13600         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13601         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13602         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13603         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13604         Likewise.
13605         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13606         math_check_force_underflow_nonneg.
13607         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13608         Likewise.
13609         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13610         math_check_force_underflow.
13611         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13612         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13613         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13614         Likewise.
13615         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13616         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13617         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13618         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13619         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13620         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13621         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13622         instead of volatile.
13623         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13624         math_check_force_underflow.
13625         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13626         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13627         math_check_force_underflow.
13628         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13629         Likewise.
13630         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13631         Use math_check_force_underflow_nonneg.
13632         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13633         math_check_force_underflow.
13634         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13635         Likewise.
13636         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13637         Likewise.
13638         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13639         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13640         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13641         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13642         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13643         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13644         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13645         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13646         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13647         math_check_force_underflow_nonneg.
13648         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13649         math_check_force_underflow.
13650         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13651         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13652         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13653         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13654         math_check_force_underflow_nonneg.
13655         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13656         math_check_force_underflow.
13657         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13658         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13659         instead of volatile.
13660         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13661         math_check_force_underflow.
13663         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13664         * stdlib/strtod_l.c: Include <math_private.h>.
13665         (overflow_value): Use math_narrow_eval.
13666         (underflow_value): Likewise.
13667         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13668         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13669         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13670         (__ieee754_gamma_r): Likewise.
13671         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13672         Likewise.
13673         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13674         Likewise.
13675         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13676         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13677         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13678         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13679         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13680         (__ieee754_gammaf_r): Likewise.
13681         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13682         Likewise.
13683         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13684         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13685         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13686         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13687         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13688         volatile.
13689         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13690         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13691         math_narrow_eval.
13692         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13693         Likewise.
13694         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13695         Likewise.
13696         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13697         Likewise.
13698         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13699         volatile.
13700         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13701         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13702         math_narrow_eval.
13703         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13704         Likewise.
13705         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13706         Likewise.
13708 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13710         * nptl/Versions: Remove ignored symbols.
13712 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13714         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13715         * nss/Makefile (tests): Update.
13717 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13719         * nss/bug18287.c: New file.
13720         * nss/Makefile (tests): Add bug18287.
13722 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13724         * mach/Versions (__mach_host_self_): Add symbol.
13726 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13728         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13729         vm_page_size.
13731 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13733         Really fix sysdeps/i386/fpu/s_scalbn.S build
13735         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13736         (libc: GLIBC_2_22): Remove unused version set.
13738 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13740         * config.make.in (enable-timezone-tools): New variable.
13741         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13742         (enable_timezone_tools): Export to generated files.
13743         * configure: Regenerate.
13744         * INSTALL: Regenerate.
13745         * manual/install.texi (--disable-timezone-tools): Document new flag.
13746         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13747         ifeq ($(enable-timezone-tools),yes) check.
13749 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13751         * timezone/Makefile: Revert previous change.
13753         [BZ #18980]
13754         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13755         (DEFINE_DBL_MIN): Likewise.
13756         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13757         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13758         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13759         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13760         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13761         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13762         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13763         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13764         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13765         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13766         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13767         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13768         (flt_min): Replace with use of DEFINE_FLT_MIN.
13769         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13770         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13771         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13772         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13773         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13774         (flt_min): Replace with use of DEFINE_FLT_MIN.
13775         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13776         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13777         (flt_min): Replace with use of DEFINE_FLT_MIN.
13778         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13779         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13780         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13781         (__ieee754_hypot): Use DBL_NARROW_EVAL.
13782         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13783         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13784         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13785         (__ieee754_pow): Use DBL_NARROW_EVAL.
13786         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13787         (__ieee754_powf): Use FLT_NARROW_EVAL.
13788         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13789         (__ieee754_expf_sse2): Convert double-precision result to single
13790         precision.
13791         * sysdeps/i386/fpu/libm-test-ulps: Update.
13793 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13795         * timezone/Makefile: Ignore unused variable errors due to private.h
13796         (time_t_min) and (time_t_max).
13797         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
13798         Likewise.
13800 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13802         [BZ #18981]
13803         * sysdeps/i386/fpu/i386-math-asm.h: New file.
13804         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13805         (__ieee754_scalb): Use DBL_NARROW_EVAL.
13806         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13807         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13808         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13809         (__scalbn): Use DBL_NARROW_EVAL.
13810         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13811         (__scalbnf): Use FLT_NARROW_EVAL.
13813 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13815         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13816         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13817         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13818         * stdio-common/printf_fp.c (___printf_fp):
13819         Use signbit to get the sign. Use isinf macro to allow inlining.
13820         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13821         * stdio-common/printf_size.c (__printf_size): Likewise.
13823 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13825         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13827 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13829         [BZ #18980]
13830         * sysdeps/generic/math_private.h: Include <float.h>.
13831         (math_narrow_eval): New macro.
13832         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13833         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13834         math_narrow_eval on overflowing return value.
13835         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13836         Likewise.
13837         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13838         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13839         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13840         Likewise.
13841         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13843 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13845         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13846         * math/Makefile: Remove isinf_ns.c.
13847         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13848         * math/multc3.c (__multc3): Likewise.
13849         * math/s_casin.c (__casin): Likewise.
13850         * math/s_casinf.c (__casinf): Likewise.
13851         * math/s_casinl.c (__casinl): Likewise.
13852         * math/s_cproj.c (__cproj): Likewise.
13853         * math/s_cprojf.c (__cprojf): Likewise.
13854         * math/s_cprojl.c (__cprofl): Likewise.
13855         * math/s_ctan.c (__ctan): Likewise.
13856         * math/s_ctanf.c (__ctanf): Likewise.
13857         * math/s_ctanh.c (__ctanh): Likewise.
13858         * math/s_ctanhf.c (__ctanhf): Likewise.
13859         * math/s_ctanhl.c (__ctanhl): Likewise.
13860         * math/s_ctanl.c (__ctanl): Likewise.
13861         * math/w_fmod.c (__fmod): Likewise.
13862         * math/w_fmodf.c (__fmodf): Likewise.
13863         * math/w_fmodl.c (_fmodl): Likewise.
13864         * math/w_remainder.c (__remainder): Likewise.
13865         * math/w_remainderf.c (__remainderf): Likewise.
13866         * math/w_remainderl.c (__remainderl): Likewise.
13867         * math/w_scalb.c (__scalb): Likewise.
13868         * math/w_scalbf.c (__scalbf): Likewise.
13869         * math/w_scalbl.c (__scalbl): Likewise.
13870         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13871         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13872         with isinf.
13873         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13874         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13875         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13876         __isinf_nsf with isinf.
13877         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13878         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13879         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13880         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13881         with isinf.
13882         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13883         __isinf_nsl with isinf.
13884         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13885         with isinf.
13886         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13887         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13888         __isinf_nsl with isinf.
13889         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13890         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13891         with isinf.
13893 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13895         * resolv/base64.c (rcsid): Remove unused static.
13896         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13897         static.  (tqpi1): Likewise.
13898         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13899         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13900         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13901         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13902         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13903         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13904         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13905         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13906         Likewise.
13908 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13910         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13911         <nptl/pthreadP.h>.
13912         (_longjmp_unwind): Use __libc_ptf_call.
13913         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13915 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13917         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13918         * sysdeps/arm/__longjmp.S: Likewise.
13920 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13922         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13923         Use __builtin_signbit.
13924         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13925         Use __builtin_signbitf.
13926         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13927         Use __builtin_signbitl.
13928         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13929         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13931 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13933         [BZ #15367]
13934         [BZ #17441]
13936         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13937         * math/math.h (fpclassify): Use __builtin_fpclassify when
13938         available.  (signbit): Use __builtin_signbit(f/l).
13939         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13940         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13941         (isinf): Use __builtin_isinf_sign.
13943 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13945         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13946         * benchtests/bench-math-inlines.c: New benchmark.
13947         * benchtests/bench-util.h: New file.
13948         * benchtests/bench-util.c: New file.
13949         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13951 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13953         * elf/tst-dlmopen1.c: Define TEST_SO.
13954         (do_test): Use TEST_SO.
13956         * elf/dl-load.c: Include libc-internal.h.
13957         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13959 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13961         [BZ #17887]
13962         * time/strptime_l.c (__strptime_internal): Make %z accept
13963         [+-]HH:MM time zones.
13965 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13967         [BZ #17886]
13968         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13969         valid time zone.
13971 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13973         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13974         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13975         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13976         (__ASSUME_FDATASYNC): Delete.
13978 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13980         * conform/linknamespace.pl: Require weak undefined symbols to be
13981         in the standard namespace.
13982         (%strong_syms): Rename to %seen_syms.
13983         (%strong_seen): Rename to %seen_where.
13985 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13987         [BZ #18970]
13988         * misc/error.c (error): Replace pthread_setcancelstate with
13989         __pthread_setcancelstate.
13990         (error_at_line): Likewise.
13991         * posix/wordexp.c (parse_comm): Likewise.
13992         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13993         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13994         (__pthread_setcancelstate): This.
13995         (pthread_setcancelstate): Add an alias.
13996         * nptl/nptl-init.c (pthread_functions): Replace
13997         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13998         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13999         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14000         hidden_proto.
14001         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14002         it with hidden_def.
14003         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14004         (pthread_setcancelstate): Renamed to ...
14005         (__pthread_setcancelstate): This.
14006         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14007         __libc_ptf_call with __pthread_setcancelstate.
14009 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14010             Andreas Schwab  <schwab@suse.de>
14012         [BZ #17118]
14013         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14014         result when imaginary part of argument is infinite using sine and
14015         cosine.
14016         * math/s_ctanf.c (__ctanf): Likewise.
14017         * math/s_ctanl.c (__ctanl): Likewise.
14018         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14019         of result when real part of argument is infinite using sine and
14020         cosine.
14021         * math/s_ctanhf.c (__ctanhf): Likewise.
14022         * math/s_ctanhl.c (__ctanhl): Likewise.
14023         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14024         (ctanh_test_data): Add more tests of ctanh.
14026 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14028         [BZ #15384]
14029         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14030         bit-mask as in subtraction.
14031         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14032         Likewise.
14033         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14034         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14035         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14037         [BZ #18951]
14038         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14039         underflow exception for small results.
14040         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14041         Likewise.
14042         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14043         Likewise.
14044         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14045         Likewise.
14046         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14047         Likewise.
14048         * math/auto-libm-test-in: Add more tests of tgamma.
14049         * math/auto-libm-test-out: Regenerated.
14051 2015-09-17  Andreas Schwab  <schwab@suse.de>
14053         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14055 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14057         [BZ #18977]
14058         * math/bits/mathcalls.h
14059         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14060         not declare.
14061         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14062         Likewise.
14063         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14064         Likewise.
14065         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14066         Likewise.
14067         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14068         Likewise.
14069         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14070         Likewise.
14071         * conform/data/math.h-data
14072         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14073         function.
14074         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14075         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14076         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14077         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14078         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14079         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14080         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14081         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14082         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14083         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14084         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14086         [BZ #6803]
14087         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14088         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14089         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14090         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14091         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14092         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14093         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14094         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14095         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14096         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14097         Likewise.
14098         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14099         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14100         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14101         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14102         long_double_symbol calls.
14103         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14104         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14105         strong alias of __ldexpl.
14106         (scalbnl): Define using long_double_symbol.
14107         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14108         Remove alias.
14109         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14110         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14111         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14112         (scalbln_test_data): Add more errno expectations.
14114 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14116         Cache the host port like we cache the task port.  This way we do not
14117         need to call the kernel just to get the port.  Furthermore, we no
14118         longer increase the reference count on every invocation of
14119         `mach_host_self'.
14121         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14122         Protect declarations against the macro expansion.
14123         * mach/mach_init.c (__mach_host_self_): New variable.
14124         (mach_init): Initialize `__mach_host_self_'.
14125         * mach/mach_init.h (__mach_host_self_): New declaration.
14126         (__mach_host_self, mach_host_self): New macros.
14127         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14128         Release reference.
14130 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14132         [BZ #4404]
14133         * po/de.po: Update from Translation Project.
14135         [BZ #16415]
14136         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14137         (__expm1l): Remove code to handle positive infinity and overflow.
14138         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14139         variable.
14140         (__expm1l): Remove code to handle positive infinity and overflow.
14142 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14143             Paul Pluzhnikov  <ppluzhnikov@google.com>
14145         [BZ #18872]
14146         * stdio-common/Makefile (tst-printf-bz18872): New test.
14147         (tst-printf-bz18872-mem.out): Likewise.
14148         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14149         * stdio-common/vfprintf.c: Fix memory leaks.
14151 2015-09-16  Andreas Schwab  <schwab@suse.de>
14153         [BZ #17244]
14154         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14155         Remove extra va_start/va_end calls.
14157         [BZ #17243]
14158         * posix/execl.c (execl): Add missing va_end.
14159         * posix/execle.c (execle): Likewise.
14160         * posix/execlp.c (execlp): Likewise.
14162 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14164         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14165         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14167 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14169         [BZ #18967]
14170         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14171         undefine around includes of <bits/mathcalls.h>.
14172         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14173         not declare function.
14174         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14175         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14176         (scalb): Likewise.
14177         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14178         not define macro.
14179         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14180         variable.
14181         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14182         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14183         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14185         [BZ #18857]
14186         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14187         return non-finite argument without doing ordered comparisons on
14188         it.
14190         [BZ #16296]
14191         * math/fenv.h (fegetround): Use __attribute_pure__.
14192         * include/fenv.h (__fegetround): Likewise.
14194         [BZ #18595]
14195         * math/s_ctan.c (__ctan): Force underflow exception for results
14196         whose real or imaginary part has small absolute value.
14197         * math/s_ctanf.c (__ctanf): Likewise.
14198         * math/s_ctanh.c (__ctanh): Likewise.
14199         * math/s_ctanhf.c (__ctanhf): Likewise.
14200         * math/s_ctanhl.c (__ctanhl): Likewise.
14201         * math/s_ctanl.c (__ctanl): Likewise.
14202         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14203         and ctanh.  Add more tests of ctan and ctanh.
14205         [BZ #15918]
14206         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14207         handling of cases where one argument is an infinity.
14209         [BZ #18875]
14210         [BZ #18966]
14211         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14212         (MO): New macro.
14213         (__ieee754_exp10): For small results, force underflow exception
14214         and remove excess range and precision from return value.
14215         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14216         (MO): New macro.
14217         (__ieee754_exp10f): For small results, force underflow exception
14218         and remove excess range and precision from return value.
14219         * math/auto-libm-test-in: Add more tests of exp10.
14220         * math/auto-libm-test-out: Regenerated.
14222 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14224         [BZ #18875]
14225         [BZ #18961]
14226         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14227         (MO): New macro.
14228         (__ieee754_exp): For small results, force underflow exception and
14229         remove excess range and precision from return value.
14230         (__exp_finite): Likewise.
14231         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14232         (MO): New macro.
14233         (__ieee754_expf): For small results, force underflow exception and
14234         remove excess range and precision from return value.
14235         (__expf_finite): Likewise.
14236         * math/auto-libm-test-in: Add more tests of exp.
14237         * math/auto-libm-test-out: Regenerated.
14239         [BZ #16521]
14240         [BZ #18875]
14241         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14242         small results.
14243         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14244         (MO): New macro.
14245         (__ieee754_exp2): For small results, force underflow exception and
14246         remove excess range and precision from return value.
14247         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14248         (MO): New macro.
14249         (__ieee754_exp2f): For small results, force underflow exception
14250         and remove excess range and precision from return value.
14251         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14252         (MO): New macro.
14253         (__ieee754_exp2l): Force underflow exception for small results.
14254         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14255         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14256         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14257         (MO): New macro.
14258         (__ieee754_exp2l): Force underflow exception for small results.
14259         * math/auto-libm-test-in: Add more tests or exp2.
14260         * math/auto-libm-test-out: Regenerated.
14262 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14264         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14266         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14267         /dev/null.
14269 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14271         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14272         io fs process)): Drop spurious backslash.
14274 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14276         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14277         Use sysinfo system call instead of parsing /proc/meminfo.
14278         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14279         Likewise.
14281 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14283         [BZ #16985]
14284         * programs/localedef.c (main): Display argv[remaining] when
14285         output_path is NULL.
14287 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14289         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14290         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14291         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14292         tanh.
14293         * math/auto-libm-test-out: Regenerated.
14294         * sysdeps/i386/fpu/libm-test-ulps: Update.
14295         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14296         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14299 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14301         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14302         Use 'override' keyword to freeze the value here, preventing
14303         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14305 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14307         [BZ #14912]
14308         * sysdeps/aarch64/bits/atomic.h: Move to ...
14309         * sysdeps/aarch64/atomic-machine.h: ...here.
14310         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14311         _AARCH64_ATOMIC_MACHINE_H.
14312         * sysdeps/alpha/bits/atomic.h: Move to ...
14313         * sysdeps/alpha/atomic-machine.h: ...here.
14314         * sysdeps/arm/bits/atomic.h: Move to ...
14315         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14316         * bits/atomic.h: Move to ...
14317         * sysdeps/generic/atomic-machine.h: ...here.
14318         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14319         * sysdeps/i386/bits/atomic.h: Move to ...
14320         * sysdeps/i386/atomic-machine.h: ...here.
14321         * sysdeps/ia64/bits/atomic.h: Move to ...
14322         * sysdeps/ia64/atomic-machine.h: ...here.
14323         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14324         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14325         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14326         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14327         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14328         * sysdeps/microblaze/bits/atomic.h: Move to ...
14329         * sysdeps/microblaze/atomic-machine.h: ...here.
14330         * sysdeps/mips/bits/atomic.h: Move to ...
14331         * sysdeps/mips/atomic-machine.h: ...here.
14332         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14333         * sysdeps/powerpc/bits/atomic.h: Move to ...
14334         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14335         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14336         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14337         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14338         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14339         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14340         <atomic-machine.h> instead of <bits/atomic.h>.
14341         * sysdeps/s390/bits/atomic.h: Move to ...
14342         * sysdeps/s390/atomic-machine.h: ...here.
14343         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14344         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14345         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14346         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14347         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14348         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14349         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14350         * sysdeps/tile/bits/atomic.h: Move to ...
14351         * sysdeps/tile/atomic-machine.h: ...here.
14352         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14353         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14354         <sysdeps/tile/atomic-machine.h> instead of
14355         <sysdeps/tile/bits/atomic.h>.
14356         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14357         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14358         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14359         <sysdeps/tile/atomic-machine.h> instead of
14360         <sysdeps/tile/bits/atomic.h>.
14361         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14362         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14363         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14364         <sysdeps/arm/atomic-machine.h> instead of
14365         <sysdeps/arm/bits/atomic.h>.
14366         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14367         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14368         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14369         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14370         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14371         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14372         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14373         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14374         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14375         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14376         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14377         * sysdeps/x86_64/bits/atomic.h: Move to ...
14378         * sysdeps/x86_64/atomic-machine.h: ...here.
14379         * include/atomic.h: Include <atomic-machine.h> instead of
14380         <bits/atomic.h>.
14382         * sysdeps/mips/mips32/libm-test-ulps: Update.
14383         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14385         [BZ #18952]
14386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14387         not convert non-integer negative arguments to int to determine the
14388         value of signgam.
14389         * math/auto-libm-test-in: Add more tests of lgamma.
14390         * math/auto-libm-test-out: Regenerated.
14392         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14393         cosh, csqrt, erfc, expm1 and lgamma.
14394         * math/auto-libm-test-out: Regenerated.
14395         * sysdeps/i386/fpu/libm-test-ulps: Update.
14396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14398 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14400         [BZ #2542]
14401         [BZ #2543]
14402         [BZ #2558]
14403         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14404         __lgamma_neg for arguments from -28.0 to -2.0.
14405         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14406         __lgamma_negf for arguments from -15.0 to -2.0.
14407         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14408         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14409         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14410         Call __lgamma_negl for arguments from -33.0 to -2.0.
14411         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14412         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14413         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14414         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14415         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14416         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14417         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14418         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14419         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14420         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14421         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14422         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14423         (__lgamma_neg): Likewise.
14424         (__lgamma_negl): Likewise.
14425         (__lgamma_product): Likewise.
14426         (__lgamma_productl): Likewise.
14427         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14428         * math/auto-libm-test-in: Add more tests of lgamma.
14429         * math/auto-libm-test-out: Regenerated.
14430         * sysdeps/i386/fpu/libm-test-ulps: Update.
14431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14433 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14435         [BZ #18675]
14436         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14438 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14440         [BZ #14912]
14441         * bits/libc-lock.h: Move to ...
14442         * sysdeps/generic/libc-lock.h: ...here.
14443         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14444         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14445         * sysdeps/mach/hurd/libc-lock.h: ...here.
14446         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14447         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14448         * sysdeps/mach/bits/libc-lock.h: Move to ...
14449         * sysdeps/mach/libc-lock.h: ...here.
14450         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14451         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14452         * sysdeps/nptl/libc-lock.h: ...here.
14453         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14454         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14455         * sysdeps/nptl/libc-lockP.h: ...here.
14456         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14457         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14458         <bits/libc-lock.h>.
14459         * dirent/scandir-tail.c: Likewise.
14460         * dlfcn/dlerror.c: Likewise.
14461         * elf/dl-close.c: Likewise.
14462         * elf/dl-iteratephdr.c: Likewise.
14463         * elf/dl-lookup.c: Likewise.
14464         * elf/dl-open.c: Likewise.
14465         * elf/dl-support.c: Likewise.
14466         * elf/dl-writev.h: Likewise.
14467         * elf/rtld.c: Likewise.
14468         * grp/fgetgrent.c: Likewise.
14469         * gshadow/fgetsgent.c: Likewise.
14470         * gshadow/sgetsgent.c: Likewise.
14471         * iconv/gconv_conf.c: Likewise.
14472         * iconv/gconv_db.c: Likewise.
14473         * iconv/gconv_dl.c: Likewise.
14474         * iconv/gconv_int.h: Likewise.
14475         * iconv/gconv_trans.c: Likewise.
14476         * include/link.h: Likewise.
14477         * inet/getnameinfo.c: Likewise.
14478         * inet/getnetgrent.c: Likewise.
14479         * inet/getnetgrent_r.c: Likewise.
14480         * intl/bindtextdom.c: Likewise.
14481         * intl/dcigettext.c: Likewise.
14482         * intl/finddomain.c: Likewise.
14483         * intl/gettextP.h: Likewise.
14484         * intl/loadmsgcat.c: Likewise.
14485         * intl/localealias.c: Likewise.
14486         * intl/textdomain.c: Likewise.
14487         * libidn/idn-stub.c: Likewise.
14488         * libio/libioP.h: Likewise.
14489         * locale/duplocale.c: Likewise.
14490         * locale/freelocale.c: Likewise.
14491         * locale/newlocale.c: Likewise.
14492         * locale/setlocale.c: Likewise.
14493         * login/getutent_r.c: Likewise.
14494         * login/getutid_r.c: Likewise.
14495         * login/getutline_r.c: Likewise.
14496         * login/utmp-private.h: Likewise.
14497         * login/utmpname.c: Likewise.
14498         * malloc/mtrace.c: Likewise.
14499         * misc/efgcvt.c: Likewise.
14500         * misc/error.c: Likewise.
14501         * misc/fstab.c: Likewise.
14502         * misc/getpass.c: Likewise.
14503         * misc/mntent.c: Likewise.
14504         * misc/syslog.c: Likewise.
14505         * nis/nis_call.c: Likewise.
14506         * nis/nis_callback.c: Likewise.
14507         * nis/nss-default.c: Likewise.
14508         * nis/nss_compat/compat-grp.c: Likewise.
14509         * nis/nss_compat/compat-initgroups.c: Likewise.
14510         * nis/nss_compat/compat-pwd.c: Likewise.
14511         * nis/nss_compat/compat-spwd.c: Likewise.
14512         * nis/nss_nis/nis-alias.c: Likewise.
14513         * nis/nss_nis/nis-ethers.c: Likewise.
14514         * nis/nss_nis/nis-grp.c: Likewise.
14515         * nis/nss_nis/nis-hosts.c: Likewise.
14516         * nis/nss_nis/nis-network.c: Likewise.
14517         * nis/nss_nis/nis-proto.c: Likewise.
14518         * nis/nss_nis/nis-pwd.c: Likewise.
14519         * nis/nss_nis/nis-rpc.c: Likewise.
14520         * nis/nss_nis/nis-service.c: Likewise.
14521         * nis/nss_nis/nis-spwd.c: Likewise.
14522         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14523         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14524         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14525         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14526         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14527         * nis/nss_nisplus/nisplus-network.c: Likewise.
14528         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14529         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14530         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14531         * nis/nss_nisplus/nisplus-service.c: Likewise.
14532         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14533         * nis/ypclnt.c: Likewise.
14534         * nptl/libc_pthread_init.c: Likewise.
14535         * nss/getXXbyYY.c: Likewise.
14536         * nss/getXXent.c: Likewise.
14537         * nss/getXXent_r.c: Likewise.
14538         * nss/nss_db/db-XXX.c: Likewise.
14539         * nss/nss_db/db-netgrp.c: Likewise.
14540         * nss/nss_db/nss_db.h: Likewise.
14541         * nss/nss_files/files-XXX.c: Likewise.
14542         * nss/nss_files/files-alias.c: Likewise.
14543         * nss/nsswitch.c: Likewise.
14544         * posix/regex_internal.h: Likewise.
14545         * posix/wordexp.c: Likewise.
14546         * pwd/fgetpwent.c: Likewise.
14547         * resolv/res_hconf.c: Likewise.
14548         * resolv/res_libc.c: Likewise.
14549         * shadow/fgetspent.c: Likewise.
14550         * shadow/lckpwdf.c: Likewise.
14551         * shadow/sgetspent.c: Likewise.
14552         * socket/opensock.c: Likewise.
14553         * stdio-common/reg-modifier.c: Likewise.
14554         * stdio-common/reg-printf.c: Likewise.
14555         * stdio-common/reg-type.c: Likewise.
14556         * stdio-common/vfprintf.c: Likewise.
14557         * stdio-common/vfscanf.c: Likewise.
14558         * stdlib/abort.c: Likewise.
14559         * stdlib/cxa_atexit.c: Likewise.
14560         * stdlib/fmtmsg.c: Likewise.
14561         * stdlib/random.c: Likewise.
14562         * stdlib/setenv.c: Likewise.
14563         * string/strsignal.c: Likewise.
14564         * sunrpc/auth_none.c: Likewise.
14565         * sunrpc/bindrsvprt.c: Likewise.
14566         * sunrpc/create_xid.c: Likewise.
14567         * sunrpc/key_call.c: Likewise.
14568         * sunrpc/rpc_thread.c: Likewise.
14569         * sysdeps/arm/backtrace.c: Likewise.
14570         * sysdeps/generic/ldsodefs.h: Likewise.
14571         * sysdeps/generic/stdio-lock.h: Likewise.
14572         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14573         * sysdeps/i386/backtrace.c: Likewise.
14574         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14575         * sysdeps/m68k/backtrace.c: Likewise.
14576         * sysdeps/mach/hurd/cthreads.c: Likewise.
14577         * sysdeps/mach/hurd/dirstream.h: Likewise.
14578         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14579         * sysdeps/nptl/malloc-machine.h: Likewise.
14580         * sysdeps/nptl/stdio-lock.h: Likewise.
14581         * sysdeps/posix/dirstream.h: Likewise.
14582         * sysdeps/posix/getaddrinfo.c: Likewise.
14583         * sysdeps/posix/system.c: Likewise.
14584         * sysdeps/pthread/aio_suspend.c: Likewise.
14585         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14586         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14587         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14588         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14589         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14590         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14591         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14592         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14593         * sysdeps/unix/sysv/linux/system.c: Likewise.
14594         * sysdeps/x86_64/backtrace.c: Likewise.
14595         * time/alt_digit.c: Likewise.
14596         * time/era.c: Likewise.
14597         * time/tzset.c: Likewise.
14598         * wcsmbs/wcsmbsload.c: Likewise.
14599         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14600         instead of <bits/libc-lock.h> in comment.
14602 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14604         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14605         Only use .set mips2 if the current ISA is below mips2.
14606         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14607         Likewise.
14608         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14609         mips32r2 if the current ISA is below mips32r2.
14610         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14611         (TLS_IE): Updated to use the TLD_RDHWR macro.
14612         (TLS_LE): Likewise.
14613         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14614         __ASSEMBLER__ condition.
14616 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14618         Fix parallel build of before-compile targets.
14620         * sysdeps/mach/Makefile ($(patsubst
14621         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14622         mach-before-compile target.
14623         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14624         io fs process)): Move rule to dedicated hurd-before-compile target.
14626 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14628         Fix rules generating headers in hurd/ and mach/ when initial make call
14629         has subdir= explicitly set.
14631         * sysdeps/mach/Makefile ($(patsubst
14632         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14633         calling $(MAKE).
14634         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14635         io fs process)): Force subdir to hurd when calling $(MAKE).
14636         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14637         subdir to mach when calling $(MAKE).
14639 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14641         Check sysheaders when looking for Mach and Hurd headers
14643         * sysdeps/mach/configure.ac: Add sysheaders check.
14644         * sysdeps/mach/configure: Regenerate.
14645         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14646         * sysdeps/mach/hurd/configure: Regenerate.
14648 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14650         [BZ #18921]
14651         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14652         Fix inverted sense of test of 'o_directory_works' value.
14653         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14654         Bernhard Voelker <mail@bernhard-voelker.de>.
14656 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14658         [BZ #14912]
14659         * bits/linkmap.h: Move to ...
14660         * sysdeps/generic/linkmap.h: ...here.
14661         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14662         * sysdeps/aarch64/linkmap.h: ...here.
14663         * sysdeps/arm/bits/linkmap.h: Move to ...
14664         * sysdeps/arm/linkmap.h: ...here.
14665         * sysdeps/hppa/bits/linkmap.h: Move to ...
14666         * sysdeps/hppa/linkmap.h: ...here.
14667         * sysdeps/ia64/bits/linkmap.h: Move to ...
14668         * sysdeps/ia64/linkmap.h: ...here.
14669         * sysdeps/mips/bits/linkmap.h: Move to ...
14670         * sysdeps/mips/linkmap.h: ...here.
14671         * sysdeps/s390/bits/linkmap.h: Move to ...
14672         * sysdeps/s390/linkmap.h: ...here.
14673         * sysdeps/sh/bits/linkmap.h: Move to ...
14674         * sysdeps/sh/linkmap.h: ...here.
14675         * sysdeps/x86/bits/linkmap.h: Move to ...
14676         * sysdeps/x86/linkmap.h: ...here.
14677         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14679 2015-09-04  Andreas Schwab  <schwab@suse.de>
14681         [BZ #18635]
14682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14683         (__makecontext): Terminate FDE before return label.
14684         (__novec_makecontext): Likewise.
14686 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14688         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14689         first member of struct sv in syscall macro.
14691 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14693         [BZ #14912]
14694         * bits/stdio-lock.h: Move to ...
14695         * sysdeps/generic/stdio-lock.h: ...here.
14696         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14697         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14698         * sysdeps/nptl/stdio-lock.h: ...here.
14699         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14700         * include/libio.h: Include <stdio-lock.h> instead of
14701         <bits/stdio-lock.h>.
14702         * sysdeps/nptl/fork.c: Likewise.
14703         * sysdeps/pthread/flockfile.c: Likewise.
14704         * sysdeps/pthread/ftrylockfile.c: Likewise.
14705         * sysdeps/pthread/funlockfile.c: Likewise.
14707         [BZ #14912]
14708         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14709         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14710         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14711         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14712         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14713         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14714         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14716 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14718         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14719         (test-xfail-tst-protected1b): New variable.
14721 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14723         [BZ #14912]
14724         * bits/libc-tsd.h: Move to ...
14725         * sysdeps/generic/libc-tsd.h: ...here.
14726         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14727         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14728         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14729         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14730         * include/ctype.h: Include <libc-tsd.h> instead of
14731         <bits/libc-tsd.h>.
14732         * include/rpc/rpc.h: Likewise.
14733         * locale/localeinfo.h: Likewise.
14734         * sunrpc/rpc_thread.c: Likewise.
14735         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14736         * sysdeps/nptl/malloc-machine.h: Likewise.
14738         * Makefile (headers): Remove bits/libc-lock.h.
14739         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14741         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14742         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14743         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14744         <bits/stdio-lock.h>.
14745         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14746         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14748 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14750         [BZ #18757]
14751         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14752         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14753         BZ #18757.
14755 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14757         * malloc/mtrace.pl: Filter out NULL entries.
14759 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14761         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14762         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14763         macro.
14765         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14766         (TCP_CC_INFO): Likewise.
14767         (TCP_SAVE_SYN): Likewise.
14768         (TCP_SAVED_SYN): Likewise.
14770 2015-08-31  Brett Neumeier <brett@neumeier.us>
14772         [BZ #18870]
14773         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14775 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14777         [BZ #18873]
14778         Fix broken overflow check in posix_fallocate
14779         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14780         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14781         Fix parenthesization typo.
14783 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
14785         [BZ #18887]
14786         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14787         tst-mntent-blank-passno.
14788         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14789         * misc/tst-mntent-blank-corrupt.c: New test.
14790         * misc/tst-mntent-blank-passno.c: New test ripped from ...
14791         * misc/tst-mntent.c (do_test): ... here.
14793 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
14795         [BZ #4404]
14796         * po/de.po: Fix SIGALRM typo.
14798 2015-08-28  James Perkins  <james@loowit.net>
14800         * time/tst-strptime2.c (tests): Replace short list of test
14801         strings for strptime %z specifier with code which exhaustively
14802         tests every combination of sign and 0 to 5 digits. Tests for
14803         rejection of invalid strings.
14805 2015-08-28  James Perkins  <james@loowit.net>
14807         [BZ #16141]
14808         * time/strptime_l.c (__strptime_internal): Fix %z minutes
14809         calculation, removing incorrect decimal time rounding, so that
14810         all minute values result in a valid seconds value.
14811         * time/strptime_l.c (__strptime_internal): Extend %z time zone
14812         offset range limits to UTC-99:59 through UTC+99:59 to parse
14813         current and historical use cases.
14814         * time/tst-strptime2.c (tests): Modify and add tests for the
14815         strptime %z input field descriptor, specifically conversion of
14816         minutes to seconds and validating an offset range of -9959 to
14817         +9959.
14819 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14820             Dmitry V. Levin  <ldv@altlinux.org>
14822         [BZ #18877]
14823         * posix/Makefile (tests): Add tst-mmap-offset.
14824         * posix/tst-mmap.c: New file.
14825         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14826         offset calculation for negative values.
14828 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14830         * sysdeps/i386/init-arch.h: New file.
14831         * sysdeps/i386/i586/init-arch.h: Likewise.
14832         * sysdeps/i386/i686/init-arch.h: Likewise.
14833         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14834         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
14835         * sysdeps/x86/cpu-features.h (bit_I586): New.
14836         (bit_I686): Likewise.
14837         (bit_CX8): Likewise.
14838         (bit_CMOV): Likewise.
14839         (index_CX8): Likewise.
14840         (index_CMOV): Likewise.
14841         (index_I586): Likewise.
14842         (index_I686): Likewise.
14843         (reg_CX8): Likewise.
14844         (reg_CMOV): Likewise.
14845         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14846         available at compile-time.
14847         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14848         available at compile-time.
14849         * sysdeps/x86/init-arch.h (USE_I586): New macro.
14850         (USE_I686): Likewise.
14852 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14854         * sysdeps/i386/bcopy.S: New file.
14855         * sysdeps/i386/bzero.S: Likewise.
14856         * sysdeps/i386/memcpy.S: Likewise.
14857         * sysdeps/i386/memmove.S: Likewise.
14858         * sysdeps/i386/mempcpy.S: Likewise.
14859         * sysdeps/i386/memset.S: Likewise.
14860         * sysdeps/i386/bzero.c: Removed.
14861         * sysdeps/i386/memset.c: Likewise.
14862         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14863         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14864         * sysdeps/i386/i586/memset_chk.S: Likewise.
14865         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14866         * sysdeps/i386/memcpy_chk.S: Here.
14867         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14868         * sysdeps/i386/memmove_chk.S: Here.
14869         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14870         * sysdeps/i386/mempcpy_chk.S: Likewise.
14871         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14872         * sysdeps/i386/memset_chk.S: Likewise.
14874 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14876         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14877         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14878         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14879         * soft-fp/fmadf4.c: Ditto.
14880         * soft-fp/fmatf4.c: Ditto.
14882 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14884         * sysdeps/i386/i586/Implies: Removed.
14885         * sysdeps/i386/i686/Implies: Likewise.
14887 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14889         * sysdeps/i386/i486/strlen.S: Moved to ...
14890         * sysdeps/i386/strlen.S: Here.
14892 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14894         * sysdeps/i386/i486/strcat.S: Moved to ...
14895         * sysdeps/i386/strcat.S: Here.
14897 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14899         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14900         * sysdeps/i386/pthread_spin_trylock.S: Here.
14901         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14902         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14904 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14906         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14907         * sysdeps/i386/string-inlines.c: Here.
14909 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14911         * sysdeps/i386/i486/htonl.S: Moved ...
14912         * sysdeps/i386/htonl.S: here.
14914 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14916         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14917         * sysdeps/i386/bits/atomic.h: Here.
14919 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14921         * sysdeps/i386/i486/Versions: Removed.
14923 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14925         [BZ #2898]
14926         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14927         Based on patch by Aurelien Jarno.
14929 2015-08-26  Stan Shebs  <stanshebs@google.com>
14931         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14932         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14934 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14936         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14937         * sysdeps/powerpc/dl-procinfo.c:
14938         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14939         feature so it shows when LD_SHOW_AUXV=1.
14941 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14943         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14944         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14945         definition.  ISA 2.07B no longer requires full sync.
14947 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14949         [BZ #18863]
14950         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14951         (si_call_addr): Define.
14952         (si_syscall): Define.
14953         (si_arch): Define.
14955 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14957         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14958         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14959         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14960         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14961         (__memset_zero_constant_len_parameter): New.
14962         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14963         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14964         (__memset_zero_constant_len_parameter): Don't define if
14965         __memset_chk or USE_AS_BZERO are defined.
14967         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14968         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14969         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14971         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14972         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14973         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14974         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14975         comments.
14976         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14977         -mno-mmx for $(all-rtld-routines).
14978         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14979         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14980         i386.
14982 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14984         * sysdeps/generic/unwind.h
14985         (_Unwind_Word): Use __mode__(__unwind_word__)
14986         instead of __mode__(__word__).
14987         (_Unwind_Sword): Likewise.
14989         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14990         (MAX_NEEDED_INPUT): New define.
14991         (MAX_NEEDED_OUTPUT): New define.
14993         * NEWS: New item for IBM z13 string optimizations.
14995         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14996         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14997         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14998         * sysdeps/s390/multiarch/Makefile
14999         (sysdep_routines): Add memrchr functions.
15000         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15001         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15003         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15004         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15005         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15006         * sysdeps/s390/multiarch/Makefile
15007         (sysdep_routines): Add wmemcmp functions.
15008         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15009         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15010         * benchtests/bench-wmemcmp.c: New File.
15011         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15013         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15014         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15015         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15016         * sysdeps/s390/multiarch/Makefile
15017         (sysdep_routines): Add wmemset functions.
15018         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15019         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15020         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15021         * string/test-memset.c: Add wmemset support.
15022         * wcsmbs/test-wmemset.c: New File.
15023         * wcsmbs/Makefile (strop-tests): Add wmemset.
15024         * benchtests/bench-memset.c: Add wmemset support.
15025         * benchtests/bench-wmemset.c: New File.
15026         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15028         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15029         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15030         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15031         * sysdeps/s390/multiarch/Makefile
15032         (sysdep_routines): Add memccpy functions.
15033         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15034         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15035         * string/memccpy.c: Use MEMCCPY if defined.
15037         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15038         * sysdeps/s390/multiarch/memchr.c: Likewise.
15039         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15040         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15041         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15042         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15043         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15044         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15045         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15046         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15047         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15048         and rawmemchr functions.
15049         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15050         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15051         and wmemchr.
15052         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15053         * string/test-memchr.c: Add wmemchr support.
15054         * wcsmbs/test-wmemchr.c: New File.
15055         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15056         * benchtests/bench-memchr.c: Add wmemchr support.
15057         * benchtests/bench-wmemchr.c: New File.
15058         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15060         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15061         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15062         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15063         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15064         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15065         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15066         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15067         wcscspn functions.
15068         * sysdeps/s390/multiarch/ifunc-impl-list.c
15069         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15070         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15071         * string/test-strcspn.c: Add wcscspn support.
15072         * wcsmbs/test-wcscspn.c: New File.
15073         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15074         * benchtests/bench-strcspn.c: Add wcscspn support.
15075         * benchtests/bench-wcscspn.c: New File.
15076         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15078         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15079         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15080         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15081         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15082         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15083         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15084         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15085         wcspbrk functions.
15086         * sysdeps/s390/multiarch/ifunc-impl-list.c
15087         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15088         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15089         * string/test-strpbrk.c: Add wcspbrk support.
15090         * wcsmbs/test-wcspbrk.c: New File.
15091         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15092         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15093         * benchtests/bench-wcspbrk.c: New File.
15094         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15096         * sysdeps/s390/multiarch/strspn-c.c: New File.
15097         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15098         * sysdeps/s390/multiarch/strspn.c: Likewise.
15099         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15100         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15101         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15102         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15103         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15104         wcsspn functions.
15105         * sysdeps/s390/multiarch/ifunc-impl-list.c
15106         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15107         * string/test-strspn.c: Add wcsspn support.
15108         * wcsmbs/test-wcsspn.c: New File.
15109         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15110         * benchtests/bench-strspn.c: Add wcsspn support.
15111         * benchtests/bench-wcsspn.c: New File.
15112         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15114         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15115         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15116         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15117         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15118         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15119         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15120         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15121         wcsrchr functions.
15122         * sysdeps/s390/multiarch/ifunc-impl-list.c
15123         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15124         * benchtests/bench-wcsrchr.c: New File.
15125         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15127         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15128         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15129         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15130         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15131         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15132         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15133         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15134         wcschrnul functions.
15135         * sysdeps/s390/multiarch/ifunc-impl-list.c
15136         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15137         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15138         * string/test-strchr.c: Add wcschrnul support.
15139         * wcsmbs/test-wcschrnul.c: New File.
15140         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15141         * benchtests/bench-strchr.c: Add wcschrnul support.
15142         * benchtests/bench-wcschrnul.c: New File.
15143         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15145         * sysdeps/s390/multiarch/strchr-c.c: New File.
15146         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15147         * sysdeps/s390/multiarch/strchr.c: Likewise.
15148         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15149         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15150         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15152         wcschr functions.
15153         * sysdeps/s390/multiarch/ifunc-impl-list.c
15154         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15155         * string/strchr.c (STRCHR): Define and use macro.
15156         * benchtests/bench-wcschr.c: New File.
15157         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15159         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15160         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15161         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15162         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15163         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15164         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15165         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15166         wcsncmp functions.
15167         * sysdeps/s390/multiarch/ifunc-impl-list.c
15168         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15169         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15170         * benchtests/bench-strncmp.c: Add wcsncmp support.
15171         * benchtests/bench-wcsncmp.c: New File.
15172         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15174         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15175         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15176         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15177         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15178         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15179         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15180         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15182         wcscmp functions.
15183         * sysdeps/s390/multiarch/ifunc-impl-list.c
15184         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15185         * string/strcmp.c (STRCMP): Define and use macro.
15186         * benchtests/bench-wcscmp.c: New File.
15187         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15188         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15189         instead of _HAVE_STRING_ARCH_memchr.
15191         * sysdeps/s390/multiarch/strncat-c.c: New File.
15192         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15193         * sysdeps/s390/multiarch/strncat.c: Likewise.
15194         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15195         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15196         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15197         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15198         wcsncat functions.
15199         * sysdeps/s390/multiarch/ifunc-impl-list.c
15200         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15201         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15202         * string/test-strncat.c: Add wcsncat support.
15203         * wcsmbs/test-wcsncat.c: New File.
15204         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15205         * benchtests/bench-strncat.c: Add wcsncat support.
15206         * benchtests/bench-wcsncat.c: New File.
15207         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15209         * sysdeps/s390/multiarch/strcat-c.c: New File.
15210         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15211         * sysdeps/s390/multiarch/strcat.c: Likewise.
15212         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15213         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15214         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15215         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15216         wcscat functions.
15217         * sysdeps/s390/multiarch/ifunc-impl-list.c
15218         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15219         * string/strcat.c (STRCAT): Define and use macro.
15220         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15221         * string/test-strcat.c: Add wcscat support.
15222         * wcsmbs/test-wcscat.c: New File.
15223         * wcsmbs/Makefile (strop-tests): Add wcscat.
15224         * benchtests/bench-strcat.c: Add wcscat support.
15225         * benchtests/bench-wcscat.c: New File.
15226         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15228         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15229         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15230         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15231         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15232         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15233         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15234         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15235         wcpncpy functions.
15236         * sysdeps/s390/multiarch/ifunc-impl-list.c
15237         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15238         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15239         * string/test-stpncpy.c: Add wcpncpy support.
15240         * wcsmbs/test-wcpncpy.c: New File.
15241         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15242         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15243         * benchtests/bench-wcpncpy.c: New File.
15244         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15246         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15247         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15248         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15249         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15250         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15251         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15252         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15253         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15254         wcsncpy functions.
15255         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15256         * sysdeps/s390/multiarch/ifunc-impl-list.c
15257         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15258         * string/test-strncpy.c: Add wcsncpy support.
15259         * wcsmbs/test-wcsncpy.c: New File.
15260         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15261         * benchtests/bench-strncpy.c: Add wcsncpy support.
15262         * benchtests/bench-wcsncpy.c: New File.
15263         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15265         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15266         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15267         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15268         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15269         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15270         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15271         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15272         wcpcpy functions.
15273         * string/stpcpy.c: Use STPCPY if defined.
15274         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15275         * sysdeps/s390/multiarch/ifunc-impl-list.c
15276         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15277         * string/test-stpcpy.c: Add wcpcpy support.
15278         * wcsmbs/test-wcpcpy.c: New File.
15279         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15280         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15281         * benchtests/bench-wcpcpy.c: New File.
15282         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15284         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15285         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15286         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15287         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15288         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15289         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15290         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15291         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15292         wcscpy functions.
15293         * sysdeps/s390/multiarch/ifunc-impl-list.c
15294         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15295         * benchtests/bench-wcscpy.c: New File.
15296         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15298         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15299         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15300         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15301         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15302         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15303         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15304         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15305         wcsnlen functions.
15306         * sysdeps/s390/multiarch/ifunc-impl-list.c
15307         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15308         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15309         * string/test-strnlen.c: Add wcsnlen support.
15310         * wcsmbs/test-wcsnlen.c: New File.
15311         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15312         * benchtests/bench-strnlen.c: Add wcsnlen support.
15313         * benchtests/bench-wcsnlen.c: New File.
15314         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15316         * sysdeps/s390/multiarch/Makefile: New File.
15317         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15318         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15319         * sysdeps/s390/multiarch/strlen.c: Likewise.
15320         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15321         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15322         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15323         * string/strlen.c (STRLEN): Define and use macro.
15324         * sysdeps/s390/multiarch/ifunc-impl-list.c
15325         (IFUNC_VX_IMPL): New macro function.
15326         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15327         * benchtests/Makefile (wcsmbs-bench): New variable.
15328         (string-bench-all): Added wcsmbs-bench.
15329         * benchtests/bench-wcslen.c: New File.
15331         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15332         s390_vx_libc_ifunc2): New macro function.
15334         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15335         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15336         assembler support.
15337         * sysdeps/s390/configure: Regenerated.
15339         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15340         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15342         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15343         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15344         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15346         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15347         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15348         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15349         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15350         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15351         (memcmp, bcmp): Use __memcmp_default as alias source.
15352         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15353         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15354         Rename to __memcmp_default.
15355         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15356         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15357         (memcpy): Use __memcpy_default as alias source.
15358         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15359         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15360         Rename to __memcpy_default.
15361         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15362         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15363         (memset): Use __memset_default as alias source.
15364         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15365         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15366         Rename to __memset_default.
15367         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15368         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15369         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15370         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15371         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15372         (memcmp, bcmp): Use __memcmp_default as alias source.
15373         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15374         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15375         Rename to __memcmp_default.
15376         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15377         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15378         (memcpy): Use __memcpy_default as alias source.
15379         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15380         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15381         Rename to __memcpy_default.
15382         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15383         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15384         (memset): Use __memset_default as alias source.
15385         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15386         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15387         Rename to __memset_default.
15388         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15389         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15391         [BZ #18610]
15392         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15393         __ieee_instruction_pointer to __unused.
15394         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15395         __ieee_instruction_pointer.
15396         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15397         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15398         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15399         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15400         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15401         Mark dxc-field as reserved.
15403 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15405         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15406         if the weak reference is not null.
15408 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15410         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15412         [BZ #11214]
15413         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15415 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15417         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15418         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15419         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15420         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15421         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15422         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15423         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15424         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15425         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15426         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15427         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15428         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15429         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15430         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15431         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15432         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15433         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15434         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15436 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15438         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15439         register other than r0 for tabort, it has special meaning.
15440         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15441         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15442         transaction before starting syscall.
15444 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15446         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15448 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15450         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15452         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15453         * sysdeps/x86_64/rtld-memset.S: Likewise.
15454         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15455         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15456         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15457         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15459         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15461 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15463         * debug/strcpy_chk.c: Improve performance.
15464         * debug/stpcpy_chk.c: Likewise.
15465         * sysdeps/x86_64/strcpy_chk.S: Remove.
15466         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15468         [BZ #18240]
15469         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15471 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15473         [BZ #15128]
15474         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15475         ifuncmain8.
15476         (modules-names): Add ifuncmod8.
15477         ($(objpfx)ifuncmain8): New rule.
15478         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15479         <cpuid.h>.
15480         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15481         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15482         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15483         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15484         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15485         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15486         * sysdeps/x86_64/ifuncmain8.c: New file.
15487         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15488         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15489         Removed.
15490         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15491         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15492         Change rtld_savespace_sse to __glibc_unused2.
15493         (RTLD_CHECK_FOREIGN_CALL): Removed.
15494         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15495         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15496         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15498 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15500         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15502 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15504         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15505         Unconditionally set __fpcr to avoid uninialized warning.
15506         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15508 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15510         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15511         is corrupt.
15513         * malloc/arena.c (arena_get2): Drop unused argument.
15514         (arena_lock): Adjust.
15515         (arena_get_retry): Likewise.
15517 2015-08-24  Andreas Schwab  <schwab@suse.de>
15519         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15520         Don't define.
15521         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15522         (__ASSUME_IPC64): Don't undef.
15523         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15524         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15525         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15526         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15527         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15528         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15529         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15530         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15531         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15532         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15533         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15534         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15535         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15536         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15537         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15538         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15539         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15540         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15541         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15542         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15543         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15545 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15547         * manual/Makefile (install): Only build manual when perl is available.
15549 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15551         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15552         '#undef memcpy' by '#undef memchr'.
15554 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15556         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15557         memchr not point to the internal __GI_memchr implementation.
15559 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15561         * timezone/Makefile (CFLAGS-zdump.c): Remove
15562         -Wno-strict-prototypes.
15563         (CFLAGS-zic.c): Likewise.
15564         (CFLAGS-ialloc.c): Likewise.
15565         (CFLAGS-scheck.c): Likewise.
15567         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15568         -Wno-error=undef.
15570 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15572         * i386/i686/multiarch/strcasestr-c.c: Removed.
15573         * x86_64/multiarch/strcasestr.c: Likewise.
15574         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15575         Remove strcasestr.
15577 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15579         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15581         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15582         variables for high and low parts before possibly modifying them.
15584 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15586         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15587         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15588         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15589         of "multiarch/init-arch.h".
15590         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15591         * sysdeps/x86/init-arch.h: This.
15593 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15595         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15596         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15598 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15600         [BZ #17787]
15601         * manual/macros.texi: Add twoexp macro.
15602         * manual/filesys.texi: Fix exponents.
15603         * manual/llio.texi: Likewise.
15604         * manual/stdio.texi: Likewise.
15606 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15608         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15609         incorrect use.
15611 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15613         [BZ #18370]
15614         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15615         whose real or imaginary part has small absolute value.
15616         * math/s_csqrtf.c (__csqrtf): Likewise.
15617         * math/s_csqrtl.c (__csqrtl): Likewise.
15618         * math/auto-libm-test-in: Add more tests of csqrt.
15619         * math/auto-libm-test-out: Regenerated.
15620         * sysdeps/i386/fpu/libm-test-ulps: Update.
15622 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15624         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15625         __ppc_set_ppr_very_low): New functions.
15626         * manual/platform.texi: Add documentation about
15627         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15629 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15631         * string/stpncpy.c (stpncpy): Improve performance using
15632         __strnlen/memcpy/memset.
15634 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15636         [BZ #18796]
15637         * scripts/test-installation.pl: Don't add -lmvec to build options if
15638         libmvec wasn't built.
15640 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15642         [BZ #14341]
15643         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15644         case when there is a gap between DT_REL and DT_JMPREL sections.
15645         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15646         (LDFLAGS-tst-split-dynreloc): New.
15647         (tst-split-dynreloc-ENV): Likewise.
15648         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15649         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15651 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15653         [BZ #18822]
15654         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15655         attribute_hidden.
15656         (__xstat64_conv): Likewise.
15657         (__xstat32_conv): Likewise.
15659 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15661         [BZ #18822]
15662         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15663         Don't load %ebx when calling __setcontext.  Call __setcontext
15664         with HIDDEN_JUMPTARGET.
15665         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15666         libc_hidden_def.
15668 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15670         * sysdeps/i386/i686/Makefile
15671         [$(subdir) == string] (sysdep_routines): Moved to ...
15672         * sysdeps/i386/Makefile: Here.
15673         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15674         * sysdeps/i386/cacheinfo.c: Here.
15675         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15676         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15677         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15678         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15680 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15682         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15683         __i586__ is defined.
15684         (HAS_I686): Defined to 1 if __i686__ is defined.
15686 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15688         * elf/Makefile [$(have-z-execstack) = yes]
15689         (CPPFLAGS-tst-execstack.c): New variable.
15691         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15692         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15693         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15694         UTMPX || _HAVE_UT_TV].
15695         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15696         UTMPX || _HAVE_UT_TV - 0].
15698 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15700         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15701         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15702         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15704 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15706         * sysdeps/powerpc/dl-procinfo.c:
15707         (_dl_powerpc_cap_flags): Added missing strings for some
15708         hwcap features.
15709         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15711 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15713         Port the 0x7efe...feff pattern to GCC 6.
15714         See Steve Ellcey's bug report in:
15715         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15716         * string/memrchr.c (MEMRCHR):
15717         * string/rawmemchr.c (RAWMEMCHR):
15718         * string/strchr.c (strchr):
15719         * string/strchrnul.c (STRCHRNUL):
15720         Rewrite code to avoid issues with signed shift overflow.
15722 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15724         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15725         whether cpuid is available only if HAS_CPUID is 0.
15726         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15727         (HAS_I586): Likewise.
15728         (HAS_I686): Likewise.
15730 2015-08-18  Zack Weinberg  <zackw@panix.com>
15732         * misc/Versions (libc): Add GLIBC_2.23.
15734 2015-08-18  Alan Modra  <amodra@gmail.com>
15736         [BZ #18421]
15737         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15738         .Lp__global.
15739         (_start): Load %dp via .Lp__global.
15740         [!SHARED]: Use .section .rodata.
15742 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15744         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15745         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15747 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15749         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15750         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15752 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15754         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15755         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15757 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15759         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15760         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15762 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15764         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15765         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15767 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15769         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15770         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15772 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15774         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15776 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15778         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15779         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15780         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15781         (__ASSUME_LWS_CAS): Delete.
15783 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15785         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15786         * sysdeps/hppa/configure: Regenerated.
15787         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15788         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15789         * sysdeps/hppa/nptl/tls.h: Likewise.
15791 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
15793         [BZ #18823]
15794         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15795         for scaling up small arguments.
15796         * math/s_csqrtf.c (__csqrtf): Likewise.
15797         * math/s_csqrtl.c (__csqrtl): Likewise.
15798         * math/auto-libm-test-in: Add more tests of csqrt.
15799         * math/auto-libm-test-out: Regenerated.
15801 2015-08-17  Andreas Schwab  <schwab@suse.de>
15803         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15804         version set GLIBC_2.19.
15806 2015-08-16  Zack Weinberg  <zackw@panix.com>
15808         [BZ #18681]
15809         * misc/regexp.h: This interface is no longer supported.
15810         Remove all contents, leaving only an #error directive.
15811         * misc/regexp.c (loc1, loc2, locs, step, advance):
15812         Demote to compatibility symbols.
15814 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15816         [BZ #18084]
15817         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15818         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15819         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15820         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15821         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15822         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15823         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15824         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15825         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15827 2015-08-15  Zack Weinberg  <zackw@panix.com>
15829         [BZ #18795]
15830         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15831         buffer length is known to be too large, not if it's known to be
15832         small enough.
15833         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15834         overflow at runtime, involving a length parameter, twice: once
15835         with a compile-time constant length parameter, once without.
15837 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
15839         [BZ #18824]
15840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15841         scaling x * y up instead of down.
15842         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15843         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15844         * math/auto-libm-test-in: Add more tests of fma.
15845         * math/auto-libm-test-out: Regenerated.
15847 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15849         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15851 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15853         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15854         unnecessary movq.
15855         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15856         Likewise.
15858 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15860         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15861         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15862         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15863         and tgamma.
15864         * math/auto-libm-test-out: Regenerated.
15865         * sysdeps/i386/fpu/libm-test-ulps: Update.
15866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15868         [BZ #16520]
15869         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15870         (__tanh): Force underflow exception for arguments with small
15871         absolute value.
15872         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15873         (__tanhf): Force underflow exception for arguments with small
15874         absolute value.
15875         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15876         (__tanhl): Force underflow exception for arguments with small
15877         absolute value.
15878         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15879         (__tanhl): Force underflow exception for arguments with small
15880         absolute value.
15881         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15882         (__tanhl): Force underflow exception for arguments with small
15883         absolute value.
15884         * math/auto-libm-test-in: Add more tests of tanh.
15885         * math/auto-libm-test-out: Regenerated.
15886         * sysdeps/i386/fpu/libm-test-ulps: Update.
15888 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15890         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15891         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15893 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15895         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15896         <cpuid.h>.
15898 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15900         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15901         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15903 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15905         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15906         Remove $(objpfx)init-arch.o.
15907         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15908         init-arch.
15909         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15910         (INIT_ARCH_EXT): Defined as empty.
15911         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15912         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15913         __init_cpu_features call.  Replace HAS_XXX with
15914         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15915         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15916         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15917         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15918         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15919         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15920         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15921         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15922         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15923         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15924         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15925         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15926         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15927         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15928         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15929         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15930         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15931         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15932         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15933         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15934         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15935         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15936         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15937         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15938         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15939         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15940         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15941         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15942         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15943         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15944         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15945         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15946         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15947         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15949         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15951 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15953         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15954         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15955         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15956         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15957         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15958         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15959         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15960         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15961         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15962         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15963         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15964         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15965         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15966         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15967         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15968         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15969         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15970         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15971         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15972         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15973         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15974         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15975         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15976         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15977         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15978         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15979         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15980         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15981         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15982         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15983         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15984         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15985         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15986         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15987         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15988         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15989         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15990         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15991         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15992         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15993         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15994         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15995         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15997 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15999         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16000         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16001         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16002         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16003         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16004         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16005         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16006         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16007         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16008         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16009         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16010         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16011         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16012         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16013         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16014         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16015         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16016         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16017         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16018         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16019         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16020         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16021         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16022         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16023         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16024         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16025         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16026         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16027         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16028         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16029         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16030         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16031         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16032         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16033         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16034         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16035         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16036         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16037         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16038         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16039         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16040         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16041         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16043 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16045         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16046         (dl_platform_init): Call init_cpu_features.
16047         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16048         * sysdeps/i386/i686/cacheinfo.c
16049         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16050         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16051         * sysdeps/i386/i686/multiarch/Versions: Removed.
16052         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16053         Removed.
16054         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16055         * sysdeps/unix/sysv/linux/x86/Makefile
16056         (libpthread-sysdep_routines): Remove init-arch.
16057         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16058         <sysdeps/x86_64/dl-procinfo.c> instead of
16059         sysdeps/generic/dl-procinfo.c>.
16060         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16061         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16062         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16063         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16064         [$(subdir) == elf] (tests-static): Add
16065         tst-get-cpu-features-static.
16066         * sysdeps/x86/Versions: New file.
16067         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16068         * sysdeps/x86/cpu-features.c: Likewise.
16069         * sysdeps/x86/cpu-features.h: Likewise.
16070         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16071         * sysdeps/x86/libc-start.c: Likewise.
16072         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16073         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16074         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16075         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16076         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16077         Assume USE_MULTIARCH is defined and don't check it.
16078         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16079         (is_amd): Likewise.
16080         (max_cpuid): Likewise.
16081         (intel_check_word): Likewise.
16082         (__cache_sysconf): Don't call __init_cpu_features.
16083         (__x86_preferred_memory_instruction): Removed.
16084         (init_cacheinfo): Don't call __init_cpu_features. Replace
16085         __cpu_features with GLRO(dl_x86_cpu_features).
16086         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16087         (dl_platform_init): Call init_cpu_features.
16088         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16089         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16090         * sysdeps/x86_64/multiarch/Versions: Removed.
16091         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16092         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16093         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16094         Removed.
16095         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16097 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16099         [BZ #18820]
16100         * libio/Makefile (test-fmemopen-mem): New test.
16101         * libio/test-fmemopen.c (do_bz18820): New test.
16102         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16103         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16105 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16107         [BZ #16734]
16108         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16109         (FREE_BUF): Delete.
16110         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16111         * libio/genops.c (_IO_setb): Use malloc and free directly.
16112         (_IO_default_doallocate, _IO_default_finish): Likewise.
16113         ( _IO_unbuffer_all): Likewise.
16114         ( libc_freeres_fn): Likewise.
16115         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16116         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16117         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16118         (_IO_wdefault_doallocate): Likewise.
16120 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16122         [BZ #18086]
16123         * sysdeps/posix/nice.c (nice): Restore old errno.
16124         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16126 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16128         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16130 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16132         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16133         __bcopy and add a weak_alias to bcopy.
16134         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16135         for static build.
16137         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16138         cleanup macro usage.
16139         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16140         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16141         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16142         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16143         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16144         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16145         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16146         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16147         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16148         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16149         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16150         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16151         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16152         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16153         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16154         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16155         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16156         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16157         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16159         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16160         libc_hidden_def.
16161         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16163         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16164         (sysdep_routines): Add strstr-ppc64.
16165         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16167 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16169         [BZ #18778]
16170         * elf/Makefile (tests): Add Add tst-nodelete2.
16171         (modules-names): Add tst-nodelete2mod.
16172         (tst-nodelete2mod.so-no-z-defs): New.
16173         ($(objpfx)tst-nodelete2): Likewise.
16174         ($(objpfx)tst-nodelete2.out): Likewise.
16175         (LDFLAGS-tst-nodelete2): Likewise.
16176         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16177         out of loop through all loaded libraries.
16178         * elf/tst-nodelete2.c: New file.
16179         * elf/tst-nodelete2mod.c: Likewise.
16180         * elf/tst-znodelete-zlib.cc: Delete.
16182 2015-08-11  Andreas Schwab  <schwab@suse.de>
16184         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16185         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16186         (__openat64_nocancel): Likewise.
16188 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16190         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16191         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16192         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16193         * math/auto-libm-test-out: Regenerated.
16194         * sysdeps/i386/fpu/libm-test-ulps: Update.
16195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16197 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16199         [BZ #18790]
16200         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16201         threshold for returning +/- 1.
16202         * math/auto-libm-test-in: Add more tests of tanh.
16203         * math/auto-libm-test-out: Regenerated.
16204         * sysdeps/i386/fpu/libm-test-ulps: Update.
16206 2015-08-10  Andreas Schwab  <schwab@suse.de>
16208         [BZ #18781]
16209         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16210         MORE_OFLAGS to oflag.
16211         * io/test-lfs.c (do_test): Test openat64.
16213 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16215         [BZ #18789]
16216         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16217         smaller threshold for returning the argument.
16218         * math/auto-libm-test-in: Add more tests of sinh.
16219         * math/auto-libm-test-out: Regenerated.
16220         * sysdeps/i386/fpu/libm-test-ulps: Update.
16222 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16224         [BZ #18674]
16225         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16226         break.
16228 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16230         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16231         (generated): Don't add $(addprefix z.,$(tzfiles)).
16233 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16235         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16236         * scripts/sysd-rules.awk: Likewise.
16238 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16240         * iconvdata/tst-tables.sh: Change echo -n to printf.
16241         * nss/db-Makefile: Likewise.
16242         * posix/tst-getconf.sh: Likewise.
16243         * stdio-common/tst-unbputc.sh: Likewise.
16245 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16247         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16248         MADV_*_PAGES defines behind this feature check.
16250 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16252         [BZ #18480]
16253         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16254         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16255         Define.
16256         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16257         LOAD_REGS_5, LOAD_REGS_6): Update.
16258         (INTERNAL_SYSCALL): Update using new LOAD defines.
16259         (INTERNAL_SYSCALL_NCS): Likewise.
16260         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16262 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16264         [BZ #16734]
16265         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16267 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16269         [BZ #17905]
16270         * catgets/Makefile (tst-catgets-mem): New test.
16271         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16272         * catgets/open_catalog.c (__open_catalog): Likewise.
16273         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16275 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16277         [BZ #18787]
16278         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16279         clobber registers.
16280         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16281         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16282         Cast return to __typeof (oldval).
16284 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16286         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16287         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16288         and delete sys/syscall.h include.
16290 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16292         [BZ #16517]
16293         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16294         (tan): Force underflow exception for arguments with small absolute
16295         value.
16296         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16297         (__kernel_tanf): Force underflow exception for arguments with
16298         small absolute value.
16299         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16300         (__kernel_tanl): Force underflow exception for arguments with
16301         small absolute value.
16302         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16303         (__kernel_tanl): Force underflow exception for arguments with
16304         small absolute value.
16305         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16306         (__kernel_tanl): Force underflow exception for arguments with
16307         small absolute value.
16308         * math/auto-libm-test-in: Add more tests of tan.
16309         * math/auto-libm-test-out: Regenerated.
16311 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16313         Fix sysdeps/i386/fpu/s_scalbn.S build
16315         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16317 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16319         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16321 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16323         Fix gcrt0.o compilation
16325         When static-start-installed-name is different from
16326         start-installed-name, we must not use the shared objects.
16328         * csu/Makefile
16329         (extra-objs): Add gmon-start.o when building shared library and
16330         $(static-start-installed-name) is different from
16331         $(start-installed-name).
16332         $(objpfx)g$(static-start-installed-name): When building shared
16333         library and $(static-start-installed-name) is different from
16334         $(static-start-installed-name), revert to non-shared rule,
16335         i.e. using $(objpfx)% and gmon-start.o.
16337 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16339         [BZ #16519]
16340         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16341         (__ieee754_sinh): Force underflow exception for arguments with
16342         small absolute value.
16343         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16344         (__ieee754_sinhf): Force underflow exception for arguments with
16345         small absolute value.
16346         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16347         (__ieee754_sinhl): Force underflow exception for arguments with
16348         small absolute value.
16349         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16350         (__ieee754_sinhl): Force underflow exception for arguments with
16351         small absolute value.
16352         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16353         (__ieee754_sinhl): Force underflow exception for arguments with
16354         small absolute value.
16355         * math/auto-libm-test-in: Add more tests of sinh.
16356         * math/auto-libm-test-out: Regenerated.
16357         * sysdeps/i386/fpu/libm-test-ulps: Update.
16359 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16361         * libio/oldfileops.c: Include unistd.h.
16363 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16365         * stdlib/isomac.c: Include ctype.h.
16367 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16369         * dirent/tst-seekdir.c (main): Converted to ...
16370         (do_test): ... this.
16371         (TEST_FUNCTION): New macro.
16372         Include test-skeleton.c.
16373         * elf/tst-dlmodcount.c (main): Converted to ...
16374         (do_test): ... this.
16375         (TEST_FUNCTION): New macro.
16376         Include test-skeleton.c.
16377         * elf/tst-order-main.c (main): Converted to ...
16378         (do_test): ... this.
16379         (TEST_FUNCTION): New macro.
16380         Include test-skeleton.c.
16381         * elf/tst-pie2.c (main): Converted to ...
16382         (do_test): ... this.
16383         (TEST_FUNCTION): New macro.
16384         Include test-skeleton.c.
16385         * inet/tst-ether_aton.c (main): Converted to ...
16386         (do_test): ... this.
16387         (TEST_FUNCTION): New macro.
16388         Include test-skeleton.c.
16389         * misc/tst-mntent.c (main): Converted to ...
16390         (do_test): ... this.
16391         (TEST_FUNCTION): New macro.
16392         Include test-skeleton.c.
16393         * misc/tst-tsearch.c (main): Converted to ...
16394         (do_test): ... this.
16395         (TEST_FUNCTION): New macro.
16396         Include test-skeleton.c.
16397         * posix/tst-regexloc.c (main): Converted to ...
16398         (do_test): ... this.
16399         (TEST_FUNCTION): New macro.
16400         Include test-skeleton.c.
16401         * resolv/tst-aton.c (main): Converted to ...
16402         (do_test): ... this.
16403         (TEST_FUNCTION): New macro.
16404         Include test-skeleton.c.
16405         * stdio-common/test-fwrite.c (main): Converted to ...
16406         (do_test): ... this.
16407         (TEST_FUNCTION): New macro.
16408         Include test-skeleton.c.
16409         * stdio-common/tst-ferror.c (main): Converted to ...
16410         (do_test): ... this.
16411         (TEST_FUNCTION): New macro.
16412         Include test-skeleton.c.
16413         * stdio-common/tst-printf.c (main): Converted to ...
16414         (do_test): ... this.
16415         (TEST_FUNCTION): New macro.
16416         Include test-skeleton.c.
16417         * stdio-common/tst-printfsz.c (main): Converted to ...
16418         (do_test): ... this.
16419         (TEST_FUNCTION): New macro.
16420         Include test-skeleton.c.
16421         * stdlib/tst-strtod.c (main): Converted to ...
16422         (do_test): ... this.
16423         (TEST_FUNCTION): New macro.
16424         Include test-skeleton.c.
16425         * string/tst-strlen.c (main): Converted to ...
16426         (do_test): ... this.
16427         (TEST_FUNCTION): New macro.
16428         Include test-skeleton.c.
16429         * string/tst-svc.c (main): Converted to ...
16430         (do_test): ... this.
16431         (TEST_FUNCTION): New macro.
16432         Include test-skeleton.c.
16433         * time/tst-strptime.c (main): Converted to ...
16434         (do_test): ... this.
16435         (TEST_FUNCTION): New macro.
16436         Include test-skeleton.c.
16437         * timezone/tst-timezone.c (main): Converted to ...
16438         (do_test): ... this.
16439         (TEST_FUNCTION): New macro.
16440         Include test-skeleton.c.
16442 2015-08-05  Zack Weinberg  <zackw@panix.com>
16444         * misc/regexp.h: Update comments.
16446 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16448         [BZ #18635]
16449         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16450         before return label.
16452 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16454         [BZ #18661]
16455         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16456         when calling __errno_location.
16457         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16458         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16460 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16462         [BZ #18661]
16463         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16464         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16465         __gettimeofday.
16467 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16469         [BZ #18661]
16470         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16471         (__start_context): Don't use pop to restore %rdi so that stack
16472         is aligned to 16 bytes when calling __setcontext.
16474 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16476         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16477         only for libc.
16478         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16480 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16482         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16483         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16484         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16486 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16488         * string/memccpy.c (memccpy):
16489         Improve performance by using memchr/memcpy/__mempcpy.
16491 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16493         * string/strncpy.c (strncpy):
16494         Improve performance by using __strnlen/memcpy.
16496 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16498         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16499         Optimize to avoid an unnecessary FPCR read.
16501 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16503         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16504         Optimize to reduce FPCR/FPSR accesses.
16506 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16508         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16509         dead->data[category] != NULL.
16511 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16513         [BZ #18647]
16514         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16515         and |x| close to 1, use absolute value of x when computing log.
16516         * math/auto-libm-test-in: Add more tests of pow.
16517         * math/auto-libm-test-out: Regenerated.
16519 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16521         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16522         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16523         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16525 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16527         [BZ #18525]
16528         * locales/km_KH: Remove timezone definition.
16529         * locales/lo_LA: Likewise.
16530         * locales/my_MM: Likewise.
16531         * locales/nan_TW@latin: Likewise.
16532         * locales/th_TH: Likewise.
16533         * locales/uk_UA: Likewise.
16535 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16537         [BZ #18265]
16538         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16539         (wcsncat): Likewise.
16540         (wcscmp): Likewise.
16541         (wcsncmp): Likewise.
16543 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16545         * test-skeleton.c (usage): New function.
16546         (main): Call usage when opt is '?'.
16548 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16550         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16551         before first use.
16553 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16555         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16556         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16557         in there too.
16559 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16561         * version.h (RELEASE): Set to "development".
16562         (VERSION): Set to "2.22.90"
16564         * version.h (RELEASE): Set to "stable".
16565         (VERSION): Set to "2.22"
16566         * include/features.h (__GLIBC_MINOR__): Set to 22.
16568 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16570         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16571         Restructure macro to avoid "value computed is not used" warning.
16572         (atomic_compare_and_exchange_val_acq): Likewise.
16574 2015-08-04  Andreas Schwab  <schwab@suse.de>
16576         [BZ #18635]
16577         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16578         ret.
16579         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16581 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16583         * po/pl.po: Updated translation.
16584         * po/uk.po: Likewise.
16585         * po/fi.po: Likewise.
16586         * po/ko.po: Likewise.
16587         * po/ru.po: Likewise.
16588         * po/vi.po: Likewise.
16590 2015-07-31  Zack Weinberg  <zackw@panix.com>
16592         [BZ #18681]
16593         * regexp.h: Add unconditional #warning stating that this header
16594         will be removed soon.  Revise banner comment to match.
16595         (compile): Consistently use ERROR instead of RETURN to report
16596         errors (partial fix for bz#18681).
16597         * regexp.c: Don't include regexp.h. Remove some unnecessary
16598         declarations.
16600 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16602         * po/libc.pot: Regenerated.
16604 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16606         [BZ #18740]
16607         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16608         float-vlen4-arch-ext-cflags): Removed.
16609         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16610         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16612 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16614         [BZ #14113]
16615         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16616         aligned to __aligned__.
16617         (pthread_cond_t, pthread_rwlock_t): Likewise.
16619 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16621         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16623 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16625         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16626         (struct sigaction): Change sa_flags from a long to an int, and add
16627         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16629 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16631         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16632         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16633         sysdeps/generic/sysdep.h include.
16634         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16635         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16636         sysdeps/hppa/sysdep.h.
16637         (ENTRY, PSEUDO): Undefine before defining.
16639 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16641         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16642         from scratch to use INTERNAL_SYSCALL.
16644 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16646         [BZ #18078]
16647         * scripts/check-localplt.awk: Support alternate relocations.
16648         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16649         sections.
16650         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16651         malloc entries with + REL R_386_GLOB_DAT.
16652         * sysdeps/x86_64/localplt.data: New file.
16654 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16656         [BZ #18731]
16657         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16658         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16659         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16661 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16663         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16665 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16667         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16668         directly in terms of __sync_fetch_and_add and delete (int) cast.
16670 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16672         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16673         the -D_ASM_IA64_CURRENT_H flag.
16675 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16677         [BZ #18641]
16678         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16680 2015-07-27  Andreas Schwab  <schwab@suse.de>
16682         * conform/conformtest.pl (checknamespace): Filter out string
16683         literals while tokenizing.
16685 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16687         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16688         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16689         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16691 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16693         * nptl/tst-join7mod.c: Add #include <string.h>.
16695 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16697         * sysdeps/nios2/libm-test-ulps: Update.
16699 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16701         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16702         Fix order of arguments to the rt_sigprocmask syscall.
16703         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16704         Likewise.
16706 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16708         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16710 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16712         [BZ #18457]
16713         * nptl/Makefile (tests): New test case tst-join7.
16714         (modules-names): New test case module tst-join7mod.
16715         * nptl/tst-join7.c: New file.
16716         * nptl/tst-join7mod.c: New file.
16717         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16718         all translation units in libc.so, libpthread.so and rtld.
16720 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16724 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16726         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16727         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16728         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16729         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16730         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16731         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16732         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16733         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16734         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16735         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16736         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16737         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16738         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16739         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16740         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16741         implementation.
16743 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16745         [BZ #17711]
16746         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16747         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16748         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16749         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16750         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16751         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16753 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16755         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16756         instead of just saying load lock in the comments.
16758 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16760         * sysdeps/unix/Subdirs: Moved ...
16761         * sysdeps/posix/Subdirs: ... here.
16762         * login/pty.h (struct termios, struct winsize): Add forward decls.
16763         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16764         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16765         * sysdeps/arm/nacl/libc.abilist: Updated.
16766         * sysdeps/nacl/libutil.abilist: New file.
16768         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16769         (SIGWINCH): New macro.
16771         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16772         * sysdeps/arm/nacl/libc.abilist: Add it.
16774 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16776         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16778 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16780         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16781         Swap __glibc_reserved0 and sa_flags order.
16783 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16785         [BZ #18657]
16786         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16787         are pending TLS destructor calls.
16788         * include/link.h (struct link_map): Add concurrency note for
16789         L_TLS_DTOR_COUNT.
16790         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16791         Don't touch the link map flag.  Atomically increment
16792         l_tls_dtor_count.
16793         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16794         Avoid taking the load lock and don't touch the link map flag.
16795         * stdlib/tst-tls-atexit-nodelete.c: New test case.
16796         * stdlib/Makefile (tests): Use it.
16797         * stdlib/tst-tls-atexit.c (do_test): dlopen
16798         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
16799         to allow tst-tls-atexit-nodelete test case to use it.
16801 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16803         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16804         to bits/types.h.
16805         (msgqnum_t): New typedef.
16806         (msglen_t): Likewise.
16807         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
16808         and msg_qbytes type to msglen_t.
16810 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16812         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16813         pad0 to __glibc_reserved0.
16814         (struct stat64): Likewise.
16816 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16818         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16819         Change sa_flags from a long to an int and add __glibc_reserved0 before
16820         it for padding.
16822 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16824         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16825         anonymous by deleting "siginfo" name.
16827 2015-07-21  Roland McGrath  <roland@hack.frob.com>
16829         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16830         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16831         rather than __nacl_irt_filename.
16832         * sysdeps/nacl/xstat.c (__xstat): Likewise.
16834         * NEWS: New item for arm-nacl port.
16835         * sysdeps/arm/nacl/libc.abilist: New file.
16836         * sysdeps/nacl/ld.abilist: New file.
16837         * sysdeps/nacl/libBrokenLocale.abilist: New file.
16838         * sysdeps/nacl/libanl.abilist: New file.
16839         * sysdeps/nacl/libcrypt.abilist: New file.
16840         * sysdeps/nacl/libdl.abilist: New file.
16841         * sysdeps/nacl/libm.abilist: New file.
16842         * sysdeps/nacl/libpthread.abilist: New file.
16843         * sysdeps/nacl/libresolv.abilist: New file.
16844         * sysdeps/nacl/librt.abilist: New file.
16846 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
16848         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16849         __startcontext to initialize the new context.
16850         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16851         up CFI directive to forbid further backtracing.
16853 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16855         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16856         reference.
16857         * charmaps/ANSI_X3.4-1968: Likewise.
16858         * charmaps/BS_4730: Likewise.
16859         * charmaps/BS_VIEWDATA: Likewise.
16860         * charmaps/CP1250: Likewise.
16861         * charmaps/CP1251: Likewise.
16862         * charmaps/CP1252: Likewise.
16863         * charmaps/CP1253: Likewise.
16864         * charmaps/CP1254: Likewise.
16865         * charmaps/CP1255: Likewise.
16866         * charmaps/CP1256: Likewise.
16867         * charmaps/CSN_369103: Likewise.
16868         * charmaps/EBCDIC-DK-NO: Likewise.
16869         * charmaps/GB_1988-80: Likewise.
16870         * charmaps/GREEK-CCITT: Likewise.
16871         * charmaps/GREEK7: Likewise.
16872         * charmaps/INIS-8: Likewise.
16873         * charmaps/ISIRI-3342: Likewise.
16874         * charmaps/ISO_2033-1983: Likewise.
16875         * charmaps/ISO_5427-EXT: Likewise.
16876         * locales/POSIX: Likewise.
16877         * locales/ar_SA: Likewise.
16878         * locales/be_BY: Likewise.
16879         * locales/be_BY@latin: Likewise.
16880         * locales/ca_ES: Likewise.
16881         * locales/cs_CZ: Likewise.
16882         * locales/da_DK: Likewise.
16883         * locales/de_BE: Likewise.
16884         * locales/de_CH: Likewise.
16885         * locales/de_LU: Likewise.
16886         * locales/en_AU: Likewise.
16887         * locales/en_BW: Likewise.
16888         * locales/en_CA: Likewise.
16889         * locales/en_DK: Likewise.
16890         * locales/en_GB: Likewise.
16891         * locales/en_IE: Likewise.
16892         * locales/en_NZ: Likewise.
16893         * locales/en_ZA: Likewise.
16894         * locales/en_ZW: Likewise.
16895         * locales/es_AR: Likewise.
16896         * locales/es_BO: Likewise.
16897         * locales/es_CL: Likewise.
16898         * locales/es_CO: Likewise.
16899         * locales/es_DO: Likewise.
16900         * locales/es_EC: Likewise.
16901         * locales/es_ES: Likewise.
16902         * locales/es_HN: Likewise.
16903         * locales/es_MX: Likewise.
16904         * locales/es_PA: Likewise.
16905         * locales/es_PE: Likewise.
16906         * locales/es_PY: Likewise.
16907         * locales/es_SV: Likewise.
16908         * locales/es_US: Likewise.
16909         * locales/es_UY: Likewise.
16910         * locales/es_VE: Likewise.
16911         * locales/et_EE: Likewise.
16912         * locales/fa_IR: Likewise.
16913         * locales/fo_FO: Likewise.
16914         * locales/fr_CA: Likewise.
16915         * locales/fr_CH: Likewise.
16916         * locales/gv_GB: Likewise.
16917         * locales/he_IL: Likewise.
16918         * locales/hr_HR: Likewise.
16919         * locales/id_ID: Likewise.
16920         * locales/is_IS: Likewise.
16921         * locales/it_CH: Likewise.
16922         * locales/iw_IL: Likewise.
16923         * locales/kl_GL: Likewise.
16924         * locales/ko_KR: Likewise.
16925         * locales/kw_GB: Likewise.
16926         * locales/lg_UG: Likewise.
16927         * locales/lt_LT: Likewise.
16928         * locales/lv_LV: Likewise.
16929         * locales/mi_NZ: Likewise.
16930         * locales/nhn_MX: Likewise.
16931         * locales/nl_BE: Likewise.
16932         * locales/pl_PL: Likewise.
16933         * locales/sk_SK: Likewise.
16934         * locales/sl_SI: Likewise.
16935         * locales/sv_FI: Likewise.
16936         * locales/tl_PH: Likewise.
16937         * locales/tr_TR: Likewise.
16938         * locales/vi_VN: Likewise.
16940 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16942         [BZ #17475]
16943         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16944         of tu_IN and bh_IN.
16946 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16948         [BZ #18694]
16949         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16950         bits/wordsize.h.
16951         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16953 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16955         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16956         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16957         (spawn_thread): New function.
16958         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16959         (do_test): ... here.  Use IS_LOADED to test for its
16960         availability.
16962 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16964         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16966 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16968         [BZ #18696]
16969         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16970         si_addr_bnd.
16971         (si_lower): New.
16972         (si_upper): Likewise.
16974 2015-07-16  David S. Miller  <davem@davemloft.net>
16976         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16978 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16980         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16981         buffer.
16982         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16983         fail output information.
16985 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16988         and strstr-ppc64..
16989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16990         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16991         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16992         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16993         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16995 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16997         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16998         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16999         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17000         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17002 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17004         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17005         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17006         rtld_hidden_proto.
17007         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17009 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17011         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17012         the test can fail.
17014         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17016         [BZ #18676]
17017         * elf/tst-nodelete-opened.c: New test case.
17018         * elf/tst-nodelete-opened-lib.c: New test case module.
17019         * elf/Makefile (tests, modules-names): Use them.
17020         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17021         early.
17023 2015-07-15  David S. Miller  <davem@davemloft.net>
17025         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17026         futex-intenal.h
17027         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17028         * sysdeps/sparc/sparc64/Makefile: Likewise.
17029         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17030         Remove space from macro define.
17031         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17033 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17035         [BZ #17475]
17036         * locale/iso-639.def: Update Bhili and Tulu language codes as
17037         per iso639-3.
17039 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17041         * elf/tst-leaks1.c (main): Converted to ...
17042         (do_test): ... this.
17043         (TEST_FUNCTION): New macro.
17044         Include test-skeleton.c.
17045         * localedata/tst-langinfo.c (main): Converted to ...
17046         (do_test): ... this.
17047         (TEST_FUNCTION): New macro.
17048         Include test-skeleton.c.
17049         * math/test-fpucw.c (main): Converted to ...
17050         (do_test): ... this.
17051         (TEST_FUNCTION): New macro.
17052         Include test-skeleton.c.
17053         * math/test-tgmath.c (main): Converted to ...
17054         (do_test): ... this.
17055         (TEST_FUNCTION): New macro.
17056         Include test-skeleton.c.
17057         * math/test-tgmath2.c (main): Converted to ...
17058         (do_test): ... this.
17059         (TEST_FUNCTION): New macro.
17060         Include test-skeleton.c.
17061         * setjmp/tst-setjmp.c (main): Converted to ...
17062         (do_test): ... this.
17063         (TEST_FUNCTION): New macro.
17064         Include test-skeleton.c.
17065         * stdio-common/tst-sscanf.c (main): Converted to ...
17066         (do_test): ... this.
17067         (TEST_FUNCTION): New macro.
17068         Include test-skeleton.c.
17069         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17070         (do_test): ... this.
17071         (TEST_FUNCTION): New macro.
17072         Include test-skeleton.c.
17074         * elf/tst-audit9.c (main): Converted to ...
17075         (do_test): ... this.
17076         (TEST_FUNCTION): New macro.
17077         Include test-skeleton.c.
17079 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17081         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17083 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17085         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17086         New variable.
17088 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17090         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17092 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17094         * sysdeps/generic/dl-fileid.h: New file.
17095         * sysdeps/posix/dl-fileid.h: New file.
17096         * sysdeps/nacl/dl-fileid.h: New file.
17097         * include/link.h: Include <dl-fileid.h>.
17098         (struct link_map): Replace l_dev and l_ino with l_file_id.
17099         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17100         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17101         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17103 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17105         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17107 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17109         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17110         Add iff $CXX is set.
17111         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17112         Likewise.
17113         (tst-nodelete-zmodiff): Likewise.
17114         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17116 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17118         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17120 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17122         * sysdeps/aarch64/fpu/math_private.h
17123         (define math_opt_barrier): Add AArch64 version.
17124         (math_force_eval): Likewise.
17126 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17128         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17130 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17132         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17133         %ld with %jd and cast to intmax_t.
17134         (do_test_length_zero): Likewise.
17136 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17138         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17140 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17142         * sysdeps/tile/libm-test-ulps: Regenerated.
17144         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17145         Comment out the whole function, not just its body.
17147 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17149         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17150         locks.
17152         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17154 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17156         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17157         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17159 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17161         * sysdeps/nptl/futex-internal.h: New file.
17162         * sysdeps/nacl/futex-internal.h: New file.
17163         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17164         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17165         error checking.
17166         (setxid_unmark_thread): Likewise.
17167         (__nptl_setxid): Likewise.
17168         (__wait_lookup_done): Likewise.
17169         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17170         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17171         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17172         * nptl/pthread_once.c (clear_once_control): Likewise.
17173         (__pthread_once_slow): Likewise.
17174         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17175         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17176         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17177         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17178         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17179         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17180         Likewise.
17181         (__pthread_rwlock_rdlock): Likewise.
17182         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17183         Likewise.
17184         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17185         Likewise.
17186         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17187         Likewise.
17188         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17189         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17190         Likewise.
17191         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17192         __ASSUME_PRIVATE_FUTEX check.
17193         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17194         Check that shared futexes are supported.
17195         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17196         wrappers with error checking.
17197         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17198         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17199         * nptl/pthread_barrierattr_setpshared.c
17200         (pthread_barrierattr_setpshared): Check that shared futexes are
17201         supported.
17202         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17203         Likewise.
17204         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17205         Likewise.
17206         * nptl/sem_init.c (futex_private_if_supported): Remove.
17207         (__new_sem_init): Adapt and check that shared futexes are supported.
17208         * nptl/sem_open.c (sem_open): Likewise.
17209         * nptl/sem_post.c (futex_wake): Remove.
17210         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17211         (do_futex_wait): Use futex wrappers with error checking.
17212         * nptl/sem_wait.c: Include lowlevellock.h.
17213         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17214         Use futex_supports_pshared.
17215         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17216         Use futex wrappers with error checking.
17217         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17218         Likewise.
17219         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17220         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17221         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17222         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17223         (futex_wake): Likewise.
17224         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17225         (do_futex_wait): Use futex wrappers with error checking.
17226         (__new_sem_wait_slow): Update EINTR handling.
17227         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17229 2015-07-09  Martin Sebor  <msebor@redhat.com>
17231         [BZ #18435]
17232         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17233         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17234         * nptl/Makefile (test-xfail-tst-once5): Define.
17236 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17238         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17239         * elf/dl-minimal.c: For readability, reorder some definitions and
17240         introduce more page breaks.  Include <stdio.h>.
17241         (__libc_fatal): New function.
17243         * include/unistd.h: Add rtld_hidden_proto for _exit.
17244         * posix/_exit.c: Add rtld_hidden_def.
17245         * sysdeps/mach/hurd/_exit.c: Likewise.
17246         * sysdeps/nacl/_exit.c: Likewise.
17247         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17248         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17250 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17252         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17253         bndmov encoding with zero displacement.
17255 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17256             H.J. Lu  <hongjiu.lu@intel.com>
17258         [BZ #18134]
17259         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17260         * sysdeps/i386/configure: Regenerated.
17261         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17262         (_dl_runtime_profile): Save and restore Intel MPX return bound
17263         registers when calling _dl_call_pltexit.  Add
17264         PRESERVE_BND_REGS_PREFIX before return.
17265         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17266         (LRV_BND1_OFFSET): Likewise.
17267         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17268         lrv_bnd1.
17269         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17270         typo in bndmov encoding.
17271         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17272         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17273         branch instructions to preserve bounds.
17275 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17278         [GLIBC_2.22]: Add fmemopen.
17280 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17282         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17283         returns an error, also try to use host port from __mach_host_self for
17284         the __vm_wire call.
17285         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17287 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17289         [BZ #18400]
17290         [BZ #18648]
17291         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17292         Fix pr_uid and pr_gid members.
17293         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17294         definition to elf_greg_t.
17296 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17298         [BZ #18383]
17299         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17300         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17301         * sysdeps/arm/configure: Regenerated.
17302         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17303         (test-xfail-tst-tlsalign-static): Variable removed.
17305         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17306         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17307         rather than explicit 'ln -s'.
17309         * resolv/rpc/netdb.h: New file.
17310         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17312 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17314         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17315         length buffers.
17316         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17317         test-skeleton.c.
17319         [BZ #6544]
17320         [BZ #11216]
17321         [BZ #12836]
17322         [BZ #13151]
17323         [BZ #13152]
17324         [BZ #14292]
17325         * include/stdio.h (fmemopen): Remove hidden prototype.
17326         (__fmemopen): Add new hidden prototype.
17327         * libio/Makefile: Add oldfmemopen object.
17328         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17329         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17330         compliance.
17331         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17332         symbol compatibility.
17333         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17334         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17335         fmemopen.
17336         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17337         on append and read mode.
17338         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17339         fmemopen.
17340         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17341         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17342         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17343         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17344         Likewise.
17345         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17346         [GLIBC_2.22]: Likewise.
17347         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17348         Likewise.
17349         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17350         Likewise.
17351         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17352         [GLIBC_2.22]: Likewise.
17353         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17354         [GLIBC_2.22]: Likewise.
17355         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17356         [GLIBC_2.22]: Likewise.
17357         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17358         [GLIBC_2.22]: Likewise.
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17360         [GLIBC_2.22]: Likewise.
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17362         [GLIBC_2.22]: Likewise.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17364         [GLIBC_2.22]: Likewise.
17365         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17366         Likewise.
17367         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17368         Likewise.
17369         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17370         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17371         [GLIBC_2.22]: Likewise.
17372         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17373         [GLIBC_2.22]: Likewise.
17374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17375         [GLIBC_2.22]: Likewise.
17376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17377         [GLIBC_2.22]: Likewise.
17378         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17379         Likewise.
17380         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17381         Likewise.
17382         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17383         Likewise.
17384         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17385         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17387 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17389         [BZ #18643]
17390         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17391         IPV6_PATHMTU, and IPV6_DONTFRAG.
17393 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17395         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17396         and _IO_UNBUFFERED.
17397         * libio/oldfileops.c: Likewise.
17398         * libio/wfileops.c: Likewise.
17400 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17402         * nscd/selinux.c: Delete selinux/flask.h include.
17404 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17406         [BZ #18641]
17407         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17408         (putpwent): Likewise.
17409         (getpwnam): Likewise.
17410         (getpwent_r): Likewise.
17411         (getpwuid_r): Likewise.
17412         (getpwnam_r): Likewise.
17413         (fgetpwent_r): Likewise.
17415 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17417         [BZ #18557]
17418         * inet/rcmd.c (__validuser2_sa): Check user first to
17419         short-circuit host check.
17421 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17422             Mikhail Ilin  <m.ilin@samsung.com>
17424         [BZ #17833]
17425         * elf/Makefile (tests): Add tst-nodelete.
17426         (modules-names): Add tst-nodelete-uniquemod.
17427         (tst-nodelete-uniquemod.so-no-z-defs): New.
17428         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17429         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17430         ($(objpfx)tst-nodelete): Likewise.
17431         ($(objpfx)tst-nodelete.out): Likewise.
17432         (LDFLAGS-tst-nodelete): Likewise.
17433         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17434         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17435         implement forced object deletion.
17436         (_dl_close): Pass false to _dl_close_worker.
17437         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17438         * elf/tst-nodelete.cc: New file.
17439         * elf/tst-nodeletelib.cc: Likewise.
17440         * elf/tst-znodeletelib.cc: Likewise.
17441         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17443 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17445         [BZ #18508]
17446         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17447         Depend on $(libdl).
17448         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17449         is not called infinitely times.
17450         (backtrace_helper): New function.
17451         (trace_arg): New struct.
17452         (st1): Enlarge stack size.
17453         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17454         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17455         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17456         Likewise.
17458 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17460         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17462 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17464         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17465         Include sys/types.h instead of bits/types.h.
17466         Remove inclusion of bits/wordsize.h.
17468 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17470         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17471         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17472         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17473         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17474         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17475         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17477 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17479         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17480         link-defines.sym.
17481         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17482         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17483         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17484         and LR_SIZE.
17485         * sysdeps/i386/link-defines.sym: New file.
17487 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17489         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17490         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17491         ($(objpfx)tst-audit3): New rule.
17492         ($(objpfx)tst-audit3.out): Likewise.
17493         * sysdeps/i386/tst-audit3.c: New file.
17494         * sysdeps/i386/tst-audit3.h: Likewise.
17495         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17496         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17498 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17500         [BZ #18633]
17501         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17502         pointer in C code.
17503         (__strcat_c): Likewise.
17504         (__strcat_g): Likewise.
17506 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17508         [BZ #18592]
17509         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17511 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17513         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17514         New function.  (__ieee754_sqrtf): New function.
17515         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17516         New function.
17517         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17518         New function.
17520 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17522         * sysdeps/ieee754/support.c: Remove unused file.
17524 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17526         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17527         registers instead of d ones so the layout is kernel abi compatible.
17528         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17529         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17530         Likewise.
17532 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17534         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17536 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17538         [BZ #18619]
17539         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17540         and return argument in case of subnormal argument.
17542 2015-07-01  Martin Sebor  <msebor@redhat.com>
17544         [BZ #18435]
17545         * nptl/Makefile: Add tst-once5.cc.
17546         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17547         Remove macro redefinitions.
17548         * nptl/tst-once5.cc: New test.
17550 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17552         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17554         * sysdeps/arm/libm-test-ulps: Regenerated.
17556         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17557         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17559 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17561         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17562         lll_lock_wait_private and lll_futex_wake probes.
17564         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17565         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17566         Likewise.
17567         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17568         atomic_spin_nop.
17569         * sysdeps/x86_64/bits/atomic.h: Likewise.
17570         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17571         to atomic_spin_nop and move ...
17572         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17573         ... here and ...
17574         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17575         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17576         atomic_spin_nop instead of BUSY_WAIT_NOP.
17577         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17578         Likewise.
17579         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17580         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17581         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17582         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17583         instead of atomic_delay.
17585 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17587         [BZ #18613]
17588         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17589         X_ADJ not X when adjusting exponent.
17590         (__ieee754_gamma_r): Do intermediate computations in
17591         round-to-nearest then adjust overflowing and underflowing results
17592         as needed.
17593         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17594         of X_ADJ not X when adjusting exponent.
17595         (__ieee754_gammaf_r): Do intermediate computations in
17596         round-to-nearest then adjust overflowing and underflowing results
17597         as needed.
17598         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17599         log of X_ADJ not X when adjusting exponent.
17600         (__ieee754_gammal_r): Do intermediate computations in
17601         round-to-nearest then adjust overflowing and underflowing results
17602         as needed.  Use 1.0L not 1.0f as numerator of division.
17603         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17604         log of X_ADJ not X when adjusting exponent.
17605         (__ieee754_gammal_r): Do intermediate computations in
17606         round-to-nearest then adjust overflowing and underflowing results
17607         as needed.  Use 1.0L not 1.0f as numerator of division.
17608         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17609         of X_ADJ not X when adjusting exponent.
17610         (__ieee754_gammal_r): Do intermediate computations in
17611         round-to-nearest then adjust overflowing and underflowing results
17612         as needed.  Use 1.0L not 1.0f as numerator of division.
17613         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17614         to auto-libm-test-in.
17615         (tgamma_test): Use ALL_RM_TEST.
17616         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17617         tests of tgamma with spurious-overflow.
17618         * math/auto-libm-test-out: Regenerated.
17619         * math/gen-libm-have-vector-test.sh: Do not check for START.
17620         * sysdeps/i386/fpu/libm-test-ulps: Update.
17621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17623         [BZ #18612]
17624         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17625         arguments, just return 0.5 times the argument, with underflow
17626         forced as needed.
17627         * math/auto-libm-test-in: Add more tests of j1.
17628         * math/auto-libm-test-out: Regenerated.
17630         [BZ #16559]
17631         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17632         (__ieee754_j1): Force underflow exception for small results.
17633         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17634         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17635         (__ieee754_j1f): Force underflow exception for small results.
17636         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17637         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17638         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17639         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17640         (__ieee754_j1l): Force underflow exception for small results.
17641         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17642         * math/auto-libm-test-in: Add more tests of j1 and jn.
17643         * math/auto-libm-test-out: Regenerated.
17645         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17646         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17647         (PF_MPLS): Likewise.
17648         (AF_IB): Likewise.
17649         (AF_MPLS): Likewise.
17650         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17651         value and macro.
17652         (MS_RMT_MASK): Include MS_LAZYTIME.
17654 2015-06-26  Mel Gorman  <mgorman@suse.de>
17656         [BZ #18502]
17657         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17658         already minimal.
17660 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17662         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17663         (DT_MIPS_NUM): Update.
17664         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17665         DT_MIPS_RLD_MAP_REL.
17667 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17669         [BZ #16559]
17670         [BZ #18602]
17671         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17672         round-to-nearest internally then recompute results that
17673         underflowed to zero in the original rounding mode.
17674         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17675         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17676         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17677         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17678         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17679         * sysdeps/i386/fpu/libm-test-ulps: Update.
17680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17682 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17684         * NEWS: Fixed description of link with vector math library.
17686 2015-06-25  Andreas Schwab  <schwab@suse.de>
17688         [BZ #18549]
17689         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17690         * libio/test-fmemopen.c (do_test): Add test for it.
17692 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17694         [BZ #17841]
17695         * Makeconfig (no-pie-ldflag): New.
17696         (+link): Set to $(+link-pie) if default to PIE.
17697         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17698         * config.make.in (build-pie-default): New.
17699         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17700         is default.  AC_SUBST.
17701         * configure: Regenerated.
17702         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17704 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17706         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17707         to 'unsigned int'.
17709         * resolv/gai_misc.h (struct waitlist): Change type of field
17710         counterp to 'volatile unsigned int *'.
17711         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17712         FUTEXADDR and OLDVAL.
17713         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17714         Give local variable TOTAL type 'volatile unsigned int'.
17715         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17716         * resolv/gai_suspend.c (gai_suspend):
17717         Give local variable CNTR type 'unsigned int'.
17719         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17720         counterp to 'volatile unsigned int *'.
17721         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17722         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17723         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17724         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17725         Give local variable TOTAL type 'volatile unsigned int'.
17726         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17728 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17730         [BZ #18383]
17731         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17732         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17733         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17734         comment for i386/x86-64.
17735         (test-xfail-tst-tlsalign-extern-static): Removed.
17737 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17739         * math/test-double.h: New file.
17740         * math/test-float.h: Likewise.
17741         * math/test-ldouble.h: Likewise.
17742         * math/test-math-inline.h: Likewise.
17743         * math/test-math-no-inline.h: Likewise.
17744         * math/test-math-scalar.h: Likewise.
17745         * math/test-math-vector.h: Likewise.
17746         * math/test-vec-loop.h: Remove file.  Contents moved into
17747         test-math-vector.h.
17748         * math/libm-test.inc (MATHCONST): Do not document macro.
17749         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17750         and test-math-scalar.h.
17751         (FUNC): Remove macro.
17752         (FUNC_TEST): Likewise.
17753         (FLOAT): Likewise.
17754         (MATHCONST): Likewise.
17755         (PRINTF_EXPR): Likewise.
17756         (PRINTF_XEXPR): Likewise.
17757         (PRINTF_NEXPR): Likewise.
17758         (TEST_DOUBLE): Likewise.
17759         (TEST_MATHVEC): Likewise.
17760         (__NO_MATH_INLINES): Likewise.
17761         * math/test-float.c: Include test-float.h, test-math-no-inline.h
17762         and test-math-scalar.h.
17763         (FUNC): Remove macro.
17764         (FUNC_TEST): Likewise.
17765         (FLOAT): Likewise.
17766         (MATHCONST): Likewise.
17767         (PRINTF_EXPR): Likewise.
17768         (PRINTF_XEXPR): Likewise.
17769         (PRINTF_NEXPR): Likewise.
17770         (TEST_FLOAT): Likewise.
17771         (TEST_MATHVEC): Likewise.
17772         (__NO_MATH_INLINES): Likewise.
17773         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17774         and test-math-scalar.h.
17775         (FUNC): Remove macro.
17776         (FUNC_TEST): Likewise.
17777         (FLOAT): Likewise.
17778         (MATHCONST): Likewise.
17779         (PRINTF_EXPR): Likewise.
17780         (PRINTF_XEXPR): Likewise.
17781         (PRINTF_NEXPR): Likewise.
17782         (TEST_DOUBLE): Likewise.
17783         (TEST_MATHVEC): Likewise.
17784         (TEST_INLINE): Likewise.
17785         (__NO_MATH_INLINES): Likewise.
17786         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17787         test-math-scalar.h.
17788         (FUNC): Remove macro.
17789         (FUNC_TEST): Likewise.
17790         (FLOAT): Likewise.
17791         (MATHCONST): Likewise.
17792         (PRINTF_EXPR): Likewise.
17793         (PRINTF_XEXPR): Likewise.
17794         (PRINTF_NEXPR): Likewise.
17795         (TEST_FLOAT): Likewise.
17796         (TEST_MATHVEC): Likewise.
17797         (TEST_INLINE): Likewise.
17798         (__NO_MATH_INLINES): Likewise.
17799         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17800         and test-math-scalar.h.
17801         (FUNC): Remove macro.
17802         (FUNC_TEST): Likewise.
17803         (FLOAT): Likewise.
17804         (MATHCONST): Likewise.
17805         (PRINTF_EXPR): Likewise.
17806         (PRINTF_XEXPR): Likewise.
17807         (PRINTF_NEXPR): Likewise.
17808         (TEST_LDOUBLE): Likewise.
17809         (TEST_MATHVEC): Likewise.
17810         (TEST_INLINE): Likewise.
17811         (__NO_MATH_INLINES): Likewise.
17812         * math/test-ldouble.c: Include test-ldouble.h,
17813         test-math-no-inline.h and test-math-scalar.h.
17814         (FUNC): Remove macro.
17815         (FUNC_TEST): Likewise.
17816         (FLOAT): Likewise.
17817         (MATHCONST): Likewise.
17818         (PRINTF_EXPR): Likewise.
17819         (PRINTF_XEXPR): Likewise.
17820         (PRINTF_NEXPR): Likewise.
17821         (TEST_LDOUBLE): Likewise.
17822         (TEST_MATHVEC): Likewise.
17823         (__NO_MATH_INLINES): Likewise.
17824         * math/test-double-vlen2.h: Include test-double.h,
17825         test-math-no-inline.h and test-math-vector.h.
17826         (FLOAT): Remove macro.
17827         (FUNC): Likewise.
17828         (MATHCONST): Likewise.
17829         (PRINTF_EXPR): Likewise.
17830         (PRINTF_XEXPR): Likewise.
17831         (PRINTF_NEXPR): Likewise.
17832         (TEST_DOUBLE): Likewise.
17833         (TEST_MATHVEC): Likewise.
17834         (__NO_MATH_INLINES): Likewise.
17835         (CNCT): Likewise.
17836         (CONCAT): Likewise.
17837         (WRAPPER_NAME): Likewise.
17838         (WRAPPER_DECL): Likewise.
17839         (WRAPPER_DECL_ff): Likewise.
17840         (WRAPPER_DECL_fFF): Likewise.
17841         (VECTOR_WRAPPER): Likewise.
17842         (VECTOR_WRAPPER_ff): Likewise.
17843         (VECTOR_WRAPPER_fFF): Likewise.
17844         (VEC_LEN): New macro.
17845         * math/test-double-vlen4.h: Include test-double.h,
17846         test-math-no-inline.h and test-math-vector.h.
17847         (FLOAT): Remove macro.
17848         (FUNC): Likewise.
17849         (MATHCONST): Likewise.
17850         (PRINTF_EXPR): Likewise.
17851         (PRINTF_XEXPR): Likewise.
17852         (PRINTF_NEXPR): Likewise.
17853         (TEST_DOUBLE): Likewise.
17854         (TEST_MATHVEC): Likewise.
17855         (__NO_MATH_INLINES): Likewise.
17856         (CNCT): Likewise.
17857         (CONCAT): Likewise.
17858         (WRAPPER_NAME): Likewise.
17859         (WRAPPER_DECL): Likewise.
17860         (WRAPPER_DECL_ff): Likewise.
17861         (WRAPPER_DECL_fFF): Likewise.
17862         (VECTOR_WRAPPER): Likewise.
17863         (VECTOR_WRAPPER_ff): Likewise.
17864         (VECTOR_WRAPPER_fFF): Likewise.
17865         (VEC_LEN): New macro.
17866         * math/test-double-vlen8.h: Include test-double.h,
17867         test-math-no-inline.h and test-math-vector.h.
17868         (FLOAT): Remove macro.
17869         (FUNC): Likewise.
17870         (MATHCONST): Likewise.
17871         (PRINTF_EXPR): Likewise.
17872         (PRINTF_XEXPR): Likewise.
17873         (PRINTF_NEXPR): Likewise.
17874         (TEST_DOUBLE): Likewise.
17875         (TEST_MATHVEC): Likewise.
17876         (__NO_MATH_INLINES): Likewise.
17877         (CNCT): Likewise.
17878         (CONCAT): Likewise.
17879         (WRAPPER_NAME): Likewise.
17880         (WRAPPER_DECL): Likewise.
17881         (WRAPPER_DECL_ff): Likewise.
17882         (WRAPPER_DECL_fFF): Likewise.
17883         (VECTOR_WRAPPER): Likewise.
17884         (VECTOR_WRAPPER_ff): Likewise.
17885         (VECTOR_WRAPPER_fFF): Likewise.
17886         (VEC_LEN): New macro.
17887         * math/test-float-vlen4.h: Include test-float.h,
17888         test-math-no-inline.h and test-math-vector.h.
17889         (FLOAT): Remove macro.
17890         (FUNC): Likewise.
17891         (MATHCONST): Likewise.
17892         (PRINTF_EXPR): Likewise.
17893         (PRINTF_XEXPR): Likewise.
17894         (PRINTF_NEXPR): Likewise.
17895         (TEST_FLOAT): Likewise.
17896         (TEST_MATHVEC): Likewise.
17897         (__NO_MATH_INLINES): Likewise.
17898         (CNCT): Likewise.
17899         (CONCAT): Likewise.
17900         (WRAPPER_NAME): Likewise.
17901         (WRAPPER_DECL): Likewise.
17902         (WRAPPER_DECL_ff): Likewise.
17903         (WRAPPER_DECL_fFF): Likewise.
17904         (VECTOR_WRAPPER): Likewise.
17905         (VECTOR_WRAPPER_ff): Likewise.
17906         (VECTOR_WRAPPER_fFF): Likewise.
17907         (VEC_LEN): New macro.
17908         * math/test-float-vlen8.h: Include test-float.h,
17909         test-math-no-inline.h and test-math-vector.h.
17910         (FLOAT): Remove macro.
17911         (FUNC): Likewise.
17912         (MATHCONST): Likewise.
17913         (PRINTF_EXPR): Likewise.
17914         (PRINTF_XEXPR): Likewise.
17915         (PRINTF_NEXPR): Likewise.
17916         (TEST_FLOAT): Likewise.
17917         (TEST_MATHVEC): Likewise.
17918         (__NO_MATH_INLINES): Likewise.
17919         (CNCT): Likewise.
17920         (CONCAT): Likewise.
17921         (WRAPPER_NAME): Likewise.
17922         (WRAPPER_DECL): Likewise.
17923         (WRAPPER_DECL_ff): Likewise.
17924         (WRAPPER_DECL_fFF): Likewise.
17925         (VECTOR_WRAPPER): Likewise.
17926         (VECTOR_WRAPPER_ff): Likewise.
17927         (VECTOR_WRAPPER_fFF): Likewise.
17928         (VEC_LEN): New macro.
17929         * math/test-float-vlen16.h: Include test-float.h,
17930         test-math-no-inline.h and test-math-vector.h.
17931         (FLOAT): Remove macro.
17932         (FUNC): Likewise.
17933         (MATHCONST): Likewise.
17934         (PRINTF_EXPR): Likewise.
17935         (PRINTF_XEXPR): Likewise.
17936         (PRINTF_NEXPR): Likewise.
17937         (TEST_FLOAT): Likewise.
17938         (TEST_MATHVEC): Likewise.
17939         (__NO_MATH_INLINES): Likewise.
17940         (CNCT): Likewise.
17941         (CONCAT): Likewise.
17942         (WRAPPER_NAME): Likewise.
17943         (WRAPPER_DECL): Likewise.
17944         (WRAPPER_DECL_ff): Likewise.
17945         (WRAPPER_DECL_fFF): Likewise.
17946         (VECTOR_WRAPPER): Likewise.
17947         (VECTOR_WRAPPER_ff): Likewise.
17948         (VECTOR_WRAPPER_fFF): Likewise.
17949         (VEC_LEN): New macro.
17950         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17951         test-vec-loop.h.
17952         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17954         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17955         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17956         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17957         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17958         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17960 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17962         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17963         (__getlogin_r): ... this.
17965 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17967         [BZ #18594]
17968         * math/s_ccosh.c (__ccosh): Compare with least normal value
17969         instead of comparing class with FP_SUBNORMAL.
17970         * math/s_ccoshf.c (__ccoshf): Likewise.
17971         * math/s_ccoshl.c (__ccoshl): Likewise.
17972         * math/s_cexp.c (__cexp): Likewise.
17973         * math/s_cexpf.c (__cexpf): Likewise.
17974         * math/s_cexpl.c (__cexpl): Likewise.
17975         * math/s_csin.c (__csin): Likewise.
17976         * math/s_csinf.c (__csinf): Likewise.
17977         * math/s_csinh.c (__csinh): Likewise.
17978         * math/s_csinhf.c (__csinhf): Likewise.
17979         * math/s_csinhl.c (__csinhl): Likewise.
17980         * math/s_csinl.c (__csinl): Likewise.
17981         * math/s_ctan.c (__ctan): Likewise.
17982         * math/s_ctanf.c (__ctanf): Likewise.
17983         * math/s_ctanh.c (__ctanh): Likewise.
17984         * math/s_ctanhf.c (__ctanhf): Likewise.
17985         * math/s_ctanhl.c (__ctanhl): Likewise.
17986         * math/s_ctanl.c (__ctanl): Likewise.
17987         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17988         csin, csinh, ctan and ctanh.
17989         * math/auto-libm-test-out: Regenerated.
17990         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17991         * sysdeps/i386/fpu/libm-test-ulps: Update.
17992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17994 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17996         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17997         return value is wrong, print the expected value too.
17999 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18001         [BZ #18585]
18002         * elf/readlib.c (is_gdb_python_file): New.
18003         (process_file): Don't issue errors on filenames with -gdb.py
18004         suffix.
18006 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18008         * math/auto-libm-test-in: Add more tests of csin and csinh.
18009         * math/auto-libm-test-out: Regenerated.
18010         * math/libm-test.inc (csin_test_data): Remove tests moved to
18011         auto-libm-test-in.
18012         (csinh_test_data): Likewise.
18014         [BZ #18593]
18015         * math/s_csin.c (__csin): Negate before rather than after possibly
18016         overflowing multiplication.
18017         * math/s_csinf.c (__csinf): Likewise.
18018         * math/s_csinh.c (__csinh): Likewise.
18019         * math/s_csinhf.c (__csinhf): Likewise.
18020         * math/s_csinhl.c (__csinhl): Likewise.
18021         * math/s_csinl.c (__csinl): Likewise.
18022         * math/auto-libm-test-in: Add some tests of csin and csinh.
18023         * math/auto-libm-test-out: Regenerated.
18024         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18025         (csinh_test_data): Likewise.
18026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18028         [BZ #18586]
18029         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18030         underflow exception for small results.
18032 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18034         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18035         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18036         variable and included header.
18037         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18038         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18039         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18040         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18041         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18042         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18043         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18044         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18045         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18046         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18047         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18048         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18049         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18050         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18051         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18052         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18054 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18056         [BZ #16526]
18057         [BZ #16538]
18058         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18059         (__sin): Force underflow exception for arguments with small
18060         absolute value.
18061         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18062         (__kernel_sinf): Force underflow exception for arguments with
18063         small absolute value.
18064         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18065         (__kernel_sincosl): Force underflow exception for arguments with
18066         small absolute value.
18067         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18068         (__kernel_sinl): Force underflow exception for arguments with
18069         small absolute value.
18070         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18071         (__kernel_sincosl): Force underflow exception for arguments with
18072         small absolute value.
18073         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18074         (__kernel_sinl): Force underflow exception for arguments with
18075         small absolute value.
18076         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18077         (__kernel_sinl): Force underflow exception for arguments with
18078         small absolute value.
18079         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18080         (__kernel_sinf): Force underflow exception for arguments with
18081         small absolute value.
18082         * math/auto-libm-test-in: Add more tests of sin and sincos.
18083         * math/auto-libm-test-out: Regenerated.
18085         [BZ #18245]
18086         [BZ #18583]
18087         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18088         (__kernel_standard_l): Use feholdexcept and fesetenv around
18089         conversion to double instead of special-casing overflow and
18090         underflow.
18091         * math/libm-test.inc (fmod_test_data): Add more tests.
18092         (remainder_test_data): Likewise.
18093         (sqrt_test_data): Likewise.
18095 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18097         [BZ #17403]
18098         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18099         atomic_read_barrier, atomic_write_barrier): Define.
18100         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18101         atomic_read_barrier, atomic_write_barrier): Define.
18103 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18105         * math/Makefile [$(PERL) != no]
18106         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18107         dependency on libm-test.stmp below the inclusion of Rules.
18109 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18111         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18112         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18113         and included header.
18114         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18115         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18116         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18117         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18118         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18119         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18120         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18121         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18122         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18123         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18124         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18125         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18126         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18127         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18128         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18129         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18130         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18131         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18132         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18134 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18136         [BZ #18371]
18137         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18138         intermediate but not final result might underflow.
18139         * math/s_csqrtf.c (__csqrtf): Likewise.
18140         * math/s_csqrtl.c (__csqrtl): Likewise.
18141         * math/auto-libm-test-in: Add more tests of csqrt.
18142         * math/auto-libm-test-out: Regenerated.
18143         * sysdeps/i386/fpu/libm-test-ulps: Update.
18145         [BZ #18219]
18146         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18147         threshold on absolute value of exponent for which scaling is used.
18148         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18149         * math/auto-libm-test-in: Add more tests of exp2.
18150         * math/auto-libm-test-out: Regenerated.
18152 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18154         [BZ #17977]
18155         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18156         when initializing interface list, based on the bug analysis
18157         and the patch proposed by Eric Newton.
18158         * resolv/tst-res_hconf_reorder.c: New test.
18159         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18160         tst-res_hconf_reorder.
18161         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18162         and $(shared-thread-library).
18163         (tst-res_hconf_reorder-ENV): New variable.
18165         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18166         in comment.
18168 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18170         [BZ #16353]
18171         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18172         (__expm1): Force underflow exception for arguments with small
18173         absolute value.
18174         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18175         (__expm1f): Force underflow exception for arguments with small
18176         absolute value.
18177         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18178         (__expm1): Force underflow exception for arguments with small
18179         absolute value.
18180         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18181         (__expm1f): Force underflow exception for arguments with small
18182         absolute value.
18183         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18184         Check for small arguments before calling __expm1.
18185         * math/auto-libm-test-in: Do not mark underflow exceptions as
18186         possibly missing for bug 16353.
18187         * math/auto-libm-test-out: Regenerated.
18189 2015-06-22  Andreas Schwab  <schwab@suse.de>
18191         [BZ #18513]
18192         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18193         PTR queries.
18195 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18197         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18199         * string/strcoll_l.c: Remove unused struct element idxnow.
18201 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18203         [BZ #18569]
18204         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18205         underflow and return argument in case of subnormal argument.
18206         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18207         Likewise.
18208         * math/auto-libm-test-in: Add more tests of expm1.
18209         * math/auto-libm-test-out: Regenerated.
18211         [BZ #16361]
18212         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18213         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18214         tiny results.
18215         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18216         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18217         tiny results.
18218         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18219         mark underflow exceptions as possibly missing for bug 16361.
18220         * math/auto-libm-test-out: Regenerated.
18222 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18224         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18225         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18226         Remove variable.
18227         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18228         (test-xfail-XOPEN2K8/utmpx.h/conform).
18230         * conform/conformtest.pl ($xerrors): New variable.
18231         (note_error): New function.
18232         (compiletest): New argument $xfail.  Use not_error.
18233         (runtest): Likewise.
18234         (top level): Handle xfail- lines.  Update calls to compiletest and
18235         runtest.  Handle xfail- and optional- in headers listed with
18236         allow-header.
18237         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18238         (O_EXEC): Likewise.
18239         (O_SEARCH): Likewise.
18240         * conform/data/stropts.h-data (ioctl): Likewise.
18241         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18242         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18243         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18244         (msghdr.msg_controllen): Likewise.
18245         (cmsghdr.cmsg_len): Likewise.
18246         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18247         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18248         variable.
18249         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18250         (test-xfail-XPG4/stropts.h/conform): Likewise.
18251         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18252         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18253         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18254         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18255         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18256         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18257         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18258         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18259         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18260         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18261         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18262         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18263         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18264         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18265         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18266         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18267         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18268         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18269         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18271 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18273         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18274         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18275         definitions for proper unfolding of __MATHDECL_VEC.
18277 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18279         * benchtests/bench-strcoll.c:
18280         Include string.h.
18281         (main): Remove unused variable res.
18283 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18285         * timezone/Makefile (%/UTC %/Universal):
18286         Generate test-result files for UTC and Universal.
18288 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18290         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18292 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18294         [BZ #16350]
18295         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18296         for arguments with small absolute value.
18297         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18298         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18299         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18300         (__asinh): Force underflow exception for arguments with small
18301         absolute value.
18302         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18303         (__asinhf): Force underflow exception for arguments with small
18304         absolute value.
18305         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18306         (__asinhl): Force underflow exception for arguments with small
18307         absolute value.
18308         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18309         (__asinhl): Force underflow exception for arguments with small
18310         absolute value.
18311         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18312         (__asinhl): Force underflow exception for arguments with small
18313         absolute value.
18314         * math/auto-libm-test-in: Do not mark underflow exceptions as
18315         possibly missing for bug 16350.
18316         * math/auto-libm-test-out: Regenerated.
18318         * include/bits/ipc.h: Remove file.
18319         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18320         variable.
18321         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18322         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18323         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18324         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18325         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18326         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18327         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18328         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18329         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18331         * math/auto-libm-test-in: Remove spurious underflow allowance for
18332         tests of cexp.
18333         * math/auto-libm-test-out: Regenerated.
18335         [BZ #18558]
18336         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18337         unconditional definition.
18338         (MCAST_BLOCK_SOURCE): Likewise.
18339         (MCAST_UNBLOCK_SOURCE): Likewise.
18340         (MCAST_LEAVE_GROUP): Likewise.
18341         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18342         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18343         (MCAST_MSFILTER): Likewise.
18344         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18345         Remove variable.
18346         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18347         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18348         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18349         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18350         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18352 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18354         * NEWS: Mention addition of x86_64 vector sincosf.
18355         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18356         * math/test-float-vlen4.h: Likewise.
18357         * math/test-float-vlen8.h: Likewise.
18358         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18359         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18360         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18361         * sysdeps/x86_64/fpu/Versions: New versions added.
18362         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18363         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18364         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18365         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18366         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18367         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18368         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18369         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18370         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18371         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18372         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18373         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18374         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18375         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18376         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18377         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18378         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18379         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18380         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18381         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18382         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18383         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18384         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18385         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18387         * NEWS: Mention addition of x86_64 vector sincos.
18388         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18389         * math/math.h (__MATHDECL_VEC): New macro.
18390         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18391         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18392         declaration under condition.
18393         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18394         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18395         TEST_VEC_LOOP change.
18396         * math/test-double-vlen4.h: Likewise.
18397         * math/test-double-vlen8.h: Likewise.
18398         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18399         * math/test-float-vlen4.h: Likewise.
18400         * math/test-float-vlen8.h: Likewise.
18401         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18402         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18403         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18404         * sysdeps/x86_64/fpu/Versions: New versions added.
18405         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18406         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18407         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18408         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18409         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18410         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18411         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18412         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18414         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18415         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18416         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18417         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18418         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18419         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18420         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18421         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18422         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18423         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18424         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18425         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18426         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18427         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18428         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18430         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18431         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18432         redirections for powf.
18433         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18434         * sysdeps/x86_64/fpu/Versions: New versions added.
18435         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18436         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18437         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18438         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18439         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18440         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18441         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18442         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18443         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18444         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18445         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18446         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18447         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18448         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18449         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18450         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18451         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18452         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18453         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18454         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18455         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18456         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18457         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18458         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18459         * math/test-float-vlen16.h: Fixed 2 argument macro.
18460         * math/test-float-vlen4.h: Likewise.
18461         * math/test-float-vlen8.h: Likewise.
18462         * NEWS: Mention addition of x86_64 vector powf.
18464 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18466         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18467         and redefine.
18468         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18469         and redefine.
18470         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18471         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18472         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18474         [BZ #18553]
18475         * resource/getpriority.c (getpriority): Rename to __getpriority
18476         and define as weak alias of __getpriority.
18477         * resource/setpriority.c (setpriority): Rename to __setpriority
18478         and define as weak alias of __setpriority.
18479         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18480         __getpriority and define as weak alias of __getpriority.
18481         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18482         __setpriority and define as weak alias of __setpriority.
18483         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18484         strong name.
18485         (setpriority): Use __setpriority as strong name.
18486         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18487         __getpriority and define as weak alias of __getpriority.
18488         * include/sys/resource.h (__getpriority): Declare.  Use
18489         libc_hidden_proto.
18490         (__setpriority): Likewise.
18491         (getpriority): Don't use libc_hidden_proto.
18492         (setpriority): Likewise.
18493         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18494         getpriority.  Call __setpriority instead of setpriority.
18495         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18496         Remove variable.
18498         [BZ #18547]
18499         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18500         as weak alias of __getttynam.  Use prototype function definition.
18501         Call __setttyent, __getttyent and __endttyent instead of
18502         setttyent, getttyent and endttyent.
18503         (getttyent): Rename to __getttyent and define as weak alias of
18504         __getttyent.  Call __setttyent instead of setttyent.  Call
18505         __fgets_unlocked instead of fgets_unlocked.
18506         (setttyent): Rename to __setttyent and define as weak alias of
18507         __setttyent.
18508         (endttyent): Rename to __endttyent and define as weak alias of
18509         __endttyent.
18510         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18511         (__setttyent): Likewise.
18512         (__endttyent): Likewise.
18513         (getttyent): Don't use libc_hidden_proto.
18514         (setttyent): Likewise.
18515         (endttyent): Likewise.
18516         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18517         __endttyent instead of setttyent, getttyent and endttyent.
18518         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18519         Remove variable.
18521         [BZ #18546]
18522         * socket/recv.c (__recv): Use libc_hidden_def.
18523         * socket/socket.c (__socket): Likewise.
18524         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18525         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18526         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18527         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18528         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18529         libc_hidden_def.
18530         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18531         libc_hidden_weak.
18532         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18533         Use libc_hidden_proto.
18534         (__recv): Likewise.
18535         * socket/Versions (libc): Export __recv and __socket at version
18536         GLIBC_PRIVATE.
18537         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18538         instead of recv.
18539         (init_mq_netlink): Call __socket instead of socket.
18540         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18541         Remove variable.
18543         [BZ #18545]
18544         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18545         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18546         hidden_weak.
18547         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18548         define as alias of __mq_timedsend.  Use hidden_weak.
18549         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18550         __mq_timedsend as strong name.
18551         (mq_timedreceive): Use __mq_timedreceive as strong name.
18552         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18553         (__mq_timedreceive): Likewise.
18554         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18555         __mq_timedreceive instead of mq_timedreceive.
18556         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18557         instead of mq_timedsend.
18558         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18559         Remove variable.
18561         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18562         hidden_def and hidden_weak instead of libc_hidden_def and
18563         libc_hidden_weak.
18564         (top level): Refer to hidden_def in comment.
18565         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18566         macro.  Use it instead of libc_hidden_def.
18567         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18568         specify __GI_* name explicitly.
18569         (mq_timedreceive): Likewise.
18570         (mq_setattr): Likewise.
18572         [BZ #18544]
18573         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18574         __pthread_barrier_init and define as weak alias of
18575         __pthread_barrier_init.
18576         * sysdeps/sparc/nptl/pthread_barrier_init.c
18577         (pthread_barrier_init): Likewise.
18578         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18579         __pthread_barrier_wait and define as weak alias of
18580         __pthread_barrier_wait.
18581         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18582         (pthread_barrier_wait): Likewise.
18583         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18584         (pthread_barrier_wait): Likewise.
18585         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18586         (pthread_barrier_wait): Likewise.
18587         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18588         (pthread_barrier_wait): Likewise.
18589         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18590         __pthread_barrier_wait at version GLIBC_PRIVATE.
18591         * include/pthread.h (__pthread_barrier_init): Declare.
18592         (__pthread_barrier_wait): Likewise.
18593         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18594         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18595         (helper_thread): Likewise.
18596         (init_mq_netlink): Call __pthread_barrier_init instead of
18597         pthread_barrier_init.
18599         [BZ #18542]
18600         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18601         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18602         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18603         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18604         vswscanf.
18605         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18606         Remove variable.
18608         [BZ #18540]
18609         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18610         strong alias of _IO_fflush.  Use libc_hidden_def.
18611         * libio/iofflush_u.c (fflush_unlocked): Rename to
18612         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18613         Use libc_hidden_weak.
18614         * include/stdio.h (__fflush_unlocked): Declare.  Use
18615         libc_hidden_proto.
18616         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18617         fflush_unlocked.
18618         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18619         Remove variable.
18621         [BZ #18539]
18622         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18623         define as weak alias of __addseverity.
18624         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18625         Remove variable.
18626         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18627         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18628         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18630         [BZ #18536]
18631         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18632         (__tfind): Likewise.
18633         (__tdelete): Likewise.
18634         (__twalk): Likewise.
18635         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18636         __twalk to GLIBC_PRIVATE.
18637         * include/search.h (__tsearch): Use libc_hidden_proto.
18638         (__tfind): Likewise.
18639         (__tdelete): Likewise.
18640         (__twalk): Likewise.
18641         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18642         Call __tdelete instead of tdelete.
18643         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18644         tfind.  Call __tsearch instead of tsearch.
18645         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18646         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18647         Remove variable.
18648         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18650         [BZ #18534]
18651         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18652         (dprintf): Define as a weak alias of __dprintf, not a strong
18653         alias.
18654         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18655         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18656         dprintf.
18657         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18658         Remove variable.
18659         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18660         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18662         [BZ #18533]
18663         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18664         not a strong alias.
18665         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18666         Remove variable.
18668         [BZ #18532]
18669         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18670         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18671         (in6addr_loopback): Rename to __in6addr_loopback and define as
18672         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18673         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18674         libc_hidden_proto.
18675         (__in6addr_any): Likewise.
18676         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18677         in6addr_any.
18678         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18679         variable.
18680         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18682 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18684         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18685         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18686         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18687         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18688         redirections for pow.
18689         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18690         * sysdeps/x86_64/fpu/Versions: New versions added.
18691         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18692         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18693         build of SSE, AVX2 and AVX512 IFUNC versions.
18694         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18695         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18696         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18697         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18698         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18699         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18700         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18701         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18702         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18703         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18704         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18705         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18706         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18707         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18708         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18709         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18710         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18711         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18712         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18713         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18714         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18715         * NEWS: Mention addition of x86_64 vector pow.
18717         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18718         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18719         redirections for expf.
18720         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18721         * sysdeps/x86_64/fpu/Versions: New versions added.
18722         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18723         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18724         build of SSE, AVX2 and AVX512 IFUNC versions.
18725         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18726         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18727         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18728         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18729         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18730         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18731         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18732         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18733         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18734         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18735         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18736         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18737         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18738         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18739         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18740         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18741         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18742         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18743         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18744         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18745         * NEWS: Mention addition of x86_64 vector expf.
18747         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18748         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18749         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18750         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18751         redirections for exp.
18752         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18753         * sysdeps/x86_64/fpu/Versions: New versions added.
18754         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18755         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18756         build of SSE, AVX2 and AVX512 IFUNC versions.
18757         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18758         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18759         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18760         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18761         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18762         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18763         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18764         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18765         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18766         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18767         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18768         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18769         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18770         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18771         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18772         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18773         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18774         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18775         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18776         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18777         * NEWS: Mention addition of x86_64 vector exp.
18779         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18780         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18781         redirections for logf.
18782         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18783         * sysdeps/x86_64/fpu/Versions: New versions added.
18784         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18785         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18786         build of SSE, AVX2 and AVX512 IFUNC versions.
18787         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18788         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18789         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18790         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18791         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18792         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18793         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18794         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18795         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18796         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18797         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18798         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18799         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18800         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18801         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18802         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18803         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18804         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18805         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18806         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18807         * NEWS: Mention addition of x86_64 vector logf.
18809         * bits/libm-simd-decl-stubs.h: Added stubs for log.
18810         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18811         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18812         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18813         redirections for log.
18814         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18815         * sysdeps/x86_64/fpu/Versions: New versions added.
18816         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18817         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18818         build of SSE, AVX2 and AVX512 IFUNC versions.
18819         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18820         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18821         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18822         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18823         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18824         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18825         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18826         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18827         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18828         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18829         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18830         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18831         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18832         test.
18833         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18834         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18835         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18836         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18837         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18838         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18839         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18840         * NEWS: Mention addition of x86_64 vector log.
18842 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18844         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18845         cfi_adjust_cfa_offset argument.
18846         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18847         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18849         [BZ #18034]
18850         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18851         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18852         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18853         ordering using ldar.
18854         (_dl_tlsdesc_dynamic): Likewise.
18855         (_dl_tlsdesc_return_lazy): Likewise.
18856         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18857         relaxed atomics instead of volatile and synchronize with release store.
18858         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18859         volatile.
18860         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18862 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18864         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18865         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18866         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18867         * sysdeps/x86_64/fpu/Versions: New versions added.
18868         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18869         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18870         build of SSE, AVX2 and AVX512 IFUNC versions.
18871         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18872         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18873         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18874         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18875         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18876         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18877         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18878         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18879         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18880         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18881         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18882         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18883         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18884         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18885         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18886         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18887         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18888         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18889         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18890         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18891         * NEWS: Mention addition of x86_64 vector sinf.
18893 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18895         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18896         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18897         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18898         Remove variable.
18899         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18900         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18902 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18904         [BZ #18530]
18905         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18906         strong alias of _IO_fputs.  Use libc_hidden_def.
18907         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18908         and define as weak alias of __fputs_unlocked.  Use
18909         libc_hidden_weak.
18910         * include/stdio.h (__fputs_unlocked): Declare.  Use
18911         libc_hidden_proto.
18912         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18913         fputs_unlocked.
18915         [BZ #18529]
18916         * resolv/netdb.h [__USE_POSIX]: Change condition to
18917         [__USE_XOPEN2K].
18918         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18919         not expect.
18920         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18921         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18922         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18923         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18924         [XPG4 || UNIX98] (AI_ALL): Likewise.
18925         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18926         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18927         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18928         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18929         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18930         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18931         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18932         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18933         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18934         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18935         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18936         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18937         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18938         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18939         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18940         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18941         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18942         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18943         [XPG4 || UNIX98] (gai_strerror): Likewise.
18944         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18945         [XPG4 || UNIX98] (getnameinfo): Likewise.
18947         [BZ #18528]
18948         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18949         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18950         __USE_XOPEN2K8].
18951         (getgrent): Likewise.
18952         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18953         expect.
18954         [XPG3 || POSIX2008] (endgrent): Likewise.
18955         [XPG3] (setgrent): Likewise.
18956         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18957         variable.
18958         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18960         [BZ #18527]
18961         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18962         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18963         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18964         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18965         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18966         * include/unistd.h (__getlogin_r): Declare.  Use
18967         libc_hidden_proto.
18968         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18969         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18970         variable.
18971         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18972         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18973         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18975 2015-06-12  Martin Sebor  <msebor@redhat.com>
18977         [BZ #18512]
18978         * Makerules (check-install-supported): New target.
18979         (install): Add check-install-supported as a dependency.
18980         * manual/install.texi (Installing the C Library): Document
18981         that overriding prefix and exec_prefix is not supported.
18982         Mention DESTDIR.
18983         * INSTALL: Regenerate from the above.
18985 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18987         [BZ #18519]
18988         * posix/Versions (libc): Export __libc_pread at version
18989         GLIBC_PRIVATE.
18990         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18991         instead of pread.
18992         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18993         variable.
18995         [BZ #18522]
18996         * misc/efgcvt_r.c
18997         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18998         (cvt_symbol): Use weak_alias instead of strong_alias.
18999         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19000         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19001         Remove variable.
19002         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19003         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19005         [BZ #18520]
19006         * inet/herrno.c (h_errno): Rename to __h_errno.
19007         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19008         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19009         to __h_errno instead of h_errno.
19010         * nptl/herrno.c (h_errno): Rename to __h_errno.
19011         (__h_errno_location): Refer to __h_errno not h_errno.
19012         * resolv/Versions (h_errno): Rename to __h_errno.
19013         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19014         Remove variable.
19015         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19017 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19019         * configure.ac: More strict check for AVX512 assembler support.
19020         * configure: Regenerated.
19022         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19023         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19024         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19025         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19026         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19027         * sysdeps/x86_64/fpu/Versions: New versions added.
19028         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19029         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19030         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19031         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19032         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19033         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19034         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19035         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19036         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19037         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19038         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19039         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19040         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19041         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19042         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19043         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19044         test.
19045         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19046         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19047         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19048         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19049         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19050         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19051         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19052         * NEWS: Mention addition of x86_64 vector sin.
19054 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19056         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19057         comment.
19059 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19061         [BZ #18479]
19062         * nptl/pt-interp.c: New file.
19063         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19064         Add pt-interp.
19065         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19066         $(common-objpfx)runtime-linker.h.
19068 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19070         * Makeconfig (+interp): Remove unused variable.
19071         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19072         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19073         $(elf-objpfx)runtime-linker.h.
19074         ($(elf-objpfx)runtime-linker.h): Rename to
19075         $(common-objpfx)runtime-linker.h and move ...
19076         * Makerules [$(build-shared) = yes]: ... here.
19077         * elf/interp.c: Include <runtime-linker.h> instead of
19078         <elf/runtime-linker.h>.
19080 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19082         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19083         (__gettimeofday_syscall): Remove vsyscall fallback.
19084         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19085         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19086         Add syscall fallback function.
19087         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19088         if vDSO is not present.
19089         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19090         fallback function.
19091         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19092         present.
19093         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19094         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19096 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19098         [BZ #18497]
19099         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19100         of wcscmp.
19101         (wcscmp): Define as weak alias of WCSCMP.
19102         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19103         wcscoll.
19104         (USE_HIDDEN_DEF): Define.
19105         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19106         __wcscoll.  Don't use libc_hidden_weak.
19107         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19108         wcscmp.
19109         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19110         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19111         __GI_wcscmp.
19112         (weak_alias): Undefine and redefine.
19113         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19114         __wcscmp and define as weak alias of __wcscmp.
19115         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19116         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19117         (__wcscoll): Likewise.
19118         (wcscmp): Don't use libc_hidden_proto.
19119         (wcscoll): Likewise.
19120         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19121         wcscoll.
19122         * posix/regexec.c (check_node_accept_bytes): Likewise.
19123         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19124         variable.
19125         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19126         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19128         [BZ #18507]
19129         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19130         __fstatvfs and define as weak alias of __fstatvfs.  Use
19131         libc_hidden_weak.
19132         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19133         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19134         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19135         Define as alias of __fstatvfs, not fstatvfs.
19136         (fstatvfs64): Likewise.
19137         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19138         Define as alias of __statvfs, not statvfs.
19139         (statvfs64): Likewise.
19140         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19141         Remove variable.
19143 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19146         (HAVE_GETCPU_VSYSCALL): Define.
19147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19148         (HAVE_GETCPU_VSYSCALL): Likewise.
19149         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19150         * sysdeps/unix/sysv/linux/sched_getcpu.c
19151         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19152         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19153         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19154         prototype.
19155         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19156         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19157         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19158         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19159         Define.
19160         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19161         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19162         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19163         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19165 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19167         * sysdeps/x86_64/fpu/Makefile: New file.
19168         * sysdeps/x86_64/fpu/Versions: New file.
19169         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19170         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19171         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19172         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19173         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19174         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19175         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19176         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19177         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19178         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19179         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19180         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19181         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19182         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19183         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19184         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19185         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19186         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19187         * sysdeps/x86_64/configure: Regenerated.
19188         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19189         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19190         * manual/install.texi (Configuring and compiling): Document
19191         --disable-mathvec.
19192         * INSTALL: Regenerated.
19193         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19195         * math/Makefile: Added rules for vector tests.
19196         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19197         declaration under condition.
19198         * math/test-double-vlen2.h: New file.
19199         * math/test-double-vlen4.h: New file.
19200         * math/test-double-vlen8.h: New file.
19201         * math/test-vec-loop.h: Added initialization macro.
19202         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19203         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19204         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19205         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19206         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19207         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19208         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19209         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19210         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19211         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19212         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19214         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19215         * sysdeps/x86_64/fpu/Versions: New versions added.
19216         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19217         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19218         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19219         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19220         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19221         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19222         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19223         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19224         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19225         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19226         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19227         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19228         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19229         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19230         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19231         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19232         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19233         * NEWS: Mention addition of x86_64 vector cosf.
19235         * math/Makefile: Added CFLAGS for new tests.
19236         * math/test-float-vlen16.h: New file.
19237         * math/test-float-vlen4.h: New file.
19238         * math/test-float-vlen8.h: New file.
19239         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19240         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19241         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19242         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19243         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19244         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19245         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19246         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19247         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19248         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19249         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19251 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19253         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19254         * locale/programs/ld-ctype.c: Likewise.
19256 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19258         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19259         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19260         bit_ZMM16_31_state): New macro.
19261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19262         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19264 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19266         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19268 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19270         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19272 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19274         [BZ #18498]
19275         * libio/memstream.c (open_memstream): Rename to __open_memstream
19276         and define as weak alias of __open_memstream.
19277         * include/stdio.h (__open_memstream): Declare.  Use
19278         libc_hidden_proto.
19279         (open_memstream): Don't use libc_hidden_proto.
19280         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19281         open_memstream.
19282         * posix/getopt.c (_getopt_internal_r): Likewise.
19283         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19284         variable.
19285         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19286         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19287         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19289         [BZ #18496]
19290         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19291         instead of wcrtomb.
19293         [BZ #18483]
19294         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19295         [__USE_XOPEN2K8].  Remove redundant #endif.
19296         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19297         Remove redundant #if.
19298         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19299         Remove variable.
19300         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19301         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19303         [BZ #18495]
19304         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19305         (__iswlower): Likewise.
19306         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19307         (__iswlower): Likewise.
19308         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19309         instead of towlower.
19310         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19311         instead of iswlower.  Call __towupper instead of towupper.
19312         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19313         instead of iswalnum.
19315 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19317         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19318         errors to stderr.
19320 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19322         [BZ #15661]
19323         [BZ #17322]
19324         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19325         Check for overflow properly.  Check for O_APPEND.  Ignore large
19326         file system block sizes.  Add comments about problems.
19327         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19328         * manual/filesys.texi (Storage Allocation): New node.
19330 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19332         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19333         cancellable syscalls.
19334         (SYS_ify): Add guard to no redefine it.
19335         (INLINE_SYSCALL): Likewise.
19336         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19337         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19338         SYSCALL_CANCEL instead.
19339         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19340         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19341         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19342         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19343         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19344         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19345         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19346         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19347         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19348         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19349         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19350         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19351         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19352         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19353         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19354         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19355         Likewise.
19356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19357         (__libc_pread64): Likewise.
19358         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19359         (__libc_preadv): Likewise.
19360         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19361         (__libc_readv64): Likewise.
19362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19363         (__libc_pwrite): Likewise.
19364         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19365         (__libc_pwrite64): Likewise.
19366         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19367         (__libc_pwritev): Likewise.
19368         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19369         (__libc_pwritev64): Likewise.
19370         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19371         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19372         (sync_file_range): Likewise.
19373         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19374         Likewise.
19375         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19376         Likewise.
19377         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19378         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19379         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19380         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19381         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19382         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19383         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19384         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19386         Likewise.
19387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19388         (__libc_read64): Likewise.
19389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19390         Likewise.
19391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19392         Likewise.
19393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19394         Likewise.
19395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19396         Likewise.
19397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19398         (__libc_pread64): Likewise.
19399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19400         Likewise.
19401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19402         (__libc_pwrite64): Likewise.
19403         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19404         (sync_file_range): Likewise.
19405         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19406         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19407         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19408         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19409         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19410         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19411         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19412         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19413         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19414         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19415         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19416         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19417         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19418         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19419         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19420         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19421         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19422         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19423         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19424         Likewise.
19425         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19426         Likewise.
19427         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19428         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19429         Likewise.
19430         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19431         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19432         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19433         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19434         Likewise.
19435         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19436         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19437         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19438         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19439         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19441 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19443         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19444         Include dl-vdso.
19445         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19446         Use VDSO routines for gettimeofday, clock_gettime if
19447         available.
19448         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19449         Declare VDSO symbols.
19450         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19451         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19452         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19453         * sysdeps/unix/sysv/linux/arm/Versions: Add
19454         __vdso_clock_gettime.
19456 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19458         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19459         be an inline implementation regardless of library is built within.
19460         (open_not_cancel_2): Likewise.
19461         (__read_nocancel): Likewise.
19462         (__write_nocancel): Likewise.
19463         (openat_not_cancel): Likewise.
19464         (openat_not_cancel_3): Likewise.
19465         (openat64_not_cancel): Likewise.
19466         (openat64_not_cancel_3): Likewise.
19467         (__close_nocancel): Likewise.
19468         (pause_not_cancel): Likewise.
19469         (nanosleep_not_cancel): Likewise.
19470         (sigsuspend_not_cancel): Likewise.
19472 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19474         [BZ #14958]
19475         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19476         wake-up.
19477         (__pthread_rwlock_rdlock_slow): Likewise.
19478         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19479         Likewise.
19480         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19481         Likewise.
19482         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19483         * nptl/tst-rwlock16.c: New file.
19484         * nptl/Makefile (tests): Add new test.
19486 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19488         [BZ #18324]
19489         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19490         missing wake-up of readers.
19491         * nptl/tst-rwlock15.c: New file.
19492         * nptl/Makefile (tests): Add new test.
19494 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19496         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19497         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19498         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19499         and __nacl_supply_interface_rtld.
19500         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19501         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19502         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19503         Add __nacl_supply_interface_rtld.
19504         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19506 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19508         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19509         isfinite.
19510         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19511         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19513 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19515         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19516         __signbit* with standard C99 macros.
19517         * math/e_exp10l.c: Likewise.
19518         * math/e_exp2l.c: Likewise.
19519         * math/e_scalb.c: Likewise.
19520         * math/e_scalbf.c: Likewise.
19521         * math/e_scalbl.c: Likewise.
19522         * math/s_ldexp.c: Likewise.
19523         * math/s_ldexpf.c: Likewise.
19524         * math/s_ldexpl.c: Likewise.
19525         * math/w_atan2.c: Likewise.
19526         * math/w_atan2f.c: Likewise.
19527         * math/w_atan2l.c: Likewise.
19528         * math/w_cosh.c: Likewise.
19529         * math/w_coshf.c: Likewise.
19530         * math/w_coshl.c: Likewise.
19531         * math/w_exp10.c: Likewise.
19532         * math/w_exp10f.c: Likewise.
19533         * math/w_exp10l.c: Likewise.
19534         * math/w_exp2.c: Likewise.
19535         * math/w_exp2f.c: Likewise.
19536         * math/w_exp2l.c: Likewise.
19537         * math/w_fmod.c: Likewise.
19538         * math/w_fmodf.c: Likewise.
19539         * math/w_fmodl.c: Likewise.
19540         * math/w_hypot.c: Likewise.
19541         * math/w_hypotf.c: Likewise.
19542         * math/w_hypotl.c: Likewise.
19543         * math/w_jnl.c: Likewise.
19544         * math/w_lgamma.c: Likewise.
19545         * math/w_lgamma_r.c: Likewise.
19546         * math/w_lgammaf.c: Likewise.
19547         * math/w_lgammaf_r.c: Likewise.
19548         * math/w_lgammal.c: Likewise.
19549         * math/w_lgammal_r.c: Likewise.
19550         * math/w_pow.c: Likewise.
19551         * math/w_powf.c: Likewise.
19552         * math/w_powl.c: Likewise.
19553         * math/w_remainder.c: Likewise.
19554         * math/w_remainderf.c: Likewise.
19555         * math/w_remainderl.c: Likewise.
19556         * math/w_scalb.c: Likewise.
19557         * math/w_scalbf.c: Likewise.
19558         * math/w_scalbl.c: Likewise.
19559         * math/w_scalbln.c: Likewise.
19560         * math/w_scalblnf.c: Likewise.
19561         * math/w_scalblnl.c: Likewise.
19562         * math/w_sinh.c: Likewise.
19563         * math/w_sinhf.c: Likewise.
19564         * math/w_sinhl.c: Likewise.
19565         * math/w_tgamma.c: Likewise.
19566         * math/w_tgammaf.c: Likewise.
19567         * math/w_tgammal.c: Likewise.
19568         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19569         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19570         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19571         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19572         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19573         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19574         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19575         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19576         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19577         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19578         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19579         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19580         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19581         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19582         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19583         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19584         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19585         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19586         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19587         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19588         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19589         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19590         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19591         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19592         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19593         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19594         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19595         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19596         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19597         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19598         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19599         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19600         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19601         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19602         * stdio-common/printf_fp.c: Likewise.
19603         * stdio-common/printf_fphex.c: Likewise.
19604         * stdio-common/printf_size.c: Likewise.
19606 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19608         [BZ #18470]
19609         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19610         strnlen.
19611         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19612         Remove variable.
19613         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19614         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19615         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19616         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19617         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19618         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19619         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19620         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19621         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19622         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19624         [BZ #18468]
19625         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19626         weak alias of __wmemchr.  Use libc_hidden_weak.
19627         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19628         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19629         instead of wmemchr.
19631 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19633         [BZ #18383]
19634         * elf/tst-tlsalign-extern.c: New file.
19635         * elf/tst-tlsalign-extern-static.c: New file.
19636         * elf/tst-tlsalign-vars.c: New file.
19637         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19638         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19639         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19640         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19641         (test-xfail-tst-tlsalign-extern-static): New variable.
19643 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19645         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19646         Use variable name _sc_err instead of err.
19647         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19648         instead of ret.
19649         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19650         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19651         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19652         (INLINE_SYSCALL): Likewise.
19654         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19655         * include/string.h (__strnlen): Use libc_hidden_proto.
19656         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19657         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19658         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19659         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19660         (libc_hidden_def): Undefine and redefine.
19661         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19662         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19663         __GI_strnlen.
19664         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19665         libc_hidden_def.
19666         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19668         [BZ #18469]
19669         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19670         weak alias of __towlower.  Use libc_hidden_weak.
19671         (towupper): Rename to __towupper and define as weak alias of
19672         __towupper.  Use libc_hidden_weak.
19673         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19674         (__towupper): Likewise.
19675         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19676         __towlower instead of towlower.
19678 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19680         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19681         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19683 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19685         * sysdeps/aarch64/libm-test-ulps: Update.
19687 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19689         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19690         Define.
19691         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19693         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19694         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19695         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19696         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19697         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19699 2015-06-01  Martin Sebor  <msebor@redhat.com>
19701         [BZ #18116]
19702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19703         (__setcontext): Use extended four-operand version of mtsf whenever
19704         possible.
19705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19706         (__novec_swapcontext): Likewise.
19708 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19710         * benchtests/scripts/compare_bench.py: New file.
19711         * benchtests/scripts/import_bench.py (mean): New function.
19712         (split_list): Likewise.
19713         (do_for_all_timings): Likewise.
19714         (compress_timings): Likewise.
19716         * benchtests/scripts/import_bench.py: New file.
19717         * benchtests/scripts/validate_benchout.py: Import import_bench
19718         instead of jsonschema.
19719         (validate_bench): Remove function.
19720         (main): Use import_bench.
19722 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19724         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19725         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19727 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19731 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19733         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19734         set THREAD_SELF->tid to a magic value and futex-wake it.
19735         Pass its address to the thread_exit system call.
19736         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19737         bit is clear.
19738         * sysdeps/nacl/lowlevellock.h: New file.
19739         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19741         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19742         Add TIMEOUT to current time, don't subtract it.
19744 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19746         [BZ #2981]
19747         [BZ #18422]
19748         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19749         ($(objpfx)tst-audit2.out): Also depend on
19750         $(objpfx)tst-auditmod9b.so.
19751         * elf/tst-audit2.c: Include <dlfcn.h>.
19752         (calloc_called): New.
19753         (calloc): Allow to be called more than once.
19754         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19756 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19758         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19759         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19761 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19763         * stdlib/monetary.h: Fix comment.
19765 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19767         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19768         Avoid using variables in #defines that might cause shadowing.
19769         (INTERNAL_VSYSCALL_CALL): Likewise.
19771 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19773         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19775         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19776         * nptl/lll_timedlock_wait.c: ... to this new file.
19777         * nptl/Makefile (libpthread-routines): Add it.
19778         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19779         * nptl/lll_timedwait_tid.c: ... to this new file.
19780         * nptl/Makefile (libpthread-routines): Add it.
19781         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19782         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19783         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19784         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19785         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19786         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19787         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19788         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19789         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19790         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19792 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19794         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19795         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19796         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19798         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19799         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19800         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19801         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19802         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19803         * sysdeps/unix/sysv/linux/tile/sysdep.h
19804         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19805         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19806         using vDSO syscall macro.
19808 2015-05-26  Andriy Rysin  <arysin@gmail.com>
19810         [BZ #17293]
19811         * uk_UA: Fix sorting order for Ukrainian locale
19813 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
19815         * stdlib/monetary.h: Fix comment.
19817 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19819         [BZ #18234]
19820         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19821         st_mtim and st_ctim members.
19822         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19823         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19824         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19825         (struct stat64): Likewise.
19826         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19827         (struct stat64): Likewise.
19828         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19829         (struct stat64): Likewise.
19831 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19833         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19834         Define and include sysdep-vdso.h.
19835         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19836         Likewise.
19837         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19838         Likewise.
19839         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19840         Define with VDSO_SYMBOL and use PTR_MANGLE.
19841         (__vdso_clock_gettime): Likewise.
19842         (__vdso_clock_getres): Likewise.
19843         (_libc_vdso_platform_setup): Likewise.
19844         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19845         Likewise.
19846         (_libc_vdso_platform_setup): Likewise.
19847         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19848         Likewise.
19849         (__vdso_clock_gettime): Likewise.
19850         (__vdso_clock_getres): Likewise.
19851         (__vdso_get_tbfreq): Likewise.
19852         (__vdso_getcpu): Likewise.
19853         (__vdso_time): Likewise.
19854         (__vdso_sigtramp_rt64): Likewise.
19855         (__vdso_signtramp32): Likewise.
19856         (__vdso_sigtramp_rt32): Likewise.
19857         (_libc_vdso_platform_setup): Likewise.
19858         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19859         Likewise.
19860         (__vdso_clock_gettime): Likewise.
19861         (__vdso_clock_getres): Likewise.
19862         (_libc_vdso_platform_setup): Likewise.
19863         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19864         Likewise.
19865         (__vdso_clock_gettime): Likewise.
19866         (_libc_vdso_platform_setup): Likewise.
19867         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19868         Likewise.
19869         (__vdso_getcpu): Likewise.
19870         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19871         Use VDSO_SYMBOL macro to define.
19872         (__vdso_clock_gettime): Likewise.
19873         (__vdso_clock_getres): Likewise.
19874         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19875         Likewise.
19876         (__vdso_clock_gettime): Likewise.
19877         (__vdso_clock_getres): Likewise.
19878         (__vdso_get_tbfreq): Likewise.
19879         (__vdso_getcpu): Likewise.
19880         (__vdso_time): Likewise.
19881         (__vdso_sigtramp_rt64): Likewise.
19882         (__vdso_signtramp32): Likewise.
19883         (__vdso_sigtramp_rt32): Likewise.
19884         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19885         Likewise.
19886         (__vdso_clock_gettime): Likewise.
19887         (__vdso_clock_getres): Likewise.
19888         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19889         Likewise.
19890         (__vdso_clock_gettime): Likewise.
19891         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19892         Likewise.
19893         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19894         macro.
19895         (INTERNAL_VSYSCALL): Likewise.
19896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19897         Remove macro.
19898         (INTERNAL_VSYSCALL): Likewise.
19899         (INTERNAL_VSYSCALL_NCS): Likewise.
19900         (INTERNAL_VSYSCALL_CALL): New macro.
19901         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19903         Likewise.
19904         (INTERNAL_VSYSCALL): Likewise.
19905         (INTERNAL_VSYSCALL_NCS): Likewise.
19906         (INTERNAL_VSYSCALL_CALL): New macro.
19907         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19909         (INLINE_VSYSCALL): Remove macro.
19910         (INTERNAL_VSYSCALL): Remove macro.
19911         (INTERNAL_VSYSCALL_NCS): Remove macro.
19912         (INTERNAL_VSYSCALL_CALL): New macro.
19913         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19914         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19915         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19916         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19917         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19919         (INLINE_VSYSCALL): Remove macro.
19920         (INTERNAL_VSYSCALL): Likewise.
19921         (INTERNAL_VSYSCALL_NCS): Likewise.
19922         (INTERNAL_VSYSCALL_CALL): New macro.
19923         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19924         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19925         PTR_DEMANGLE on vDSO pointer.
19926         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19927         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19928         macro.
19929         (INTERNAL_SYSCALL): Likewise.
19930         (INTERNAL_VSYSCALL_NCS): Remove macro.
19931         (INTERNAL_VSYSCALL_CALL): New macro.
19932         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19933         Remove macro.
19934         (INTERNAL_VSYSCALL): Likewise.
19935         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19936         sysdep-vdso.h instead of libc-vdso.h.
19937         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19938         definition.
19939         (INLINE_VSYSCALL): Likewise.
19940         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19941         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19942         definition.
19943         (INLINE_VSYSCALL): Likewise.
19944         (INTERNAL_VSYSCALL): Likewise.
19945         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19946         * sysdeps/unix/sysv/linux/timespec_get.c
19947         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19948         (timespec_get): Use ANSI prototype.
19949         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19950         and definition for Linux.
19952 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19954         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19955         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19957 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19959         [BZ #2981]
19960         [BZ #18410]
19961         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19962         for missing DT_PLTRELSZ.
19964 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19966         Remove obsolete aliases that broke 'locale -a'
19967         [BZ #18412]
19968         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19969         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19970         breaking some applications that use 'locale -a' output.
19971         Change the encoding of this file from Latin-1 to ASCII to avoid
19972         other potential problems with people grepping this file.
19974 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19976         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19977         -fasynchronous-unwind-tables.
19978         (CFLAGS-sendto.c): Likewise.
19979         (CFLAGS-sendmsg.c): Likewise.
19980         (CFLAGS-connect.c): Likewise.
19981         (CFLAGS-recvmsg.c): Likewise.
19982         (CFLAGS-recvfrom.c): Likewise.
19983         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19984         (SOCKETCALL): New macro: non-cancellable socketcall.
19985         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19986         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19987         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19988         * sysdeps/unix/sysv/linux/accept.c: New file.
19989         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19990         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19991         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19992         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19993         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19994         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19995         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19996         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19997         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19998         * sysdeps/unix/sysv/linux/send.c: Likewise.
19999         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20000         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20001         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20002         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20003         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20004         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20005         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20006         prototype.
20007         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20008         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20009         instead of __internal_xxx function.
20010         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20011         prototype.
20012         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20013         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20014         instead of __internal_xxx function.
20015         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20016         prototype.
20017         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20018         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20019         instead of __internal_xxx function.
20020         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20021         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20022         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20023         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20024         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20025         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20026         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20027         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20028         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20029         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20030         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20031         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20032         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20033         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20034         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20035         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20036         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20037         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20038         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20039         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20042         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20043         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20044         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20045         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20046         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20047         * sysdeps/unix/sysv/linux/send.S: Likewise.
20048         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20049         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20050         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20051         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20052         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20053         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20054         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20055         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20056         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20057         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20058         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20059         socketcall is implemented in GLIBC.
20061 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20063         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20064         (__fma): Ignore uninitialized warnings around packing.
20065         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20066         (__fmaf): Ignore uninitialized warnings around packing.
20067         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20068         (__fmal): Ignore uninitialized warnings around packing.
20070         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20071         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20072         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20073         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20075         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20076         switch statement into default case.
20077         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20079         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20080         a conditional in forcing "inexact".
20081         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20082         Likewise.
20084 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20086         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20087         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20088         for each INTERNAL_SYSCALL use.
20090 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20092         [BZ #438]
20093         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20094         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20095         variable.
20097         [BZ #18444]
20098         * string/basename.c (basename): Rename to __basename and define as
20099         weak alias of __basename.  Use libc_hidden_weak.
20100         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20101         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20102         __basename instead of basename.
20103         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20104         Remove variable.
20105         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20107 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20109         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20110         (_IO_JUMPS_FILE_plus): New.
20111         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20112         _IO_CAST_FIELD_ACCESS.
20113         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20114         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20115         * libio/freopen.c (freopen): Likewise.
20116         * libio/freopen64.c (freopen64): Likewise.
20117         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20118         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20119         * libio/iofwide.c (_IO_fwide): Likewise.
20120         * libio/memstream.c (open_memstream): Likewise.
20121         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20122         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20123         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20125 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20127         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20128         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20129         NADJ.
20130         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20131         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20132         NADJ.
20133         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20134         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20135         NADJ.
20137         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20138         (p == 4) case.
20140         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20141         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20142         Remove variable.
20143         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20144         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20145         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20147 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20149         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20150         Adjust jump table label generation macros.
20152 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20154         * stdio-common/vfprintf.c (vfprintf): Move local variables
20155         args_malloced, specs, specs_malloced, and the code after
20156         do_positional to the printf_positional function.
20157         (printf_positional): New function.
20159 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20161         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20162         function.
20163         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20164         STEP4_TABLE, process_arg): Move macro definitions
20165         out of the vfprintf function.  (Cosmetic change only.)
20167 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20169         * benchtests/Makefile (stdio-common-bench): Define.
20170         (benchset): Add stdio-common-bench.
20171         * sprintf-inputs: New file.
20172         * sprintf-source.c: New file.
20174 2015-05-21  Andreas Schwab  <schwab@suse.de>
20176         [BZ #13028]
20177         [BZ #17053]
20178         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20179         of struct __res_state.
20180         * resolv/res_send.c (__libc_res_nsend): Likewise.
20181         (get_nsaddr): New function.
20182         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20183         statp directly.
20185 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20187         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20188         -D_POSIX_C_SOURCE=199506L.
20190         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20192         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20193         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20194         Do not mention otherwise.
20195         [POSIX] (_XOPEN_VERSION): Do not expect.
20196         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20197         [POSIX] (_POSIX2_C_BIND): Likewise.
20198         [POSIX] (_POSIX2_VERSION): Likewise.
20199         [POSIX] (_XOPEN_XPG2): Likewise.
20200         [POSIX] (_XOPEN_XPG3): Likewise.
20201         [POSIX] (_XOPEN_XPG4): Likewise.
20202         [POSIX] (_XOPEN_UNIX): Likewise.
20203         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20204         [POSIX] (_POSIX_BARRIERS): Likewise.
20205         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20206         [POSIX] (_POSIX_CPUTIME): Likewise.
20207         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20208         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20209         [POSIX] (_POSIX_SHELL): Likewise.
20210         [POSIX] (_POSIX_SPAWN): Likewise.
20211         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20212         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20213         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20214         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20215         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20216         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20217         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20218         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20219         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20220         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20221         [POSIX] (_POSIX2_PBS): Likewise.
20222         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20223         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20224         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20225         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20226         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20227         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20228         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20229         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20230         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20231         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20232         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20233         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20234         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20235         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20236         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20237         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20238         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20239         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20240         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20241         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20242         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20243         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20244         [POSIX] (_SC_2_C_BIND): Likewise.
20245         [POSIX] (_SC_2_C_VERSION): Likewise.
20246         [POSIX] (_SC_2_PBS): Likewise.
20247         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20248         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20249         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20250         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20251         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20252         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20253         [POSIX] (_SC_BARRIERS): Likewise.
20254         [POSIX] (_SC_BASE): Likewise.
20255         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20256         [POSIX] (_SC_DEVICE_IO): Likewise.
20257         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20258         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20259         [POSIX] (_SC_FD_MGMT): Likewise.
20260         [POSIX] (_SC_FIFO): Likewise.
20261         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20262         [POSIX] (_SC_FILE_LOCKING): Likewise.
20263         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20264         [POSIX] (_SC_IOV_MAX): Likewise.
20265         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20266         [POSIX] (_SC_NETWORKING): Likewise.
20267         [POSIX] (_SC_PAGE_SIZE): Likewise.
20268         [POSIX] (_SC_PASS_MAX): Likewise.
20269         [POSIX] (_SC_PIPE): Likewise.
20270         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20271         [POSIX] (_SC_REGEXP): Likewise.
20272         [POSIX] (_SC_SHELL): Likewise.
20273         [POSIX] (_SC_SIGNALS): Likewise.
20274         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20275         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20276         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20277         [POSIX] (_SC_USER_GROUPS): Likewise.
20278         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20279         [POSIX] (_SC_STREAMS): Likewise.
20280         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20281         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20282         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20283         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20284         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20285         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20286         [POSIX] (_PC_FILESIZEBITS): Likewise.
20287         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20288         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20289         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20290         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20291         [POSIX] (uid_t): Likewise.
20292         [POSIX] (gid_t): Likewise.
20293         [POSIX] (off_t): Likewise.
20294         [POSIX] (pid_t): Likewise.
20295         [POSIX] (cuserid): Allow.
20296         (_SC_2_CHAR_TERM): Require constant.
20297         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20298         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20299         variable.
20301 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20303         * sysdeps/nacl/pthread-pids.h: New file.
20304         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20305         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20307         * nptl/pthread-pids.h: New file.
20308         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20309         * nptl/nptl-init.c: Include <pthread-pids.h>.
20310         (__pthread_initialize_minimal_internal):
20311         Call __pthread_initialize_pids instead of set_tid_address syscall.
20313         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20314         * sysdeps/posix/usleep.c: ... here.
20316 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20318         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20319         call_pselect6 object.
20320         [$(subdir) = io]: Remove call_sync_file_range object.
20321         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20322         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20323         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20324         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20326 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20328         * math/s_cproj.c: Add include "math_private.h".
20329         * math/s_cprojf.c: Likewise.
20330         * math/s_cprojl.c: Likewise.
20332 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20334         [BZ #18244]
20335         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20336         high mantissa bit when testing whether P is a NaN.
20337         * math/libm-test.inc (remainder_test_data): Add more tests.
20338         (remquo_test_data): Likewise.
20340         [BZ #18049]
20341         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20342         below -32, return the argument, with underflow if subnormal.
20343         * math/auto-libm-test-in: Add more tests of atanh.
20344         * math/auto-libm-test-out: Regenerated.
20346 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20348         [BZ #18434]
20349         * nptl/tst-sem15.c: New file.
20350         * nptl/Makefile (tests): Add it.
20351         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20352         s/<</>>/ to fix typo in EOVERFLOW check.
20353         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20355 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20357         * manual/strings.texi (envz_remove): Fix typo in safety
20358         annotations.
20360 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20361             Steve Ellcey  <sellcey@imgtec.com>
20363         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20364         in order to avoid strict alias warnings.
20365         (iruserok_af): Ditto for ra.
20367 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20369         [BZ #17581]
20370         * malloc/hooks.c
20371         (magicbyte): Convert to a function and avoid returning 0x01.
20372         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20373         (mem2chunk_check): Fix unsigned comparisons to zero.
20374         Hoist defs of sz and magic.
20376 2015-05-19  Richard Henderson  <rth@redhat.com>
20378         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20380         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20382 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20384         [BZ #16159]
20385         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20386         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20387         (reused_arena): Find a non-corrupt arena.
20388         (heap_trim): Pass arena to unlink.
20389         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20390         malloc_printerr.
20391         (top_check): Likewise.
20392         (free_check): Likewise.
20393         (realloc_check): Likewise.
20394         * malloc/malloc.c (malloc_printerr): Add arena argument.
20395         (unlink): Likewise.
20396         (munmap_chunk): Adjust.
20397         (ARENA_CORRUPTION_BIT): New macro.
20398         (arena_is_corrupt): Likewise.
20399         (set_arena_corrupt): Likewise.
20400         (sysmalloc): Use mmap if there are no usable arenas.
20401         (_int_malloc): Likewise.
20402         (__libc_malloc): Don't fail if arena_get returns NULL.
20403         (_mid_memalign): Likewise.
20404         (__libc_calloc): Likewise.
20405         (__libc_realloc): Adjust for additional argument to
20406         malloc_printerr.
20407         (_int_free): Likewise.
20408         (malloc_consolidate): Likewise.
20409         (_int_realloc): Likewise.
20410         (_int_memalign): Don't touch corrupt arenas.
20411         * malloc/tst-malloc-backtrace.c: New test case.
20413         * Makefile (summarize-tests): Fix return value on success.
20415         * manual/string.texi (Envz Functions): Add envz_remove.
20417 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20419         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20420         (invalid_name): New function, broken out of ...
20421         (__opendirat): ... here.  Call it.
20422         (need_isdir_precheck): New function, broken out of ...
20423         (__opendirat): ... here.  Call it.
20424         Use __fxstatat64, not __xstatat64.
20425         (opendir_oflags): New function, broken out of ...
20426         (__opendirat): ... here.  Call it.
20427         (opendir_tail): New function, broken out of ...
20428         (__opendirat): ... here.  Call it.
20429         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20430         opendir_tail, rather than punting to __opendirat.
20431         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20433 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20435         * .gitignore: Ignore generated *.pyc.
20437 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20439         * include/stdio.h: Define __need_wint_t.
20440         * test-skeleton.c: Avoid `for' loop initial declaration.
20441         * nptl/tst-initializers1.c: Use test-skeleton.c.
20443 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20445         [BZ #18418]
20446         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20448 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20450         [BZ #16352]
20451         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20452         (__ieee754_atanh): Force underflow exception for results with
20453         small absolute value.
20454         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20455         (__ieee754_atanhf): Force underflow exception for results with
20456         small absolute value.
20457         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20458         (__ieee754_atanh): Force underflow exception for results with
20459         small absolute value.
20460         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20461         (__ieee754_atanhf): Force underflow exception for results with
20462         small absolute value.
20463         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20464         (__ieee754_atanhl): Force underflow exception for results with
20465         small absolute value.
20466         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20467         (__ieee754_atanhl): Force underflow exception for results with
20468         small absolute value.
20469         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20470         (__ieee754_atanhl): Force underflow exception for results with
20471         small absolute value.
20472         * math/auto-libm-test-in: Do not allow missing underflow
20473         exceptions from atanh.
20474         * math/auto-libm-test-out: Regenerated.
20476         [BZ #18221]
20477         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20478         2**-28 as threshold for returning x or +/- 1/x.
20479         * math/auto-libm-test-in: Add more tests of tan.
20480         * math/auto-libm-test-out: Regenerated.
20482         [BZ #18220]
20483         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20484         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20485         * math/auto-libm-test-in: Add another test of lgamma.
20486         * math/auto-libm-test-out: Regenerated.
20488 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20490         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20491         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20492         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20493         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20494         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20495         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20496         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20497         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20498         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20499         (log1): Use fabs.  (my_log2): Use fabs.
20500         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20501         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20502         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20503         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20504         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20505         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20506         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20507         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20508         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20509         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20510         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20512 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20514         [BZ #18217]
20515         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20516         as threshold for returning 1 - x.
20517         * math/auto-libm-test-in: Add more tests of erfc.
20518         * math/auto-libm-test-out: Regenerated.
20520 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20522         [BZ #18196]
20523         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20524         threshold for large arguments.
20525         * math/auto-libm-test-in: Add another test of atan.
20526         * math/auto-libm-test-out: Regenerated.
20528         [BZ #16339]
20529         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20530         (__log1p): Force underflow exception for results with small
20531         absolute value.
20532         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20533         (__log1pf): Force underflow exception for results with small
20534         absolute value.
20535         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20536         (__log1p): Force underflow exception for results with small
20537         absolute value.
20538         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20539         (__log1pf): Force underflow exception for results with small
20540         absolute value.
20541         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20542         (__log1pl): Force underflow exception for results with small
20543         absolute value.
20544         * math/auto-libm-test-in: Do not allow missing underflow
20545         exceptions from log1p.
20546         * math/auto-libm-test-out: Regenerated.
20548 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20549             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20551         [BZ #16704]
20552         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20554 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20556         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20557         (libmvec): New variable.
20558         * configure.ac: Added option for mathvec build.
20559         * configure: Regenerated.
20560         * mathvec/Depend: New file.
20561         * mathvec/Makefile: New file.
20562         * shlib-versions: Added libmvec.
20563         * math/Makefile: Added rule for libm.so installation.
20565         * bits/math-vector.h: New file.
20566         * bits/libm-simd-decl-stubs.h: New header.
20567         * math/Makefile (headers): Added new header
20568         libm-simd-decl-stubs.h.
20569         * math/math.h (__MATHCALL_VEC): New macro.
20571         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20572         for conditions in testing functions.
20573         * math/Makefile: Added call of libm-have-vector-test.sh.
20574         * math/libm-test.inc (HAVE_VECTOR): New macros.
20576         * math/libm-test.inc: START refactored.
20577         * math/test-double.c (TEST_MATHVEC): Add define.
20578         * math/test-float.c: Likewise.
20579         * math/test-idouble.c: Likewise.
20580         * math/test-ifloat.c: Likewise.
20581         * math/test-ildoubl.c: Likewise.
20582         * math/test-ldouble.c: Likewise.
20583         * sysdeps/generic/math-tests-arch.h
20584         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20585         architecture check.
20587         * math/test-double.c (FUNC_TEST): New macro.
20588         * math/test-float.c: Likewise.
20589         * math/test-idouble.c: Likewise.
20590         * math/test-ifloat.c: Likewise.
20591         * math/test-ildoubl.c: Likewise.
20592         * math/test-ldouble.c: Likewise.
20593         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20595 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20597         * sysdeps/nacl/fdopendir.c: New file.
20599         * dirent/scandir-tail.c: New file.
20600         * dirent/scandir64-tail.c: New file.
20601         * dirent/Makefile (routines): Add them.
20602         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20603         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20604         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20605         [!SCANDIR] (SCANDIR_TAIL): New macro.
20606         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20607         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20608         (SCANDIRAT): Macro removed.
20609         (SCANDIR_TAIL): New macro.
20610         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20611         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20612         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20613         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20614         (READDIR): Macro removed.
20615         (SCANDIR_TAIL): New macro.
20616         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20617         (SCANDIR_TAIL): New macro.
20619         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20620         * dirent/scandir-cancel.c: ... to this new file.
20621         * dirent/Makefile (routines): Add it.
20622         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20623         * sysdeps/unix/sysv/linux/i386/scandir64.c
20624         (SKIP_SCANDIR_CANCEL): Macro removed.
20625         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20627         * dirent/tst-scandir.c: New file.
20628         * dirent/tst-scandir64.c: New file.
20629         * dirent/Makefile (tests): Add them.
20631 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20633         [BZ #18409]
20634         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20636 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20638         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20639         list.
20641 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20643         * benchtests/bench-strcoll.c: New benchmark.
20644         * benchtests/Makefile: Generate locales and run benchmark.
20645         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20646         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20647         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20648         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20649         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20650         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20651         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20652         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20653         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20654         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20655         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20656         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20657         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20658         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20659         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20660         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20661         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20662         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20663         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20664         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20665         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20666         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20667         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20668         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20670 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20672         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20673         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20675 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20677         * posix/uname-values.h: New file.
20678         * posix/uname.c: Include that instead of <config-name.h>.
20679         * sysdeps/nacl/uname-values.h: New file.
20680         * sysdeps/arm/nacl/uname-values.h: New file.
20682 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20684         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20685         splitting into fields.
20687 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20689         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20690         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20691         * locale/localeinfo.h: Add enum collation_encoding_type.
20692         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20693         * programs/ld-collate.c (collate_output): Add encoding type info.
20694         * string/strcoll_l.c (STRDIFF): New function.
20695         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20696         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20698 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20700         [BZ #18397]
20701         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20702         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20703         <fpu_control.h> instead of <math/fpu_control.c>.
20704         * sysdeps/mips/mips32/fpu/Makefile: New file.
20706 2015-05-11  Andreas Schwab  <schwab@suse.de>
20708         [BZ #18007]
20709         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20710         nss_endgrent.
20711         (_nss_compat_endgrent): Call nss_endgrent.
20712         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20713         nss_endpwent.
20714         (_nss_compat_endpwent): Call nss_endpwent.
20715         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20716         needent, call nss_setspent only if non-zero.
20717         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20718         (internal_endspent): Don't call nss_endspent.
20719         (_nss_compat_endspent): Call nss_endspent.
20720         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20721         Remove.  All uses removed.
20722         (internal_setent): Remove parameter stayopen, add parameter
20723         stream.  Use it instead of global variable.
20724         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20725         (internal_endent, internal_getent): Add parameter stream.  Use it
20726         instead of global variable.
20727         (CONCAT(_nss_files_end,ENTNAME))
20728         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20729         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20730         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20731         uses removed.
20732         (internal_setent, internal_endent): Add parameter stream.  Use it
20733         instead of global variable.
20734         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20735         stream.
20736         (get_next_alias): Add parameter stream.
20737         (_nss_files_getaliasent_r): Pass global stream.
20738         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20739         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20740         (_nss_files_gethostbyname4_r): Pass local stream to
20741         internal_setent, internal_getent and internal_endent.  Remove
20742         locking.
20744 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20746         * tst-strfmon1.c (tests): Update expected currency symbol.
20748 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20750         * sysdeps/nacl/gethostname.c: New file.
20752 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20754         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20755         and sinh.
20756         * math/auto-libm-test-out: Regenerated.
20757         * sysdeps/i386/fpu/libm-test-ulps: Update.
20758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20760 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20762         [BZ #18125]
20763         * stdlib/tst-setcontext3.c: New file.
20764         * stdlib/tst-setcontext3.sh: New file.
20765         * stdlib/Makefile (tests): Add tst-setcontext3.
20766         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20767         to verify test program created output file.
20768         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20769         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20770         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20771         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20773 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20775         [BZ #18383]
20776         * elf/tst-tlsalign.c: New file.
20777         * elf/tst-tlsalign-static.c: New file.
20778         * elf/tst-tlsalign-lib.c: New file.
20779         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20780         (tests-static): Add tst-tlsalign-static.
20781         (modules-names): Add tst-tlsalign-lib.
20782         (test-xfail-tst-tlsalign): New variable.
20783         (test-xfail-tst-tlsalign-static): New variable.
20785         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20786         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20788 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
20790         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20791         csqrt, erfc, sin and sincos.
20792         * math/auto-libm-test-out: Regenerated.
20793         * sysdeps/i386/fpu/libm-test-ulps: Update.
20794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20796 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20798         * sysdeps/aarch64/libm-test-ulps: Update.
20800 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
20802         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20803         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20804         * math/auto-libm-test-out: Regenerated.
20805         * sysdeps/i386/fpu/libm-test-ulps: Update.
20806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20808 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20810         [BZ #18265]
20811         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20812         (wcsncpy): Likewise.
20814 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20816         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20817         Assume __ASSUME_FALLOCATE is always true.
20818         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20819         (__posix_fallocate64_l64): Likweise.
20820         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20821         (posix_fallocate): Likewise.
20822         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20823         (__posix_fallocate64_l64): Likewise.
20824         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20825         [!__ASSUME_FALLOCATE]: Add comment.
20827 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20829         * sysdeps/unix/sysv/linux/i386/Makefile
20830         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20831         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20832         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20833         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20834         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20835         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20836         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20838 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
20840         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20841         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20842         tgamma.
20843         * math/auto-libm-test-out: Regenerated.
20844         * sysdeps/i386/fpu/libm-test-ulps: Update.
20845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20847 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20849         * math/auto-libm-test-in: Add more tests of tgamma.
20850         * math/auto-libm-test-out: Regenerated.
20851         * sysdeps/i386/fpu/libm-test-ulps: Update.
20852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20854         * math/auto-libm-test-in: Add more tests of tanh.
20855         * math/auto-libm-test-out: Regenerated.
20856         * sysdeps/i386/fpu/libm-test-ulps: Update.
20857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20859         * math/auto-libm-test-in: Add more tests of tan.
20860         * math/auto-libm-test-out: Regenerated.
20861         * sysdeps/i386/fpu/libm-test-ulps: Update.
20862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20864         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20865         * math/auto-libm-test-out: Regenerated.
20866         * sysdeps/i386/fpu/libm-test-ulps: Update.
20867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20869         * math/auto-libm-test-in: Add another test of pow.
20870         * math/auto-libm-test-out: Regenerated.
20871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20873         * math/auto-libm-test-in: Add more tests of lgamma.
20874         * math/auto-libm-test-out: Regenerated.
20875         * sysdeps/i386/fpu/libm-test-ulps: Update.
20876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20878         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20879         log1p.
20880         * math/auto-libm-test-out: Regenerated.
20881         * sysdeps/i386/fpu/libm-test-ulps: Update.
20882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20884 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20886         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20887         Elf64_Chdr structs and ELFCOMPRESS constants.
20889 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20891         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20892         expm1.
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 erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20904         * config.h.in (HAVE_AARCH64_BE): Add.
20906 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20908         * math/auto-libm-test-in: Add more tests of csqrt.
20909         * math/auto-libm-test-out: Regenerated.
20910         * sysdeps/i386/fpu/libm-test-ulps: Update.
20911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20913         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20914         * math/auto-libm-test-out: Regenerated.
20915         * sysdeps/i386/fpu/libm-test-ulps: Update.
20916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20918         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20920 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20922         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20923         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20925         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20926         (euidaccess, eaccess): Define as weak aliases.
20928         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20929         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20930         but __suseconds_t is often 'long int' so some sources assume that
20931         type is being used (e.g. they use %ld to print tv_usec).
20933 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20935         [BZ #18007]
20936         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20937         (CVE-2014-8121)
20938         * nss/tst-nss-getpwent.c: New file.
20939         * nss/Makefile (tests): Add new test.
20941 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20943         [BZ #18346]
20944         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20945         exponents less than 48 as cases where high part of mantissa needs
20946         examining to determine whether argument is integral.
20947         * math/libm-test.inc (round_test_data): Add more tests.
20949 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20951         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20953 2015-04-27  David S. Miller  <davem@davemloft.net>
20955         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20956         __tls_get_addr.
20957         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20959 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20961         [BZ#18333]
20962         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20964 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20966         [BZ#18333]
20967         * time/tzset.c (parse_tzname): Return error on memory allocation
20968         failure.
20969         * test-skeleton.c (struct temp_name_list): Change type of name
20970         member to non-const.
20971         (add_temp_file): Create a copy of the file name.
20972         (delete_temp_files): Deallocate memory.
20973         (create_temp_file): Add comment.
20975 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20977         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20978         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20980 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20982         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20983         * sysdeps/arm/configure: Regenerated.
20985 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20987         [BZ #17715]
20988         * time/tzfile.c (__tzfile_read): Check for large values of
20989         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20990         * time/tzset.c (__tzstring_len): New function, based on the old
20991         __tzstring function.
20992         (__tzstring): Call __tzstring_len.
20993         (parse_tzname): New helper function extracted from
20994         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20995         the input string.
20996         (parse_offset): New helper function extracted from
20997         __tzset_parse_tz.  Replace switch with fallthrough with
20998         initialization before sscanf.
20999         (parse_rule): Likewise.
21000         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21001         new-style function definition.
21002         * timezone/Makefile (tests): Add tst-tzset.
21003         (tst-tzset.out): Dependencies on time zone files.
21004         (tst-tzset-ENV): Set TZDIR.
21005         (testdata/XT%): Copy crafted time zone files.
21006         * timezone/README: Mention crafted time zone files.
21007         * timezone/testdata/XT1, timezone/testdata/XT2,
21008         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21009         files.
21010         * timezone/tst-tzset.c: New test.
21012 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21014         * Makeconfig (+gccwarn): Remove -Winline.
21016 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21018         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21020 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21022         * NEWS: Mention sysconf() cache information support for s390.
21023         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21025 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21027         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21028         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21029         (__nearbyint): Likewise.
21030         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21031         (copysignl): Likewise.
21033 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21035         [BZ #18287]
21036         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21037         based on padding.  (CVE-2015-1781)
21039 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21041         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21042         libc-vdso.h.
21043         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21044         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21045         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21046         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21047         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21048         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21049         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21050         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21051         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21052         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21053         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21054         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21055         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21056         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21057         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21058         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21059         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21060         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21061         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21062         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21063         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21064         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21065         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21067 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21069         * stdlib/setenv.c (__add_to_environ):
21070         Dump core quickly if setenv (..., NULL, ...) is called.
21071         This time, do it the right way, and pacify GCC with a pragma.
21073 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21075         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21076         IMAP->l_prev cannot be null, and #if out the code for the contrary
21077         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21078         believe that NS (&_dl_ns[NSID]) could point outside the array.
21080         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21081         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21082         before using NSID as an index.
21084 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21086         [BZ #17825]
21087         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21088         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21089         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21091 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21093         Add preliminary port to Google Native Client on ARM.
21094         * abi-tags (.*-.*-nacl.*): New entry.
21095         * sysdeps/arm/nacl: New directory.
21096         * sysdeps/nacl: New directory.
21098 2015-04-16  David S. Miller  <davem@davemloft.net>
21100         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21101         lowlevellock-futex.h
21103 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21105         * sysdeps/tile/configure.ac: New file.
21106         * sysdeps/tile/configure: Regenerated.
21108 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21110         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21111         conditionals for weak_alias and libc_hidden_weak.
21112         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21113         libc_hidden_weak and weak_alias.
21114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21115         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21116         and weak_alias for static one.
21118 2015-04-15  David S. Miller  <davem@davemloft.net>
21120         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21122 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21124         [BZ #18206]
21125         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21126           Use signed comparision instead of substraction to avoid
21127           overflow bug.
21128         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21129           Take the sign of ret.
21130         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21131           Do not expect precise return values. Only the sign matters.
21132         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21133         * wcsmbs/test-wcsncmp.c: New File.
21134         * string/test-strncmp.c: Add wcsncmp support.
21136 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21138         [BZ #6792]
21139         * math/w_log1p.c: New file.
21140         * math/w_log1pf.c: Likewise.
21141         * math/w_log1pl.c: Likewise.
21142         * math/Makefile (libm-calls): Add w_log1p.
21143         * math/s_log1pl.c (log1pl): Remove weak_alias.
21144         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21145         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21146         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21147         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21148         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21149         [NO_LONG_DOUBLE] (log1pl): Likewise.
21150         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21151         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21152         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21153         (log1p): Remove long_double_symbol.
21154         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21155         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21156         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21157         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21158         remove weak_alias for corresponding log1p function.
21159         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21160         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21161         * sysdeps/ia64/fpu/w_log1p.c: New file.
21162         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21163         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21164         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21166 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21168         [BZ #18247]
21169         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21170         decimal exponent by 1.
21171         * stdlib/tst-strtod-round-data: Add more tests.
21172         * stdlib/tst-strtod-round.c (tests): Regenerated.
21174 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21176         * math/auto-libm-test-in: Add more tests of clog and clog10.
21177         * math/auto-libm-test-out: Regenerated.
21178         * sysdeps/i386/fpu/libm-test-ulps: Update.
21179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21181 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21183         * Makeconfig (module-cppflags): Exclude all .v.i files.
21184         (skip-module-cppflags): Variable removed.
21186         * configure.ac (libc_config_ok): Initialize before reading
21187         preconfigure scripts, not after.
21188         * configure: Regenerated.
21190         * test-skeleton.c (TIMEOUT): Move #define to top level.
21191         (main): Grok environment variable TEST_DIRECT.  If set, print
21192         test expectation details into that file and then behave as if
21193         given --direct.
21195 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21197         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21198         warning on 32-bit.
21200 2015-04-08  David S. Miller  <davem@davemloft.net>
21202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21204 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21206         * math/auto-libm-test-in: Add more tests of atanh.
21207         * math/auto-libm-test-out: Regenerated.
21208         * sysdeps/i386/fpu/libm-test-ulps: Update.
21209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21211         * math/auto-libm-test-in: Add more tests of atan.
21212         * math/auto-libm-test-out: Regenerated.
21213         * sysdeps/i386/fpu/libm-test-ulps: Update.
21214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21216 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21218         * elf/pldd.c (main): Rewrite to use struct
21219         scratch_buffer instead of extend_alloca.
21220         * elf/pldd-xx.c (find_maps): Likewise.
21221         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21222         <alloca.h>.
21223         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21224         scratch_buffer instead of extend_alloca.
21225         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21226         grp/compat-initgroups.c.
21227         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21228         Rewrite to use struct scratch_buffer instead of extend_alloca.
21229         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21230         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21232 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21234         * math/auto-libm-test-in: Add more tests of cbrt.
21235         * math/auto-libm-test-out: Regenerated.
21236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21238         * math/auto-libm-test-in: Add more tests of cabs.
21239         * math/auto-libm-test-out: Regenerated.
21240         * sysdeps/i386/fpu/libm-test-ulps: Update.
21241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21243         [BZ #18210]
21244         [BZ #18211]
21245         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21246         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21247         computations.
21248         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21249         clog10.
21250         * math/auto-libm-test-out: Regenerated.
21251         * sysdeps/i386/fpu/libm-test-ulps: Update.
21252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21254         [BZ #18197]
21255         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21256         (atan): Set FE_TONEAREST mode for internal computations.
21257         * math/auto-libm-test-in: Add more tests of atan.
21258         * math/auto-libm-test-out: Regenerated.
21260 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21262         [BZ #17930]
21263         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21265 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21267         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21269 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21271         * include/scratch_buffer.h: New file.
21272         * malloc/scratch_buffer_grow.c: Likewise.
21273         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21274         * malloc/scratch_buffer_set_array_size.c: Likewise.
21275         * malloc/tst-scratch_buffer.c: Likewise.
21276         * malloc/Makefile (routines): Add scratch_buffer_grow.
21277         (tests): Add test case.
21278         * malloc/Versions (GLIBC_PRIVATE): Export
21279         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21280         __libc_scratch_buffer_set_array_size.
21282 2015-04-06  Richard Henderson  <rth@redhat.com>
21284         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21285         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21287         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21288         unsigned int before printing.
21290 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21292         [BZ #17596]
21293         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21294         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21296 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21298         * include/libc-internal.h (libc_max_align_t): Define.
21300 2015-04-02  Andreas Schwab  <schwab@suse.de>
21302         [BZ #16850]
21303         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21305 2015-04-02  Mel Gorman  <mgorman@suse.de>
21307         [BZ #17195]
21308         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21309         as well as the main arena.
21311 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21313         [BZ #18185]
21314         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21315         sharing L2 cache to 2 for Silvermont/Knights Landing.
21317 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21319         [BZ #17711]
21320         * config.make.in (have-protected-data): New.
21321         * configure.ac: Check linker support for protected data symbol.
21322         * configure: Regenerated.
21323         * elf/Makefile (modules-names): Add tst-protected1moda and
21324         tst-protected1modb if $(have-protected-data) is yes.
21325         (tests): Add tst-protected1a and tst-protected1b if
21326         $(have-protected-data) is yes.
21327         ($(objpfx)tst-protected1a): New.
21328         ($(objpfx)tst-protected1b): Likewise.
21329         (tst-protected1modb.so-no-z-defs): Likewise.
21330         * elf/tst-protected1a.c: New file.
21331         * elf/tst-protected1b.c: Likewise.
21332         * elf/tst-protected1mod.h: Likewise.
21333         * elf/tst-protected1moda.c: Likewise.
21334         * elf/tst-protected1modb.c: Likewise.
21336 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21338         [BZ #17711]
21339         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21340         indicates it is called from do_lookup_x on relocation against
21341         protected data, skip the data definion in the executable from
21342         copy reloc.
21343         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21344         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21345         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21346         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21347         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21348         otherwise to 0.
21349         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21350         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21351         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21352         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21353         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21354         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21356 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21358         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21359         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21361 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21363         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21364         THREAD_SETMEM_NC.
21365         * sysdeps/x86_64/nptl/tls.h: Ditto.
21367 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21369         * dlfcn/tststatic.c (main): Converted to ...
21370         (do_test): ... this.
21371         (TEST_FUNCTION): New macro.
21372         Include test-skeleton.c.
21374 2015-03-26  Alan Modra  <amodra@gmail.com>
21376         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21377         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21378         zero for undefined weak.
21379         (elf_machine_plt_conflict): Similarly.
21381 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21383         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21384         atanh.
21385         * math/auto-libm-test-out: Regenerated.
21386         * sysdeps/i386/fpu/libm-test-ulps: Update.
21387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21389         * math/auto-libm-test-in: Add another test of asin.
21390         * math/auto-libm-test-out: Regenerated.
21391         * sysdeps/i386/fpu/libm-test-ulps: Update.
21392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21394         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21395         Remove macro.
21396         (LLL_EBX_REG): Likewise.
21397         (LLL_ENTER_KERNEL): Likewise.
21399         * math/auto-libm-test-in: Add more tests of asin.
21400         * math/auto-libm-test-out: Regenerated.
21401         * sysdeps/i386/fpu/libm-test-ulps: Update.
21402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21404         [BZ #18138]
21405         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21406         libc_do_syscall_args): New structure.
21407         (INTERNAL_SYSCALL_MAIN_0): New macro.
21408         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21409         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21410         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21411         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21412         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21413         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21414         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21415         Replace conditional definitions by conditional definitions of ....
21416         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21417         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21418         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21419         (libpthread-sysdep_routines): Add libc-do-syscall.
21420         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21421         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21422         to __NR_futex not 240.
21424 2015-03-25  Alan Modra  <amodra@gmail.com>
21426         * NEWS: Advertise TLS optimization.
21427         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21428         (DT_PPC_NUM): Increment.
21429         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21430         (CHECK_STATIC_TLS): Use here.
21431         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21432         TLS descriptors.
21433         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21434         * sysdeps/powerpc/dl-tls.c: New file.
21435         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21436         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21437         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21438         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21443 2015-03-25  Alan Modra  <amodra@gmail.com>
21445         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21446         for overlapping .opd entries" to "support...".
21447         * sysdeps/powerpc/powerpc64/configure: Regenerate
21449 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21451         * math/auto-libm-test-in: Add more tests of acos.
21452         * math/auto-libm-test-out: Regenerated.
21453         * sysdeps/i386/fpu/libm-test-ulps: Update.
21454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21456         * math/auto-libm-test-in: Add more tests of expm1.
21457         * math/auto-libm-test-out: Regenerated.
21458         * sysdeps/i386/fpu/libm-test-ulps: Update.
21459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21461 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21463         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21464         * math/auto-libm-test-out: Regenerated.
21465         * sysdeps/i386/fpu/libm-test-ulps: Update.
21466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21468         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21471         * math/auto-libm-test-in: Add more tests of log2.
21472         * math/auto-libm-test-out: Regenerated.
21473         * sysdeps/i386/fpu/libm-test-ulps: Update.
21474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21476 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21478         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21479         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21480         _IO_IS_APPENDING bit in READ_WRITE instead.
21482 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21484         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21485         (__determine_cpumask_size): Replace extend_alloca with a
21486         variable-length array.  Do not treat res == 0 as an error.
21488 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21490         [BZ #18100]
21491         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21492         and integer overflow.
21493         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21494         (main): Add integer overflow tests.
21495         * manual/pattern.texi (Calling Wordexp): Document additional use
21496         for WRDE_SYNTAX.
21498 2015-03-23  Alan Modra  <amodra@gmail.com>
21500         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21501         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21502         and false branch of conditional.
21503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21504         Likewise.
21506 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21508         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21509         libc-modules.h
21510         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21511         unused declaration of _hurd_intr_rpc_msg_in_trap.
21512         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21513         defined instead of whether it is non-zero.
21514         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21515         input constraint instead of both input and output constraint.  Use ecx
21516         clobber instead of %ecx.
21517         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21518         mutex_unlock): Use a statement expression instead of an expression list.
21519         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21520         type to vm_size_t instead of vm_address_t.
21521         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21522         defined instead of whether it is non-zero.
21523         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21524         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21525         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21526         comparisons with mapaddr.
21527         * nscd/nscd-client.h: Include <time.h>.
21528         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21529         9th parameter to __vm_region instead of int.
21530         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21531         * scripts/check-local-headers.sh (exclude): Add device/,
21532         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21533         cthreads.h.
21535 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21537         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21538         to account for alignment padding.
21539         * sysdeps/arm/memmove.S: Likewise.
21541 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21543         * sysdeps/unix/sysv/linux/generic/README: New file.
21545 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21547         [BZ #18138]
21548         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21549         (futex_abstimed_wait)
21550         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21551         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21552         of lll_futex_timed_wait.
21554 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21556         [BZ #17542]
21557         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21559 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21561         [BZ #17090]
21562         [BZ #17620]
21563         [BZ #17621]
21564         [BZ #17628]
21565         * NEWS: Update.
21566         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21567         entries with Static TLS too.  Skip entries past the end of the
21568         allocated DTV, from Alan Modra.
21569         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21570         Static TLS DTV entry set up from...
21571         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21572         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21573         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21574         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21575         for Static TLS.
21576         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21577         that the slot we find is associated with the given map before
21578         using its generation count.
21579         * nptl_db/db_info.c: Include ldsodefs.h.
21580         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21581         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21582         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21583         (link_map::l_tls_offset): New struct field.
21584         (dtv_t::counter): Likewise.
21585         (rtld_global): New struct.
21586         (_rtld_global): New rtld variable.
21587         (dl_tls_dtv_slotinfo_list): New rtld global field.
21588         (dtv_slotinfo_list): New struct.
21589         (dtv_slotinfo): Likewise.
21590         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21591         (td_lookup): Rename to...
21592         (td_mod_lookup): ... this.  Use new mod parameter instead of
21593         LIBPTHREAD_SO.
21594         * nptl_db/td_thr_tlsbase.c: Include link.h.
21595         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21596         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21597         addresses even if the DTV is out of date or missing them.
21598         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21599         index zero-length arrays.
21600         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21601         (td_lookup): Make it a macro implemented in terms of...
21602         (td_mod_lookup): ... this declaration.
21603         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21604         (DB_MAIN_VARIABLE): Likewise.
21606 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21608         [BZ #18134]
21609         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21611 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21613         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21615 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21617         [BZ #18128]
21618         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21619         (atomic_add, atomic_increment_and_test)
21620         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21622 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21624         * stdlib/setenv.c (__add_to_environ):
21625         Dump core quickly if setenv (..., NULL, ...) is called.
21627 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21629         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21630         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21631         all the necessary asm magic in one place.
21632         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21633         using those.
21635 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21637         [BZ #14906]
21638         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21639         traced file mtime. Use consistent log message.
21640         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21641         (register_traced_file): Call install_watches. Always set mtime.
21642         (invalidate_cache): Iterate over all trace files. Call install_watches.
21643         (inotify_check_files): Don't inline. Handle watching parent
21644         directories and configuration file movement in and out.
21645         (handle_inotify_events): New function.
21646         (main_loop_poll): Call handle_inotify_events.
21647         (main_loop_epoll): Likewise.
21648         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21649         (struct traced_file): Use array of inotify fds. Add parent directory,
21650         and basename.
21651         (struct database_dyn): Remove unused file_mtime.
21652         (init_traced_file): New inline function.
21653         (define_traced_file): New macro.
21654         * nss/nss_db/db-init.c: Use define_traced_file.
21655         (_nss_db_init): Use init_traced_file.
21656         * nss/nss_files/files-init.c: Use define_traced_file.
21657         (_nss_files_init): Use init_traced_file.
21659 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21661         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21662         [_LIBC]: Do not include <stdlib.h>.
21663         [!_LIBC] (abort): Remove declaration.
21664         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21665         _FP_STATIC_ASSERT instead of conditionally calling abort.
21666         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21667         (_FP_EXTEND_CNAN): Likewise.
21668         (FP_TRUNC): Likewise.
21669         (__FP_CLZ): Likewise.
21670         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21672 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21674         * manual/string.texi (XPG basename): Fix prototype.
21676 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21678         [BZ #18080]
21679         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21680         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21681         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21682         (__setcontext): Likewise.
21683         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21684         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21685         Call rt_sigprocmask syscall one time to set new signal mask
21686         and retrieve the current signal mask instead of two calls.
21687         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21688         (__swapcontext): Likewise.
21689         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21690         * stdlib/tst-setcontext2.c: New file.
21692 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21694         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21696 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21698         [BZ #18093]
21699         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21700         the wrong size.
21702 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21704         [BZ #18043]
21705         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21707 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21709         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21710         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21711         Remove define.
21712         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21713         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21714         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21715         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21716         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21717         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21718         define.
21719         * nptl_db/td_symbol_list.c (td_lookup): Remove
21720         HAVE_ASM_GLOBAL_DOT_NAME code.
21721         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21722         HAVE_ASM_GLOBAL_DOT_NAME check.
21723         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21724         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21725         (DOT_LABEL): Remove define.
21726         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21727         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21728         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21729         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21730         (__TLS_GET_ADDR): Likewise.
21731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21732         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21734 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21736         [BZ #18111]
21737         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21738         (_FPU_SETCW): Initialize cw from fpsr before storing.
21739         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21740         (fesetexceptflag): Rewrite using fpu_control.h.
21741         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21743 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21745         [BZ #18110]
21746         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21747         asms.
21748         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21750 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21752         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21753         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21754         abort.
21755         (_FP_FMA): Likewise.
21756         (_FP_DIV): Likewise.
21758 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21760         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21761         with 0 in that case.
21762         * Makefile (summarize-tests): New canned sequence, factored out of
21763         commands for targets tests and xtests.  Display summary lines that
21764         don't start with PASS: or XFAIL: rather than ones that do start with
21765         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21766         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21767         do start with ERROR: or FAIL:.
21768         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21769         (except for [$(build-shared) = yes]).
21770         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21771         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21772         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21773         * nptl/Makefile: Revert 2015-03-04 changes.
21774         [$(CXX) empty] (tests-unsupported): New variable.
21775         * debug/Makefile: Likewise.
21777         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21778         gnulib file.  Replace __attribute with __attribute__ throughout.
21780 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
21782         * sysdeps/hppa/fpu/libm-test-ulps: Update.
21784 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21786         [BZ #18104]
21787         * math/auto-libm-test-in: Add another test of pow.
21788         * math/auto-libm-test-out: Regenerated.
21790 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21792         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21793         $(config-cflags-nofma).
21795 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21797         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21798         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21799         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21800         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21801         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21802         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21803         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21804         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21805         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21806         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21807         Add comment on closing #endif.
21809 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21811         * posix/wordexp.c (CHAR_IN_SET): New macro.
21812         (parse_param): Use it.
21814 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21816         * sysdeps/powerpc/fpu/libm-test-ulps: update.
21818 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21820         [BZ #18043]
21821         * posix/wordexp.c (parse_param): Fix buffer overflow.
21822         * posix/wordexp-test.c (test_case): Add test case.
21824 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21826         [BZ #18042]
21827         * posix/wordexp.c (parse_backtick): Fix off-by-one.
21828         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21830 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21832         [BZ #18043]
21833         * posix/wordexp-test.c (test_case): Add test for BZ #18043
21834         (do_bz18043): Delete.
21835         (at_page_end): New.
21836         (testit): Refactor to have words at the edge of unreadable page.
21838 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21840         [BZ #16734]
21841         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21842         Cleanup read-only streams as well.
21843         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21845 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21847         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21848         <bits/libc-lockP.h>
21850 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
21852         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
21853         on [__KERNEL__].
21854         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21855         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21856         * soft-fp/op-common.h (_FP_DECL): Likewise.
21858 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21860         * elf/ifuncdep2.c (global): Replace
21861         __attribute__((visibility("protected"))) with
21862         asm (".protected global").
21863         * elf/ifuncmod1.c (global): Likewise.
21864         * elf/ifuncmod5.c (global): Likewise.
21866 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21868         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21869         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21871 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21873         * manual/install.texi (Configuring and compiling):
21874         Document test-wrapper-env-only.
21875         * INSTALL: Regenerated.
21877 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21879         [BZ #18043]
21880         * posix/wordexp.c (parse_param): Fix buffer overflow.
21881         * posix/wordexp-test.c (do_bz18043): Add test case.
21883 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21885         * time/tst-strptime2.c (do_test): Ensure failing tests are
21886         reported correctly.
21887         * time/tst-strptime3.c (do_test): Likewise.
21889 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21891         Fix aio_error thread-safety.
21892         * sysdeps/pthread/aio_error.c: New file
21893         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21894         synchronization.
21896 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21898         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21899         (group_number, vfprintf): Use it.
21900         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21901         (JUMP, REF): Use it.
21902         (WORK_BUFFER_SIZE): New enum constant.
21903         (process_arg, vfprintf): Use it.
21905 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21907         * manual/errno.texi (Error Messages): Complete example function
21908         by adding missing #define.
21909         (program_invocation_name): Add statement indicating GNU
21910         extension and reference which header file declares the variable.
21911         (program_invocation_short_name): Likewise.
21913 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21915         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21916         compatibility note.
21918 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21920         * Makeconfig (test-wrapper-env-only): New variable.
21921         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21922         then use that with $(test-wrapper-env-only) rather than using
21923         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21925 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21927         [BZ #18082]
21928         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21929         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21930         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21931         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21932         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21933         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21934         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21935         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21936         Likewise.
21937         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21938         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21939         Likewise.
21940         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21941         Likewise.
21942         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21943         Likewise.
21944         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21945         Likewise.
21946         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21947         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21948         Likewise.
21949         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21950         Likewise.
21951         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21952         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21954 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21956         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21957         (ETH_ALEN): New macro.
21958         (struct ether_addr): Use it for length of ether_addr_octet.
21960         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21961         (setdb): Don't call __nss_configure_lookup for "rpc".
21962         (do_test): Don't call test_rpc.
21963         (output_rpcent, test_rpc): Functions moved ...
21964         * sunrpc/test-rpcent.c: ... to this new file.
21965         * sunrpc/Makefile (tests): Add it.
21967         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21968         __xpg_sigpause.
21969         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21970         * nptl/tst-signal6.c: Likewise.
21971         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21972         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21974         * configure.ac (libc_cv_cxx_link_ok): New check.
21975         Reset CXX to empty if it fails to link.
21976         * configure: Regenerated.
21977         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21978         bug-atexit3-lib only if $(CXX) is nonempty.
21979         * nptl/Makefile (tests): Likewise for tst-cancel24.
21980         (tests, tests-static): Likewise for tst-cancel24-static.
21981         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21982         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21983         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21984         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21986 2015-03-04  Andreas Schwab  <schwab@suse.de>
21988         [BZ #17631]
21989         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21990         for non-GCC compilers.
21991         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21992         Likewise.
21994 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21996         [BZ #17776]
21997         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21998         integer before bitwise and assembly operations.
21999         (feclearexcept): Likewise.
22000         * math/test-fenvinline.c: New file.
22001         * math/Makefile: Add test-fenvinline test.
22003 2015-03-03  Alan Modra  <amodra@gmail.com>
22005         [BZ #16512]
22006         * scripts/localplt.awk: Strip off symbol version.
22007         * NEWS: Mention bug fix.
22009 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22011         * sysdeps/pthread/timer_routines.c
22012         (timer_free_list, thread_free_list, thread_active_list): Make static.
22014 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22016         [BZ #17779]
22017         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22018         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22019         Undefine.
22020         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22021         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22022         Likewise.
22023         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22024         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22025         Likewise.
22027 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22029         [BZ #18036]
22030         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22031         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22033 2015-03-02  Andreas Schwab  <schwab@suse.de>
22035         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22036         variable name.
22038 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22040         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22041         Return error status.
22043 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22045         [BZ #15969]
22046         * locale/findlocale.c (_nl_find_locale): Introduce const
22047         version of loc_name and drop unsafe type casts.
22049 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22051         * dlfcn/tststatic2.c (main): Converted to ...
22052         (do_test): ... this.
22053         (TEST_FUNCTION): New macro.
22054         Include test-skeleton.c.
22056 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22058         [BZ #17711]
22059         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22060         (tests-pie): Add vismain.
22061         (CFLAGS-vismain.c): New.
22062         * elf/vismain.c: Add comments for PIE requirement.
22064 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22066         [BZ #18046]
22067         [BZ #18047]
22068         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22069         0x1p-56L as threshold for just returning the argument.
22070         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22071         0x1p-32L as threshold for just returning the argument.
22072         * math/auto-libm-test-in: Add more tests of atanh.
22073         * math/auto-libm-test-out: Regenerated.
22074         * sysdeps/i386/fpu/libm-test-ulps: Update.
22075         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22077 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22079         * string/bcopy.c (bcopy): Call memmove for performance.
22081 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22083         * string/bzero.c (__bzero): Call memset for performance.
22085 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22087         [BZ #18068]
22088         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22089         to 00100000.
22091 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22093         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22095 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22097         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22098         (__kernel_standard): Use CSTR macro when setting exc.name.
22099         * sysdeps/ieee754/Makefile [$(subdir) = math]
22100         (CFLAGS-k_standard.c): Remove variable.
22102         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22103         setting p and q from "else if" to "else".
22104         (qzero): Likewise.
22105         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22106         (qone): Likewise.
22107         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22108         (qzerof): Likewise.
22109         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22110         (qonef): Likewise.
22111         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22112         (qzero): Likewise.
22113         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22114         (qone): Likewise.
22116         [BZ #18038]
22117         [BZ #18039]
22118         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22119         return pi/2 for arguments below 0x1p-113L.
22120         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22121         return pi/2 for arguments below 0x1p-106L.
22122         * math/auto-libm-test-in: Add more tests of acos.
22123         * math/auto-libm-test-out: Regenerated.
22125         [BZ #16351]
22126         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22127         (MO): New macro.
22128         (__ieee754_asin): Force underflow exception for results with small
22129         absolute value.
22130         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22131         (MO): New macro.
22132         (__ieee754_asinf): Force underflow exception for results with
22133         small absolute value.
22134         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22135         (__ieee754_asin): Force underflow exception for results with small
22136         absolute value.
22137         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22138         (__ieee754_asinf): Force underflow exception for results with
22139         small absolute value.
22140         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22141         (__ieee754_asinl): Force underflow exception for results with
22142         small absolute value.
22143         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22144         (__ieee754_asinl): Force underflow exception for results with
22145         small absolute value.
22146         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22147         (__ieee754_asinl): Force underflow exception for results with
22148         small absolute value.
22149         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22150         Include <math.h>.
22151         * math/auto-libm-test-in: Do not mark underflow exceptions as
22152         possibly missing for bug 16351.
22153         * math/auto-libm-test-out: Regenerated.
22155         [BZ #18030]
22156         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22157         of power of 2 down when low part has opposite sign.
22158         * math/libm-test.inc (logb_test_data): Add more tests.
22160 2015-02-26  Andreas Schwab  <schwab@suse.de>
22162         [BZ #18032]
22163         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22164         over collating symbol inside a bracket expression.  Minor cleanup.
22165         * posix/tst-fnmatch3.c (do_test): Add test case.
22167 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22169         [BZ #18029]
22170         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22171         Adjust exponent of power of 2 down when low part has opposite
22172         sign.
22173         * math/libm-test.inc (ilogb_test_data): Add more tests.
22175 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22177         [BZ #15969]
22178         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22179         the previous change.
22181         [BZ #15969]
22182         * locale/findlocale.c (_nl_find_locale): Retry archive search
22183         after alias expansion.
22185 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22187         * iconv/tst-iconv3.c (main): Converted to ...
22188         (do_test): ... this.
22189         (TEST_FUNCTION): New macro.
22190         Include test-skeleton.c.
22192         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22193         (convert): Make function static.
22194         (test_unalign): Likewise.  Add const to argument pointee types.
22195         (main): Replace with static function do_test.
22196         Print "Succeeded." only if RET is zero.
22197         (TEST_FUNCTION): New macro.
22198         Include test-skeleton.c.
22200         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22201         returns a null pointer.
22203 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22205         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22206         to __memcpy_ppc only for static builds.
22208 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22210         [BZ #18020]
22211         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22212         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22213         * math/auto-libm-test-in: Add more tests of asinh.
22214         * math/auto-libm-test-out: Regenerated.
22215         * sysdeps/i386/fpu/libm-test-ulps: Update.
22216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22218 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22220         [BZ #15850]
22221         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22222         and ip6_mtuinfo definitions here.
22223         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22224         in this define too.  Update comment.
22226 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22228         * elf/sprof.c (load_shobj): Tweak error message to match others.
22230 2015-02-24  Kevin Easton  <kevin@guarana.org>
22232         [BZ #16145] (partial fix)
22233         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22234         to reduce lock contention.
22236 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22238         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22239         (struct timex): Update time comment.
22240         (ADJ_SETOFFSET): Define.
22242 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22244         [BZ #18019]
22245         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22246         2**56 not 2**28 as threshold for log (2x) formula.
22247         * math/auto-libm-test-in: Add more tests of acosh.
22248         * math/auto-libm-test-out: Regenerated.
22249         * sysdeps/i386/fpu/libm-test-ulps: Update.
22250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22252 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22254         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22255         parenthesis around the buf assignment.
22256         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22258 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22260         [BZ #16783]
22261         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22262         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22263         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22264         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22265         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22266         * math/libm-test.inc (scalb_test_data): Add more tests.
22268 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22270         [BZ #17916]
22271         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22272         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22274 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22276         [BZ #17523]
22277         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22278         * io/bits/fcntl2.h (open): Use it.
22279         (openat): Likewise.
22280         * io/open.c (__libc_open): Likewise.
22281         * io/open64.c (__libc_open64): Likewise.
22282         * io/open64_2.c (__open64_2): Likewise.
22283         * io/open_2.c (__open_2): Likewise.
22284         * io/openat.c (__openat): Likewise.
22285         * io/openat64.c (__openat64): Likewise.
22286         * io/openat64_2.c (__openat64_2): Likewise.
22287         * io/openat_2.c (__openat_2): Likewise.
22288         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22289         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22290         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22291         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22292         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22293         (__open_nocancel): Likewise.
22294         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22295         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22296         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22298 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22300         [BZ #14841]
22301         * resolv/gethnamaddr.c (getanswer): Skip logging if
22302         RES_USE_DNSSEC is set.
22303         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22305 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22307         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22309 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22311         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22312         201304L, for Unicode 7.
22314 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22316         [BZ #17836]
22317         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22318         shared library.  Add gmon-start.os otherwise.
22319         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22320         $(objpfx)gmon-start.os if builing shared library.
22321         ($(objpfx)g$(static-start-installed-name)): Likewise.
22323 2015-02-23  Andreas Schwab  <schwab@suse.de>
22325         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22327 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22329         [BZ #17269]
22330         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22331         (enlarge_userbuf): Likewise.
22333 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22335         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22336         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22337         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22338         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22340 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22342         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22343         expression inside statement expression.
22345 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22347         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22348         <sysdeps/nptl/lowlevellock.h> and remove macros and
22349         functions that are now defined there.
22350         (SYS_futex): Remove.
22351         (lll_compare_and_swap): Remove.
22352         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22354 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22356         [BZ #17999]
22357         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22358         instead of scandirat.
22359         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22360         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22361         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22362         __scandirat.
22363         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22364         (__scandirat): Declare.  Use libc_hidden_proto.
22365         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22366         Remove variable.
22367         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22369 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22371         [BZ #15319]
22372         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22373         (MO): New macro.
22374         (__ieee754_atan2): For results with small absolute value, force
22375         underflow exception and remove excess range and precision from
22376         return value.
22377         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22378         (MO): New macro.
22379         (__ieee754_atan2f): For results with small absolute value, force
22380         underflow exception and remove excess range and precision from
22381         return value.
22382         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22383         (MO): New macro.
22384         (__atan): For results with small absolute value, force underflow
22385         exception and remove excess range and precision from return value.
22386         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22387         (MO): New macro.
22388         (__atanf): For results with small absolute value, force underflow
22389         exception and remove excess range and precision from return value.
22390         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22391         <math.h>.
22392         (__ieee754_atan2): Force underflow exception for results with
22393         small absolute value.
22394         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22395         <math_private.h>.
22396         (atan): Force underflow exception for results with small absolute
22397         value.
22398         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22399         (__atanf): Force underflow exception for results with small
22400         absolute value.
22401         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22402         <math.h>.
22403         (__atanl): Force underflow exception for results with small
22404         absolute value.
22405         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22406         (__atanl): Force underflow exception for results with small
22407         absolute value.
22408         * sysdeps/x86/fpu/bits/mathinline.h
22409         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22410         (__ieee754_atan2): Only define inline for long double.
22411         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22412         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22413         * math/auto-libm-test-in: Do not mark underflow exceptions as
22414         possibly missing for bug 15319.  Add more tests of atan2.
22415         * math/auto-libm-test-out: Regenerated.
22416         * math/libm-test.inc (casin_test_data): Do not mark underflow
22417         exceptions as possibly missing for bug 15319.
22418         (casinh_test_data): Likewise.
22419         * sysdeps/i386/fpu/libm-test-ulps: Update.
22421 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22423         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22424         * sysdeps/mips/bits/endian.h: Fix comments.
22426 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22428         [BZ #17996]
22429         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22430         (hdestroy_r): Likewise.
22431         (hsearch_r): Likewise.
22432         (__hcreate_r): Declare and use libc_hidden_proto.
22433         (__hdestroy_r): Likewise.
22434         (__hsearch_r): Likewise.
22435         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22436         (hcreate): Call __hcreate_r instead of hcreate_r.
22437         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22438         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22439         as weak alias of __hcreate_r.
22440         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22441         __hdestroy_r.
22442         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22443         __hsearch_r.
22444         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22445         Remove variable.
22446         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22447         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22448         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22449         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22451 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22453         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22454         arena_lock into a single arena_get.
22456 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22458         * dl-reloc.c: Inlucde libc-internal.h.
22459         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22460         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22461         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22462         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22463         (grow_heap): Likewise.
22464         * malloc/malloc.c: Include libc-internal.h.
22465         (do_check_malloc): Call powerof2.
22466         (sysmalloc): Use pagesize. Call ALIGN_UP.
22467         (systrim): Use pagesize.
22468         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22469         (__libc_valloc): Use pagesize.
22470         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22472 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22474         [BZ #17991]
22475         * include/sys/resource.h (__getrlimit64): Declare.  Use
22476         libc_hidden_proto.
22477         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22478         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22479         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22480         getrlimit64.
22481         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22482         __getrlimit64.
22483         [!getrlimit64] (getrlimit64): Define as weak alias of
22484         __getrlimit64.  Use libc_hidden_weak.
22485         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22486         using __getrlimit64 not __new_getrlimit64.
22487         (__GI_getrlimit64): Likewise.
22488         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22489         Likewise.
22490         (__GI_getrlimit64): Likewise.
22491         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22493         (getrlimit): Add __getrlimit64 alias.
22494         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22495         Likewise.
22496         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22497         Remove variable.
22498         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22499         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22501 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22503         * libio/fileops.c: Add missing sys/mman.h
22504         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22506 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22508         * manual/math.texi (Errors in Math Functions): Clarify goals
22509         regarding inexact and underflow exceptions.
22511 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22513         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22514         * sysdeps/mips/memset.S: Ditto.
22516 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22518         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22520 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22522         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22523         (__v1longjmp): Remove versioned symbol.
22524         (__v1siglongjmp): Remove alias and versioned symbol.
22525         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22526         (__v2siglongjmp): Likewise.
22528 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22530         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22532 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22534         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22536 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22538         [BZ #17987]
22539         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22540         zero result does not depend on the sign resulting from
22541         subtraction.
22542         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22543         Likewise.
22544         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22545         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22546         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22547         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22548         * math/libm-test.inc (remquo_test_data): Add more tests.
22550 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22552         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22553         Problem reported by J William Piggott.
22555 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22557         [BZ #17978]
22558         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22559         products 4 * y and 2 * y where those would overflow.
22560         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22561         Likewise.
22562         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22563         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22564         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22565         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22566         * math/libm-test.inc (remquo_test_data): Add more tests.
22568         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22570         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22571         [defined _COMPILING_NEWLIB].
22572         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22573         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22575         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22576         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22578 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22580         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22581         acquired.
22583 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22585         [BZ #17792]
22586         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22587         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22588         HOST_STACK_END_ADDR): Likewise.
22590 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22592         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22593         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22594         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22596 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22598         * sysdeps/generic/c++-types.data: New file.
22599         * sysdeps/generic/ld.abilist: New file.
22600         * sysdeps/generic/libBrokenLocale.abilist: New file.
22601         * sysdeps/generic/libanl.abilist: New file.
22602         * sysdeps/generic/libc.abilist: New file.
22603         * sysdeps/generic/libcrypt.abilist: New file.
22604         * sysdeps/generic/libdl.abilist: New file.
22605         * sysdeps/generic/libm.abilist: New file.
22606         * sysdeps/generic/libpthread.abilist: New file.
22607         * sysdeps/generic/libresolv.abilist: New file.
22608         * sysdeps/generic/librt.abilist: New file.
22610 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22612         [BZ #17569]
22613         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22614         Compute absolute value of x as modified by fmod, not original
22615         value of x.
22616         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22617         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22618         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22619         RUN_TEST_ffI_f1_mod8.
22620         (remquo_test_data): Add more tests.
22622 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22624         * sysdeps/init_array/pt-crti.S: New file.
22626 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22628         [BZ #17967]
22629         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22630         __builtin_fmaf instead of relying on contraction of a * b + c.
22632 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22634         [BZ #17969]
22635         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22636         node.
22638 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22640         [BZ #17964]
22641         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22642         __builtin_fma instead of relying on contraction of a * b + c.
22644 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22646         * Makeconfig (ASFLAGS): Add -Werror=undef.
22647         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22648         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22649         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22651         * Makeconfig (after-link): New variable.
22652         (+link-pie, +link-pie-tests): Use it.
22653         (+link-static, +link-static-tests): Likewise.
22654         (+link, +link-tests): Likewise.
22655         * Makerules (build-module, build-module-asneeded): Likewise.
22656         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22657         Likewise.
22658         * elf/Makefile ($(objpfx)ld.so): Likewise.
22660 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22662         [BZ #17965]
22663         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22664         both struct timeval and struct timespec.
22666 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22668         [BZ #16560]
22669         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22670         and redefine.
22671         (__ieee754_exp2l): Do not multiply small fractional parts by
22672         M_LN2l.
22673         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22674         small argument.
22675         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22676         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22677         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22678         * math/auto-libm-test-in: Add more tests of exp2.
22679         * math/auto-libm-test-out: Regenerated.
22681 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22683         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22684         unaligned path.
22686 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22688         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22689         little endian.
22691 2015-02-12  Andreas Schwab  <schwab@suse.de>
22693         [BZ #15790]
22694         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22695         Filter out elision flags from value returned in kind.
22696         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22697         * nptl/tst-pthread-mutexattr.c: New file.
22699 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22701         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22702         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22703         into gnu-gnu, and update comment to refer to abi-tags.
22705 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22707         [BZ #15467]
22708         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22709         (__sincos): Set errno to EDOM for infinite argument.
22710         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22711         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22712         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22713         (__sincosl): Set errno to EDOM for infinite argument.
22714         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22715         (__sincosl): Set errno to EDOM for infinite argument.
22716         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22717         (__sincosl): Set errno to EDOM for infinite argument.
22718         * math/libm-test.inc (sincos_test_data): Test errno setting.
22720 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22722         * string/strxfrm_l.c: Remove #define STRCMP.
22723         * string/strcoll_l.c: Remove #define STRLEN.
22724         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22725         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22727 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22729         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22730         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22731         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22732         * sysdeps/mips/mips64/Makefile: ... here.
22733         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22734         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22735         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22736         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22737         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22738         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22739         * sysdeps/mips/mips64/n64/Implies: Likewise.
22741 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22743         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22744         <sys/time.h>, <string.h>, and <errno.h>.
22745         (dest_offset, dest_address, value, zero): Remove unused variables.
22746         (ldouble): Remove typedef.
22747         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22748         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22749         1).  Fix code style.
22750         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22751         (check): Function removed.
22752         (CHECK): New macro.
22753         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22754         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22755         Don't call set_sigaction_FP and remove_sigaction_FP here.
22756         (ldouble_test): Just use 'long double' as macro argument, no need for
22757         the 'ldouble' typedef.
22758         (do_test): Set up SIGFPE handler at start, using plain signal rather
22759         than sigaction.  Fix code style.
22761 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22763         [BZ #17949]
22764         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22765         jump label.
22767 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22769         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22770         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22772         * sysdeps/powerpc/configure.ac: Remove file.
22773         * sysdeps/powerpc/configure: Likewise.
22775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22776         [sysdep_routines]: Remove wordcopy-power6 object.
22777         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22778         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22779         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22780         (__memmove_ppc32): Likewise.
22781         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22782         file.
22783         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22784         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22785         Remove preprocessor.
22787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22788         [sysdep_routines]: Remove wide chars objects.
22789         [wcsmbs]: New rule for wide char objects.
22791         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22792         Remove wordcopy-power6 obejct.
22793         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22794         Use local call for wordcopy and memcpy symbols.
22795         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22796         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22797         implementation for loader.
22798         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22800         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22801         Remove wordcopy-power7 object.
22802         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22803         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22804         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22805         (_wordcopy_fwd_dest_aligned): Likewise.
22806         (_wordcopy_bwd_aligned): Likewise.
22807         (_wordcopy_bwd_dest_aligned): Likewise.
22809         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22810         Rewrite to call __memmove_ppc instead of include default
22811         implementation.
22813         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22814         Remove wide chars objects.
22815         [wcsmbs]: New rule for wide char objects.
22817 2015-02-09  Andreas Schwab  <schwab@suse.de>
22819         [BZ #17912]
22820         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22821         in terms of __O_DIRECTORY.
22823 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22825         * time/getdate.c: Include <stdbool.h>.
22826         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22827         call PTR_MANGLE.
22828         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22829         PTR_DEMANGLE.
22831 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
22833         Add ersatz _Static_assert on older C hosts
22834         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22835         pre-C11 C platform that is not known to support _Static_assert.
22837 2015-02-07  Richard Braun  <rbraun@sceen.net>
22839         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22840         sigstate.
22841         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22843 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22845         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22846         priority against unexistent AIO_PRIO_DELTA_MAX.
22847         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22848         instead of int.
22849         * misc/fchflags.c (fchflags): Likewise.
22850         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22851         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22852         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22853         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22854         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22855         Declare macros.
22856         [__USE_MISC] (chflags, fchflags): Declare functions.
22857         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22858         EINVAL when nfds is greater than FD_SETSIZE.
22859         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22860         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22861         45.
22862         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22863         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22864         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22865         MACH_RCV_TIMED_OUT.
22866         * hurd/hurd/signal.h (_hurd_self_sigstate,
22867         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22868         Explicit casts from void *.
22869         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22870         * abi-tags: Rename gnu-gnu os into gnu.
22872         [BZ #4719]
22873         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22874         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22875         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22876         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22877         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22878         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22880         [BZ #17944]
22881         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22882         duplicates ADDR->sun_path with sockaddr LEN limitation.
22883         * sysdeps/mach/hurd/connect.c: Include <string.h>
22884         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22885         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22886         * sysdeps/mach/hurd/sendto.c: Likewise.
22887         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22888         implementing it by hand.
22890 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22892         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22893         Use sfi_breg on ldr.
22894         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22895         Likewise.
22897         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22898         it's defined.
22899         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22900         Test SIGSETXID only if it's defined.
22902         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22904         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22905         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22907         * nptl/tst-align2.c: Moved ...
22908         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22909         * nptl/Makefile (tests): Remove tst-align2.
22910         * sysdeps/unix/sysv/linux/Makefile
22911         [$(subdir) = nptl] (tests): Add tst-align-clone.
22912         * nptl/tst-getpid1.c: Moved ...
22913         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22914         * nptl/tst-getpid2.c: Moved ...
22915         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22916         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22917         * sysdeps/unix/sysv/linux/Makefile
22918         [$(subdir) = nptl] (tests): ... here.
22919         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22920         * sysdeps/unix/sysv/linux/Makefile
22921         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22923         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22924         Drop trailing \n from perror argument.  Use return rather than exit.
22926         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22927         on [SA_SIGINFO].
22928         * nptl/tst-cancel21.c (do_test): Likewise.
22929         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22930         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22931         [!SA_SIGINFO]: Make it a stub test.
22933         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22934         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22936         * posix/tst-getlogin.c: Move to ...
22937         * login/tst-getlogin.c: ... here.
22938         * posix/Makefile (tests): Move tst-getlogin to ...
22939         * login/Makefile (tests): ... here.
22941         * libio/tst-atime.c (do_test): Move local variables SV and E
22942         inside [ST_NOATIME] conditional.
22944         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22946         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22948         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22949         (wait_code): New function replaces macro.
22950         Call nanosleep rather than syscall.
22952         * nptl/pt-system.c: Rewritten.  Put everything under
22953         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22954         Use IFUNC to redirect when possible.
22956         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22957         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22958         Use IFUNC to redirect when possible.
22960         * nptl/pt-fork.c: Rewritten.  Put everything under
22961         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22962         Use IFUNC to redirect when possible.
22963         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22965         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22966         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22967         unconditionally nowadays.  This included the only reference to
22968         __vdso_clock_gettime that appears outside libc proper.
22969         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22970         Remove version set (containing only __vdso_clock_gettime).
22971         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22972         Add attribute_hidden.
22973         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22974         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22975         libc_hidden_data_def.
22976         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22977         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22979         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22980         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22981         setrpcent, and getrpcport to ...
22982         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22983         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22984         getrpcbynumber_r, and getrpcent_r to ...
22985         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22986         * inet/getrpcbyname.c: Moved ...
22987         * sunrpc/getrpcbyname.c: ... here.
22988         * inet/getrpcbyname_r.c: Moved ...
22989         * sunrpc/getrpcbyname_r.c: ... here.
22990         * inet/getrpcbynumber.c: Moved ...
22991         * sunrpc/getrpcbynumber.c: ... here.
22992         * inet/getrpcbynumber_r.c: Moved ...
22993         * sunrpc/getrpcbynumber_r.c: ... here.
22994         * inet/getrpcent.c: Moved ...
22995         * sunrpc/getrpcent.c: ... here.
22996         * inet/getrpcent_r.c: Moved ...
22997         * sunrpc/getrpcent_r.c: ... here.
22998         * inet/Makefile (routines): Move those to ...
22999         * sunrpc/Makefile (routines): ... here.
23000         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23001         the $(subdirs) list.
23002         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23003         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23004         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23005         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23007         * elf/Makefile (routines): Include $(all-dl-routines), not just
23008         $(dl-routines).
23009         (rtld-routines): Likewise.  Use = rather than :=.
23010         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23011         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23012         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23013         * sysdeps/arm/Makefile: Likewise.
23014         * sysdeps/i386/Makefile: Likewise.
23015         * sysdeps/x86_64/Makefile: Likewise.
23016         * sysdeps/hppa/Makefile [$(subdir) = elf]
23017         (sysdep_routines, sysdep-rtld-routines): Don't add
23018         $(sysdep-dl-routines) to these.
23019         * sysdeps/ia64/Makefile: Likewise.
23020         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23021         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23022         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23023         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23024         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23025         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23026         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23027         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23028         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23029         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23030         these; sysdep-dl-routines alone is enough.
23032 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23034         [BZ #17932]
23035         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23036         where multiplication results in zero and third argument is finite
23037         and nonzero.
23038         * math/auto-libm-test-in: Add more tests of fma.
23039         * math/auto-libm-test-out: Regenerated.
23041         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23042         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23043         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23044         (_FP_CMP_EQ): Likewise.
23045         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23047         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23048         extra argument CHECK_NAN.  Redefine as wrapper around
23049         _FP_EXTEND_CNAN.
23051 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23053         * version.h (RELEASE): Set to "stable".
23054         (VERSION): Set to "2.21"
23055         * include/features.h (__GLIBC_MINOR__): Set to 21.
23057         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23059 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23060             Paul Eggert  <eggert@cs.ucla.edu>
23062         [BZ #16618]
23063         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23064         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23065         size in bytes. Store needed elements in wpmax. Use needed size
23066         in bytes for extend_alloca.
23068 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23070         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23071         binutls 2.25, and texinfo 5.2.
23072         * INSTALL: Regenerate.
23073         * sysdeps/nios2/configure: Regenerate.
23074         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23075         * manual/contrib.texi: Update.
23076         * po/be.po: Update.
23077         * po/bg.po: Update.
23078         * po/ca.po: Update.
23079         * po/cs.po: Update.
23080         * po/da.po: Update.
23081         * po/de.po: Update.
23082         * po/el.po: Update.
23083         * po/eo.po: Update.
23084         * po/es.po: Update.
23085         * po/fi.po: Update.
23086         * po/fr.po: Update.
23087         * po/gl.po: Update.
23088         * po/hr.po: Update.
23089         * po/hu.po: Update.
23090         * po/ia.po: Update.
23091         * po/id.po: Update.
23092         * po/it.po: Update.
23093         * po/ja.po: Update.
23094         * po/ko.po: Update.
23095         * po/lt.po: Update.
23096         * po/nb.po: Update.
23097         * po/nl.po: Update.
23098         * po/pl.po: Update.
23099         * po/pt_BR.po: Update.
23100         * po/ru.po: Update.
23101         * po/rw.po: Update.
23102         * po/sk.po: Update.
23103         * po/sl.po: Update.
23104         * po/sv.po: Update.
23105         * po/tr.po: Update.
23106         * po/uk.po: Update.
23107         * po/vi.po: Update.
23108         * po/zh_CN.po: Update.
23109         * po/zh_TW.po: Update.
23111         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23112         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23113         * sysdeps/hppa/dl-irel.h: Remove #warning.
23114         * sysdeps/hppa/entry.h: Provide prototype for
23115         __canonicalize_funcptr_for_compare and cast argument.
23116         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23117         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23118         * sysdeps/hppa/sotruss-lib.c: New file.
23119         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23120         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23121         (atomic_compare_and_exchange_bool_acq): Likewise.
23122         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23123         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23125         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23126         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23127         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23129 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23131         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23132         called function in non-PIC case.
23134 2015-01-31  David S. Miller  <davem@davemloft.net>
23136         * sysdeps/sparc/sparc32/bits/atomic.h
23137         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23138         unlock not after it.
23139         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23140         volatile register usage warnings from the compiler.
23142         * sysdeps/sparc/nptl/sem_init.c: Delete.
23143         * sysdeps/sparc/nptl/sem_post.c: Delete.
23144         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23145         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23146         * sysdeps/sparc/sparc32/sem_init.c: New file.
23147         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23148         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23149         padding explicitly initialized.
23150         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23151         padding for in-semaphore spinlock.
23152         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23153         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23154         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23155         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23156         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23157         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23158         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23159         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23160         version.
23161         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23162         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23164 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23166         [BZ #17801]
23167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23168         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23169         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23170         New.
23171         (index_AVX_Fast_Unaligned_Load): Likewise.
23172         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23173         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23174         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23175         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23176         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23177         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23178         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23179         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23180         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23182 2015-01-29  Andreas Schwab  <schwab@suse.de>
23184         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23186 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23188         [BZ #17892]
23189         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23191 2015-01-28  Martin Sebor  <msebor@redhat.com>
23193         * math/README.libm-test: Clarify. Add "How to read the test output."
23195 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23197         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23198         Define to 0.
23200 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23202         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23203         (__HAVE_64B_ATOMICS): Define to 0.
23205 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23207         [BZ #17885]
23208         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23209         value to set as new flag.
23211         [BZ #16576]
23212         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23213         and use _ARCH_PPCSQ instead.
23214         (__ieee754_sqrt): Likewise.
23215         (__ieee754_sqrtf): Likewise.
23216         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23217         _ARCH_PPCSQ is defined.
23218         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23219         fsqrt instruction.
23220         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23221         _ARCH_PPCSQ is defined.
23222         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23223         fsqrts instruction.
23224         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23226 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23228         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23229         bug (GCC BZ #64739).
23231 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23233         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23234         Mark _retval as used.
23235         (lll_futex_wake_unlock): Likewise.
23236         (lll_futex_timed_wait_requeue_pi): Likewise.
23238         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23239         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23240         register variables.
23242         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23243         libm_hidden_def.
23245         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23246         (__bswap_64): Mark as __always_inline.
23248 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23250         [BZ #15378]
23251         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23252         when none of the search directories exist.
23254 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23256         [BZ #17869]
23257         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23258         power8 in .machine directive.
23260         [BZ #17868]
23261         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23262         set dependency from opd value.
23264 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23266         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23267         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23268         architecture.
23270 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23272         [BZ #17870]
23273         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23274         with uint64_t.
23275         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23276         (uint64_t) 1.
23277         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23278         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23279         Replace 1UL with (uint64_t) 1.
23280         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23281         int with uint64_t.
23283 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23285         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23286         (if_freenameindex): Likewise.
23288         * resource/getrlimit64.c: Add missing libc_hidden_def.
23290 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23292         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23293         __label__.
23294         (_FP_FMA): Likewise.
23295         (_FP_TO_INT_ROUND): Likewise.
23296         (_FP_FROM_INT): Likewise.
23298 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23300         [BZ #16418]
23301         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23302         Make code racy and cancel safe.
23304 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23306         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23307         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23308         attribution.
23310         * pwd/tst-getpw.c: Rewrite.
23312         [BZ #17702]
23313         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23314         (modules-names): Add moddummy1 and moddummy2.
23315         ($(objpfx)tst-rec-dlopen): Define.
23316         * dlfcn/moddummy1.c: New file.
23317         * dlfcn/moddummy2.c: New file.
23318         * dlfcn/tst-rec-dlopen.c: New file.
23319         * elf/dl-cache.c (_dl_load_cache_lookup):
23320         Return char*. Copy result with alloca/strcpy/strdup.
23321         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23322         returns char*. Free cached. If not saving realname
23323         free cached.
23324         * elf/dl-open.c (dl_open_worker): Do not assert that
23325         _r_debug->r_state is RT_CONSISTENT.
23326         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23327         returns char*.
23329 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23330             Carlos O'Donell  <carlos@redhat.com>
23332         [BZ #12674]
23333         * nptl/sem_waitcommon.c: New file.
23334         * nptl/sem_wait.c: Include sem_waitcommon.c.
23335         (__sem_wait_cleanup, do_futex_wait): Remove.
23336         (__new_sem_wait): Adapt.
23337         (__new_sem_trywait): New function.
23338         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23339         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23340         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23341         (sem_timedwait): Adapt.
23342         * nptl/sem_post.c (__new_sem_post): Adapt.
23343         (futex_wake): New function.
23344         (__old_sem_post): Add release MO fence.
23345         * nptl/sem_open.c (sem_open): Adapt.
23346         * nptl/sem_init.c (__new_sem_init): Adapt.
23347         (futex_private_if_supported): New function.
23348         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23349         (__old_sem_getvalue): Add using previous code.
23350         * sysdeps/nptl/internaltypes.h: Adapt.
23351         * nptl/tst-sem13.c (do_test): Adapt.
23352         * nptl/tst-sem11.c (main): Adapt.
23353         * nptl/sem_trywait.c: Remove.
23354         * nptl/DESIGN-sem.txt: Remove.
23355         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23356         (gen-as-const-headers): Remove structsem.sym.
23357         * nptl/structsem.sym: Remove.
23358         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23359         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23360         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23361         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23362         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23363         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23364         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23365         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23366         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23367         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23368         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23369         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23370         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23371         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23372         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23373         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23374         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23375         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23376         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23377         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23378         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23379         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23381 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23383         * INSTALL: Regenerated.
23385         * po/libc.pot: Regenerated.
23387 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23388             Sandra Loosemore  <sandra@codesourcery.com>
23389             Andrew Jenner  <andrew@codesourcery.com>
23390             Joseph Myers  <joseph@codesourcery.com>
23391             Nathan Sidwell  <nathan@codesourcery.com>
23393         * NEWS: Mention new Nios II port.
23394         * sysdeps/nios2/Implies: New file.
23395         * sysdeps/nios2/Makefile: New file.
23396         * sysdeps/nios2/Subdirs: New file.
23397         * sysdeps/nios2/Versions: New file.
23398         * sysdeps/nios2/__longjmp.S: New file.
23399         * sysdeps/nios2/abort-instr.h: New file.
23400         * sysdeps/nios2/backtrace.c: New file.
23401         * sysdeps/nios2/bits/endian.h: New file.
23402         * sysdeps/nios2/bits/fenv.h: New file.
23403         * sysdeps/nios2/bits/link.h: New file.
23404         * sysdeps/nios2/bits/setjmp.h: New file.
23405         * sysdeps/nios2/bsd-_setjmp.S: New file.
23406         * sysdeps/nios2/bsd-setjmp.S: New file.
23407         * sysdeps/nios2/configure: New generated file.
23408         * sysdeps/nios2/configure.ac: New file.
23409         * sysdeps/nios2/crti.S: New file.
23410         * sysdeps/nios2/crtn.S: New file.
23411         * sysdeps/nios2/dl-init.c: New file.
23412         * sysdeps/nios2/dl-machine.h: New file.
23413         * sysdeps/nios2/dl-sysdep.h: New file.
23414         * sysdeps/nios2/dl-tls.h: New file.
23415         * sysdeps/nios2/dl-trampoline.S: New file.
23416         * sysdeps/nios2/gccframe.h: New file.
23417         * sysdeps/nios2/gmp-mparam.h: New file.
23418         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23419         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23420         * sysdeps/nios2/ldsodefs.h: New file.
23421         * sysdeps/nios2/libc-tls.c: New file.
23422         * sysdeps/nios2/libm-test-ulps: New file.
23423         * sysdeps/nios2/machine-gmon.h: New file.
23424         * sysdeps/nios2/math-tests.h: New file.
23425         * sysdeps/nios2/math_private.h: New file.
23426         * sysdeps/nios2/memusage.h: New file.
23427         * sysdeps/nios2/nptl/Makefile: New file.
23428         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23429         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23430         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23431         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23432         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23433         * sysdeps/nios2/nptl/tls.h: New file.
23434         * sysdeps/nios2/preconfigure: New file.
23435         * sysdeps/nios2/s_fma.c: New file.
23436         * sysdeps/nios2/s_fmaf.c: New file.
23437         * sysdeps/nios2/setjmp.S: New file.
23438         * sysdeps/nios2/sfp-machine.h: New file.
23439         * sysdeps/nios2/sotruss-lib.c: New file.
23440         * sysdeps/nios2/stackguard-macros.h: New file.
23441         * sysdeps/nios2/stackinfo.h: New file.
23442         * sysdeps/nios2/start.S: New file.
23443         * sysdeps/nios2/sysdep.h: New file.
23444         * sysdeps/nios2/tls-macros.h: New file.
23445         * sysdeps/nios2/tst-audit.h: New file.
23446         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23447         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23448         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23449         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23450         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23451         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23452         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23453         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23454         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23455         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23456         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23457         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23458         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23459         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23460         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23461         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23462         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23463         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23464         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23465         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23466         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23467         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23468         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23469         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23470         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23471         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23472         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23473         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23474         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23475         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23476         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23477         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23478         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23479         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23480         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23481         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23482         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23483         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23484         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23485         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23486         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23487         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23488         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23489         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23491 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23493         [BZ #17844]
23494         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23495         (getutent): Use weak_alias in non SHARED case
23496         and default_symbol_version in SHARED case.
23497         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23498         (getutent_r, pututline): Likewise.
23499         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23500         (getutid): Likewise.
23501         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23502         (getutid_r): Likewise.
23503         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23504         (getutline): Likewise.
23505         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23506         (getutline_r): Likewise.
23507         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23508         (updwtmp): Likewise.
23510 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23512         [BZ #17848]
23513         * sysdeps/s390/s390-32/memcmp.S
23514         (memcmp_g5): Rename to __memcmp_g5.
23515         * sysdeps/s390/s390-32/memcpy.S
23516         (memcpy_g5): Rename to __memcpy_g5.
23517         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23518         (memcpy_mvcle) Rename to __memcpy_mvcle.
23519         * sysdeps/s390/s390-32/memset.S
23520         (memset_g5): Rename to __memset_g5.
23521         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23522         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23523         and use prefixed functions.
23524         * sysdeps/s390/s390-32/multiarch/memcmp.S
23525         (memcmp_z196): Rename to __memcmp_z196.
23526         (memcmp_z10): Rename to __memcmp_z10.
23527         (memcmp): Set alias to __memcmp_g5.
23528         (bcmp): Set alias to __memcmp_g5.
23529         * sysdeps/s390/s390-32/multiarch/memcpy.S
23530         (memcpy_z196): Rename to __memcpy_z196.
23531         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23532         (memcpy_z10): Rename to __memcpy_z10.
23533         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23534         (memcpy): Set alias to __memcpy_g5.
23535         * sysdeps/s390/s390-32/multiarch/memset.S
23536         (memset_z196): Rename to __memset_z196.
23537         Jump to __memset_mvcle instead of memset_mvcle.
23538         (memset_z10): Rename to __memset_z10.
23539         Jump to __memset_mvcle instead of memset_mvcle.
23540         (memset_mvcle) Rename to __memset_mvcle.
23541         (memset): Set alias to __memset_g5.
23542         * sysdeps/s390/s390-64/memcmp.S
23543         (memcmp_z900): Rename to __memcmp_z900.
23544         * sysdeps/s390/s390-64/memcpy.S
23545         (memcpy_z900): Rename to __memcpy_z900.
23546         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23547         (memcpy_mvcle) Rename to __memcpy_mvcle.
23548         * sysdeps/s390/s390-64/memset.S
23549         (memset_z900): Rename to __memset_z900.
23550         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23551         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23552         and use prefixed functions.
23553         * sysdeps/s390/s390-64/multiarch/memcmp.S
23554         (memcmp_z196): Rename to __memcmp_z196.
23555         (memcmp_z10): Rename to __memcmp_z10.
23556         (memcmp): Set alias to __memcmp_z900.
23557         (bcmp): Set alias to __memcmp_z900.
23558         * sysdeps/s390/s390-64/multiarch/memcpy.S
23559         (memcpy_z196): Rename to __memcpy_z196.
23560         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23561         (memcpy_z10): Rename to __memcpy_z10.
23562         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23563         (memcpy): Set alias to __memcpy_z900.
23564         * sysdeps/s390/s390-64/multiarch/memset.S
23565         (memset_z196): Rename to __memset_z196.
23566         Jump to __memset_mvcle instead of memset_mvcle.
23567         (memset_z10): Rename to __memset_z10.
23568         Jump to __memset_mvcle instead of memset_mvcle.
23569         (memset_mvcle) Rename to __memset_mvcle.
23570         (memset): Set alias to __memset_z900.
23572 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23574         [BZ #17748]
23575         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23576         __fesetenv instead of fesetenv.
23578 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23580         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23581         macro.
23583 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23585         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23586         regression on LE.
23588         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23589         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23590         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23591         strncmp-power8 object.
23592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23593         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23594         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23595         * NEWS: Update.
23597 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23598             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23600         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23601         trailing byte check.
23603 2015-01-13  David S. Miller  <davem@davemloft.net>
23605         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23607 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23609         * login/logout.c (logout): Use memset rather than bzero.
23610         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23611         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23612         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23613         (_gethtbyaddr): Likewise.
23614         * locale/programs/simple-hash.c (bcopy): Macro removed.
23616 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23618         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23619         Add strcmp-power8 object.
23620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23621         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23622         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23623         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23624         __strcmp_power8 implementation.
23625         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23626         * NEWS: Update.
23628         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23629         Add strncpy-power8 and stpncpy-power8 objects.
23630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23631         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23632         implementations.
23633         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23634         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23635         __stpncpy_power8 implementation.
23636         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23637         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23638         __strncpy_power8 implementation.
23639         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23640         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23641         * NEWS: Update.
23643         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23644         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23645         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23647         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23648         strncat-power8 object.
23649         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23650         __strcat_power8 implementation.
23651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23652         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23653         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23654         optimized strcat for power8.
23656         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23657         strcpy-power8 and stpcpy-power8 objects.
23658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23659         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23660         implementations.
23661         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23662         multiarch stpcpy implementation for POWER8.
23663         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23664         multiarch strcpy implementation for POWER8.
23665         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23666         __strcpy_power8 function.
23667         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23668         stpcpy for POWER8.
23669         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23670         strcpy for POWER8.
23671         * NEWS: Update.
23673 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23675         [BZ #16009]
23676         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23677         weights and rules. Use do_xfrm_cached if data fits in cache,
23678         do_xfrm otherwise.  Moved former main loop to...
23679         * (do_xfrm_cached): New function.
23680         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23681         find_idx, find_position and stack_push.
23682         * (find_idx): New function.
23683         * (find_position): Likewise.
23684         * localedata/sort-test.sh: Added test run for do_xfrm.
23685         * localedata/xfrm-test.c (main): Added command line option
23686         -nocache to run the test with strings that are too large for
23687         the STRXFRM cache.
23689 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23691         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23692         variable to lll_futex_wake call, not the value itself.
23694 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23696         [BZ #17803]
23697         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23698         twom64.  Adjust value to 0x1p-64L.
23699         (__scalblnl): Only return standard underflowing result for K <=
23700         -64 not K <= -63; adjust exponent for underflowing result by 64
23701         not 63.
23702         * math/libm-test.inc (scalbn_test_data): Add more tests.
23703         (scalbln_test_data): Likewise.
23705         [BZ #17834]
23706         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23707         0x1p63L.
23708         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23709         not HX.
23710         * math/libm-test.inc (scalbn_test_data): Add more tests.
23711         (scalbln_test_data): Likewise.
23713 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23714             Stefani Seibold  <stefani@seibold.net>
23716         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23717         (sysdep_routines): Add dl-vdso here, ...
23718         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23719         (sysdep_routines): ... not here.
23720         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23721         fallback when vDSO is not presented.
23722         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23723         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23724         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23725         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23726         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23727         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23728         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23729         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23730         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23731         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23732         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23733         fallback configurable symbol when vDSO is not available.
23734         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23735         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23736         be able to redefine fallback symbol when vDSO is not available.
23737         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23738         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23740 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23742         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23743         (TLS_INIT_TP): Add tm_capable initialization.
23744         (TLS_DEFINE_INIT_TP): Likewise.
23745         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23746         TCB.
23747         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23748         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23749         calculation.
23750         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23751         transactoion is lock elision is built and TCB tm_capable is set.
23752         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23754         (INTERNAL_SYSCALL_NCS): Likewise.
23755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23756         (INTERNAL_SYSCALL_NCS): Likewise.
23757         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23759         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23760         for powerpc.
23761         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23762         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23763         and remove it for 32 bits case.
23764         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23765         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23766         initialization.
23767         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23768         Disable lock elision with rdlocks if elision is not available.
23770         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23771         (sysdep_routines): Add lock elision objects.
23772         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23773         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23774         [pthread_mutex_t] (__elision): Add field.
23775         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23776         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23777         elision definitions for powerpc.
23778         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23779         implementation of lock elision for powerpc.
23780         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23781         implementation of timed lock elision for powerpc.
23782         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23783         implementation of trylock with lock elision for powerpc.
23784         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23785         implementaion of unlock for lock elision for powerpc.
23786         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23787         automatic enable lock elision for mutexes.
23788         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23789         transaction execution definitions for powerpc.
23790         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23791         definitions.
23792         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23793         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23794         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23795         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23796         * NEWS: Update.
23798 2015-01-09  Roland McGrath  <roland@hack.frob.com>
23800         * sysdeps/posix/shm-directory.c: Use <> rather than ""
23801         for #include of <shm-directory.h>.
23803 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
23805         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23806         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23808 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
23810         [BZ #17791]
23811         * NEWS: Mention bug fix.
23812         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23813         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23814         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23816 2015-01-09  Torvald Riegel <triegel@redhat.com>
23818         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23820 2015-01-09  Torvald Riegel <triegel@redhat.com>
23822         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23824 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23826         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23827         pointer and cast to uintptr_t.
23829 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23831         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23832         removed.
23833         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23835 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23837         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23838         of 0.
23840 2015-01-08  Roland McGrath  <roland@hack.frob.com>
23842         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23843         <nptl/pthreadP.h> instead.
23844         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23846         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23847         already defined.
23848         [__SIGRTMIN] (init): Function removed.
23849         [__SIGRTMIN] (initialized): Variable removed.
23850         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23851         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23852         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23853         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23854         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23855         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23856         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23857         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23858         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23859         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23860         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23861         * sysdeps/nptl/allocrtsig.c: New file.
23862         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23863         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23864         * sysdeps/generic/testrtsig.h: File removed.
23866         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23867         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23869         * nptl/nptl-init.c (pthread_functions): Conditionalize
23870         .ptr__nptl_setxid initialization on [SIGSETXID].
23872         * sysdeps/nptl/sys/procfs.h: New file.
23873         * nptl_db/Makefile (headers): Add it.
23874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23876         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23877         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23878         * nptl/pthread_attr_setaffinity.c: Include it.
23879         * nptl/pthread_setattr_default_np.c: Likewise.
23880         * nptl/check-cpuset.h: New file.
23882 2015-01-08  Richard Henderson  <rth@redhat.com>
23884         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23885         (CFLAGS-tst-execstack-prog.c): Likewise.
23886         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23888 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23889             Sandra Loosemore  <sandra@codesourcery.com>
23890             Andrew Jenner  <andrew@codesourcery.com>
23891             Joseph Myers  <joseph@codesourcery.com>
23892             Nathan Sidwell  <nathan@codesourcery.com>
23894         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23895         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23896         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23897         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23898         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23899         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23900         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23901         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23902         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23903         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23904         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23905         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23906         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23907         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23908         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23909         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23910         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23912 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23914         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23915         timespec struct member in syscall macro.
23916         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23917         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23918         first timeval struct member in syscall macro.
23919         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23921 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23923         [BZ #17748]
23924         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23925         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23926         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23927         __feupdateenv and define as weak alias of __feupdateenv.  Use
23928         libm_hidden_weak.
23929         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23930         libm_hidden_def.
23931         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23932         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23933         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23934         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23935         libm_hidden_def.
23936         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23937         __feupdateenv and define as weak alias of __feupdateenv.  Use
23938         libm_hidden_weak.
23939         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23940         libm_hidden_def.
23941         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23942         __feupdateenv and define as weak alias of __feupdateenv.  Use
23943         libm_hidden_weak.
23944         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23945         libm_hidden_def.
23946         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23947         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23948         (__feupdateenv): Likewise.
23949         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23950         __feupdateenv and define as weak alias of __feupdateenv.  Use
23951         libm_hidden_weak.
23952         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23953         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23954         libm_hidden_def.
23955         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23956         function.
23957         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23958         libm_hidden_def.
23959         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23960         __feupdateenv instead of feupdateenv.
23961         (default_libc_feupdateenv_test): Likewise.
23962         (libc_feresetround_ctx): Likewise.
23964 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23966         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23967         prototype.
23969 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23971         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23972         COLL_SYM in a couple of places to avoid uninitialized variable
23973         wanings on tilegx gcc 4.8.2.
23975 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23977         * sysdeps/aarch64/strcpy.S: New file.
23978         * sysdeps/aarch64/stpcpy.S: New file.
23979         * NEWS: Updated.
23981 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23983         * sysdeps/aarch64/strrchr.S: New file.
23984         * NEWS: Updated.
23986 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23988         [BZ #17658]
23989         * stdlib/setenv.c: Fix memory leak when setting large,
23990         duplicate string.
23992 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23994         [BZ #17273]
23995         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23996         and tabs from buffer before parsing fstab entry.
23997         * misc/tst-mntent.c (main): Add test for mount entry with
23998         trailing spaces and tabs.
24000 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24002         [BZ #17748]
24003         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24004         * math/fesetround.c (fesetround): Rename to __fesetround and
24005         define as weak alias of __fesetround.  Use libm_hidden_weak.
24006         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24007         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24008         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24009         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24010         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24011         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24012         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24013         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24014         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24015         __fesetround_inline.
24016         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24017         __fesetround_inline instead of __fesetround.
24018         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24019         __fesetround and define as weak alias of __fesetround.  Use
24020         libm_hidden_weak.  Call __fesetround_inline instead of
24021         __fesetround.
24022         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24023         __fesetround and define as weak alias of __fesetround.  Use
24024         libm_hidden_weak.
24025         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24026         Likewise.
24027         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24028         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24029         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24030         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24031         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24032         __fesetround and define as weak alias of __fesetround.  Use
24033         libm_hidden_weak.
24034         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24035         __fesetround instead of fesetround.
24036         (default_libc_feholdexcept_setround): Likewise.
24037         (libc_feholdsetround_ctx): Likewise.
24038         (libc_feholdsetround_noex_ctx): Likewise.
24040         [BZ #17748]
24041         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24042         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24043         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24044         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24045         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24046         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24047         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24048         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24049         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24050         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24051         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24052         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24053         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24054         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24055         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24056         libm_hidden_def.
24057         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24058         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24059         Likewise.
24060         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24061         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24062         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24063         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24064         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24065         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24066         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24067         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24068         __fesetenv instead of fesetenv.
24069         (libc_feresetround_noex_ctx): Likewise.
24070         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24071         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24072         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24073         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24074         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24075         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24076         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24077         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24078         (__feupdateenv): Likewise.
24079         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24080         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24081         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24082         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24084 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24086         [BZ #17806]
24087         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24088         addresses have been freed.
24090 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24092         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24093         and nservall.
24095 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24097         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24098         Clean up check_pf allocation pattern. addresses
24100 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24102         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24103         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24104         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24105         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24106         * nptl/pthread_join.c (pthread_join): Likewise.
24107         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24108         * sysdeps/posix/waitid.c (__waitid): Likewise.
24109         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24110         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24111         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24112         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24113         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24114         Likewise.
24115         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24116         (__libc_pread64): Likewise.
24117         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24118         (__libc_pwrite): Likewise.
24119         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24120         (__libc_pwrite64): Likewsie.
24121         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24122         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24123         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24124         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24125         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24126         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24127         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24129         Likewise.
24130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24131         (__libc_pread64): Likewise.
24132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24133         Likewise.
24134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24135         (__libc_pwrite64): Likewise.
24136         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24137         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24138         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24139         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24140         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24141         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24142         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24143         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24144         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24145         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24146         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24147         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24148         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24149         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24150         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24151         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24152         Likewise.
24154 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24156         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24157         (CFLAGS-test-double.c): Likewise.
24158         (CFLAGS-test-ldouble.c): Likewise.
24159         (CPPFLAGS-test-ifloat.c): Likewise.
24160         (CPPFLAGS-test-idouble.c): Likewise.
24161         (CPPFLAGS-test-ildoubl.c): Likewise.
24162         (CFLAGS-test-test-fenv.c): Remove variable.
24163         (CFLAGS-test-misc.c): Likewise.
24165 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24167         [BZ #17797]
24168         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24169         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24170         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24171         CLOCKS_PER_SEC == 1000000.
24172         * time/clocktest.c (main): Replace %ld with %jd and cast to
24173         intmax_t.
24175 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24177         * sysdeps/generic/unwind-resume.h: New file.
24178         * sysdeps/gnu/unwind-resume.c: Include it.
24179         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24180         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24181         argument list.
24182         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24183         global rather than static.
24184         (_Unwind_Resume): Update user.
24185         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24186         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24187         rather than static.  Add __attribute__ ((cold)).
24188         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24189         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24190         * sysdeps/arm/arm-unwind-resume.S: New file.
24191         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24192         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24193         * sysdeps/arm/Makefile [$(subdir) = csu]
24194         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24195         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24196         Add rt-arm-unwind-resume.
24197         [$(subdir) = nptl]
24198         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24199         Add pt-arm-unwind-resume.
24200         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24201         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24203 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24205         [BZ #17748]
24206         * include/fenv.h (__feholdexcept): Declare.  Use
24207         libm_hidden_proto.
24208         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24209         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24210         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24211         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24212         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24213         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24214         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24215         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24216         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24217         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24218         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24219         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24220         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24221         (feholdexcept): Likewise.
24222         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24223         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24224         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24225         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24226         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24227         __feholdexcept instead of feholdexcept.
24228         (default_libc_feholdexcept_setround): Likewise.
24230 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24232         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24233         to avoid using stl/str to align destination.
24235 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24237         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24239 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24241         [BZ #17796]
24242         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24243         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24244         Define as weak alias not strong alias.
24246 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24248         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24249         bltzal with addiupc.
24250         (RTLD_START): Ditto.
24252 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24254         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24255         for __vdso_* functions in declarations.
24256         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24257         definitions.
24258         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24259         INTERNAL_VSYSCALL): Use struct return types to check for error.
24261         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24262         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24263         function with cast from llround().
24264         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24265         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24266         Define.
24268 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24270         [BZ #17793]
24271         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24272         Define as weak alias not strong alias.
24274         [BZ #17635]
24275         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24276         ...
24277         * ctype/ctype-extn.c: ... here.
24278         (__isblank_l): Move to ...
24279         * ctype/ctype-c99_l.c: ... here.  New file.
24280         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24281         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24282         Remove variable.
24283         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24284         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24285         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24286         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24287         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24289         [BZ #17777]
24290         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24291         (posix_fadvise64): Define as weak alias not strong alias.
24292         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24293         (posix_fallocate64): Likewise.
24294         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24295         Remove variable.
24296         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24297         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24298         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24299         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24300         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24302 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24304         [BZ #16191]
24305         * NEWS: Mention bug fix.
24306         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24307         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24308         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24309         (HOST_STACK_END_ADDR): Likewise.
24311 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24313         [BZ #17748]
24314         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24315         * math/fegetround.c (fegetround): Rename to __fegetround and
24316         define as weak alias of __fegetround.  Use libm_hidden_weak.
24317         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24318         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24319         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24320         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24321         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24322         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24323         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24324         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24325         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24326         Undefine after rather than before function definition; use
24327         parentheses around function name in definition.
24328         (__fegetround): Also undefine macro after function definition.
24329         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24330         __fegetround and define as weak alias of __fegetround.  Use
24331         libm_hidden_weak.  Do not undefine as macro.
24332         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24333         Likewise.
24334         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24335         __fegetround and define as weak alias of __fegetround.  Use
24336         libm_hidden_weak.
24337         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24338         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24339         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24340         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24341         __fegetround and define as weak alias of __fegetround.  Use
24342         libm_hidden_weak.
24343         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24344         __fegetround instead of fegetround.
24346         [BZ #17782]
24347         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24348         Condition macro definition on [__USE_MISC].
24350         [BZ #17781]
24351         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24352         (struct sigaction): Change type of sa_flags field to int.
24354         [BZ #17780]
24355         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24356         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24357         __glibc_reserved0.
24359         * nptl/version.c (banner): Use single year in copyright notice.
24361         * NEWS: Update copyright dates.
24362         * catgets/gencat.c (print_version): Likewise.
24363         * csu/version.c (banner): Likewise.
24364         * debug/catchsegv.sh: Likewise.
24365         * debug/pcprofiledump.c (print_version): Likewise.
24366         * debug/xtrace.sh (do_version): Likewise.
24367         * elf/ldconfig.c (print_version): Likewise.
24368         * elf/ldd.bash.in: Likewise.
24369         * elf/pldd.c (print_version): Likewise.
24370         * elf/sotruss.sh: Likewise.
24371         * elf/sprof.c (print_version): Likewise.
24372         * iconv/iconv_prog.c (print_version): Likewise.
24373         * iconv/iconvconfig.c (print_version): Likewise.
24374         * locale/programs/locale.c (print_version): Likewise.
24375         * locale/programs/localedef.c (print_version): Likewise.
24376         * login/programs/pt_chown.c (print_version): Likewise.
24377         * malloc/memusage.sh (do_version): Likewise.
24378         * malloc/memusagestat.c (print_version): Likewise.
24379         * malloc/mtrace.pl: Likewise.
24380         * manual/libc.texinfo: Likewise.
24381         * nptl/version.c (banner): Likewise.
24382         * nscd/nscd.c (print_version): Likewise.
24383         * nss/getent.c (print_version): Likewise.
24384         * nss/makedb.c (print_version): Likewise.
24385         * posix/getconf.c (main): Likewise.
24386         * scripts/test-installation.pl: Likewise.
24387         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24389 2015-01-02  Will Newton  <will.newton@linaro.org>
24391         * sysdeps/arm/armv7/configure: Removed.
24392         * sysdeps/arm/armv7/configure.ac: Likewise.
24394 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24396         * All files with FSF copyright notices: Update copyright dates
24397         using scripts/update-copyrights.
24398         * intl/plural.c: Regenerated.
24399         * locale/programs/charmap-kw.h: Likewise.
24400         * locale/programs/locfile-kw.h: Likewise.
24402 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24404         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24406 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24408         [BZ #17748]
24409         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24410         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24411         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24412         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24413         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24414         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24415         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24416         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24417         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24418         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24419         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24420         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24421         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24422         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24423         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24424         libm_hidden_def.
24425         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24426         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24427         Likewise.
24428         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24429         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24430         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24431         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24432         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24433         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24434         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24435         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24436         __fegetenv instead of fegetenv.
24437         (libc_feholdsetround_noex_ctx): Likewise.
24439 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24441         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24442         (Elf_MIPS_ABIFlags_v0): New structure.
24443         (EF_MIPS_FP64): Define.
24444         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24445         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24446         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24447         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24448         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24449         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24450         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24451         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24452         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24453         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24454         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24455         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24456         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24457         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24458         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24459         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24460         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24461         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24462         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24463         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24464         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24465         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24466         field.
24467         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24468         EF_MIPS_FP64.
24469         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24470         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24471         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24472         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24473         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24474         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24475         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24476         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24477         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24478         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24479         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24480         record the current FP ABI extension.
24481         (mips-mode-switch): Define to show if kernel headers support mode
24482         switching.
24483         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24484         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24485         supported SYSV ABI version to 3.
24486         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24487         feature.
24489 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24490             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24492         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24493         path.
24494         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24496 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24498         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24499         __fegetround and redefine to call __fegetround.  Remove condition
24500         on [!__NO_MATH_INLINES].
24501         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24502         function.
24503         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24504         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24505         Remove macro.
24506         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24507         instead of <fenv_libc.h>.
24508         (__llrintl): Call fegetround instead of __fegetround.
24509         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24510         instead of <fenv_libc.h>.
24511         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24512         (__lrintl): Call fegetround instead of __fegetround.
24513         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24514         instead of <fenv_libc.h>.
24515         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24516         (__rintl): Call fegetround instead of __fegetround.
24518 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24520         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24521         arrays.
24523 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24525         [BZ #17775]
24526         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24527         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24528         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24530 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24532         * sysdeps/i386/tls-macros.h: Include <features.h>.
24533         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24534         (TLS_IE): Likewise.
24535         (TLS_LD): Likewise.
24536         (TLS_GD): Likewise.
24537         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24538         define for GCC >= 5.0.
24540 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24542         * math/test-fenv.c (test_single_exception, set_single_exc,
24543         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24544         feexcp_mask_test, feenable_test, fe_single_test): Add
24545         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24546         case where they are not used.
24547         * math/libm-test.inc: Likewise.
24548         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24549         unused in the absence of FP rounding/exception support.
24550         * stdio-common/tst-printf-round.c: Likewise.
24551         * stdlib/tst-strtod-round.c: Likewise.
24552         * stdlib/tst-strtod-underflow.c: Likewise.
24554 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24556         [BZ #17723]
24557         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24558         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24559         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24560         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24561         libm_hidden_weak.
24562         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24563         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24564         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24565         libm_hidden_def.
24566         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24567         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24568         libm_hidden_weak.
24569         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24570         Likewise.
24571         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24572         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24573         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24574         libm_hidden_weak.
24575         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24576         libm_hidden_def.
24577         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24578         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24579         (__feraiseexcept): Likewise.
24580         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24581         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24582         libm_hidden_weak.
24583         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24584         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24585         libm_hidden_def.
24586         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24587         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24588         Use libm_hidden_def.
24589         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24590         libm_hidden_def.
24591         (feraiseexcept): Define as weak not strong alias.  Use
24592         libm_hidden_weak.
24593         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24594         New inline function.  Factored out of ...
24595         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24596         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24597         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24598         feraiseexcept.
24599         * math/w_acos.c (__acos): Likewise.
24600         * math/w_asin.c (__asin): Likewise.
24601         * math/w_ilogb.c (__ilogb): Likewise.
24602         * math/w_j0.c (y0): Likewise.
24603         * math/w_j1.c (y1): Likewise.
24604         * math/w_jn.c (yn): Likewise.
24605         * math/w_log.c (__log): Likewise.
24606         * math/w_log10.c (__log10): Likewise.
24607         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24608         * sysdeps/aarch64/fpu/math_private.h
24609         (libc_feupdateenv_test_aarch64): Likewise.
24610         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24611         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24612         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24613         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24614         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24615         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24616         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24617         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24618         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24619         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24621 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24623         [BZ #17732]
24624         * io/test-utime.c (main): Replace %ld with %jd and cast to
24625         intmax_t.
24626         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24627         * nptl/tst-mutex5.c: Include <stdint.h>.
24628         (do_test): Replace %ld with %jd and cast to intmax_t.
24629         * posix/tst-regex.c (run_test): Likewise.
24630         (run_test_backwards): Likewise.
24631         * rt/tst-clock.c: Include <stdint.h>.
24632         (clock_test): Replace %ld with %jd and cast to intmax_t.
24633         * rt/tst-cpuclock1.c: Include <stdint.h>.
24634         (do_test): Replace %lu with %ju and cast to uintmax_t.
24635         * rt/tst-cpuclock2.c: Include <stdint.h>.
24636         (do_test): Replace %lu with %ju and cast to uintmax_t.
24637         * rt/tst-mqueue1.c: Include <stdint.h>.
24638         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24639         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24640         intmax_t.
24641         * rt/tst-mqueue4.c (do_test): Likewise.
24642         * rt/tst-timer4.c: Include <stdint.h>.
24643         (check_ts): Replace %ld with %jd and cast to intmax_t.
24644         (do_test): Likewise.
24645         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24646         and cast to intmax_t.
24647         * sysdeps/pthread/tst-timer.c (main): Likewise.
24648         * time/clocktest.c (main): Likewise.
24649         * time/tst-posixtz.c (do_test): Likewise.
24650         * timezone/tst-timezone.c (main): Likewise.
24652 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24653             H.J. Lu  <hongjiu.lu@intel.com>
24655         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24656         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24657         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24658         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24659         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24660         version if bit_Fast_Unaligned_Load is set.
24661         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24662         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24663         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24664         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24665         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24666         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24667         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24668         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24669         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24670         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24671         to 4.
24672         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24673         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24674         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24675         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24677 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24679         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24680         instead of #if to avoid a Wundef warning.
24681         * stdlib/tst-limits.c (do_test): Likewise.
24683         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24684         parallel other exception macros.
24685         (fegetenv): Convert from macro to extern inline so that it applies
24686         retroactively to inline functions already seen by the compiler.
24687         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24689         * posix/Makefile (before-compile): Use $(objpfx) for
24690         posix-conf-vars-def.h.
24692 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24694         * posix/getconf.c (main): Use size_t for type of I.
24695         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24696         NSPEC.
24698         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24699         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24700         * posix/posix-envs.def: Likewise.
24701         * sysdeps/posix/sysconf.c: Likewise.
24702         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24703         (specs): Remove array.
24704         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24705         array.
24707         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24708         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24709         (__sysconf): Use CONF_IS_* macros.
24711         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24712         ($(objpfx)posix-conf-vars-def.h): New target.
24713         * posix/posix-conf-vars.list: New file.
24714         * posix/posix-conf-vars.h: New file.
24715         * posix/confstr.c: Include posix-conf-vars.h.
24716         (confstr): Use CONF_IS_* macros.
24717         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24718         CONF_IS_* macros.
24719         * scripts/gen-posix-conf-vars.awk: New file.
24721 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24723         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24724         fegetround): Add no-op macros to avoid linknamespace issues.
24726         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24727         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24729         * sysdeps/unix/sysv/linux/tile/sysdep.h
24730         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24731         assembly-specific section to avoid a redefinition warning.
24733         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24734         long before casting to pointer to avoid a cast warning.
24736 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24738         * sysdeps/tile/tilegx/Implies: New file.
24740 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24742         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24744 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24746         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24748 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24750         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24751         not define.
24752         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24753         <kernel-features.h>.
24754         (__utimes) [__NR_utimes]: Make code unconditional.
24755         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24756         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24757         (__ASSUME_UTIMES): Do not undefine.
24758         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24759         (__ASSUME_UTIMES): Likewise.
24760         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24761         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24762         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24763         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24765 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24767         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24769 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24771         [BZ #17747]
24772         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24773         alias to weak alias for j0l, y0l.
24774         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24775         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24777         [BZ #17746]
24778         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24779         conversion.
24781 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24783         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24784         to zero if not already defined.
24786 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24788         [BZ #17724]
24789         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24790         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
24791         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
24792         (char *) casts added.
24793         * sysdeps/ieee754/k_standardf.c: New file.
24794         * sysdeps/ieee754/k_standardl.c: Likewise.
24795         * math/Makefile (libm-support): Remove k_standard.
24796         (libm-calls): Add k_standard.
24798 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24800         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24801         Optimize to avoid an unnecessary FPCR read.
24803 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24805         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24806         Optimize to reduce FPCR/FPSR accesses.
24808 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24810         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24811         Call libc_fetestexcept_aarch64.
24813 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24815         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24816         Call libc_fesetround_aarch64.
24818 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24820         [BZ #17733]
24821         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24822         (__bind): Do not define as weak alias.
24823         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24824         define.
24825         (__getsockname): Do not define as weak alias.
24827 2014-12-22  Will Newton  <will.newton@linaro.org>
24829         * manual/install.texi: Document that we require bison 2.7
24830         or above.
24831         * INSTALL: Regenerate.
24832         * configure.ac: Use AC_CHECK_PROG_VER instead of
24833         AC_PATH_PROG when checking for bison and check for
24834         version 2.7 or above.
24835         * configure: Regenerate.
24837 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
24839         [BZ #17745]
24840         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24841         * sysdeps/tile/ffsll.c (ffsll): To here.
24843         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24845 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24847         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24848         if not defined.
24849         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24850         definition.
24851         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24852         hidden ___tls_get_addr.
24853         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24854         hidden __tls_get_addr.
24855         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24856         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24857         Likewise.
24859 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24861         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24862         _dl_init call.
24864 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24866         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24867         from "call _dl_init@PLT".
24868         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24870 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24872         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24873         guarantees.
24875 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24877         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24879 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24881         [BZ #17744]
24882         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24883         strnlen.
24885 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24887         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24888         of multu on MIPSr6.
24889         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24890         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24891         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24892         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24893         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24895 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24897         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24898         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24899         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24900         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24901         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24902         mips32r6/mips64r6.
24903         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24905 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24907         * string/strncat.c (STRNCAT): Simplify implementation.
24909 2014-12-19  David S. Miller  <davem@davemloft.net>
24911         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24912         access the quad as both a long double and as a series of 4 words.
24914         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24915         link_map->l_info array access.
24917 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24919         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24921         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24922         * math/atest-exp2.c (TIMEOUT): Likewise.
24923         * math/atest-sincos.c (TIMEOUT): Likewise.
24925 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24927         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24928         -Wno-error with -fno-builtin-lround.
24930 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24932         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24933         Contains futex constants and functions moved over from ...
24934         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24935         <lowlevellock-futex.h>.
24936         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24937         (lll_timedwait_tid): Add comments and parentheses around macro
24938         arguments.
24940 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24942         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24943         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24944         (__lll_private_flag): Remove.
24945         (lll_futex_wait): Likewise.
24946         (lll_futex_timed_wait): Likewise.
24947         (lll_futex_wake): Likewise.
24948         (lll_futex_requeue): Likewise.
24949         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24950         (__lll_timedwait_tid): Spell out argument names.
24951         (lll_timedwait_tid): Add comments and parentheses around macro
24952         arguments.
24953         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24954         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24956 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24958         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24959         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24960         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24961         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24962         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24963         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24964         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24965         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24966         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24967         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24968         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24969         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24970         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24971         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24972         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24973         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24974         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24975         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24976         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24978 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24980         * sysdeps/x86_64/x32/Makefile: New file.
24982 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24984         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24985         1L with (mp_limb_t) 1.
24987 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24989         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24990         * nptl/libc_pthread_init.c: ... here.
24991         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24992         * nptl/register-atfork.c: ... here.
24994         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24995         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24996         Use assert_perror to check its return value.
24997         (__gai_create_helper_thread): Likewise.
24999         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25001         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25003 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25005         [BZ #17725]
25006         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25007         __profil_counter.
25008         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25009         Likewise.
25010         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25011         Likewise.
25012         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25013         Likewise.
25014         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25015         (profil_counter): Likewise.
25016         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25017         (profil_counter): Likewise.
25018         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25019         Likewise.
25020         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25021         Likewise.
25022         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25023         (profil_counter): Likewise.
25024         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25025         Likewise.
25026         [!__profil_counter] (profil_counter): Define as weak alias of
25027         __profil_counter.
25028         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25029         (profil_counter): Rename to __profil_counter.
25030         [!__profil_counter] (profil_counter): Define as weak alias of
25031         __profil_counter.
25032         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25033         (profil_counter): Rename to __profil_counter.
25034         [!__profil_counter] (profil_counter): Define as weak alias of
25035         __profil_counter.
25036         * sysdeps/posix/profil.c: Update comment referring to
25037         profil_counter.
25038         (__profil): Use __profil_counter instead of profil_counter.
25039         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25040         __profil_counter.  Use __profil_counter_ushort and
25041         __profil_counter_uint in definitions.
25042         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25043         instead of profil_counter_uint and profil_counter_ushort.
25045         [BZ #17722]
25046         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25047         define as weak alias of __inet_makeaddr.
25048         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25049         as weak alias of __inet_addr.
25050         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25051         as weak alias of __inet_pton.  Use libc_hidden_weak.
25052         * include/arpa/inet.h (__inet_pton): Declare.  Use
25053         libc_hidden_proto.
25054         (inet_makeaddr): Don't use libc_hidden_proto.
25055         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25056         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25057         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25058         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25059         Remove variable.
25060         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25061         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25063 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25065         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25067 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25069         * stdio-common/bug-vfprintf-nargs.c (do_test):
25070         Cast value to intptr_t to avoid format warning
25071         for usage with PRIdPTR printing macro.
25073 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25075         * libio/tst-widetext.c (do_test):
25076         Use format type %td instead of %Zd for ptrdiff_t
25077         in order to avoid format warning.
25079 2014-12-17  Andreas Schwab  <schwab@suse.de>
25081         * nscd/mem.c (gc): Add size_t cast to match printf format.
25083 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25085         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25086         (init): Apply PTR_MANGLE to pointers before storing them.
25087         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25088         before using them.
25090 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25092         [BZ #17719]
25093         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25094         define as weak alias of __memrchr.
25095         (__memrchr): Do not define as strong alias of memrchr.
25096         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25097         Remove variable.
25098         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25099         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25100         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25102         [BZ #17717]
25103         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25104         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25105         (if_indextoname): Rename to __if_indextoname and define as weak
25106         alias of __if_indextoname.  Use libc_hidden_weak.
25107         (if_freenameindex): Rename to __if_freenameindex and define as
25108         weak alias of __if_freenameindex.
25109         (if_nameindex): Rename to __if_nameindex and define as weak alias
25110         of __if_nameindex.
25111         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25112         __if_nametoindex and define as weak alias of __if_nametoindex.
25113         Use libc_hidden_weak.
25114         (if_freenameindex): Rename to __if_freenameindex and define as
25115         weak alias of __if_freenameindex.
25116         (if_nameindex): Rename to __if_nameindex and define as weak alias
25117         of __if_nameindex.
25118         (if_indextoname): Rename to __if_indextoname and define as weak
25119         alias of __if_indextoname.  Use libc_hidden_weak.
25120         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25121         __if_nametoindex and define as weak alias of __if_nametoindex.
25122         Use libc_hidden_weak.
25123         (if_freenameindex): Rename to __if_freenameindex and define as
25124         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25125         (if_nameindex_netlink): Use __if_freenameindex instead of
25126         if_freenameindex.
25127         (if_nameindex): Rename to __if_nameindex and define as weak alias
25128         of __if_nameindex.  Use libc_hidden_weak.
25129         (if_indextoname): Rename to __if_indextoname and define as weak
25130         alias of __if_indextoname.  Use libc_hidden_weak.
25131         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25132         libc_hidden_proto.
25133         [!_ISOMAC] (__if_freenameindex): Likewise.
25134         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25135         if_nametoindex.
25136         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25137         variable.
25138         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25139         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25140         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25141         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25142         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25143         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25144         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25146         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25147         Remove variable.
25148         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25149         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25151 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25153         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25154         subscript above bounds'
25156         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25157         bounds.
25159 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25161         * libio/tst-fopenloc.c: Use test-skeleton.c.
25163         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25164         (entry): Rename to ITEM.
25165         (do_test, comp): Adjust.
25167         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25169 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25171         * string/tester.c: Include <libc-internal.h>.
25172         (test_memset): Ignore -Wmemset-transposed-args.
25174 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25176         * misc/tst-mntent2.c (do_test): Fix warning.
25178 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25180         * elf/tst-unique4lib.cc(a): Mark as used.
25182 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25184         [BZ #17630]
25185         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25186         names.
25188 2014-12-16  Allan McRae  <allan@archlinux.org>
25190         * stdio-common/Makefile (tests): Re-add bug26.
25192 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25194         [BZ #17657]
25195         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25196         static array.
25198 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25200         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25201         (__lll_lock_wait): Likewise.
25202         (__lll_timedlock_wait): Likewise.
25203         (__lll_timedwait_tid): Likewise.
25204         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25205         (__lll_robust_timedlock_wait): Likewise.
25206         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25207         (lll_cond_trylock): Likewise.
25208         (__lll_lock): Likewise.
25209         (__lll_robust_lock): Likewise.
25210         (__lll_cond_lock): Likewise.
25211         (lll_robust_cond_lock): Likewise.
25212         (__lll_timedlock): Likewise.
25213         (__lll_robust_timedlock): Likewise.
25214         (__lll_unlock): Likewise.
25215         (__lll_robust_unlock): Likewise.
25216         (lll_wait_tid): Likewise.
25217         (lll_timedwait_tid): Likewise.
25219 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25221         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25223 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25225         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25227 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25229         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25230         * stdio-common/tst-sprintf.c: Likewise.
25232 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25234         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25236 2014-12-15  Jeff Law  <law@redhat.com>
25238         [BZ #16617]
25239         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25240         on the heap.  (CVE-2012-3406)
25241         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25242         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25243         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25245 2014-12-15  Will Newton  <will.newton@linaro.org>
25247         * manual/install.texi: Bump required version of texinfo
25248         to 4.7 from 4.5.
25249         * INSTALL: Regenerated.
25250         * configure.ac: Check for makeinfo version 4.7 and above.
25251         * configure: Regenerated.
25253 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25255         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25256         PREFIX, string constant to insert between directory and name.
25257         * sysdeps/posix/shm_open.c: Update caller.
25258         * sysdeps/posix/shm_unlink.c: Likewise.
25259         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25260         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25261         (SEM_SHM_PREFIX): New macro.
25262         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25263         [$(have-thread-library) = no].
25264         * nptl/Makefile (libpthread-routines): Add shm-directory.
25265         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25266         * sysdeps/nptl/shm-directory.h: New file.
25267         * sysdeps/posix/shm-directory.c
25268         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25269         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25270         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25271         INTERNAL_SYSCALL.
25272         (__where_is_shmfs): Function removed.
25273         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25274         Variables removed.
25275         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25276         Use SHM_GET_NAME.
25277         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25279         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25280         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25281         unconditional for use inside libpthread.
25282         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25284 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25286         * nptl/pthread_getaffinity.c: New file.
25287         * nptl/pthread_setaffinity.c: New file.
25288         * nptl/pthread_getname.c: New file.
25289         * nptl/pthread_setname.c: New file.
25291         * nptl/pthread_create.c (START_THREAD_DEFN)
25292         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25294 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25295             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25297         * resolv/res_send.c (send_vc): Disable warning resplen may
25298         be used uninitialized.
25300 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25302         * nptl/tst-mutex6.c
25303         (ATTR_NULL): New define checks ATTR against NULL.
25304         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25305         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25307 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25309         [BZ #17581]
25310         * malloc/hooks.c
25311         (mem2mem_check): Revert my previous change.
25312         (malloc_check_get_size): Revert my previous change.
25313         (mem2chunk_check): Revert my previous change.
25315 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25317         * sysdeps/posix/shm-directory.c: New file.
25318         * sysdeps/posix/shm-directory.h: New file.
25319         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25320         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25321         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25322         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25323         Transmute EPERM to EACCES.
25324         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25325         from ...
25326         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25327         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25329 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25331         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25332         pointer and cast to uintptr_t.
25333         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25334         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25335         Add cast to avoid warning.
25336         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25338 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25340         * nptl/semaphore.h: Move to ...
25341         * sysdeps/pthread/semaphore.h: ... here.
25342         * Makefile (installed-headers): Change nptl/semaphore.h to
25343         sysdeps/pthread/semaphore.h.
25345 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25347         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25348         generated error format strings.
25350         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25351         -Wformat-extra-args warnings for scanf formats.
25352         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25353         test of zero-length format (duh).
25354         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25355         corner-case scanf format test.
25356         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25357         generated fprintf format string.
25358         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25359         corner-case sprintf format tests.
25360         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25361         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25362         -Wformat-extra-args warnings throughout.
25363         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25364         (CFLAGS-scanf4.c): Likewise.
25365         (CFLAGS-scanf7.c): Likewise.
25366         (CFLAGS-tst-sprintf.c): Likewise.
25367         (CFLAGS-tst-printf.c): Likewise.
25368         (CFLAGS-tst-printfsz.c): Likewise.
25370 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25372         * include/cpio.h: New file.
25373         * include/fmtmsg.h: Likewise.
25375         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25376         corresponding format argument to size_t.
25377         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25378         arguments.
25379         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25380         corresponding format argument to size_t.
25381         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25382         arguments.
25383         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25384         corresponding format argument to size_t.
25385         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25386         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25387         (CFLAGS-tst-mbswcs2.c): Likewise.
25388         (CFLAGS-tst-mbswcs3.c): Likewise.
25389         (CFLAGS-tst-mbswcs4.c): Likewise.
25390         (CFLAGS-tst-mbswcs5.c): Likewise.
25391         (CFLAGS-tst-trans.c): Likewise.
25393 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25395         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25396         rather than assuming they won't contain any '%'s.
25398 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25400         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25401         inhibit_loop_to_libcall to avoid recursive calls.
25402         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25403         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25405 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25407         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25408         prototype.
25410 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25412         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25413         integer value instead of boolean.
25415 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25417         * malloc/malloc.c: Fix powerof2 check.
25419 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25421         * locale/programs/locfile.h (maybe_swap_uint32):
25422         Remove inline and add unused attribute.
25424 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25426         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25427         Truncating assembler expression to a .long expression.
25429 2014-12-11  Andreas Schwab  <schwab@suse.de>
25431         * elf/rtld.c (struct map_args): Constify str member.
25432         (do_preload): Constify fname argument.
25434 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25436         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25437         constants definition.
25439 2014-12-11  Andreas Schwab  <schwab@suse.de>
25441         [BZ #16657]
25442         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25443         FORCE_ELISION instead of DO_ELISION.
25444         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25445         Remove.
25446         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25447         Likewise.
25449         * iconvdata/gconv-modules: Remove duplicate entry.
25451 2014-12-11  Will Newton  <will.newton@linaro.org>
25453         Merge gettext 0.19.3 into intl/.
25455         This involves a number of cosmetic changes to comments
25456         and ANSI function definitions and prototypes throughout
25457         all the files. The gettext copyright header is used but
25458         with the date ranges taken from the glibc copy.
25460         * NEWS: Add gettext merge to 2.21.
25461         * intl/bindtextdom.c: Switch to gettext copyright.
25462         Use ANSI definitions and prototypes.
25463         Use gl_* locking primitives rather than __libc_* ones.
25464         Use __builtin_expect rather than __glibc_likely/unlikely.
25465         * intl/dcgettext.c: Switch to gettext copyright.
25466         Use ANSI definitions and prototypes.
25467         * intl/dcigettext.c: Switch to gettext copyright.
25468         Use ANSI definitions and prototypes.
25469         (INTDIV0_RAISES_SIGFPE): New define.
25470         Use gl_* locking primitives rather than __libc_* ones.
25471         Include eval-plural.h instead of plural-eval.c.
25472         Use __builtin_expect rather than __glibc_likely/unlikely.
25473         * intl/dcngettext.c: Switch to gettext copyright.
25474         Use ANSI definitions and prototypes.
25475         * intl/dgettext.c: Likewise.
25476         * intl/dngettext.c: Likewise.
25477         * intl/plural-eval.c: Renamed to...
25478         * intl/eval-plural.h: ...this.
25479         * intl/explodename.c: Switch to gettext copyright.
25480         Use ANSI definitions and prototypes.
25481         (_nl_explode_name): Use strchr instead of __rawmemchr.
25482         * intl/finddomain.c: Switch to gettext copyright.
25483         Use ANSI definitions and prototypes.
25484         Use gl_* locking primitives rather than __libc_* ones.
25485         (_nl_find_domain): Use malloc rather than alloca for
25486         allocation of temporary locale name.
25487         * intl/gettext.c: Switch to gettext copyright.
25488         Use ANSI definitions and prototypes.
25489         * intl/gettextP.h: Switch to gettext copyright.
25490         Use ANSI definitions and prototypes.
25491         Use gl_* locking primitives rather than __libc_* ones.
25492         * intl/gmo.h: Switch to gettext copyright.
25493         (struct sysdep_string): Move struct segment_pair outside of
25494         struct definition.
25495         * intl/hash-string.c: Use ANSI definitions and prototypes.
25496         * intl/hash-string.h: Switch to gettext copyright.
25497         Use ANSI definitions and prototypes.
25498         * intl/l10nflist.c: Switch to gettext copyright.
25499         Use ANSI definitions and prototypes.
25500         (_nl_normalize_codeset): Avoid integer overflow.
25501         * intl/loadinfo.h: Switch to gettext copyright.
25502         Use ANSI definitions and prototypes.
25503         (LIBINTL_DLL_EXPORTED): New define.
25504         (PATH_SEPARATOR): New define.
25505         * intl/loadmsgcat.c: Switch to gettext copyright.
25506         * intl/localealias.c: Switch to gettext copyright.
25507         Use ANSI definitions and prototypes.
25508         (_nl_expand_alias): Use PATH_SEPARATOR.
25509         * intl/ngettext.c: Switch to gettext copyright.
25510         Use ANSI definitions and prototypes.
25511         * intl/plural-exp.c: Likewise.
25512         * intl/plural-exp.h: Switch to gettext copyright.
25513         Use ANSI definitions and prototypes.
25514         (struct expression): Move definition of enum operator outside
25515         of struct definition.
25516         * intl/plural.c: Regenerate.
25517         * intl/plural.y: Switch to gettext copyright.
25518         Use ANSI definitions and prototypes.
25519         Port to bison 3.0.
25520         * intl/textdomain.c: Switch to gettext copyright.
25521         Use ANSI definitions and prototypes.
25522         Use gl_* locking primitives rather than __libc_* ones.
25524 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25526         * debug/warning-nop.c: Add used atrribute.
25528 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25530         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25532         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25533         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25534         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25536 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25537             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25539         [BZ #17634]
25540         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25541         Undefine after defining function.  Define as weak alias of
25542         __wcschr.  Use libc_hidden_weak.
25543         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25544         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25545         (libc_hidden_def): Also define __GI___wcschr alias.
25546         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25547         __wcschr and define as weak alias of __wcschr.
25548         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25549         __wcschr.
25550         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25551         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25552         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25553         libc_hidden_weak.  Do not use libc_hidden_def.
25554         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25555         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25556         __GI___wcschr alias.
25557         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25558         [IS_IN (libc)] (wcschr): Define as macro expanding to
25559         __redirect_wcschr.
25560         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25561         [IS_IN (libc)] (__wcschr_power6): Likewise.
25562         [IS_IN (libc)] (__wcschr_power7): Likewise.
25563         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25564         instead of wcschr.
25565         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25566         __libc_wcschr.
25567         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25568         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25569         __wcschr and define as weak alias of __wcschr.  Use
25570         libc_hidden_builtin_def.
25571         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25572         as weak alias of __wcschr.  Use libc_hidden_weak.
25573         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25574         wcschr.
25575         * time/era.c (_nl_init_era_entries): Likewise.
25576         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25577         variable.
25578         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25579         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25581 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25583         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25584         format for long int variable.
25586 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25588         [BZ #10672]
25589         * manual/search.texi: (Array Sort Function): Remove claim how to make
25590         qsort stable.
25592 2014-12-10  Andreas Schwab  <schwab@suse.de>
25594         [BZ #12847]
25595         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25596         user-controlled locks.
25598 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25600         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25601         register.
25603 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25605         * configure.ac (--disable-werror): New configure option.
25606         (enable_werror): New AC_SUBST.
25607         * configure: Regenerated.
25608         * config.make.in (enable-werror): New variable.
25609         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25610         -Wno-error=undef.
25611         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25612         * manual/install.texi (Configuring and compiling): Document
25613         --disable-werror.
25614         * INSTALL: Regenerated.
25615         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25616         (CFLAGS-tst-chk2.c): Likewise.
25617         (CFLAGS-tst-chk3.c): Likewise.
25618         (CFLAGS-tst-chk4.cc): Likewise.
25619         (CFLAGS-tst-chk5.cc): Likewise.
25620         (CFLAGS-tst-chk6.cc): Likewise.
25621         (CFLAGS-tst-lfschk1.c): Likewise.
25622         (CFLAGS-tst-lfschk2.c): Likewise.
25623         (CFLAGS-tst-lfschk3.c): Likewise.
25624         (CFLAGS-tst-lfschk4.cc): Likewise.
25625         (CFLAGS-tst-lfschk5.cc): Likewise.
25626         (CFLAGS-tst-lfschk6.cc): Likewise.
25628         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25629         (main): Disable -Wdeprecated-declarations around calls to
25630         register_printf_function.
25632         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25633         (do_test): Disable -Wdiv-by-zero around some calls to
25634         fwrite_unlocked and fread_unlocked.
25636         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25637         (DIAG_POP_NEEDS_COMMENT): Likewise.
25638         (_DIAG_STR1): Likewise.
25639         (_DIAG_STR): Likewise.
25640         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25641         * stdio-common/bug21.c: Include <libc-internal.h>.
25642         (do_test): Disable -Wformat around call to sscanf.
25643         * stdio-common/scanf14.c: Include <libc-internal.h>.
25644         (main): Disable -Wformat around some calls to scanf functions.
25646 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25648         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25650 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25652         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25653         stack variable alignment.
25655 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25657         [BZ #17682]
25658         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25659         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25660         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25661         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25662         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25663         __getrlimit instead of getrlimit.
25664         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25665         __gettimeofday instead of gettimeofday.
25666         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25667         Likewise.
25668         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25669         Likewise.
25670         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25671         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25672         Remove variable.
25673         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25674         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25676 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25678         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25679         for wide-character tests.
25681 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25683         * io/openat64.c: #include <libc-internal.h>
25684         (__openat64): Prototypify.  Use ignore_value on MODE.
25685         * io/openat.c: Likewise.
25686         * misc/reboot.c: #include <libc-internal.h>
25687         (reboot): Prototypify.  Use ignore_value on HOWTO.
25688         * misc/ptrace.c: #include <libc-internal.h>
25689         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25691 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25693         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25694         XPG4, UNIX98 and XOPEN2K.
25695         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25696         Remove variable.
25697         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25699 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25701         * libio/fileops.c: Use ISO C style for function definitions.
25702         * libio/iofopen.c: Likewise.
25703         * libio/wfileops.c: Likewise.
25705         [BZ #17653]
25706         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25707         offset on EOF.
25708         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25709         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25710         (fgets_func): Function pointer to fgets and fgetws.
25711         (do_ftell_test): Add test to verify ftell value after read
25712         EOF.
25713         (do_test): Set fgets_func.
25715         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25716         O_TRUNC flag for w and w+ modes.
25717         (do_rewind_test): Likewise.
25718         (do_ftell_test): Likewise.
25719         (do_write_test): Likewise.
25721         [BZ #17647]
25722         * libio/fileops.c (do_ftell): Seek only when there are
25723         unflushed writes.
25724         * libio/wfileops.c (do_ftell_wide): Likewise.
25725         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25726         test case.
25727         (do_one_test): Call it.
25729 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25731         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25732         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25733         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25734         Remove variable.
25735         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25736         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25737         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25739 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25741         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25742         Remove variable.
25743         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25745         [BZ #17668]
25746         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25747         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25748         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25749         __freeifaddrs.  Use libc_hidden_weak.
25750         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25751         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25752         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25753         __freeifaddrs.  Use libc_hidden_weak.
25754         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25755         __getifaddrs and define as weak alias of __getifaddrs.  Use
25756         libc_hidden_weak.
25757         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25758         __freeifaddrs.  Use libc_hidden_weak.
25759         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25760         Remove variable.
25761         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25762         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25764 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25766         [BZ #17601]
25767         * sysdeps/mips/start.S (__start): Use indirect jump to call
25768         __libc_start_main.
25770 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25772         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25774         * nptl/tst-mutex1.c: Include <stdbool.h>.
25775         [!ATTR] (ATTR_NULL): New macro.
25776         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25777         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25778         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25780         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25781         to char *.
25783         [BZ #17665]
25784         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25785         Change conditional to [__USE_MISC].
25787         [BZ #17664]
25788         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25789         fgets_unlocked.
25790         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25791         __fgets_unlocked.
25792         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25793         fgets_unlocked.
25794         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25795         Remove variable.
25796         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25797         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25798         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25799         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25800         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25801         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25802         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25803         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25804         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25806         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25808 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25810         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25811         Remove strpbrk objects.
25812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25813         (__libc_ifunc_impl_list): Remove strpbrk implementation.
25814         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25815         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25816         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25817         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25819         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25820         Remove strcspn objects.
25821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25822         (__libc_ifunc_impl_list): Remove strcspn implementation.
25823         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25824         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25825         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25826         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25828         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25829         Remove strspn objetcs.
25830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25831         (__libc_ifunc_impl_list): Remove strspn implementation.
25832         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25833         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25834         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25835         * sysdeps/powerpc/powerpc64/strspn.S: New file.
25837 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
25839         [BZ #17581]
25840         * malloc/hooks.c
25841         (mem2mem_check): Add a terminator to the chain of checking blocks.
25842         (malloc_check_get_size): Use it here.
25843         (mem2chunk_check): Ditto.
25845 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25847         * sysdeps/powerpc/powerpc64/strtok.S: New file.
25848         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25850 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
25852         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25854         * nptl/nptl-init.c: Include libc-internal.h.
25855         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25857         * elf/ldconfig.c (search_dir): Expand comment.
25859 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25861         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25862         variable.
25863         (linknamespace-symlist-stdlibs-tests): Likewise.
25864         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25865         instead of $(objpfx)symlist-stdlibs.
25866         (linknamespace-libs-isoc): New variable.
25867         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25868         (linknamespace-libs-ISO): New variable.
25869         (linknamespace-libs-ISO99): Likewise.
25870         (linknamespace-libs-ISO11): Likewise.
25871         (linknamespace-libs-XPG3): Likewise.
25872         (linknamespace-libs-XPG4): Likewise.
25873         (linknamespace-libs-POSIX): Likewise.
25874         (linknamespace-libs-UNIX98): Likewise.
25875         (linknamespace-libs-XOPEN2K): Likewise.
25876         (linknamespace-libs-POSIX2008): Likewise.
25877         (linknamespace-libs-XOPEN2K8): Likewise.
25878         ($(objpfx)symlist-stdlibs): Replace by
25879         $(linknamespace-symlist-stdlibs-tests).  Use
25880         $(linknamespace-libs-$*) as set of libraries.
25881         ($(linknamespace-header-tests)): Update dependencies.  Use
25882         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25883         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25884         * conform/linknamespace.pl: Remove comment about considering
25885         definitions of symbols from irrelevant libraries.
25887 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25889         [BZ #13862]
25890         * elf/dl-tls.c: Include <atomic.h>.
25891         (oom): Remove #ifdef SHARED/#endif.
25892         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25893         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25894         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25895         big enough.
25896         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25897         * nptl/Makefile (tests): Add tst-stack4.
25898         (modules-names): Add tst-stack4mod.
25899         ($(objpfx)tst-stack4): New.
25900         (tst-stack4mod.sos): Likewise.
25901         ($(objpfx)tst-stack4.out): Likewise.
25902         ($(tst-stack4mod.sos)): Likewise.
25903         (clean): Likewise.
25904         * nptl/tst-stack4.c: New file.
25905         * nptl/tst-stack4mod.c: Likewise.
25907 2014-11-27  J. Brown  <jb999@gmx.de>
25909         * sysdeps/x86/bits/string.h: Add recent CPUs.
25911 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25913         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25914         sigblock.
25916         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25917         feof.
25919         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25920         variable.
25922 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25924         * nscd/connections.c: Include libc-internal.h because of macro
25925         usage ignore_value.
25927 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25929         * string/bits/string3.h (__warn_memset_zero_len): Don't
25930         declare for gcc newer than 5.0.
25931         (memset): Don't test for zero-length __LEN for gcc newer than
25932         5.0.
25934 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25936         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25937         size_t for %zu format.
25939         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25940         difference, not %ju.
25942 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25944         * include/libc-internal.h (ignore_value): New macro.
25945         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25946         with ignore_value.
25948         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25949         definition.
25951         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25952         pthread_cleanup_push to void *.
25954         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25955         Undefine.
25957         [BZ #16619]
25958         [BZ #16740]
25959         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25960         instead of 1L << 52.
25962         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25963         * libio/bug-rewind2.c (do_test): Likewise.
25965         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25966         * debug/test-strcpy_chk-ifunc.c: Likewise.
25967         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25968         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25969         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25970         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25971         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25972         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25973         * Rules [$(multi-arch) = no] (tests): Do not filter out
25974         $(tests-ifunc).
25975         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25976         * debug/Makefile (tests-ifunc): Remove variable.
25977         (tests): Do not add $(tests-ifunc).
25978         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25979         (tests): Do not add $(tests-ifunc).
25980         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25981         [TEST_IFUNC]: Remove conditionals.
25982         * string/test-string.h (TEST_IFUNC): Remove macro.
25983         [TEST_IFUNC]: Remove conditionals.
25985         * string/test-strchr.c [!WIDE] (L): New macro.
25986         [WIDE] (L): Likewise.
25987         (check1): Use CHAR instead of char.  Use L on string and character
25988         constants.
25990 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25992         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25993         tests.
25994         * sysdeps/powerpc/bits/atomic.h
25995         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25996         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25997         (atomic_exchange_and_add_acq): Likewise.
25998         (atomic_exchange_and_add_rel): Likewise.
25999         * sysdeps/powerpc/powerpc32/bits/atomic.h
26000         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26001         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26002         * sysdeps/powerpc/powerpc64/bits/atomic.h
26003         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26004         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26006 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26008         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26009         Change synchronization of __sched_fifo_min_prio and
26010         __sched_fifo_max_prio.
26011         * nptl/pthread_mutexattr_getprioceiling.c
26012         (pthread_mutexattr_getprioceiling): Likewise.
26013         * nptl/pthread_mutexattr_setprioceiling.c
26014         (pthread_mutexattr_setprioceiling): Likewise.
26015         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26016         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26017         Likewise.
26019 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26021         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26022         void.
26024 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26026         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26027         third argument const.
26029 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26031         fnmatch: work around GCC compiler warning bug with uninit var
26032         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26033         This works around a bug with x86-64 GCC 4.9.2 and earlier
26034         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26035         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26036         used uninitialized in this function [-Wmaybe-uninitialized]".
26038 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26040         * posix/bug-regex31.c (main): Return RES not 0.
26042 2014-11-25  Anton Blanchard <anton@samba.org>
26044         * sysdeps/powerpc/bits/atomic.h
26045         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26047 2014-11-24  Sterling Augustine  <saugustine@google.com>
26049         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26051 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26053         [BZ #17608]
26054         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26056 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26058         [BZ #17633]
26059         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26060         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26061         variable.
26062         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26063         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26065 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26067         * string/strncpy.c (strncpy): Improve performance by using memset.
26069 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26071         * string/strcpy.c (strcpy):
26072         Improve performance by using strlen and memcpy.
26074 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26076         * string/strcoll_l.c (get_next_seq): __always_inline.
26077         * string/strcoll_l.c (do_compare): __always_inline.
26079 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26081         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26082         defined.
26083         * include/mqueue.h: Likewise.
26084         * include/stdlib.h: Likewise.
26086         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26087         (get_null_defines): Adjust.
26088         * sunrpc/Makefile: Adjust comment.
26089         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26090         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26091         (CFLAGS-interp.c): Likewise.
26092         (CFLAGS-ldconfig.c): Likewise.
26093         (CPPFLAGS-.os): Likewise.
26094         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26095         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26096         * extra-modules.mk (extra-modules.mk): Likewise.
26097         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26098         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26099         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26100         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26101         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26102         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26103         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26104         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26105         * iconvdata/Makefile (CPPFLAGS): Likewise.
26106         (cpp-srcs-left): Add libof for all iconvdata routines.
26107         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26108         * include/assert.h: Likewise.
26109         * include/ctype.h: Likewise.
26110         * include/errno.h: Likewise.
26111         * include/libc-symbols.h: Likewise.
26112         * include/math.h: Likewise.
26113         * include/netdb.h: Likewise.
26114         * include/resolv.h: Likewise.
26115         * include/stdio.h: Likewise.
26116         * include/stdlib.h: Likewise.
26117         * include/string.h: Likewise.
26118         * include/sys/stat.h: Likewise.
26119         * include/wctype.h: Likewise.
26120         * intl/l10nflist.c: Likewise.
26121         * libidn/idn-stub.c: Likewise.
26122         * libio/libioP.h: Likewise.
26123         * nptl/libc_multiple_threads.c: Likewise.
26124         * nptl/pthreadP.h: Likewise.
26125         * posix/regex_internal.h: Likewise.
26126         * resolv/res_hconf.c: Likewise.
26127         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26128         * sysdeps/arm/memmove.S: Likewise.
26129         * sysdeps/arm/sysdep.h: Likewise.
26130         * sysdeps/generic/_itoa.h: Likewise.
26131         * sysdeps/generic/symbol-hacks.h: Likewise.
26132         * sysdeps/gnu/errlist.awk: Likewise.
26133         * sysdeps/gnu/errlist.c: Likewise.
26134         * sysdeps/i386/i586/memcpy.S: Likewise.
26135         * sysdeps/i386/i586/memset.S: Likewise.
26136         * sysdeps/i386/i686/memcpy.S: Likewise.
26137         * sysdeps/i386/i686/memmove.S: Likewise.
26138         * sysdeps/i386/i686/mempcpy.S: Likewise.
26139         * sysdeps/i386/i686/memset.S: Likewise.
26140         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26141         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26142         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26143         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26144         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26145         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26146         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26147         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26148         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26149         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26150         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26151         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26152         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26153         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26154         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26155         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26156         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26157         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26158         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26159         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26160         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26161         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26162         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26163         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26164         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26165         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26166         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26167         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26168         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26169         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26170         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26171         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26172         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26173         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26174         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26175         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26176         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26177         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26178         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26179         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26180         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26181         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26182         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26183         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26184         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26185         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26186         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26187         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26188         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26189         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26190         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26191         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26192         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26193         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26194         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26195         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26196         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26197         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26198         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26199         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26200         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26201         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26202         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26203         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26204         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26205         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26206         * sysdeps/posix/closedir.c: Likewise.
26207         * sysdeps/posix/opendir.c: Likewise.
26208         * sysdeps/posix/readdir.c: Likewise.
26209         * sysdeps/posix/rewinddir.c: Likewise.
26210         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26211         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26212         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26213         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26214         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26215         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26216         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26217         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26218         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26219         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26220         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26221         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26222         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26223         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26224         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26225         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26226         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26227         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26228         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26229         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26230         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26231         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26232         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26233         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26234         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26235         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26236         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26237         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26238         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26241         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26243         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26245         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26246         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26247         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26248         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26249         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26250         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26251         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26252         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26253         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26254         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26255         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26256         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26257         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26258         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26259         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26260         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26261         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26262         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26263         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26264         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26265         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26266         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26267         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26268         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26269         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26270         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26271         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26272         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26273         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26274         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26275         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26276         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26277         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26278         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26279         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26280         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26281         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26282         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26283         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26284         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26285         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26286         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26287         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26288         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26289         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26290         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26291         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26292         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26293         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26294         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26295         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26296         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26297         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26298         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26299         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26300         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26301         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26302         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26303         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26304         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26305         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26306         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26307         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26308         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26309         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26310         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26311         * sysdeps/unix/alpha/sysdep.S: Likewise.
26312         * sysdeps/unix/alpha/sysdep.h: Likewise.
26313         * sysdeps/unix/make-syscalls.sh: Likewise.
26314         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26315         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26316         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26317         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26318         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26319         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26320         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26321         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26322         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26323         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26324         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26325         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26326         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26327         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26328         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26329         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26330         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26331         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26332         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26333         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26334         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26335         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26336         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26337         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26338         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26339         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26340         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26343         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26344         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26345         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26346         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26347         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26348         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26349         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26350         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26351         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26352         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26353         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26354         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26355         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26356         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26357         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26358         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26359         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26360         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26361         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26362         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26363         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26364         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26365         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26366         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26367         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26368         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26369         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26370         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26372         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26373         * sysdeps/x86_64/memcpy.S: Likewise.
26374         * sysdeps/x86_64/memmove.c: Likewise.
26375         * sysdeps/x86_64/memset.S: Likewise.
26376         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26377         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26378         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26379         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26380         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26381         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26382         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26383         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26384         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26385         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26386         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26387         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26388         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26389         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26390         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26391         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26392         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26393         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26394         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26395         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26396         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26397         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26398         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26399         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26400         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26401         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26402         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26403         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26404         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26405         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26406         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26407         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26408         * sysdeps/x86_64/strcmp.S: Likewise.
26410         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26412         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26413         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26414         * elf/rtld-Rules: Likewise.
26415         * elf/setup-vdso.h: Likewise.
26416         * include/assert.h: Likewise.
26417         * include/bits/stdlib-float.h: Likewise.
26418         * include/errno.h: Likewise.
26419         * include/sys/stat.h: Likewise.
26420         * include/unistd.h: Likewise.
26421         * sysdeps/aarch64/setjmp.S: Likewise.
26422         * sysdeps/alpha/setjmp.S: Likewise.
26423         * sysdeps/arm/__longjmp.S: Likewise.
26424         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26425         * sysdeps/arm/setjmp.S: Likewise.
26426         * sysdeps/arm/sysdep.h: Likewise.
26427         * sysdeps/generic/_itoa.h: Likewise.
26428         * sysdeps/generic/dl-sysdep.h: Likewise.
26429         * sysdeps/generic/ldsodefs.h: Likewise.
26430         * sysdeps/i386/dl-tls.h: Likewise.
26431         * sysdeps/i386/setjmp.S: Likewise.
26432         * sysdeps/m68k/setjmp.c: Likewise.
26433         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26434         * sysdeps/mach/hurd/opendir.c: Likewise.
26435         * sysdeps/posix/getcwd.c: Likewise.
26436         * sysdeps/posix/opendir.c: Likewise.
26437         * sysdeps/posix/profil.c: Likewise.
26438         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26439         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26440         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26441         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26442         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26443         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26444         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26445         * sysdeps/s390/dl-tls.h: Likewise.
26446         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26447         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26448         * sysdeps/sh/sh3/setjmp.S: Likewise.
26449         * sysdeps/sh/sh4/setjmp.S: Likewise.
26450         * sysdeps/unix/alpha/sysdep.h: Likewise.
26451         * sysdeps/unix/arm/sysdep.S: Likewise.
26452         * sysdeps/unix/i386/sysdep.S: Likewise.
26453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26454         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26455         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26456         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26457         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26458         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26459         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26460         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26461         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26462         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26463         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26464         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26465         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26468         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26469         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26470         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26471         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26472         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26473         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26474         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26475         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26476         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26477         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26478         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26479         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26480         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26481         * sysdeps/x86_64/setjmp.S: Likewise.
26483         * include/math.h: Use IS_IN instead of IS_IN_libm.
26484         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26485         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26486         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26487         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26488         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26489         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26490         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26491         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26492         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26493         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26494         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26495         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26496         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26497         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26498         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26499         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26500         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26501         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26502         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26503         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26504         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26505         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26506         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26507         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26508         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26509         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26510         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26511         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26512         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26513         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26514         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26515         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26516         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26518         Likewise.
26519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26520         Likewise.
26521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26522         Likewise.
26523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26524         Likewise.
26525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26526         Likewise.
26527         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26528         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26529         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26530         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26531         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26532         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26538         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26539         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26540         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26541         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26542         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26543         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26544         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26545         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26546         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26547         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26548         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26549         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26550         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26551         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26553         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26555         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26556         * nptl/pthreadP.h: Likewise.
26557         * nptl_db/structs.def: Likewise.
26558         * sysdeps/arm/sysdep.h: Likewise.
26559         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26560         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26561         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26562         * sysdeps/unix/alpha/sysdep.h: Likewise.
26563         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26565         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26566         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26567         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26568         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26569         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26570         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26571         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26572         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26573         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26574         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26575         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26576         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26579         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26580         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26581         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26582         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26583         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26584         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26585         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26586         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26587         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26588         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26590         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26591         * nptl/pthreadP.h: Likewise.
26592         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26593         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26594         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26595         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26596         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26597         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26598         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26599         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26600         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26601         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26602         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26603         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26605         Likewise.
26606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26607         Likewise.
26608         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26609         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26610         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26611         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26612         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26613         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26614         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26615         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26617         * dlfcn/dladdr.c: Use IS_IN.
26618         * dlfcn/dladdr1.c: Likewise.
26619         * dlfcn/dlclose.c: Likewise.
26620         * dlfcn/dlerror.c: Likewise.
26621         * dlfcn/dlinfo.c: Likewise.
26622         * dlfcn/dlmopen.c: Likewise.
26623         * dlfcn/dlopen.c: Likewise.
26624         * dlfcn/dlsym.c: Likewise.
26625         * dlfcn/dlvsym.c: Likewise.
26627         * include/ifaddrs.h: Use IS_IN.
26628         * inet/check_pf.c: Likewise.
26629         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26630         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26632         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26633         IS_IN_ldconfig.
26634         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26635         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26637         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26638         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26639         IS_IN (libc).
26641         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26643         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26644         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26645         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26646         * include/libc-symbols.h (IS_IN_LIB): New macro.
26647         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26648         * include/netdb.h: Likewise.
26649         * include/stap-probe.h: Remove all uses of IN_LIB.
26651         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26652         instead of IN_MODULE.
26653         * include/libc-symbols.h (IN_MODULE): Define using
26654         MODULE_NAME.
26655         (PASTE_NAME, PASTE_NAME1): New macros.
26656         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26657         of IN_LIB.
26658         (STAP_PROBE_ASM): Likewise.
26660 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26662         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26663         __mach_init in dlopened libc.
26665 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26667         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26668         * sysdeps/arm/preconfigure: Regenerate.
26670 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26672         * nptl/pthread_create.c (__pthread_create_2_1): Set
26673         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26674         when copying values from IATTR into PD.
26676 2014-11-21  Will Newton  <will.newton@linaro.org>
26677             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26679         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26680         Refactor inline-asm.  Also add comment.
26682         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26683         ElfW macro instead of hardcoded Elf64 types.
26684         (la_aarch64_gnu_pltenter): Likewise.
26685         * sysdeps/aarch64/dl-machine.h
26686         (elf_machine_runtime_setup): Use ElfW(Addr).
26688         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26689         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26690         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26691         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26692         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26693         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26694         (R_AARCH64_TLS_DTPMOD): This.
26695         (R_AARCH64_TLS_DTPREL64): Rename to ...
26696         (R_AARCH64_TLS_DTPREL): This.
26697         (R_AARCH64_TLS_TPREL64): Rename to ...
26698         (R_AARCH64_TLS_TPREL): This.
26699         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26700         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26701         R_AARCH64_TLS_TPREL64.
26702         (elf_machine_rela): Likewise.
26704 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26706         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26707         by setting it to 0.  64b atomics are not supported currently.
26709 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26711         [BZ #16469]
26712         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26713         search domain names.
26715 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26717         [BZ #16469]
26718         * NEWS: Update.
26719         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26720         trailing dot.
26721         * posix/tst-getaddrinfo5.c: New.
26722         * posix/Makefile (tests): Add it.
26724 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26726         [BZ #14498]
26727         * NEWS: Fixed.
26728         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26729         after parsing line but before break_if_match.
26730         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26731         if there is a protocol mismatch.
26733 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26735         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26736         because the potential race is on the user-supplied stream.
26738 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26740         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26741         string literal if not passed a buffer.
26742         * manual/job.texi (ctermid): Update reasoning, note deviation
26743         from posix, suggest mtasurace when not passed a buffer, for
26744         future non-preliminary safety notes.
26746 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26748         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26749         of not passing it a buffer.
26750         Reported by Peng Haitao.
26752 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26754         * manual/Makefile ($(objpfx)stamp-summary): Require
26755         check-safety.sh to pass.
26756         * manual/check-safety.sh: Wish for verification that every
26757         @deftypefn and @deftypefun is followed by a @safety remark.
26759 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26761         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26763         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26764         PTHREAD_CANCEL_ASYNCHRONOUS.
26765         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26766         send SIGCANCEL.
26768         * nptl/default-sched.h: New file.
26769         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26770         * nptl/pthread_create.c: Include it.
26771         (__pthread_create_2_1): Use collect_default_sched instead of making
26772         Linux syscalls here directly.
26774 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26776         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26777         __pthread_once): Use C11 atomics.
26779 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26781         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26783 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26785         * include/atomic.h (__atomic_link_error, __atomic_check_size,
26786         atomic_thread_fence_acquire, atomic_thread_fence_release,
26787         atomic_thread_fence_seq_cst, atomic_load_relaxed,
26788         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26789         atomic_compare_exchange_weak_relaxed,
26790         atomic_compare_exchange_weak_acquire,
26791         atomic_compare_exchange_weak_release,
26792         atomic_exchange_acquire, atomic_exchange_release,
26793         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26794         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26795         atomic_fetch_and_acquire,
26796         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26798 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26800         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26801         USE_ATOMIC_COMPILER_BUILTINS): Define.
26802         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26803         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26804         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26805         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26806         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26807         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26808         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26809         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26810         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26811         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26812         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26813         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26814         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26815         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26816         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26817         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26818         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26819         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26820         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26821         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26822         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26823         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26824         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26825         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26826         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26827         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26828         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26829         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26830         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26831         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26832         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26833         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26834         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26835         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26836         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26837         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26838         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26839         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26840         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26841         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26843 2014-11-19  Roland McGrath  <roland@hack.frob.com>
26845         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26846         the sched_priority value here.  It was already checked when the user
26847         called pthread_attr_setschedparam.
26849         * nptl/tst-bad-schedattr.c: New file.
26850         * nptl/Makefile (tests): Add it.
26852 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
26853             Florian Weimer  <fweimer@redhat.com>
26854             Joseph Myers  <joseph@codesourcery.com>
26855             Adam Conrad  <adconrad@0c3.net>
26856             Andreas Schwab  <schwab@suse.de>
26857             Brooks  <bmoses@google.com>
26859         [BZ #17625]
26860         * wordexp-test.c (__dso_handle): Add prototype.
26861         (__register_atfork): Likewise.
26862         (__app_register_atfork): New function.
26863         (registered_forks): New global.
26864         (register_fork): New function.
26865         (test_case): Add 3 new tests for WRDE_CMDSUB.
26866         (main): Call __app_register_atfork.
26867         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26868         fork count is non-zero fail the test.
26869         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26870         is set.
26871         (parse_dollars): Remove check for WRDE_NOCMD.
26872         (parse_dquote): Likewise.
26874 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26876         * Makeconfig (built-modules): List non-library modules to be
26877         built.
26878         (module-cppflags): Include libc-modules.h for
26879         everything except shlib-versions.v.i.
26880         (CPPFLAGS): Use it.
26881         (before-compile): Add libc-modules.h.
26882         ($(common-objpfx)libc-modules.h,
26883         $(common-objpfx)libc-modules.stmp): New targets.
26884         (common-generated): Add libc-modules.h and libc-modules.stmp.
26885         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26886         * include/libc-symbols.h: Don't include libc-modules.h.
26887         * include/libc-modules.h: Remove file.
26888         * scripts/gen-libc-modules.awk: New script to generate
26889         libc-modules.h.
26890         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26891         Depend on libc-modules.stmp.
26893         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26895         * Makeconfig (in-module): Get value of libof set for the
26896         translation unit.
26897         (CPPFLAGS): Use $(in-module).
26898         * Makerules: Don't suffix routine names for nonlib.
26899         * include/libc-modules.h: New file.
26900         * include/libc-symbols.h: Include libc-modules.h
26901         (IS_IN): New macro to replace IS_IN_* macros.
26902         * elf/Makefile: Set libof-* for each routine.
26903         * elf/rtld-Rules: Likewise.
26904         * extra-modules.mk: Likewise.
26905         * iconv/Makefile: Likewise.
26906         * iconvdata/Makefile: Likewise.
26907         * locale/Makefile: Likewise.
26908         * malloc/Makefile: Likewise.
26909         * nss/Makefile: Likewise.
26910         * sysdeps/gnu/Makefile: Likewise.
26911         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26912         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26913         * sysdeps/s390/s390-64/Makefile: Likewise.
26914         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26915         CPPFLAGS for nscd instead of nonlib.
26917 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26919         * nptl/createthread.c: New file.
26921         * nptl/createthread.c: Moved ...
26922         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26924         * nptl/createthread.c: Add proper top-line comment.
26925         (do_clone): Folded into ...
26926         (create_thread): ... here.  Take new arguments STOPPED_START and
26927         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26928         increment __nptl_threads, do event-reporting logic, do
26929         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26930         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26931         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26932         just send SIGCANCEL.
26933         * nptl/pthread_create.c: Forward-declare create_thread before
26934         including createthread.c.
26935         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26936         declaration, and new macro START_THREAD_SELF to replace argument.
26937         Remove return statement.
26938         (report_thread_creation): New function.
26939         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26940         synchronization logic, and __nptl_nthreads increment here, around
26941         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26942         PD->parent_cancelhandling here, before create_thread.  When
26943         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26944         __deallocate_stack, and ENOMEM translation here.
26946 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26948         [BZ #17616]
26949         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26950         (mptwo): Rename to __mptwo.
26951         (__inv): Use __mptwo instead of mptwo.
26952         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26953         (mptwo): Rename to __mptwo.
26954         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26955         of mpone and __mptwo instead of mptwo.
26956         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26957         instead of mpone.
26958         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26959         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26960         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26961         of mpone and __mptwo instead of mptwo.
26962         (__mpranred): Use __mpone instead of mpone.
26963         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26964         variable.
26965         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26966         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26967         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26968         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26969         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26970         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26971         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26972         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26973         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26974         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26975         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26976         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26977         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26978         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26979         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26980         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26981         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26982         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26983         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26985 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26987         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26988         replace BSD Handler xref with BSD Signal Handling.
26990 2014-11-17  Richard Henderson  <rth@redhat.com>
26992         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26993         (_FP_PACK_RAW_2): Remove.
26994         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26995         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26996         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26997         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26998         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26999         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27000         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27001         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27002         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27003         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27004         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27005         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27006         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27007         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27008         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27009         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27011 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27013         * signal/signal.h [__USE_MISC]
27014         (struct sigvec): Remove type.
27015         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27016         (sigvec): Remove declaration.
27017         * sysdeps/posix/sigvec.c: Moved ...
27018         * signal/sigvec.c: ... here, replacing old file.
27019         (struct sigvec): New type, copied from old signal.h definition.
27020         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27021         (__sigvec): Convert definition to prototype.
27022         (sigvec): Replace weak_alias with compat_symbol.
27023         * signal/Versions (libc: GLIBC_2.21): New version set.
27024         * include/signal.h: Remove __sigvec declaration.
27025         * sysdeps/unix/bsd/sigvec.c: Remove file.
27026         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27027         * manual/signal.texi (BSD Handler): Remove subsection.
27028         Move siginterrupt up to ...
27029         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27030         (Blocking in BSD): Fold subsection into its parent.
27031         * NEWS: Mention sigvec removal.
27033 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27035         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27036         (DLA_FMS): Make definition conditional only on [__FMA4__].
27037         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27038         definition.
27040         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27041         Make definition conditional only on [PROF].
27042         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27043         definition.
27044         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27045         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27047         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27048         !__GNUC__].
27049         * include/signal.h (__sigpause): Move declaration above call to
27050         libc_hidden_proto.
27051         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27052         variable.
27053         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27054         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27056 2014-11-14  David S. Miller  <davem@davemloft.net>
27058         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27059         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27061 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27063         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27064         * configure: Regenerated.
27065         * manual/install.texi (Tools for Compilation): Document a
27066         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27067         compiler verified to work.
27068         * INSTALL: Regenerated.
27070         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27071         redeclare with asm name.
27072         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27073         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27074         including <string.h>.
27075         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27076         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27077         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27078         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27079         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27080         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27081         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27083 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27085         * stdlib/strtol.c (__strtol): Use prototype definition.
27087         [BZ #17594]
27088         * stdlib/strtol.c (SYM__): New macro.
27089         (SYM__1): Likewise.
27090         (__strtol): Likewise.
27091         (strtol): Rename to __strtol and define as weak alias of
27092         __strtol.  Use libc_hidden_weak.
27094 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27096         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27097         Use numbered labels in inline assembly.
27099 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27101         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27102         Add setjmp LIBC_PROBE.
27103         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27104         Likewise.
27105         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27106         Add longjmp, longjmp_target LIBC_PROBE.
27107         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27108         Likewise.
27110 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27112         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27113         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27114         to get rid of unused variable warning.
27116 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27118         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27119         Check for unwind_backtrace ==  NULL only in SHARED case.
27120         (__backchain_backtrace): Compile only in SHARED case.
27121         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27122         Likewise.
27123         (__backchain_backtrace): Declare as static.
27125 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27127         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27128         (__libc_multiple_threads_ptr): Variable moved ...
27129         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27131 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27133         * conform/GlibcConform.pm: New file.
27134         * conform/conformtest.pl: Use GlibcConform module.
27135         * conform/linknamespace.pl: New file.
27136         * conform/list-header-symbols.pl: Likewise.
27137         * conform/Makefile (linknamespace-symlists-base): New variable.
27138         (linknamespace-symlists-tests): Likewise.
27139         (linknamespace-header-base): Likewise.
27140         (linknamespace-header-tests): Likewise.
27141         (tests-special): Add new tests.
27142         ($(linknamespace-symlists-tests)): New rule.
27143         (linknamespace-libs): New variable.
27144         ($(objpfx)symlist-stdlibs): New rule.
27145         ($(linknamespace-header-tests)): Likewise.
27146         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27147         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27148         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27149         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27150         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27151         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27152         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27153         (test-xfail-ISO/math.h/linknamespace): Likewise.
27154         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27155         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27156         (test-xfail-ISO/time.h/linknamespace): Likewise.
27157         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27158         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27159         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27160         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27161         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27162         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27163         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27164         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27165         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27166         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27167         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27168         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27169         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27170         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27171         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27172         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27173         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27174         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27175         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27176         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27177         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27178         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27179         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27180         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27181         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27182         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27183         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27184         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27185         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27186         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27187         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27188         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27189         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27190         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27191         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27192         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27193         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27194         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27195         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27196         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27197         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27198         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27199         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27200         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27201         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27202         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27203         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27204         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27205         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27206         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27207         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27208         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27209         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27210         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27211         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27212         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27213         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27214         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27215         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27216         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27217         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27218         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27219         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27220         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27221         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27222         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27223         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27224         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27225         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27226         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27227         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27228         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27229         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27230         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27231         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27232         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27233         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27234         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27235         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27236         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27237         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27238         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27239         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27240         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27241         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27242         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27243         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27244         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27245         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27246         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27247         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27248         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27249         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27250         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27251         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27252         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27253         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27254         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27255         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27256         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27257         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27258         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27259         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27260         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27261         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27262         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27263         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27264         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27265         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27266         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27267         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27268         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27269         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27270         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27271         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27272         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27273         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27274         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27275         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27276         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27277         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27278         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27279         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27280         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27281         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27282         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27283         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27284         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27285         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27286         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27287         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27288         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27289         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27290         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27291         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27292         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27293         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27294         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27295         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27296         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27297         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27298         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27299         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27300         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27301         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27302         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27303         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27304         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27305         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27306         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27308         [BZ #17589]
27309         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27310         of fgets_unlocked.
27312         [BZ #17585]
27313         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27314         (memmem): Rename to __memmem and define as weak alias of
27315         __memmem.  Use libc_hidden_weak.
27316         (__memmem): Use libc_hidden_def.
27317         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27318         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27319         memmem.
27321         [BZ #17582]
27322         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27323         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27324         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27325         and define as weak alias of __fgets_unlocked.  Use
27326         libc_hidden_weak.
27327         (__fgets_unlocked): Use libc_hidden_def.
27328         * include/stdio.h (__fgets_unlocked): Declare.  Use
27329         libc_hidden_proto.
27330         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27331         __fgets_unlocked instead of fgets_unlocked.
27332         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27333         (GET_NPROCS_CONF_PARSER): Likewise.
27334         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27335         (GET_NPROCS_CONF_PARSER): Likewise.
27337         [BZ #17574]
27338         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27339         weak alias of __wmemset.  Use libc_hidden_weak.
27340         (__wmemset): Use libc_hidden_def.
27341         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27342         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27343         of wmemset.
27345         [BZ #17573]
27346         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27347         with asm name __mempcpy.
27348         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27350         [BZ #17572]
27351         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27352         and define as weak alias of __rawmemchr.
27353         (__rawmemchr): Do not define as strong alias of rawmemchr.
27355         [BZ #17571]
27356         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27357         alias of __qsort_r.
27358         (qsort): Call __qsort_r instead of qsort_r.
27359         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27360         (__qsort_r): Declare.  Call libc_hidden_proto.
27361         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27362         instead of qsort_r.
27363         * nscd/gai.c (__qsort_r): Define to qsort_r.
27364         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27365         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27366         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27368         [BZ #17570]
27369         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27370         define as weak alias of __malloc_info.
27372         [BZ #17584]
27373         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27374         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27375         (__rewinddir): Use libc_hidden_def.
27376         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27377         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27378         (__rewinddir): Use libc_hidden_def.
27379         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27380         weak alias of __rewinddir.  Don't use libc_hidden_def.
27381         (__rewinddir): Use libc_hidden_def.
27382         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27383         (__rewinddir): Use libc_hidden_proto.
27384         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27385         rewinddir.
27386         (__getcwd): Use __rewinddir instead of rewinddir.
27388         [BZ #17583]
27389         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27390         alias of __fileno.  Use libc_hidden_weak.
27391         (__fileno): Use libc_hidden_def.
27392         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27393         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27394         alias of __ftello.
27395         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27396         __ftello.
27397         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27398         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27399         libc_hidden_def.
27400         (fread_unlocked): Don't use libc_hidden_ver.
27401         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27402         and define as weak alias of __fread_unlocked.  Don't use
27403         libc_hidden_def.
27404         (__fread_unlocked): Use libc_hidden_def.
27405         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27406         (ftello): Don't use libc_hidden_proto.
27407         (__ftello): Declare.  Use libc_hidden_proto.
27408         (fread_unlocked): Don't use libc_hidden_proto.
27409         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27410         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27411         and __ftello instead of fileno, fread_unlocked and ftello.
27413 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27415         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27416         GOT12.
27417         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27418         Likewise.
27419         (_dl_start_user): Likewise.
27420         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27422 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27423             Siddhesh Poyarekar  <siddhesh@redhat.com>
27425         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27426         Move argv and envp down instead of moving argc up.
27427         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27429 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27431         [BZ #17506]
27432         * test-skeleton.c (main): Return successful if one of
27433         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27434         * string/tst-strcoll-overflow.c: Define expected status.
27436 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27438         [BZ #17475]
27439         * locale/iso-639.def: Define Bhili and Tulu language codes.
27441 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27443         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27445 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27447         [BZ #17555]
27448         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27450 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27452         * configure.ac: Updated check of minimal required version to
27453         2.22.
27454         * manual/install.texi (Tools for Compilation): Updated version
27455         number.
27456         * configure: Regenerated.
27457         * INSTALL: Likewise.
27459 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27461         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27462         __tls_get_addr.
27464 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27466         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27467         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27468         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27469         libc_hidden_weak.
27470         (waitpid): Define as alias of __waitpid.
27471         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27472         __waitpid.
27473         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27474         libc_hidden_weak.
27475         (waitpid): Define as alias of __waitpid.
27476         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27477         __libc_waitpid alias.
27478         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27479         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27480         Likewise.
27481         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27482         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27483         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27484         alias.
27485         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27486         __waitpid.
27487         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27488         libc_hidden_weak.
27489         (waitpid): Define as alias of __waitpid.
27491 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27493         * manual/llio.texi: Add comment that write safety has been
27494         fixed in Linux.
27496         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27497         (localplt-build-dso): Add elf/ld.so.
27498         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27499         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27500         and free for ld.so.
27501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27502         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27504         Likewise.
27505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27506         Likewise.
27507         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27508         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27509         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27510         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27511         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27512         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27513         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27514         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27515         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27516         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27517         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27519 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27521         [BZ #14132]
27522         * include/libc-symbols.h (INTUSE): Remove macro.
27523         (INTDEF): Likewise.
27524         (INTVARDEF): Likewise.
27525         (_INTVARDEF): Likewise.
27526         (INTDEF2): Likewise.
27527         (INTVARDEF2): Likewise.
27528         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27529         rtld_hidden_def instead of INTVARDEF.
27530         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27531         (_dl_starting_up_internal): Remove declaration.
27532         (_dl_starting_up): Use rtld_hidden_proto.
27533         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27534         declaration.
27535         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27536         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27537         _dl_starting_up.
27538         * elf/dl-writev.h (_dl_writev): Likewise.
27539         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27540         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27541         _dl_starting_up_internal.
27543 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27545         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27546         test-skeleton.c.
27548 2014-11-05  Will Newton  <will.newton@linaro.org>
27550         * benchtests/Makefile: (bench-malloc): Add malloc thread
27551         scalability benchmark.
27552         * benchtests/bench-malloc-threads.c: New file.
27554 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27556         * sysdeps/aarch64/strchrnul.S: New file.
27558 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27560         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27561         definition.
27562         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27563         Likwise.
27564         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27565         Likewise.
27566         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27567         Likewise.
27568         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27569         Likewise.
27570         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27571         Likewise.
27573 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27575         * catgets/test-gencat.c: Use test-skeleton.c.
27576         * catgets/tst-catgets.c: Likewise.
27577         * csu/tst-empty.c: Likewise.
27578         * elf/tst-audit2.c: Likewise.
27579         * elf/tst-global1.c: Likewise.
27580         * elf/tst-pathopt.c: Likewise.
27581         * elf/tst-piemod1.c: Likewise.
27582         * elf/tst-tls10.c: Likewise.
27583         * elf/tst-tls11.c: Likewise.
27584         * elf/tst-tls12.c: Likewise.
27585         * gnulib/tst-gcc.c: Likewise.
27586         * iconvdata/tst-e2big.c: Likewise.
27587         * iconvdata/tst-loading.c: Likewise.
27588         * iconv/tst-iconv1.c: Likewise.
27589         * iconv/tst-iconv2.c: Likewise.
27590         * inet/test-inet6_opt.c: Likewise.
27591         * inet/tst-gethnm.c: Likewise.
27592         * inet/tst-network.c: Likewise.
27593         * inet/tst-ntoa.c: Likewise.
27594         * intl/tst-codeset.c: Likewise.
27595         * intl/tst-gettext2.c: Likewise.
27596         * intl/tst-gettext3.c: Likewise.
27597         * intl/tst-ngettext.c: Likewise.
27598         * intl/tst-translit.c: Likewise.
27599         * io/test-stat.c: Likewise.
27600         * libio/test-fmemopen.c: Likewise.
27601         * libio/tst-freopen.c: Likewise.
27602         * libio/tst-sscanf.c: Likewise.
27603         * libio/tst-ungetwc1.c: Likewise.
27604         * libio/tst-ungetwc2.c: Likewise.
27605         * libio/tst-widetext.c: Likewise.
27606         * localedata/tst-ctype.c: Likewise.
27607         * localedata/tst-digits.c: Likewise.
27608         * localedata/tst-leaks.c: Likewise.
27609         * localedata/tst-mbswcs1.c: Likewise.
27610         * localedata/tst-mbswcs2.c: Likewise.
27611         * localedata/tst-mbswcs3.c: Likewise.
27612         * localedata/tst-mbswcs4.c: Likewise.
27613         * localedata/tst-mbswcs5.c: Likewise.
27614         * localedata/tst-setlocale.c: Likewise.
27615         * localedata/tst-trans.c: Likewise.
27616         * localedata/tst-wctype.c: Likewise.
27617         * localedata/tst-xlocale1.c: Likewise.
27618         * login/tst-grantpt.c: Likewise.
27619         * malloc/tst-calloc.c: Likewise.
27620         * malloc/tst-malloc.c: Likewise.
27621         * malloc/tst-mallocstate.c: Likewise.
27622         * malloc/tst-mcheck.c: Likewise.
27623         * malloc/tst-mtrace.c: Likewise.
27624         * malloc/tst-obstack.c: Likewise.
27625         * math/atest-exp2.c: Likewise.
27626         * math/atest-exp.c: Likewise.
27627         * math/atest-sincos.c: Likewise.
27628         * math/test-matherr.c: Likewise.
27629         * math/test-misc.c: Likewise.
27630         * math/test-powl.c: Likewise.
27631         * math/tst-definitions.c: Likewise.
27632         * misc/tst-dirname.c: Likewise.
27633         * misc/tst-efgcvt.c: Likewise.
27634         * misc/tst-fdset.c: Likewise.
27635         * misc/tst-hsearch.c: Likewise.
27636         * misc/tst-mntent2.c: Likewise.
27637         * nptl/tst-sem7.c: Likewise.
27638         * nptl/tst-sem8.c: Likewise.
27639         * nptl/tst-sem9.c: Likewise.
27640         * nss/test-netdb.c: Likewise.
27641         * posix/tst-fnmatch.c: Likewise.
27642         * posix/tst-getlogin.c: Likewise.
27643         * posix/tst-gnuglob.c: Likewise.
27644         * posix/tst-mmap.c: Likewise.
27645         * pwd/tst-getpw.c: Likewise.
27646         * resolv/tst-inet_ntop.c: Likewise.
27647         * rt/tst-timer.c: Likewise.
27648         * stdio-common/test-fseek.c: Likewise.
27649         * stdio-common/test-popen.c: Likewise.
27650         * stdio-common/test-vfprintf.c: Likewise.
27651         * stdio-common/tst-cookie.c: Likewise.
27652         * stdio-common/tst-fileno.c: Likewise.
27653         * stdio-common/tst-gets.c: Likewise.
27654         * stdio-common/tst-obprintf.c: Likewise.
27655         * stdio-common/tst-perror.c: Likewise.
27656         * stdio-common/tst-sprintf2.c: Likewise.
27657         * stdio-common/tst-sprintf3.c: Likewise.
27658         * stdio-common/tst-sprintf.c: Likewise.
27659         * stdio-common/tst-swprintf.c: Likewise.
27660         * stdio-common/tst-tmpnam.c: Likewise.
27661         * stdio-common/tst-unbputc.c: Likewise.
27662         * stdio-common/tst-wc-printf.c: Likewise.
27663         * stdlib/tst-environ.c: Likewise.
27664         * stdlib/tst-fmtmsg.c: Likewise.
27665         * stdlib/tst-limits.c: Likewise.
27666         * stdlib/tst-rand48-2.c: Likewise.
27667         * stdlib/tst-rand48.c: Likewise.
27668         * stdlib/tst-random2.c: Likewise.
27669         * stdlib/tst-random.c: Likewise.
27670         * stdlib/tst-strtol.c: Likewise.
27671         * stdlib/tst-strtoll.c: Likewise.
27672         * stdlib/tst-tls-atexit.c: Likewise.
27673         * stdlib/tst-xpg-basename.c: Likewise.
27674         * string/test-ffs.c: Likewise.
27675         * string/tst-bswap.c: Likewise.
27676         * string/tst-inlcall.c: Likewise.
27677         * string/tst-strtok.c: Likewise.
27678         * string/tst-strxfrm.c: Likewise.
27679         * sysdeps/x86_64/tst-audit10.c: Likewise.
27680         * sysdeps/x86_64/tst-audit3.c: Likewise.
27681         * sysdeps/x86_64/tst-audit4.c: Likewise.
27682         * sysdeps/x86_64/tst-audit5.c: Likewise.
27683         * time/tst-ftime_l.c: Likewise.
27684         * time/tst-getdate.c: Likewise.
27685         * time/tst-mktime3.c: Likewise.
27686         * time/tst-mktime.c: Likewise.
27687         * time/tst-posixtz.c: Likewise.
27688         * time/tst-strptime2.c: Likewise.
27689         * time/tst-strptime3.c: Likewise.
27690         * wcsmbs/tst-btowc.c: Likewise.
27691         * wcsmbs/tst-mbrtowc.c: Likewise.
27692         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27693         * wcsmbs/tst-wchar-h.c: Likewise.
27694         * wcsmbs/tst-wcpncpy.c: Likewise.
27695         * wcsmbs/tst-wcrtomb.c: Likewise.
27696         * wcsmbs/tst-wcsnlen.c: Likewise.
27697         * wcsmbs/tst-wcstof.c: Likewise.
27699 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27701         [BZ #14132]
27702         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27703         INTDEF.
27704         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27705         declaration.
27706         (_dl_mcount): Use rtld_hidden_proto.
27707         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27708         _dl_mcount.
27709         * elf/rtld.c (_rtld_global_ro): Likewise.
27711         [BZ #14132]
27712         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27713         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27714         of _dl_init_internal.
27715         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27716         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27717         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27718         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27719         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27720         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27721         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27722         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27723         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27724         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27725         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27726         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27727         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27728         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27729         * sysdeps/tile/dl-start.S (_start): Likewise.
27730         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27731         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27733         [BZ #14132]
27734         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27735         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27736         (rtld_progname): Make macro definition unconditional.
27737         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27738         INTDEF.
27739         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27740         (dl_main): Likewise.
27741         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27742         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27743         instead of _dl_argv_internal.
27744         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27745         __GI__dl_argv instead of INTUSE(_dl_argv).
27746         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27747         __GI__dl_argv instead of _dl_argv_internal.
27749         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27750         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27751         macro.
27752         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27753         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27754         New macro.
27755         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27756         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27757         macro.
27758         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27759         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27761 2014-11-04  Andreas Schwab  <schwab@suse.de>
27763         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27765 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27767         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27768         mtvsrd instruction in binary form.
27770 2014-11-03  Andreas Schwab  <schwab@suse.de>
27772         [BZ #17522]
27773         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27774         for less than MB_LEN_MAX use a local buffer of that size.
27775         * libio/tst-fputws.c: New file.
27776         * libio/Makefile (tests): Add tst-fputws.
27778 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27780         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27781         the size of the fpu_fr.fpu_dregs[] array.
27783 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
27785         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27786         (__nanosleep): Do not define as alias.
27787         (nanosleep): Define as alias of __nanosleep.
27788         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27789         __libc_nanosleep name.
27791 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27793         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27794         install.texi in comment.
27796 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27798         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27799         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27800         ... add here and use lwsync or sync ...
27801         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27802         ... and add here using lwsync.
27804 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27806         * elf/dl-machine-reject-phdr.h: New file.
27807         * elf/dl-load.c: #include that.
27808         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27809         if that returned true.
27811 2014-10-31  Roland McGrath  <roland@hack.frob.com>
27813         [BZ #17496]
27814         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27815         gen-as-const-headers chunk.  Add a big scare comment after the last
27816         safe place to touch before-compile.
27818 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27820         * manual/install.texi (Tools for Compilation): Update autoconf
27821         version requirements.
27822         * INSTALL: Regenerated.
27824         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27825         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27826         (__libc_pselect): Likewise.
27828         [BZ #14138]
27829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27834 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27836         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27837         correct barrier instruction.
27838         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27839         Likewise.
27840         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27841         Likewise.
27843 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27845         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27846         after defining inlines.  Instead, just use parens to defeat macro
27847         expansion of __isctype in its declaration.
27849 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27851         * include/sys/uio.h (__libc_readv): Remove declaration.
27852         (__libc_writev): Likewise.
27853         * misc/readv.c (__libc_readv): Rename to __readv.
27854         (__readv): Do not define as alias.
27855         (readv): Define as alias of __readv.
27856         * misc/writev.c (__libc_writev): Rename to __writev.
27857         (__writev): Do not define as alias.
27858         (writev): Define as alias of __writev.
27859         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27860         (__readv): Do not define as alias.
27861         (readv): Define unconditionally as alias of __readv.
27862         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27863         (__writev): Do not define as alias.
27864         (writev): Define unconditionally as alias of __writev.
27865         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27866         name.
27867         (writev): Do not define __libc_writev name.
27869 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27871         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27872         (convert_charseq): New function, broken out of ...
27873         (use_from_charmap): ... here.  Call it.
27874         (use_to_charmap): Use convert_charseq and free instead of duplicating
27875         its code with a variable-length stack struct.
27877 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27879         * include/fcntl.h (__libc_creat): Remove declaration.
27880         * io/creat.c (__libc_creat): Rename to creat.
27881         (creat): Do not define as alias.
27882         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27883         of creat instead of __libc_creat.
27884         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27885         to creat.
27886         (creat): Do not define as alias.
27887         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27888         __libc_creat.
27889         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27890         __libc_creat name.
27891         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27892         Likewise.
27894 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27896         * manual/llio.texi: Add comments discussing why write() may be
27897         considered MT-unsafe on Linux.
27899 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27901         * dl-load.c (local_strdup): Remove.
27902         (expand_dynamic_string_token): Use __strdup.
27903         (decompose_rpath): Likewise.
27904         (_dl_map_object): Likewise.
27906 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27908         [BZ #14132]
27909         * sysdeps/generic/unwind-dw2-fde.c
27910         (__register_frame_info_bases_internal): Do not declare.
27911         (__register_frame_info_table_bases_internal): Likewise.
27912         (__deregister_frame_info_bases_internal): Likewise.
27913         (__register_frame_info_bases): Declare and use hidden_proto before
27914         definition.  Use hidden_def instead of INTDEF.
27915         (__register_frame_info_table_bases): Likewise.
27916         (__deregister_frame_info_bases): Likewise.
27917         (__register_frame_info): Do not use INTUSE.
27918         (__register_frame): Likewise.
27919         (__register_frame_info_table): Likewise.
27920         (__register_frame_table): Likewise.
27921         (__deregister_frame_info): Likewise.
27922         (__deregister_frame): Likewise.
27924 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27926         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27927         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27928         not undefine.
27929         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27930         Likewise.
27931         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27932         Likewise.
27934 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27936         [BZ #14138]
27937         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27938         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27939         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27940         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27941         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27942         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27943         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27944         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27945         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27946         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27947         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27948         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27949         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27950         syscall.
27951         (setfsuid): Likewise.
27952         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27953         (setfsuid): Likewise.
27954         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27955         (setfsuid): Likewise.
27956         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27957         Likewise.
27958         (setfsuid): Likewise.
27959         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27960         (setfsuid): Likewise.
27961         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27962         Likewise.
27963         (setfsuid): Likewise.
27965 2014-10-27  Andreas Schwab  <schwab@suse.de>
27967         [BZ #17501]
27968         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27969         check for Slow_SSE4_2 feature bit.
27970         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27971         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27972         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27973         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27975 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27977         * configure.ac: Validate compiler version with a empirical test of
27978         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27979         $CC -v output.
27980         * configure: Regenerated.
27982         * inet/htons.c (htons): Prototypify.
27983         * inet/htonl.c (htonl): Likewise.
27985 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27987         * string/strncat.c (strncat): Improve performance by using strlen.
27989 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27991         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27993 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27995         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27996         Call libc_fetestexcept_aarch64.
27998 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28000         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28001         Call libc_feholdexcept_aarch64.
28003 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28005         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28006         Call get_rounding_mode.
28008 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28010         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28011         Simplify logic.
28013 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28015         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28016         Simplify logic.
28018 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28020         [BZ #14138]
28021         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28022         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28023         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28024         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28025         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28026         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28027         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28028         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28029         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28030         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28031         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28032         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28033         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28034         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28035         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28036         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28037         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28038         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28039         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28040         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28041         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28042         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28043         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28044         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28045         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28046         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28047         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28048         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28049         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28050         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28051         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28052         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28053         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28054         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28055         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28056         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28057         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28058         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28059         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28060         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28061         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28062         syscall.
28063         (geteuid): Likewise.
28064         (getgid): Likewise.
28065         (getuid): Likewise.
28066         (getresgid): Likewise.
28067         (getresuid): Likewise.
28068         (getgroups): Likewise.
28069         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28070         (geteuid): Likewise.
28071         (getgid): Likewise.
28072         (getuid): Likewise.
28073         (getresgid): Likewise.
28074         (getresuid): Likewise.
28075         (getgroups): Likewise.
28076         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28077         (geteuid): Likewise.
28078         (getgid): Likewise.
28079         (getuid): Likewise.
28080         (getresgid): Likewise.
28081         (getresuid): Likewise.
28082         (getgroups): Likewise.
28083         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28084         Likewise.
28085         (geteuid): Likewise.
28086         (getgid): Likewise.
28087         (getuid): Likewise.
28088         (getresgid): Likewise.
28089         (getresuid): Likewise.
28090         (getgroups): Likewise.
28091         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28092         (geteuid): Likewise.
28093         (getgid): Likewise.
28094         (getuid): Likewise.
28095         (getresgid): Likewise.
28096         (getresuid): Likewise.
28097         (getgroups): Likewise.
28098         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28099         Likewise.
28100         (geteuid): Likewise.
28101         (getgid): Likewise.
28102         (getuid): Likewise.
28103         (getgroups): Likewise.
28105         [BZ #14138]
28106         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28107         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28108         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28109         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28110         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28111         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28112         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28113         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28114         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28115         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28116         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28117         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28118         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28119         __chown.
28120         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28121         (lchown): Likewise.
28122         (fchown): Likewise.
28123         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28124         Likewise.
28125         (lchown): Likewise.
28126         (fchown): Likewise.
28127         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28128         (lchown): Likewise.
28129         (fchown): Likewise.
28130         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28131         Likewise.
28132         (lchown): Likewise.
28133         (fchown): Likewise.
28135 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28137         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28138         Simplify logic.
28140 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28142         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28143         Cleanup logic.
28145 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28147         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28148         Remove unused include.
28150 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28152         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28153         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28154         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28155         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28157 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28158             Helge Deller <deller@gmx.de>
28160         [BZ #17508]
28161         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28162         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28163         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28165 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28167         [BZ #14132]
28168         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28169         Remove macro definition.
28170         (__ashrdi3_v_glibc20): Likewise.
28171         (__lshrdi3_v_glibc20): Likewise.
28172         (__cmpdi2_v_glibc20): Likewise.
28173         (__ucmpdi2_v_glibc20): Likewise.
28174         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28175         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28176         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28177         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28178         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28179         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28181 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28183         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28184         old GNU extension [0] syntax.
28185         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28186         alloca rather than an array member with variable length.
28187         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28188         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28189         (parse_opt): ... here.  Likewise use alloca there.
28190         Validate the -i argument before checking for rootness.
28191         (send_shutdown): New function, broken out of ...
28192         (parse_opt): ... here.
28194 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28196         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28197         macro to get at the _rt_local_ro field.
28198         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28199         ([PIC] case) or _dl_hwcap ([!PIC] case).
28200         * sysdeps/arm/setjmp.S: Likewise.
28202         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28203         * sysdeps/arm/configure.ac: New check to define it.
28204         * sysdeps/arm/configure: Regenerated.
28205         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28206         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28207         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28208         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28209         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28210         Use move/movt pair instead of a load.
28211         (LDST_GLOBAL): Macro removed.
28212         (LDR_GLOBAL): New macro replaces it.
28213         (LDR_HIDDEN): New macro.
28214         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28215         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28217         * setjmp/tst-setjmp-static.c: New file.
28218         * setjmp/Makefile (tests): Add it.
28219         (tests-static): New variable.
28221 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28223         [BZ #17485]
28224         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28226 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28228         [BZ #14132]
28229         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28231 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28233         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28235 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28237         * io/fts.c (dirent_not_directory): New function.
28238         (fts_build): Call it.
28240 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28242         * nptl/version.c (__nptl_main): Use normal __write rather than
28243         INTERNAL_SYSCALL.
28244         (banner): Update copyright years.
28246         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28247         gettimeofday.
28248         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28249         * nptl/pthread_cond_timedwait.c: Likewise.
28250         * nptl/pthread_mutex_timedlock.c: Likewise.
28251         * nptl/sem_timedwait.c: Likewise.
28253         * sysdeps/nptl/bits/libc-lock.h
28254         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28255         (__libc_lock_init_recursive): Return void, not 0.
28256         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28257         (__libc_rwlock_init): Likewise.
28258         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28260 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28262         [BZ #15215]
28263         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28264         (__pthread_once_slow): ... here.
28265         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28266         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28268 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28270         [BZ #15215]
28271         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28272         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28273         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28274         * nptl/pthread_once.c (__pthread_once): Likewise.
28275         Update comments.
28277 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28279         [BZ #14138]
28280         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28281         name.
28282         (writev): Use __libc_writev as strong name.
28283         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28284         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28286 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28288         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28290         * sysdeps/i386/nptl/tls.h
28291         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28292         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28293         New macros.
28294         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28295         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28296         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28297         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28298         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28299         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28301         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28302         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28303         on [__NR_futex].
28304         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28305         broken out of ...
28306         (__pthread_mutex_init): ... here.  Call it.
28307         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28308         Conditionalize PI cases on [__NR_futex].
28309         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28310         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28311         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28313         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28314         conditional on [SIGSETXID].
28315         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28316         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28317         is defined.  Likewise for SIGSETXID.
28318         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28319         Conditionalize definitions on [SIGSETXID].
28320         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28321         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28322         unblocking on [SIGCANCEL].
28324         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28325         [__NR_set_robust_list].
28327 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28329         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28330         (do_compare): Likewise.
28332 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28334         [BZ #15884]
28335         * string/strcoll_l.c: Don't include stdio.h.
28336         (coll_seq): Remove members idxarr and rulearr.
28337         (get_next_seq_cached): Remove function.
28338         (get_next_seq): Likewise.
28339         (get_next_seq_nocache): Rename to get_next_seq.
28340         (do_compare): Remove function.
28341         (do_compare_nocache): Rename to do_compare.
28342         (STRCOLL): Remove weight and rules cache.
28344 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28346         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28347         * sysdeps/arm/sfp-machine.h: ... to here.
28348         * sysdeps/arm/Implies: Remove arm/soft-fp.
28350 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28352         * conform/data/sys/utsname.h-data (*_t): Allow.
28353         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28354         [POSIX] (WEXITED): Do not expect constant.
28355         [POSIX] (WSTOPPED): Likewise.
28356         [POSIX] (WNOHANG): Likewise.
28357         [POSIX] (WNOWAIT): Likewise.
28358         [POSIX] (siginfo_t): Do not expect type or elements.
28359         [POSIX] (pid_t): Do not expect type.
28360         [POSIX] (signal.h): Do not allow header.
28361         [POSIX] (sys/resource.h): Likewise.
28362         [POSIX] (si_*): Do not allow pattern.
28363         [POSIX] (W*): Likewise.
28364         [POSIX] (P_*): Likewise.
28365         [POSIX] (BUS_*): Likewise.
28366         [POSIX] (CLD_*): Likewise.
28367         [POSIX] (FPE_*): Likewise.
28368         [POSIX] (ILL_*): Likewise.
28369         [POSIX] (POLL_*): Likewise.
28370         [POSIX] (SEGV_*): Likewise.
28371         [POSIX] (SI_*): Likewise.
28372         [POSIX] (TRAP_*): Likewise.
28373         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28374         variable.
28376 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28378         [BZ #12926]
28379         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28380         infinite loop when __recvmsg returns 0.
28382 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28384         * CANCEL-FCT-WAIVE: Remove file.
28385         * CANCEL-FILE-WAIVE: Likewise.
28387         [BZ #14132]
28388         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28389         instead of INTVARDEF.
28390         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28391         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28392         rtld_hidden_data_def instead of INTVARDEF.
28393         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28394         * elf/dl-deps.c (expand_dst): Likewise.
28395         * elf/dl-load.c (_dl_dst_count): Likewise.
28396         (_dl_dst_substitute): Likewise.
28397         (decompose_rpath): Likewise.
28398         (_dl_init_paths): Likewise.
28399         (open_path): Likewise.
28400         (_dl_map_object): Likewise.
28401         * elf/rtld.c (dl_main): Likewise.
28402         (process_dl_audit): Likewise.
28403         (process_envvars): Likewise.
28404         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28405         Remove declaration.
28406         (__libc_enable_secure): Use rtld_hidden_proto.
28408 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28410         * elf/dl-load.c
28411         (add_path): New function broken out of _dl_rtld_di_serinfo.
28412         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28414 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28416         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28417         parentheses around macro arguments.
28418         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28419         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28420         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28423         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28424         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28427         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28428         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28429         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28430         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28431         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28432         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28433         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28434         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28435         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28436         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28437         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28438         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28441         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28442         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28445         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28446         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28447         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28448         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28449         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28450         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28451         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28452         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28453         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28454         Likewise.
28455         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28456         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28457         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28459         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28460         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28461         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28462         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28463         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28464         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28465         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28466         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28467         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28468         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28469         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28470         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28472         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28473         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28474         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28476         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28477         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28478         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28479         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28480         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28481         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28482         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28483         (_FP_FRAC_SRS_1): Likewise.
28484         (_FP_FRAC_CLZ_1): Likewise.
28485         (_FP_MUL_MEAT_1_imm): Likewise.
28486         (_FP_MUL_MEAT_1_wide): Likewise.
28487         (_FP_MUL_MEAT_1_hard): Likewise.
28488         (_FP_SQRT_MEAT_1): Likewise.
28489         (_FP_FRAC_ASSEMBLE_1): Likewise.
28490         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28491         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28492         (__FP_CLZ_2): Likewise.
28493         (_FP_MUL_MEAT_2_wide): Likewise.
28494         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28495         (_FP_MUL_MEAT_2_gmp): Likewise.
28496         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28497         (_FP_SQRT_MEAT_2): Likewise.
28498         (_FP_FRAC_ASSEMBLE_2): Likewise.
28499         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28500         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28501         (_FP_FRAC_CLZ_4): Likewise.
28502         (_FP_MUL_MEAT_4_wide): Likewise.
28503         (_FP_MUL_MEAT_4_gmp): Likewise.
28504         (_FP_SQRT_MEAT_4): Likewise.
28505         (_FP_FRAC_ASSEMBLE_4): Likewise.
28506         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28507         * soft-fp/op-common.h (_FP_CMP): Likewise.
28508         (_FP_CMP_EQ): Likewise.
28509         (_FP_CMP_UNORD): Likewise.
28510         (_FP_TO_INT): Likewise.
28511         (_FP_FROM_INT): Likewise.
28512         [!__FP_CLZ] (__FP_CLZ): Likewise.
28513         (_FP_DIV_HELP_imm): Likewise.
28514         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28515         Likewise.
28516         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28517         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28518         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28519         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28520         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28521         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28522         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28523         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28524         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28525         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28526         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28527         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28528         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28529         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28530         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28531         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28532         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28533         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28534         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28535         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28536         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28537         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28538         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28539         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28540         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28541         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28542         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28543         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28544         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28545         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28546         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28547         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28548         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28549         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28550         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28551         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28552         (FP_UNPACK_RAW_SP): Likewise.
28553         (FP_PACK_RAW_S): Likewise.
28554         (FP_PACK_RAW_SP): Likewise.
28555         (FP_UNPACK_S): Likewise.
28556         (FP_UNPACK_SP): Likewise.
28557         (FP_UNPACK_SEMIRAW_S): Likewise.
28558         (FP_UNPACK_SEMIRAW_SP): Likewise.
28559         (FP_PACK_S): Likewise.
28560         (FP_PACK_SP): Likewise.
28561         (FP_PACK_SEMIRAW_S): Likewise.
28562         (FP_PACK_SEMIRAW_SP): Likewise.
28563         (_FP_SQRT_MEAT_S): Likewise.
28564         (FP_CMP_S): Likewise.
28565         (FP_CMP_EQ_S): Likewise.
28566         (FP_CMP_UNORD_S): Likewise.
28567         (FP_TO_INT_S): Likewise.
28568         (FP_FROM_INT_S): Likewise.
28570         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28572         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28573         (FP_EX_INVALID_IMZ): Likewise.
28574         (FP_EX_INVALID_IMZ_FMA): Likewise.
28575         (FP_EX_INVALID_ISI): Likewise.
28576         (FP_EX_INVALID_ZDZ): Likewise.
28577         (FP_EX_INVALID_IDI): Likewise.
28578         (FP_EX_INVALID_SQRT): Likewise.
28579         (FP_EX_INVALID_CVI): Likewise.
28580         (FP_EX_INVALID_VC): Likewise.
28581         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28582         "invalid" exceptions.
28583         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28584         (_FP_ADD_INTERNAL): Likewise.
28585         (_FP_MUL): Likewise.
28586         (_FP_FMA): Likewise.
28587         (_FP_DIV): Likewise.
28588         (_FP_CMP_CHECK_NAN): Likewise.
28589         (_FP_SQRT): Likewise.
28590         (_FP_TO_INT): Likewise.
28591         (FP_EXTEND): Likewise.
28593 2014-10-09  Allan McRae  <allan@archlinux.org>
28595         * po/fr.po: Update French translation from translation project.
28597 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28599         [BZ #14132]
28600         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28601         of INTDEF.
28602         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28603         (__cxa_atexit): Use libc_hidden_proto.
28604         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28606         [BZ #14132]
28607         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28608         declaration.
28609         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28610         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28611         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28612         [!_ISOMAC] (__iswctype_internal): Likewise.
28613         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28614         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28615         alias.
28616         (fcntl): Remove __fcntl_internal alias.
28617         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28618         __connect_internal alias.
28619         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28620         Likewise.
28622         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28623         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28624         FP_DENORM_ZERO.
28625         (_FP_CHECK_FLUSH_ZERO): New macro.
28626         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28627         (_FP_CMP): Likewise.
28628         (_FP_CMP_EQ): Likewise.
28629         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28630         FP_DENORM_ZERO.
28631         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28632         (FP_TRUNC): Likewise.
28634         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28635         treated as invalid conversion, not as normal exponent.
28637         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28638         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28639         (_FP_CMP_EQ): Likewise.
28640         (_FP_CMP_UNORD): Likewise.
28641         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28642         (FP_CMP_EQ_D): Likewise.
28643         (FP_CMP_UNORD_D): Likewise.
28644         * soft-fp/extended.h (FP_CMP_E): Likewise.
28645         (FP_CMP_EQ_E): Likewise.
28646         (FP_CMP_UNORD_E): Likewise.
28647         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28648         (FP_CMP_EQ_Q): Likewise.
28649         (FP_CMP_UNORD_Q): Likewise.
28650         * soft-fp/single.h (FP_CMP_S): Likewise.
28651         (FP_CMP_EQ_S): Likewise.
28652         (FP_CMP_UNORD_S): Likewise.
28653         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28654         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28655         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28656         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28657         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28658         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28659         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28660         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28661         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28662         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28663         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28664         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28665         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28666         to FP_CMP_Q.
28667         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28668         FP_CMP_Q.
28669         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28670         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28671         FP_CMP_EQ_Q.
28672         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28673         FP_CMP_Q.
28674         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28675         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28676         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28677         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28678         FP_CMP_EQ_Q.
28679         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28680         FP_CMP_Q.
28681         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28682         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28683         FP_CMP_EQ_Q.
28684         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28685         FP_CMP_Q.
28686         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28687         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28688         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28689         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28690         FP_CMP_EQ_Q.
28692         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28693         a subnormal result, set the underflow exception if trapping on
28694         underflow is enabled.
28695         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28696         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28697         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28698         redefine to 0.
28699         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28700         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28701         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28702         * soft-fp/extendxftf2.c (__extendxftf2): Use
28703         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28705         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28706         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28707         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28708         FP_HANDLE_EXCEPTIONS.
28709         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28710         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28711         FP_HANDLE_EXCEPTIONS.
28712         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28713         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28714         FP_HANDLE_EXCEPTIONS.
28715         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28716         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28717         FP_HANDLE_EXCEPTIONS.
28719 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28721         [BZ #14132]
28722         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28723         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28724         use INTUSE.
28725         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28726         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28727         Remove alias.
28728         (__adjtimex): Define using libc_hidden_ver.
28729         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28730         Remove declaration.
28731         (ntp_gettime): Call __adjtimex directly.
28732         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28733         Remove declaration.
28734         (ntp_gettimex): Call __adjtimex directly.
28735         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28736         __adjtimex_internal alias.
28738 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28740         [BZ #17460]
28741         * nscd/nscd.c (more_help): Rewrite list of tables collection
28742         using xstrdup and asprintf.
28744         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28746 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28747             Roland McGrath  <roland@hack.frob.com>
28749         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28750         (do_lookup_unique): ... local function 'enter' here; update callers.
28752 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28754         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28755         compat_symbol calls on [SHARED].
28756         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28757         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28758         Remove.
28759         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28760         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28761         (oldsetrlimit): Remove.
28762         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28764         (lchown): New syscall entry.
28765         (oldsetrlimit): Remove.
28766         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28767         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28768         (oldsetrlimit): Remove.
28769         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28771         [BZ #14138]
28772         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28773         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28774         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28775         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28776         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28777         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28778         (fchown): Likewise.
28779         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28780         (fchown): Likewise.
28781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28782         Likewise.
28784 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28786         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28787         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28788         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28789         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28790         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28791         Likewise.
28792         (__old_sem_post): Likewise.
28794 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
28796         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28797         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28798         HAVE_CLOCK_GETTIME_VSYSCALL macros.
28799         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28800         Use INLINE_VSYSCALL macro.
28801         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28802         __vdso_clock_gettime.
28803         * sysdeps/unix/sysv/linux/tile/init-first.c
28804         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28805         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28806         __vdso_clock_gettime.
28808         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28809         to set up frame more cleanly.
28811         * sysdeps/tile/memcmp.c: New file.
28813         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28815         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28816         * sysdeps/tile/tilegx/strcasestr.c: New file.
28817         * sysdeps/tile/tilegx/strnlen.c: New file.
28818         * sysdeps/tile/tilegx/strstr.c: New file.
28820         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28822 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
28824         * nptl/tst-setuid3.c: Write errors to stdout.
28826 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28828         * elf/dl-deps.c
28829         (preload): New functions broken out of _dl_map_object_deps.
28830         (_dl_map_object_deps):  Remove a nested function. Update call sites.
28832 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
28834         [BZ #14138]
28835         * sysdeps/unix/sysv/linux/execve.c: Remove file.
28836         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28838 2014-10-01  Steve Ellcey  <sellcey@mips.com>
28840         * sysdeps/mips/strcmp.S: New.
28842 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
28844         [BZ #14138]
28845         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28846         (linkat): Likewise.
28847         (mkdirat): Likewise.
28848         (readlinkat): Likewise.
28849         (renameat): Likewise.
28850         (symlinkat): Likewise.
28851         (unlinkat): Likewise.
28852         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28853         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28854         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28855         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28856         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28857         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28858         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28860 2014-09-30  Will Newton  <will.newton@linaro.org>
28862         * math/math.h: Define long double math functions if
28863         _LIBC_TEST is defined.
28864         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28866         * localedata/Makefile: Move assignment to tests-special
28867         into an ifdef testing run-built-tests.
28868         * timezone/Makefile: Likewise.
28870 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28872         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28873         with $(BASH) not $(SHELL).
28875 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28876             Matthew LeGendre  <legendre1@llnl.gov>
28878         [BZ #17411]
28879         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28880         l_reloc_result.
28882 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28884         * stdio-common/printf_fp.c
28885         (hack_digit): New function, broken out of ...
28886         (__printf_fp): ... local function here.  Update call sites.
28887         hack_digit now takes an additional parameter that is a pointer
28888         to a struct of the referenced locals.  Those locals moved inside
28889         the struct and references updated.
28891 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28893         * aclocal.m4: Require autoconf 2.69.
28894         * configure: Regenerated.
28895         * sysdeps/aarch64/configure: Likewise.
28896         * sysdeps/alpha/configure: Likewise.
28897         * sysdeps/arm/armv7/configure: Likewise.
28898         * sysdeps/arm/configure: Likewise.
28899         * sysdeps/ia64/configure: Likewise.
28900         * sysdeps/mach/configure: Likewise.
28901         * sysdeps/mips/configure: Likewise.
28902         * sysdeps/s390/configure: Likewise.
28903         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28906         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28907         file.
28908         * sysdeps/ia64/configure.ac: Likewise.
28910 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28913         specify symbol version for ld.so.  Do not include entry for
28914         libpthread.
28915         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28916         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28917         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28919         [BZ #14171]
28920         * Makeconfig [$(build-shared) = yes]
28921         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28922         makefiles.
28923         [$(build-shared) = yes && $(soversions.mk-done) = t]
28924         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28925         [$(build-shared) = yes && $(soversions.mk-done) = t]
28926         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28927         to Makerules.
28928         [$(build-shared) = yes && $(soversions.mk-done) = t]
28929         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28930         here.
28931         [$(build-shared) = yes && $(soversions.mk-done) = t]
28932         (common-generated): Don't append gnu/lib-names.h and
28933         gnu/lib-names.stmp here.
28934         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28935         (lib-names-h-abi): New variable.
28936         [$(build-shared) = yes && $(soversions.mk-done) = t]
28937         (lib-names-stmp-abi): Likewise.
28938         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28939         abi-variants] (before-compile): Append
28940         $(common-objpfx)$(lib-names-h-abi).
28941         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28942         abi-variants] (common-generated): Append gnu/lib-names.h.
28943         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28944         abi-variants] (install-others-nosubdir): Depend on
28945         $(inst_includedir)/$(lib-names-h-abi).
28946         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28947         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28948         [$(build-shared) = yes && $(soversions.mk-done) = t]
28949         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28950         [$(build-shared) = yes && $(soversions.mk-done) = t]
28951         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28952         [$(build-shared) = yes && $(soversions.mk-done) = t]
28953         (common-generated): Append $(lib-names-h-abi) and
28954         $(lib-names-stmp-abi).
28955         * scripts/lib-names.awk: Do not handle multi being set.
28956         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28957         Remove variable.
28958         (abi-lp64_be-ld-soname): Likewise.
28959         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28960         Likewise.
28961         (abi-hard-ld-soname): Likewise.
28962         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28963         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28964         Remove variable.
28965         (abi-o32_hard-ld-soname): Likewise.
28966         (abi-o32_soft_2008-ld-soname): Likewise.
28967         (abi-o32_hard_2008-ld-soname): Likewise.
28968         (abi-n32_soft-ld-soname): Likewise.
28969         (abi-n32_hard-ld-soname): Likewise.
28970         (abi-n32_soft_2008-ld-soname): Likewise.
28971         (abi-n32_hard_2008-ld-soname): Likewise.
28972         (abi-n64_soft-ld-soname): Likewise.
28973         (abi-n64_hard-ld-soname): Likewise.
28974         (abi-n64_soft_2008-ld-soname): Likewise.
28975         (abi-n64_hard_2008-ld-soname): Likewise.
28976         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28977         Likewise.
28978         (abi-64-v2-ld-soname): Likewise.
28979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28980         ld.so entries.
28981         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28982         variable.
28983         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28984         entry.
28985         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28986         variable.
28987         (abi-64-ld-soname): Likewise.
28988         (abi-x32-ld-soname): Likewise.
28989         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28990         entry.
28991         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28993 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28995         [BZ #14138]
28996         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28997         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28998         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28999         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29000         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29001         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29002         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29003         syscall entry for GLIBC_2.2 symbol version.
29004         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29005         Likewise.
29006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29007         (setrlimit): Likewise.
29008         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29009         Likewise.
29011 2014-09-23  Will Newton  <will.newton@linaro.org>
29013         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29014         _LINUX_ARM_SYSDEP_H include guard too.
29015         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29016         define.
29018 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29020         * sysdeps/unix/sysv/linux/eventfd.c:
29021         Make first argument unsigned.
29022         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29023         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29025 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29027         [BZ #16852]
29028         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29029         * socket/sys/socket.h: Likewise.
29030         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29032 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29034         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29036 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29038         * time/tst-ftime.c: New test.
29039         * time/Makefile (tests): Add tst-ftime.
29041 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29043         * soft-fp/extended.h: Fix comment formatting.
29044         * soft-fp/op-1.h: Likewise.
29045         * soft-fp/op-2.h: Likewise.
29046         * soft-fp/op-4.h: Likewise.
29047         * soft-fp/op-8.h: Likewise.
29048         * soft-fp/op-common.h: Likewise.
29049         * soft-fp/soft-fp.h: Likewise.
29051         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29053 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29055         [BZ #6652]
29056         * Makeconfig (soversions-default-setname): Remove variable.
29057         ($(common-objpfx)soversions.i): Don't pass default_setname to
29058         soversions.awk.
29059         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29060         oldest_abi to abi-versions.awk.
29061         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29062         * config.make.in (oldest-abi): Remove variable.
29063         * configure.ac (--enable-oldest-abi): Remove configure option.
29064         * configure: Regenerated.
29065         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29066         text.
29067         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29068         * scripts/soversions.awk: Do not handle default_setname variable.
29069         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29070         variable.
29071         * sysdeps/mach/hurd/configure: Regenerated.
29072         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29073         variable.
29074         * sysdeps/unix/sysv/linux/configure: Regenerated.
29076 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29078         * elf/Makefile (CFLAGS-interp.c): Remove.
29079         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29080         path string.
29081         * elf/interp.c: Include generated runtime-linker.h
29083         * Makerules (lib%.so): Don't include $(+interp) in
29084         prerequisites.
29085         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29086         * dlfcn/eval.c: Remove file.
29088         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29089         macros.
29091         [BZ #17266]
29092         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29093         4.2 and newer.
29095         [BZ #17370]
29096         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29098 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29099             Jakub Jelinek  <jakub@redhat.com>
29101         [BZ #17266]
29102         * libio/stdio.h: Check definition of __fortify_function
29103         instead of __extern_always_inline to include bits/stdio2.h.
29104         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29105         check if __extern_always_inline is defined.
29106         [__USE_MISC || __USE_XOPEN]: Likewise.
29107         [__USE_ISOC99] Likewise.
29108         * misc/sys/cdefs.h (__fortify_function): Define only if
29109         __extern_always_inline is defined.
29110         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29111         __extern_always_inline and __extern_inline only for g++-4.3
29112         and newer or a compatible gcc.
29114 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29116         [BZ #17371]
29117         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29118         last change to handle zero prefix length.
29120 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29122         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29123         _SC_REGEX_VERSION.
29125         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29126         _POSIX_RAW_SOCKETS.
29128 2014-09-13  Allan McRae  <allan@archlinux.org>
29130         * po/ru.po: Update Russian translation from translation project.
29132 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29134         * locale/programs/locale.c (show_locale_vars): Inline local function
29135         into its sole call site.  Clean up some style nits.
29136         (print_item): New function, broken out of ...
29137         (show_info): ... local function here.  Clean up style nits.
29139         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29140         out of ...
29141         (set_class_defaults): ... local function set_default here.
29142         Define set_default as a macro locally to pass constant parameters.
29143         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29144         rather than a shared local.
29146         * stdlib/rpmatch.c (try): New function, broken out of ...
29147         (rpmatch): ... local function here.  Also, prototypify definition.
29149 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29151         * scripts/soversions.awk: Do not handle configuration names.
29152         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29153         vendor and os variables to soversions.awk.
29154         * configure.ac: Do not modify gnu-* host_os.
29155         * configure: Regenerated
29156         * shlib-versions: Remove first column with configuration names.
29157         * nptl/shlib-versions: Likewise.
29158         * nptl_db/shlib-versions: Likewise.
29159         * sysdeps/hppa/shlib-versions: Likewise.
29160         * sysdeps/m68k/shlib-versions: Likewise.
29161         * sysdeps/mach/hurd/shlib-versions: Likewise.
29162         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29163         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29164         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29165         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29166         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29167         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29168         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29169         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29171         Likewise.
29172         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29173         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29174         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29175         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29176         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29177         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29178         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29179         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29182         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29184         Regenerated.
29185         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29187         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29189         * shlib-versions: Remove OS-specific entries.  Moved to files in
29190         sysdeps.
29191         * sysdeps/mach/hurd/shlib-versions: New file.
29192         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29194         * nptl/shlib-versions: Remove architecture-specific entries.
29195         Moved to files in sysdeps.
29196         * shlib-versions: Likewise.
29197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29198         file.
29199         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29200         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29201         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29202         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29204         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29205         (UDP_NO_CHECK6_RX): Likewise.
29207 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29209         * sysdeps/posix/sysconf.c (__sysconf): Spell
29210         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29212 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29214         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29215         loading.
29216         * iconv/Versions (__gconv_transliterate): Export for use from
29217         gconv modules.
29218         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29219         (struct __gconv_trans_data, __gconv_trans_fct,
29220         __gconv_trans_context_fct, __gconv_trans_query_fct,
29221         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29222         definitions.
29223         (struct __gconv_step_data): Remove __trans member.
29224         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29225         longer hidden.  Remove unused trans_data argument.
29226         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29227         (__gconv_translit_find): Remove declaration.
29228         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29229         prototype.
29230         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29231         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29232         trans_data argument.  Add hidden definition.
29233         (__gconv_translit_find): Remove.
29234         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29235         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29236         * iconv/skeleton.c: Remove transliteration initialization.
29237         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29238         __gconv_step_data initialization.
29239         * libio/iofwide.c (__libio_translit_): Remove.
29240         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29241         * wcsmbs/btowc.c (__btowc): Likewise.
29242         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29243         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29244         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29245         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29246         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29247         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29248         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29249         * wcsmbs/wctob.c (wctob): Likewise.
29251 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29253         [BZ #16194]
29254         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29255         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29256         register usage.
29257         * sysdeps/x86/Makefile: Adjust.
29259 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29260             Roland McGrath  <roland@hack.frob.com>
29262         * locale/weight.h: Add include guard.
29263         (findidx): Make static rather than auto; take new parameters
29264         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29265         * locale/weightwc.h: Likewise.
29266         * posix/fnmatch_loop.c
29267         (FCT): Change type of EXTRA from int32_t to wint_t.
29268         Don't include either header inside the function.
29269         Call FINDIDX rather than findidx, and pass new arguments.
29270         #undef FINDIDX at the end of the file.
29271         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29272         FINDIDX before including fnmatch_loop.c for the non-wide version.
29273         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29274         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29275         for the wide version.
29276         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29277         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29278         Pass new arguments to findidx.
29279         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29280         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29281         Don't #include it inside the function.  Pass new arguments to findidx.
29282         * posix/regex_internal.h
29283         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29284         (re_string_elem_size_at): Don't #include it inside the function.
29285         Pass new arguments to findidx.
29286         * string/strcoll_l.c: #include WEIGHT_H at top level.
29287         (get_next_seq): Don't #include it inside the function.
29288         Pass new arguments to findidx.
29289         (get_next_seq_nocache): Likewise.
29290         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29291         (STRXFRM): Don't #include it inside the function.
29292         Pass new arguments to findidx.
29294 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29296         [BZ #17344]
29297         * malloc/malloc.c (unlink): Turn asserts into a call to
29298         malloc_printerr.
29300 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29302         [BZ #17370]
29303         * libio/wfileops (do_ftell_wide): Free OUT.
29305 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29307         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29309 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29311         [BZ #17363]
29312         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29313         group if the current group is empty.
29315 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29317         * benchtests/bench-memset.c (test_main): Add more test from size
29318         from 32 to 512 bytes.
29319         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29320         Add POWER8 memset object.
29321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29322         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29323         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29324         implementation.
29325         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29326         Likewise.
29327         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29328         multiarch POWER8 memset optimization.
29329         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29330         POWER8 memset optimization.
29332         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29333         Remove bzero multiarch objects.
29334         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29335         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29336         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29337         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29338         Remove define.
29339         [__bzero]: Redefine to specific name.
29340         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29341         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29342         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29343         define.
29344         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29345         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29347 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29349         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29350         warnings into errors.
29352         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29353         __cxa_thread_atexit_impl prototype.
29355 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29357         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29358         Fix capitalization of error message.
29360 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29362         * sysdeps/mips/preconfigure: Modify ABI tests.
29364 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29366         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29368 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29369             Carlos O'Donell  <carlos@systemhalted.org>
29371         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29372         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29373         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29374         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29375         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29376         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29377         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29378         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29379         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29380         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29381         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29382         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29383         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29384         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29385         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29386         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29387         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29388         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29389         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29390         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29391         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29392         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29393         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29394         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29395         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29396         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29397         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29398         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29399         Deconditionalize the code that was previously under [RESET_PID].
29400         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29401         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29402         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29403         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29404         include sysdep.h.
29406 2014-09-08  Allan McRae  <allan@archlinux.org>
29408         * version.h (RELEASE): Set to "development".
29409         (VERSION): Set to "2.20.90"
29411 2014-09-07  Allan McRae  <allan@archlinux.org
29413         * version.h (RELEASE): Set to "stable".
29414         (VERSION): Set to "2.20"
29415         * include/features.h (__GLIBC_MINOR__): Set to 20.
29417         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29418         Liebler.
29420         * po/ko.po: Update Korean translation from translation project.
29422 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29424         [BZ #17354]
29425         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29426         macro for handling signed relocations.
29428 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29430         [BZ #17325]
29431         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29432         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29433         assert.
29434         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29435         * iconvdata/ibm935.c (BODY): Likewise.
29436         * iconvdata/ibm937.c (BODY): Likewise.
29437         * iconvdata/ibm939.c (BODY): Likewise.
29438         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29439         assert.
29440         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29441         script.
29442         * iconvdata/run-iconv-test.sh: New test loop for checking for
29443         decoder crashers.
29445 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29447         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29448         libm_hidden_ver.
29450 2014-09-01  Allan McRae  <allan@archlinux.org>
29452         * po/eo.po: Update Esperanto translation from translation project.
29454         * po/ca.po: Update Catalan translation from translation project.
29456 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29458         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29459         __proc_dostop call.
29461 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29463         [BZ #17319]
29464         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29465         to call set_thread_area instead of hand written asm.
29466         (__NR_set_thread_area): Removed define.
29467         (TLS_FLAG_WRITABLE): Likewise.
29468         (__ASSUME_SET_THREAD_AREA): Remove check.
29469         (TLS_EBX_ARG): Remove define.
29470         (TLS_LOAD_EBX): Likewise.
29472 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29474         Simplify atomicity of socket creation in bind.
29476         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29477         looking up the name after linking the file.
29479 2014-08-27  Allan McRae  <allan@archlinux.org>
29481         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29483 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29485         [BZ #17187]
29486         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29487         trans_compare, open_translit, __gconv_translit_find):
29488         Remove module loading code.
29490 2014-08-26  Allan McRae  <allan@archlinux.org>
29492         * po/vi.po: Update Vietnamese translation from translation project.
29494         * po/uk.po: Update Ukrainian translation from translation project.
29496         * po/fr.po: Update French translation from translation project.
29498         * po/ru.po: Update Russian translation from translation project.
29500         * po/pl.po: Update Polish translation from translation project.
29502         * po/cs.po: Update Czech translation from translation project.
29504         * po/de.po: Update German translation from translation project.
29506         * po/bg.po: Update Bulgarian translation from translation project.
29508         * po/sv.po: Update Sweedish translation from translation project.
29510         * po/nl.po: Update Dutch translation from translation project.
29512         * po/es.po: Update Spanish translation from translation project.
29514 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29516         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29518         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29519         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29520         (CPPFLAGS-iconvconfig): Likewise.
29521         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29523         * include/libc-symbols.h: Remove unnecessary check for
29524         NOT_IN_libc.
29525         * nptl/pthreadP.h: Likewise.
29526         * sysdeps/aarch64/setjmp.S: Likewise.
29527         * sysdeps/alpha/setjmp.S: Likewise.
29528         * sysdeps/arm/sysdep.h: Likewise.
29529         * sysdeps/i386/setjmp.S: Likewise.
29530         * sysdeps/m68k/setjmp.c: Likewise.
29531         * sysdeps/posix/getcwd.c: Likewise.
29532         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29533         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29534         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29535         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29536         * sysdeps/sh/sh3/setjmp.S: Likewise.
29537         * sysdeps/sh/sh4/setjmp.S: Likewise.
29538         * sysdeps/unix/alpha/sysdep.h: Likewise.
29539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29540         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29541         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29542         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29546         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29547         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29549         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29550         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29551         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29552         * sysdeps/x86_64/setjmp.S: Likewise.
29554 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29556         [BZ #17263]
29557         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29558         <stdint.h>.
29559         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29560         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29562 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29564         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29566         [BZ #17262]
29567         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29568         and __x86_64__ when disabling x87 inline functions.
29570 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29572         [BZ #17259]
29573         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29574         asm statement with __cpuid_count.
29576 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29578         * configure.ac: Change __ehdr_start code to dereference the struct.
29579         Run readelf on the output to look for relocations.
29580         * configure: Regenerated.
29582 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29584         [BZ #17261]
29585         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29586         value to 0.
29587         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29589 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29591         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29593 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29595         [BZ #16892]
29596         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29597         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29599 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29601         * malloc/malloc.c: Fix typo in comment.
29603 2014-08-09  Allan McRae  <allan@archlinux.org>
29605         * Regenerate libc.po.
29607 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29609         * intl/tst-gettext2.sh: Check every lang file for creation.
29611 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29613         * sysdeps/aarch64/fpu/math_private.h
29614         (libc_feholdsetround_noex_aarch64_ctx): New function.
29616 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29618         * sysdeps/arm/armv6/strcpy.S (strcpy):
29619         Fix performance issue in misaligned cases.
29621 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29623         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29624         Move definition from termios.h.
29625         (struct termio): Likewise.
29626         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29627         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29628         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29629         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29630         Likewise.
29631         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29632         Move definition to ioctl-types.h
29633         (struct termio): Likewise.
29634         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29635         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29636         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29637         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29638         Likewise.
29640 2014-08-05  Richard Henderson  <rth@redhat.com>
29642         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29643         exceptions.
29644         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29645         Add fraiseexcpt.
29646         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29647         Use __feraiseexcept.
29648         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29649         Protect libm symbols with IS_IN_libm.
29651         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29653 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29655         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29657 2014-08-04  Will Newton  <will.newton@linaro.org>
29659         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29660         file.
29662 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29664         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29665         variants for each function.
29667 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29669         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29670         appended ...
29671         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29672         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29673         appended ...
29674         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29675         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29676         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29677         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29678         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29679         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29680         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29681         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29682         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29683         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29684         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29685         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29686         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29687         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29688         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29689         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29690         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29691         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29692         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29693         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29694         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29695         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29696         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29697         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29698         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29699         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29700         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29701         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29702         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29703         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29704         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29705         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29706         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29707         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29708         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29709         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29710         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29711         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29712         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29713         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29714         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29715         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29716         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29717         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29718         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29719         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29720         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29721         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29722         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29723         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29724         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29725         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29726         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29727         Update #include.
29728         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29729         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29731 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29733         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29734         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29735         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29736         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29737         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29738         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29740 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29742         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29743         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29744         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29745         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29747 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29749         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29750         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29751         (__libc_vfork): Define function under this name.
29752         (__vfork): Define as an alias.
29753         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29754         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29756 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29758         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29759         that was previously under [RESET_PID].
29760         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29762 2014-08-04  Andreas Schwab  <schwab@suse.de>
29764         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29766 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29768         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29769         (main): Likewise.
29771 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29773         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29775 2014-08-01  Richard Henderon  <rth@redhat.com>
29777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29778         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29779         typo in exact zero test.
29780         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29781         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29782         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29784 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29786         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29787         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29788         * sysdeps/arm/sysdep.h: ... here.
29789         [!__ASSEMBLER__]: Include <stdint.h>.
29791 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29793         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29794         (HAVE_WCTYPE_H): Likewise.
29795         (HAVE_ISWCTYPE): Likewise.
29796         (ENABLE_NLS): Likewise.
29797         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29798         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29800         * posix/regex_internal.c: Check if DEBUG is defined and is
29801         set.
29803         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29804         (HAVE_MBSRTOWCS): Likewise.
29805         * posix/fnmatch.c: Include string.h unconditionally.
29807 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29809         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29810         reversal.
29812 2014-07-31  Roland McGrath  <roland@hack.frob.com>
29814         * sysdeps/generic/safe-fatal.h: New file.
29815         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29816         * nptl/forward.c: Include it.
29817         (__pthread_unwind): Use __safe_fatal as default action, rather
29818         than a bogus use of INTERNAL_SYSCALL that could never work.
29820         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29821         * configure.ac (libc_cv_builtin_trap): New test.
29822         * configure: Regenerated.
29823         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29824         (ABORT_INSTRUCTION): Define using __builtin_trap.
29826         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29827         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29828         * sysdeps/nptl/nptl-signals.h: New file.
29829         * nptl/pthreadP.h: Include <nptl-signals.h>.
29831 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29833         * sysdeps/s390/s390-64/utf16-utf32-z9.c
29834         (ONE_DIRECTION): Define.
29835         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29836         (ONE_DIRECTION): Define.
29837         * sysdeps/s390/s390-64/utf8-utf32-z9.c
29838         (ONE_DIRECTION): Define.
29840 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29842         * sysdeps/s390/Makefile: Delete file.
29843         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29844         * sysdeps/s390/__longjmp.c: Delete file.
29845         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29846         Remove fields __flags and __reserved.
29847         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29848         and add versioning.
29849         * sysdeps/s390/rtld-__longjmp.c: Delete file.
29850         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29851         * sysdeps/s390/rtld-setjmp.S: Likewise.
29852         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29853         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29854         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29855         * sysdeps/s390/s390-32/setjmp.S: ... here.
29856         Add versioning.
29857         (__sigsetjmp): Remove setting __flags field.
29858         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29859         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29860         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29861         * sysdeps/s390/s390-64/setjmp.S: ... here.
29862         Add versioning.
29863         (__sigsetjmp): Remove setting __flags field.
29864         * sysdeps/s390/setjmp.S: Delete file.
29865         * sysdeps/s390/sigjmp.c: Likewise.
29866         * sysdeps/s390/v1-longjmp.c: Likewise.
29867         * sysdeps/s390/v1-setjmp.h: Likewise.
29868         * sysdeps/s390/v1-sigjmp.c: Likewise.
29869         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29870         Remove v1-longjmp_chk.
29871         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29872         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29873         Include debug/longjmp_chk.c and add versioning.
29874         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29875         Include nptl/pt-longjmp.c and add versioning.
29876         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29877         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29878         Include __longjmp.c.
29879         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29880         Move to ...
29881         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29882         (__getcontext): Remove setting __flags field.
29883         Add versioning.
29884         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29885         Don't restore upper high grps.
29886         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29887         Likewise.
29888         (__swapcontext): Remove setting uc_flags field.
29889         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29890         Delete file.
29891         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29892         Include __longjmp.c.
29893         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29894         Move to ...
29895         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29896         (__getcontext): Remove setting __flags field.
29897         Add versioning.
29898         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29899         (__swapcontext): Remove setting uc_flags field.
29900         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29901         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29902         Remove fields uc_high_gprs and __reserved.
29903         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29904         New file with reverted content.
29905         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29906         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29907         Regenerated.
29908         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29909         Regenerated.
29911 2014-07-31  Andreas Schwab  <schwab@suse.de>
29913         * config.h.in (HAVE_IFUNC): Define to 0.
29914         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29915         definedness.
29917 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29920         memmove-avx-unaligned, memcpy-avx-unaligned and
29921         mempcpy-avx-unaligned.
29922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29923         Add tests for AVX memcpy functions.
29924         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29925         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29926         memcpy_chk.
29927         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29928         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29929         memmove_chk.
29930         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29931         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29932         mempcpy_chk.
29933         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29934         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29935         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29937 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29939         [BZ #17213]
29940         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29941         powerpc64le.
29943 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29945         [BZ #16839]
29946         * manual/llio.texi: Add section about open file description locks.
29947         * manual/examples/ofdlocks.c: Example of open file description
29948         lock usage.
29949         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29950         F_OFD_SETLK, and F_OFD_SETLKW.
29952 2014-07-23  Allan McRae  <allan@archlinux.org>
29954         * po/es.po: Update Spanish translation from translation project.
29956 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29958         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29960 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29962         [BZ #17078]
29963         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29964         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29965         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29967 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29969         [BZ #17088]
29970         * math/fesetenv.c (__fesetenv)
29971         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29972         * math/feupdateenv.c (__feupdateenv)
29973         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29975         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29976         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29977         (__ASSUME_SOCKETCALL): Do not define.
29979         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29980         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29981         (__ASSUME_SOCKETCALL): Do not define.
29982         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29983         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29984         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29985         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29986         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29987         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29988         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29989         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29991         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29992         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29993         (__ASSUME_SOCKETCALL): Do not define.
29994         (__ASSUME_IPC64): Define unconditionally.
29995         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29996         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29997         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29998         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29999         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30000         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30001         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30002         Likewise.
30004         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30005         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30006         (__ASSUME_SOCKETCALL): Do not define.
30007         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30008         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30009         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30010         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30011         (__ASSUME_REQUEUE_PI): Define unconditionally.
30012         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30013         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30014         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30015         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30016         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30017         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30019         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30020         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30021         (__ASSUME_SOCKETCALL): Do not define.
30022         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30023         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30024         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30025         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30026         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30027         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30029         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30030         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30031         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30032         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30033         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30034         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30035         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30036         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30037         (__ASSUME_GETCPU_SYSCALL): Likewise.
30039         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30040         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30041         cases for individual architectures.
30042         * sysdeps/gnu/configure: Regenerated.
30043         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30044         LIBC_SLIBDIR_RTLDDIR.
30045         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30046         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30047         LIBC_SLIBDIR_RTLDDIR.
30048         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30050         LIBC_SLIBDIR_RTLDDIR.
30051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30052         Regenerated.
30053         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30054         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30055         file.
30056         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30057         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30058         file.
30059         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30060         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30061         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30062         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30064         * sysdeps/aarch64/shlib-versions: Move to ...
30065         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30066         * sysdeps/alpha/shlib-versions: Move to ...
30067         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30068         * sysdeps/arm/shlib-versions: Move to ...
30069         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30070         * sysdeps/hppa/shlib-versions: Move all contents except for
30071         libgcc_s entry to ...
30072         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30073         entry from ...
30074         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30075         * sysdeps/ia64/shlib-versions: Move to ...
30076         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30077         entry from ...
30078         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30079         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30080         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30081         * sysdeps/microblaze/shlib-versions: Move to ...
30082         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30083         * sysdeps/mips/shlib-versions: Move to ...
30084         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30085         entry from ...
30086         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30087         * sysdeps/tile/shlib-versions: Move to ...
30088         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30089         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30090         from ...
30091         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30092         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30093         entry from ...
30094         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30096 2014-07-17  Will Newton  <will.newton@linaro.org>
30098         * sysdeps/arm/bits/atomic.h
30099         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30100         (__arch_compare_and_exchange_bool_16_int): Likewise.
30101         (__arch_compare_and_exchange_bool_64_int): Likewise.
30103         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30104         into an #else block.
30106 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30108         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30109         just Linux configurations.  Test empirically that the compiler sets
30110         __ARM_EABI__, rather than using the tuple to decide.
30111         * sysdeps/arm/preconfigure: Regenerated.
30112         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30113         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30114         contents appended ...
30115         * sysdeps/arm/configure.ac: ... here.
30116         * sysdeps/arm/configure: Regenerated.
30118 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30120         * nptl/pthread_kill.c: New file.
30121         * nptl/pthread_sigmask.c: New file.
30122         * nptl/pthread_sigqueue.c: New file.
30124         * sysdeps/nptl/lowlevellock.h: New file.
30125         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30126         * sysdeps/nptl/lowlevellock-futex.h: New file.
30128         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30129         Remove dead declarations.
30131 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30133         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30134         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30135         config-cflags-avx2.
30136         * sysdeps/x86_64/configure.ac: Likewise.
30137         * sysdeps/i386/configure: Regenerated.
30138         * sysdeps/x86_64/configure: Likewise.
30139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30140         memset-avx2 only if config-cflags-avx2 is yes.
30141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30142         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30143         defined.
30144         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30145         only if HAVE_AVX2_SUPPORT is defined.
30146         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30148 2014-07-14  Alan Modra  <amodra@gmail.com>
30150         [BZ #17153]
30151         * elf/elf.h (DT_PPC64_NUM): Correct value.
30152         * NEWS: Add to fixed bug list.
30154 2014-07-13  Jim Meyering  <meyering@fb.com>
30156         [BZ 17150]
30157         regex: don't deref NULL upon heap allocation failure
30158         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30159         failure in one more place.
30160         To trigger the segfault, configure grep -with-included-regex,
30161         build it, and run these commands:
30162         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30164 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30166         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30168 2014-07-11  Richard Henderson  <rth@redhat.com>
30170         * sysdeps/aarch64/libm-test-ulps: Update.
30172 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30174         [BZ #17135]
30175         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30176         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30177         (__nptl_setxid): Initialize error member.  Call
30178         __nptl_setxid_error.
30179         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30180         * nptl/descr.h (struct xid_command): Add error member.
30181         * nptl/tst-setuid3.c: New file.
30182         * nptl/Makefile (tests): Add it.
30184 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30186         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30187         New define.
30188         (__lll_trylock): Use __lll_base_trylock.
30189         (__lll_cond_trylock): Likewise.
30191 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30193         * nptl/pthread_create.c (start_thread): Use atomic_or and
30194         lll_futex_wake directly rather than lll_robust_dead.
30195         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30196         (lll_robust_dead): Macro removed.
30197         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30198         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30199         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30200         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30201         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30202         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30203         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30204         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30205         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30206         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30207         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30208         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30209         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30210         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30211         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30213         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30214         Use atomic_compare_and_exchange_val_acq directly rather than
30215         lll_robust_trylock.
30216         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30217         (__lll_robust_trylock, lll_robust_trylock): Removed.
30218         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30219         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30220         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30221         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30222         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30223         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30224         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30225         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30226         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30227         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30228         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30229         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30230         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30231         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30233 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30235         * manual/locale.texi (Locale Names): New section documenting
30236         locale name syntax.  Adjust menu and node chaining accordingly.
30237         (Choosing Locale): Reference Locale Names, Locale Categories.
30238         Mention setting LC_ALL=C.  Reflect that name syntax is now
30239         documented.
30240         (Locale Categories): New section title.  Reference Locale Names.
30241         LC_ALL is an environment variable, but not a category.
30242         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30243         description, now in Locale Name.  Reference that section.  Locale
30244         name syntax is now documented.
30246 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30248         [BZ #17137]
30249         * locale/findlocale.c (name_present, valid_locale_name): New
30250         functions.
30251         (_nl_find_locale): Use the loc_name variable to store name
30252         candidates.  Call name_present and valid_locale_name to check and
30253         validate locale names.  Return an error if the locale is invalid.
30255 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30257         * locale/setlocale.c (setlocale): Use strdup for allocating
30258         composite name copy.
30260 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30262         Sync up with gnulib.
30263         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30264         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30265         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30266         and _GL_ARG_NONNULL.
30267         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30268         [!_LIBC]: Include code for Windows and Cygwin.
30269         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30270         Include prototype for int strerror_r.
30271         [!_LIBC] (is_open): New function.
30272         (flush_stdout): New function.
30273         (print_errno_message): Use it.
30274         (error): Likewise.
30275         (error_at_line): Likewise.
30276         (error_tail) Add function attribute macros.  Use
30277         __builtin_expect.
30279         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30281         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30283         * io/ftw.c: Include sys/param.h unconditionally.
30285         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30287         [BZ #17125]
30288         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30289         libc_freeres_ptr.
30290         (freecache): New function to free CACHE on exit.
30292         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30293         initialization.
30295 2014-07-09  David S. Miller  <davem@davemloft.net>
30297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30299         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30300         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30301         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30302         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30303         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30304         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30305         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30306         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30307         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30308         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30309         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30310         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30311         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30313 2014-07-09  Andreas Schwab  <schwab@suse.de>
30315         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30316         output.
30317         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30318         (do_test): Likewise.
30320         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30322 2014-07-09  Will Newton  <will.newton@linaro.org>
30324         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30325         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30326         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30327         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30328         * sysdeps/hppa/start.S (_start): Likewise.
30330 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30332         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30334         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30335         defined.
30337 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30339         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30340         after checking that it is non-NULL.
30342         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30344 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30346         * sysdeps/powerpc/memmove.c: Remove file.
30347         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30348         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30349         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30350         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30351         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30352         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30353         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30354         string memmove instead of removed powerpc one.
30356         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30357         [weak_alias]: Fix compiler warning due trailing data.
30358         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30359         [weak_alias]: Likewise.
30360         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30361         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30364         (__libc_ifunc_impl_list): Add memmove functions.
30366 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30368         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30369         Remove code.
30370         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30371         Likewise.
30372         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30373         Likewise.
30374         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30375         Likewise.
30376         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30377         Likewise.
30378         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30379         Likewise.
30380         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30381         Likewise.
30382         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30383         Likewise.
30384         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30385         Likewise.
30386         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30387         Likewise.
30388         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30389         Likewise.
30390         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30391         Likewise.
30392         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30393         Likewise.
30394         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30395         Likewise.
30396         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30397         Likewise.
30398         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30399         Likewise.
30400         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30401         Likewise.
30403 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30405         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30406         to avoid alignment traps in non-cacheable memory.
30407         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30410         multiarch objects.
30411         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30412         file: multiarch power7 memmove.
30413         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30414         multiarch default memmove.
30415         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30416         multiarch memove for powerpc32/power4.
30418         * string/bcopy.c: Use full path to include memmove.c.
30419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30420         multiarch objects.
30421         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30422         bcopy for powerpc64.
30423         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30424         bcopy for powerpc64.
30425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30426         and memmove implementations.
30427         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30428         optimized multiarch memmove for POWER7/powerpc64.
30429         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30430         default multiarch memmove for powerpc64.
30431         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30432         multiarch for powerpc64.
30433         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30434         for POWER7/powerpc64.
30435         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30436         memmove for POWER7/powerpc64.
30438         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30439         glibc default one.
30441         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30442         __ELF_NATIVE_CLASS equal to 64.
30444 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30446         * sysdeps/nptl/lowlevellock.h: File removed.
30448         * NEWS: NPTL is no longer an add-on!
30449         * nptl/internaltypes.h: Moved ...
30450         * sysdeps/nptl/internaltypes.h: ... here.
30451         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30452         * sysdeps/nptl/fork.c: Likewise.
30453         * sysdeps/nptl/gai_misc.h: Likewise.
30454         * sysdeps/nptl/librt-cancellation.c: Likewise.
30455         * sysdeps/nptl/jmp-unwind.c: Likewise.
30456         * sysdeps/nptl/setxid.h: Likewise.
30457         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30458         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30459         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30460         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30461         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30462         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30463         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30464         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30465         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30466         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30467         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30468         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30469         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30470         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30471         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30472         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30473         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30474         * nptl/Makeconfig: Moved ...
30475         * sysdeps/nptl/Makeconfig: ... here.
30476         * nptl/configure: File removed.
30477         * nptl/ANNOUNCE: File removed.
30478         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30479         * sysdeps/unix/sysv/linux/configure: Regenerated.
30481         * nptl/Makefile (routines): Add libc_pthread_init,
30482         libc_multiple_threads, register-atfork and unregister-atfork.
30483         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30484         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30485         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30486         pthread-pi-defines.sym, structsem.sym.
30487         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30488         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30489         [$(subdir) = nptl] (tests): Add tst-setgetname.
30490         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30491         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30492         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30493         [!LIBC_SIGACTION]: Remove aliases.
30494         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30495         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30496         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30497         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30498         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30499         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30500         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30501         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30502         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30503         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30504         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30505         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30506         __libc_allocate_rtsig_private.
30507         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30508         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30509         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30510         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30511         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30512         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30513         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30514         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30515         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30516         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30517         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30518         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30519         * nptl/internaltypes.h: ... here.
30520         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30521         * sysdeps/nptl/jmp-unwind.c: ... here.
30522         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30523         * nptl/libc-lowlevellock.c: ... here.
30524         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30525         * nptl/libc_multiple_threads.c: ... here.
30526         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30527         * nptl/libc_pthread_init.c: ... here.
30528         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30529         * nptl/lowlevelbarrier.sym: ... here.
30530         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30531         * nptl/lowlevelcond.sym: ... here.
30532         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30533         * nptl/lowlevellock.c: ... here.
30534         * nptl/lowlevellock.h: Moved ...
30535         * sysdeps/nptl/lowlevellock.h: ... here.
30536         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30537         * nptl/lowlevelrobustlock.c: ... here.
30538         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30539         * nptl/lowlevelrobustlock.sym: ... here.
30540         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30541         * nptl/lowlevelrwlock.sym: ... here.
30542         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30543         * nptl/pt-fork.c: ... here.
30544         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30545         * nptl/pthread-pi-defines.sym: ... here.
30546         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30547         * nptl/pthread_attr_getaffinity.c: ... here.
30548         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30549         * nptl/pthread_attr_setaffinity.c: ... here.
30550         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30551         * nptl/pthread_mutex_cond_lock.c: ... here.
30552         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30553         Update #include.
30554         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30555         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30556         * nptl/pthread_once.c: ... here, replacing old file.
30557         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30558         * nptl/pthread_yield.c: ... here.
30559         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30560         * nptl/register-atfork.c: ... here.
30561         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30562         * nptl/sem_post.c: ... here.
30563         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30564         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30565         * nptl/sem_timedwait.c: ... here.
30566         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30567         * nptl/sem_trywait.c: ... here.
30568         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30569         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30570         * nptl/sem_wait.c: ... here.
30571         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30572         * nptl/structsem.sym: ... here.
30573         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30574         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30575         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30576         * nptl/unregister-atfork.c: ... here.
30577         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30578         * nptl/unwindbuf.sym: ... here.
30579         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30580         * sysdeps/nptl/fork.c: ... here.
30581         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30582         * sysdeps/nptl/fork.h: ... here.
30583         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30584         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30585         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30586         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30587         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30588         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30589         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30590         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30591         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30592         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30593         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30594         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30595         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30596         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30597         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30598         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30599         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30600         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30601         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30602         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30603         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30604         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30605         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30606         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30607         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30608         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30609         * sysdeps/unix/sysv/linux/raise.c: ... here.
30610         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30611         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30612         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30613         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30614         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30615         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30616         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30617         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30618         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30619         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30620         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30621         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30622         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30623         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30624         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30626 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30628         * sysdeps/generic/memcopy.h: Add comment for
30629         MEMCPY_OK_FOR_FWD_MEMMOVE.
30631 2014-07-04  Will Newton  <will.newton@linaro.org>
30633         * string/memchr.c: Merge from gnulib.
30634         [_LIBC]: Remove conditionals.
30635         (__ptr_t): Remove define.
30636         (LONG_MAX_32_BITS): Likewise.
30637         (LONG_MAX): Likewise.
30638         (MEMCHR): Use ANSI prototype and optimize algorithm.
30640         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30642 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30644         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30645         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30647         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30648         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30649         in a bare environment with no <stdlib.h> installed.
30650         * sysdeps/nptl/configure: Regenerated.
30652         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30654         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30655         AC_EGREP_CPP for kernel header checks, so they only succeed if
30656         including <linux/version.h> actually works right.
30657         * sysdeps/unix/sysv/linux/configure: Regenerated.
30659         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30660         value so it's not diagnosed as unused.
30662         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30663         thing) with "ifeq ($(subdir),rt)".
30665 2014-07-03  Richard Henderson  <rth@redhat.com>
30667         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30668         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30669         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30671         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30672         (math_force_eval): New.
30674         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30675         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30677         * sysdeps/alpha/fpu/s_round.c: Remove file.
30678         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30680         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30681         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30682         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30683         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30684         (_dl_start, print_statistics): Likewise.
30685         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30686         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30688         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30689         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30690         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30691         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30692         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30693         (HP_SMALL_TIMING_AVAIL): Define.
30694         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30695         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30696         (HP_SMALL_TIMING_AVAIL): Define.
30697         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30698         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30700         * sysdeps/aarch64/hp-timing.h: New file.
30702         * sysdeps/generic/hp-timing.h: Remove dead comment.
30703         * sysdeps/generic/hp-timing-common.h: New file.
30704         * sysdeps/alpha/hp-timing.h: Include it.
30705         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30706         * sysdeps/i386/i686/hp-timing.h: Likewise.
30707         * sysdeps/ia64/hp-timing.h: Likewise.
30708         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30709         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30710         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30711         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30712         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30713         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30714         (hp_timing_t): New.
30716         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30717         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30718         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30719         * elf/rtld.c (_dl_start_final): Likewise.
30720         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30721         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30722         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30723         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30724         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30725         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30726         (HP_TIMING_DIFF_INIT): Remove.
30727         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30728         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30729         (HP_TIMING_DIFF_INIT): Remove.
30730         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30731         * sysdeps/i386/i686/hp-timing.c: Remove file.
30732         * sysdeps/x86_64/hp-timing.c: Remove file.
30733         * sysdeps/ia64/hp-timing.c: Remove file.
30734         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30735         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30736         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30737         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30739         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30740         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30741         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30742         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30743         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30744         (HP_TIMING_ACCUM): Remove.
30745         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30746         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30747         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30749         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30750         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30751         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30752         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30753         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30754         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30755         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30756         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30758         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30760 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30762         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30764 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30766         Sync up with gettext.
30767         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30768         [_MSC_VER]: Include malloc.h
30769         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30770         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30771         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30772         TEMP_FAILURE_RETRY.  Cast return of alloca.
30773         [!_LIBC] Call gl_rwlock_init.
30774         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30776 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30778         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30779         before checking its value.
30781 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30783         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30785         * debug/memcpy_chk.c: Don't include pagecopy.h.
30786         * debug/mempcpy_chk.c: Likewise.
30787         * string/memcpy.c: Likewise.
30788         * string/memmove.c: Likewise.
30789         * sysdeps/powerpc/memmove.c: Likewise.
30790         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
30791         definition of PAGE_COPY_FWD_MAYBE here...
30792         * sysdeps/generic/pagecopy.h: ... from here.
30793         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30795 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30796             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30798         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30800         optimizations.
30801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30802         (__libc_ifunc_impl_list): Likewise.
30803         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30804         multiarch strcat for PPC64.
30805         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30806         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30808 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30810         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30812 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30814         * intl/loadmsgcat.c: Remove declaration of
30815         get_sysdep_segment_value.
30816         (get_sysdep_segment_value): Use ISO C style.
30817         (_nl_load_domain): Use ISO C style.  Get rid of redundant
30818         semicolon.  Fix typo and formatting in comment.
30819         (_nl_unload_domain): Use ISO C style.
30821         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30823 2014-07-02  Will Newton  <will.newton@linaro.org>
30825         * malloc/obstack.c: Merge from gnulib master.
30826         [HAVE_CONFIG_H]: Remove conditional code.
30827         [!_LIBC]: Include config.h.
30828         [!ELIDE_CODE]: Don't include inttypes.h, include
30829         stdint.h unconditionally.
30830         (print_and_abort): Mark as _Noreturn.
30831         (_obstack_allocated_p): Mark as __attribute_pure__.
30832         (obstack_free): Rename to __obstack_free.
30833         [!__attribute__]: Remove conditional code.
30834         * malloc/obstack.h: Merge from gnulib master.
30835         [__cplusplus]: Move conditional down.
30836         [!__attribute_pure__]: Define __attribute_pure__ here
30837         if it is not already defined.
30838         (_obstack_memory_used): Mark as __attribute_pure__.
30839         [!__obstack_free]: Define as obstack_free.
30840         [__GNUC__]: Remove check for ancient NeXT gcc.
30842 2014-07-02  Will Newton  <will.newton@linaro.org>
30843             Paul Eggert  <eggert@cs.ucla.edu>
30845         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30847 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30849         * resolv/gethnamaddr.c: Add comment warning that the file is
30850         not maintained.
30852 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30854         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30855         entries.
30857         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30858         entry for aio_cancel and aio_cancel64.
30859         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30860         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30861         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30862         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30863         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30864         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30865         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30866         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30867         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30868         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30869         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30870         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30871         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30873 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30875         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30876         * nptl/pthread_mutex_lock.c: Likewise.
30877         * nptl/pthread_mutex_timedlock.c: Likewise.
30878         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30880 2014-07-01  Richard henderson  <rth@redhat.com>
30882         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30883         (__isnan, __isnanl): Remove.
30884         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30886         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30888 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30890         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30892 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30894         * resolv/nss_dns/dns-host.c (getanswer_r)
30895         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30897 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30899         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30900         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30901         undefine.
30902         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30903         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30905 2014-07-01  Roland McGrath <roland@hack.frob.com>
30907         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30908         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30910         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30911         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30913         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30914         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30915         ... here.
30916         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30917         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30919         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30920         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30921         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30922         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30924         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30925         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30926         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30927         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30928         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30929         Moved ...
30930         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30931         ... here.
30932         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30933         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30934         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30935         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30936         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30937         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30938         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30939         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30940         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30941         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30942         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30943         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30944         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30945         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30946         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30947         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30948         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30949         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30950         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30951         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30952         ... here.
30953         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30954         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30955         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30956         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30957         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30958         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30959         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30960         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30962 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30964         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30965         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30966         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30967         Add sysdep.
30969 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30973 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30975         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30976         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30978         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30980         * sysdeps/arm/libm-test-ulps: Regenerated.
30982 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30983             Roland McGrath <roland@hack.frob.com>
30985         * test-skeleton.c (signal_handler): Kill the whole process group
30986         before killing the child individually.
30987         (main): Report any failure on `setpgid'.
30989 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30991         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30992         from _TLS_H to _ARM_NPTL_TLS_H.
30993         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30994         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30996 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30998         [BZ #16539]
30999         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31000         (__expm1l): Return argument unchanged when small but not
31001         subnormal.
31003         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31004         include macro name.
31005         (_FP_UNPACK_RAW_1_P): Likewise.
31006         (_FP_PACK_RAW_1): Likewise.
31007         (_FP_PACK_RAW_1_P): Likewise.
31008         (_FP_MUL_MEAT_1_wide): Likewise.
31009         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31010         (_FP_MUL_MEAT_1_hard): Likewise.
31011         (_FP_DIV_MEAT_1_imm): Likewise.
31012         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31013         (_FP_DIV_MEAT_1_udiv): Likewise.
31014         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31015         (_FP_UNPACK_RAW_2): Likewise.
31016         (_FP_UNPACK_RAW_2_P): Likewise.
31017         (_FP_PACK_RAW_2): Likewise.
31018         (_FP_PACK_RAW_2_P): Likewise.
31019         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31020         (_FP_MUL_MEAT_2_wide): Likewise.
31021         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31022         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31023         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31024         (_FP_MUL_MEAT_2_gmp): Likewise.
31025         (_FP_DIV_MEAT_2_udiv): Likewise.
31026         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31027         (_FP_FRAC_SRL_4): Likewise.
31028         (_FP_FRAC_SRST_4): Likewise.
31029         (_FP_FRAC_SRS_4): Likewise.
31030         (_FP_UNPACK_RAW_4): Likewise.
31031         (_FP_UNPACK_RAW_4_P): Likewise.
31032         (_FP_PACK_RAW_4): Likewise.
31033         (_FP_PACK_RAW_4_P): Likewise.
31034         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31035         (_FP_MUL_MEAT_4_wide): Likewise.
31036         (_FP_MUL_MEAT_4_gmp): Likewise.
31037         (umul_ppppmnnn): Likewise.
31038         (_FP_DIV_MEAT_4_udiv): Likewise.
31039         (__FP_FRAC_ADD_4): Likewise.
31040         (__FP_FRAC_SUB_3): Likewise.
31041         (__FP_FRAC_SUB_4): Likewise.
31042         (__FP_FRAC_DEC_3): Likewise.
31043         (__FP_FRAC_DEC_4): Likewise.
31044         (__FP_FRAC_ADDI_4): Likewise.
31045         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31046         (_FP_FRAC_SRL_8): Likewise.
31047         (_FP_FRAC_SRS_8): Likewise.
31049         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31050         include macro name.
31051         (FP_UNPACK_RAW_EP): Likewise.
31052         (FP_PACK_RAW_E): Likewise.
31053         (FP_PACK_RAW_EP): Likewise.
31054         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31055         (_FP_ISSIGNAN): Likewise.
31056         (_FP_ADD_INTERNAL): Likewise.
31057         (_FP_FMA): Likewise.
31058         (_FP_CMP): Likewise.
31059         (_FP_SQRT): Likewise.
31060         (_FP_TO_INT): Likewise.
31061         (_FP_FROM_INT): Likewise.
31062         (FP_EXTEND): Likewise.
31063         (_FP_DIV_MEAT_N_loop): Likewise.
31065 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31067         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31068         throughout.
31070 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31072         [BZ #17097]
31073         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31074         result with correct sign in case of exponents that produce
31075         overflow except for X very close to 1.
31077 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31079         mktime: merge #if/#ifdef usage from glibc
31080         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31081         as that works with both Glibc's and Gnulib's style.
31082         See thread starting at Siddhesh Poyarekar's bug report at:
31083         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31085 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31087         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31088         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31089         * sysdeps/tile/tilegx/memmove.c: Remove file.
31091 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31093         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31094         abi-name definition.
31095         * scripts/soversions.awk: Do not handle or generate ABI lines.
31096         * shlib-versions: Remove ABI entries.
31097         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31098         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31100 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31102         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31103         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31104         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31105         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31106         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31107         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31109         Moved ...
31110         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31111         ... here.
31112         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31113         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31115         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31116         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31117         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31118         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31119         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31120         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31121         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31122         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31123         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31124         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31125         Moved ...
31126         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31128         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31129         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31130         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31132         Moved ...
31133         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31134         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31135         Moved ...
31136         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31137         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31138         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31139         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31140         Moved ...
31141         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31142         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31143         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31145         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31146         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31147         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31149         Moved ...
31150         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31151         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31152         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31153         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31154         Moved ...
31155         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31157         Moved ...
31158         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31159         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31160         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31161         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31162         Moved ...
31163         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31164         ... here.
31165         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31166         Identical file removed.
31167         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31168         Moved ...
31169         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31170         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31171         Identical file removed.
31172         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31173         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31174         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31175         Moved ...
31176         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31177         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31178         Identical file removed.
31179         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31180         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31181         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31182         Identical file removed.
31183         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31184         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31185         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31186         Identical file removed.
31187         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31188         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31189         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31190         Identical file removed.
31191         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31192         Moved ...
31193         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31194         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31195         Identical file removed.
31196         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31197         Moved ...
31198         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31199         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31200         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31201         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31202         Identical file removed.
31203         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31204         Moved ...
31205         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31206         ... here.
31207         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31208         Identical file removed.
31209         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31210         Moved ...
31211         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31212         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31213         Identical file removed.
31214         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31215         Moved ...
31216         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31217         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31218         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31220         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31221         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31222         Moved ...
31223         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31224         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31225         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31227         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31228         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31229         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31230         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31231         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31233 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31235         [BZ #17092]
31236         * nscd/nscd.c (monitor_child): Return exit status of child
31237         instead of return value from wait syscall.
31239 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31241         * configure.ac (libc_commonpagesize): Remove variable.
31242         (libc_relro_required): Likewise.
31243         (libc_cv_z_relro): Remove configure test.
31244         * configure: Regenerated.
31245         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31246         variable.
31247         (libc_relro_required): Likewise.
31248         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31249         (libc_relro_required): Likewise.
31250         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31251         (libc_relro_required): Likewise.
31252         * sysdeps/arm/preconfigure: Regenerated.
31253         * sysdeps/ia64/preconfigure: Remove file.
31254         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31255         variable.
31256         (libc_relro_required): Likewise.
31258         [BZ #16561]
31259         [BZ #16562]
31260         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31261         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31262         recompute overflowing results in original rounding mode.
31263         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31264         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31265         recompute overflowing results in original rounding mode.
31266         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31267         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31268         recompute overflowing results in original rounding mode.
31269         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31270         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31271         recompute overflowing results in original rounding mode.
31272         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31273         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31274         recompute overflowing results in original rounding mode.
31275         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31276         (libc_feholdsetround_ctx): New macro.
31277         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31278         * sysdeps/i386/fpu/libm-test-ulps: Update.
31279         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31281 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31283         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31284         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31285         corresponding .cpsetup call.
31287 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31289         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31290         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31291         * sysdeps/arm/Makefile [$(subdir) = csu]
31292         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31293         (static-only-routines): Add aeabi_read_tp here.
31294         (shared-only-routines): Add libc-aeabi_read_tp here.
31295         (CFLAGS-libc-start.c): Add -fexceptions here.
31296         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31297         (sysdep_routines, static-only-routines, shared-only-routines):
31298         Don't add to these here.
31299         (CFLAGS-libc-start.c): Likewise.
31301         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31302         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31303         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31304         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31305         * sysdeps/arm/Makefile [$(subdir) = rt]
31306         (librt-sysdep_routines, librt-shared-only-routines):
31307         Append rt-aeabi_unwind_cpp_pr1 here.
31308         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31309         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31310         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31311         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31312         Append nptl-aeabi_unwind_cpp_pr1 here.
31313         (tests): Filter out tst-cleanupx4 here.
31314         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31315         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31316         Don't do those here.
31318 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31320         * scripts/list-sources.sh: Do not handle ports specially.
31322 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31324         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31325         * sysdeps/arm/feupdateenv.c: Likewise.
31327         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31329 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31331         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31332         trailing whitespace removed.
31333         * scripts/config.guess: Update to version 2014-03-23.
31334         * scripts/config.sub: Update to version 2014-05-01
31335         * scripts/install-sh: Update to version 2013-12-25.23.
31336         * scripts/move-if-change: Update from gnulib.
31338 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31340         * debug/memmove_chk.c: Remove pagecopy.h include.
31342 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31344         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31345         identical to gnulib mktime.
31347 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31349         * configure.ac: Do not test for machine being rs6000.  Do not test
31350         for powerpc*-*soft.
31351         * configure: Regenerated.
31353         [BZ #11505]
31354         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31355         test.
31356         * configure: Regenerated.
31357         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31358         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31359         Remove configure test.
31360         * sysdeps/arm/configure: Regenerated.
31361         * sysdeps/nptl/configure.ac: Do not check
31362         libc_cv_asm_cfi_directives.
31363         * sysdeps/nptl/configure: Regenerated.
31364         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31365         * sysdeps/x86_64/nptl/configure: Remove generated file.
31366         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31367         unconditional.
31368         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31370 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31372         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31373         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31374         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31375         it is defined.
31377         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31378         instead of whether it is defined.
31379         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31380         * sysdeps/hppa/dl-machine.h: Likewise.
31381         * sysdeps/ia64/dl-machine.h: Likewise.
31382         * sysdeps/m68k/dl-machine.h: Likewise.
31383         * sysdeps/microblaze/dl-machine.h: Likewise.
31384         * sysdeps/mips/dl-machine.: Likewise.
31385         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31386         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31387         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31388         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31389         * sysdeps/sh/dl-machine.h: Likewise.
31390         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31391         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31392         * sysdeps/tile/dl-machine.h: Likewise.
31393         * sysdeps/x86_64/dl-machine.h: Likewise.
31395         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31396         code.
31397         (verify_persistent_db): Likewise.
31399 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31402         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31404         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31406         Moved ...
31407         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31408         ... here.
31409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31410         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31412         Identical file removed.
31413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31414         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31416         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31418         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31420         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31422         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31424         Moved ...
31425         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31427         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31429         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31431         Moved ...
31432         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31434         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31436         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31438         Identical file removed.
31439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31440         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31442         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31444         Moved ...
31445         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31446         ... here.
31447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31448         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31450         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31452         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31454         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31456         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31458         Moved ...
31459         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31461         Moved ...
31462         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31464         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31466         Moved ...
31467         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31469         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31471         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31472         folded into ...
31473         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31474         * sysdeps/unix/sysv/linux/s390/Versions
31475         (libpthread: GLIBC_2.19): New version set.
31476         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31477         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31478         (librt: GLIBC_2.3.3): New version set.
31479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31480         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31481         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31482         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31483         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31484         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31485         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31486         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31487         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31488         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31489         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31490         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31491         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31492         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31493         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31494         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31495         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31496         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31497         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31498         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31499         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31500         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31501         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31502         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31503         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31504         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31505         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31506         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31507         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31508         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31509         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31510         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31512         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31514         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31515         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31516         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31517         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31518         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31519         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31520         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31521         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31522         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31523         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31525         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31526         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31527         (__libc_vfork): Define the function under this name.
31528         [!NOT_IN_libc] (__vfork): Make this an alias.
31529         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31530         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31531         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31532         (__libc_vfork): Define the function under this name.
31533         [!NOT_IN_libc] (__vfork): Make this an alias.
31534         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31535         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31536         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31537         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31538         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31539         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31541         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31542         code that was previously under [RESET_PID].
31543         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31544         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31545         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31547         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31548         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31549         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31550         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31551         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31552         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31553         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31554         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31555         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31556         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31557         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31558         Moved ...
31559         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31560         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31561         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31562         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31563         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31564         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31565         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31566         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31567         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31568         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31569         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31570         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31571         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31572         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31573         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31574         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31575         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31576         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31577         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31578         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31579         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31580         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31581         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31582         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31583         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31584         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31585         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31586         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31587         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31589 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31591         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31592         that was previously under [RESET_PID].
31593         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31595 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31597         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31598         not undefine and redefine.
31599         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31600         [O_CLOEXEC]: Make code unconditional.
31601         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31602         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31603         <kernel-features.h>.
31604         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31605         conditional variable definition.
31606         (shm_open) [O_CLOEXEC]: Make code unconditional.
31607         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31608         code.
31610         * configure.ac (USE_REGPARMS): Don't define here.
31611         * configure: Regenerated.
31612         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31613         * sysdeps/i386/configure: Regenerated.
31615         * nptl/createthread.c: Don't include kernel-features.h.
31616         * nptl/pthread_cancel.c: Likewise.
31617         * nptl/pthread_condattr_setclock.c: Likewise.
31618         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31619         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31620         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31621         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31622         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31623         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31624         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31625         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31626         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31627         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31628         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31629         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31630         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31631         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31632         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31633         * nscd/gai.c: Likewise.
31634         * nss/nss_db/db-open.c: Likewise.
31635         * sysdeps/generic/ldsodefs.h: Likewise.
31636         * sysdeps/sh/nptl/tls.h: Likewise.
31637         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31638         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31639         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31640         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31641         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31642         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31643         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31644         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31645         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31646         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31647         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31648         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31649         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31650         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31651         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31652         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31653         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31654         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31655         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31656         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31658         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31659         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31660         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31661         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31662         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31664         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31665         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31666         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31667         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31668         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31669         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31670         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31671         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31672         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31673         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31674         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31675         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31676         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31677         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31678         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31679         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31680         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31681         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31682         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31683         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31684         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31685         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31686         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31687         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31688         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31689         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31690         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31691         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31692         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31693         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31694         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31717         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31718         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31719         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31720         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31721         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31722         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31723         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31724         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31725         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31726         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31727         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31728         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31729         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31730         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31731         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31732         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31733         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31734         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31735         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31736         * sysdeps/unix/sysv/linux/system.c: Likewise.
31737         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31738         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31739         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31740         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31741         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31742         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31743         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31745         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31746         * configure: Regenerated.
31747         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31749         * configure.ac (base_machine): Do not set specially for particular
31750         machines here.
31751         * configure: Regenerated.
31752         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31753         settings from configure.ac.
31754         * sysdeps/i386/preconfigure: New file.
31755         * sysdeps/s390/preconfigure: Likewise.
31756         * sysdeps/sh/preconfigure: Likewise.
31757         * sysdeps/sparc/preconfigure: Likewise.
31759 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31761         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31762         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31763         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31764         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31765         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31766         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31767         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31768         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31769         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31770         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31771         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31772         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31773         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31774         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31775         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31776         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31777         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31778         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31779         * sysdeps/sparc/sparc64/Makefile: ... appended here.
31781         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31782         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31783         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31784         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31785         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31786         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31787         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31788         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31789         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31790         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31791         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31792         * sysdeps/sparc/sparc32/sem_post.c: ... here.
31793         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31794         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31795         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31796         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31797         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31798         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31799         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31800         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31801         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31802         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31803         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31804         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31805         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31806         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31807         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31808         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31809         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31810         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31811         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31812         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31813         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31814         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31815         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31816         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31817         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31818         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31821         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31823         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31825         Moved ...
31826         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31827         ... here.
31828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31829         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31831         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31833         Moved ...
31834         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31836         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31838         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31840         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31842         Moved ...
31843         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31845         Moved ...
31846         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31848         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31850         Moved ...
31851         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31853         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31855         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31857         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31859         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31861         Moved ...
31862         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31863         ... here.
31864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31865         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31867         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31869         Moved ...
31870         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31872         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31874         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31876         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31878         Moved ...
31879         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31881         Moved ...
31882         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31884         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31886         Moved ...
31887         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31889         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31891         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31893 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31895         * timezone/checktab.awk: Update from tzcode 2014e.
31896         * timezone/private.h: Likewise.
31897         * timezone/tzfile.h: Likewise.
31898         * timezone/zdump.c: Likewise.
31899         * timezone/zic.c: Likewise.
31901         * sysdeps/unix/sysv/linux/kernel-features.h
31902         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31903         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31904         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31905         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31906         Remove conditional code.
31908 2014-06-25  Will Newton  <will.newton@linaro.org>
31910         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31911         (_dl_arm_cap_flags): Add HWCAP2 values.
31912         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31913         (_DL_HWCAP_COUNT): Increase to 37.
31914         (_DL_HWCAP_LAST): New define.
31915         (_DL_HWCAP2_LAST): New define.
31916         (_dl_procinfo): Add support for printing
31917         AT_HWCAP2 entries.
31918         (_dl_string_hwcap): Use _dl_hwcap_string.
31920 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31924 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31926         * README: Do not mention ports directory.
31928         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31929         Remove macro.
31930         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31931         <kernel-features.h>.
31932         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31933         conditional variable definition.
31934         (__futimes): Update comment.
31935         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31936         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31938         [BZ #16560]
31939         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31940         arguments close to 0.
31941         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31942         Likewise.
31943         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31944         Likewise.
31945         * math/auto-libm-test-in: Add more tests of exp10.
31946         * math/auto-libm-test-out: Regenerated.
31947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31949         * sysdeps/unix/sysv/linux/kernel-features.h
31950         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31951         * sysdeps/unix/sysv/linux/readv.c: Do not include
31952         <kernel-features.h>.
31953         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31954         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31955         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31956         unconditional.
31957         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31958         conditional code.
31959         * sysdeps/unix/sysv/linux/writev.c: Do not include
31960         <kernel-features.h>.
31961         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31962         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31963         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31964         unconditional.
31965         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31966         conditional code.
31968 2014-06-25  Will Newton  <will.newton@linaro.org>
31970         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31971         comment changes throughout the file.  Remove checks
31972         for HAVE_*_H definitions that are not required.
31973         (__gen_tempname): Call abort if an unknown kind value is
31974         passed.
31976 2014-06-25  Andreas Schwab  <schwab@suse.de>
31978         [BZ #17086]
31979         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31980         scalbln, scalblnf, scalblnl in libc.
31982 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31984         [BZ #17086]
31985         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31986         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31987         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31989 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31991         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31992         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31993         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31994         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31995         Update #include.
31996         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31997         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31998         Update #include.
31999         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32000         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32001         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32002         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32003         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32004         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32005         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32006         * sysdeps/x86/bits/semaphore.h: ... here.
32007         * sysdeps/x86/nptl/elide.h: Moved ...
32008         * sysdeps/x86/elide.h: ... here.
32009         * sysdeps/x86_64/nptl/Implies: File removed.
32010         * sysdeps/i386/nptl/Implies: File removed.
32012 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32014         [BZ #16539]
32015         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32016         return the argument for normal arguments with exponent below -64.
32017         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32018         Likewise.
32019         * math/auto-libm-test-in: Add another test of expm1.
32020         * math/auto-libm-test-out: Regenerated.
32022         [BZ #16287]
32023         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32024         calling __erfcl for arguments at least 16.
32025         * math/auto-libm-test-in: Add more tests of erf.
32026         * math/auto-libm-test-out: Regenerated.
32028         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32029         individual architectures.
32030         * sysdeps/unix/sysv/linux/configure: Regenerated.
32031         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32032         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32033         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32034         (ldd_rewrite_script): Define variable.
32035         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32037         file.
32038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32039         generated file.
32040         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32041         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32042         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32043         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32044         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32045         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32046         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32047         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32049 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32051         [BZ #17084]
32052         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32053         Rename member __data.d to __data.__elision_data.
32055 2014-06-24  Wilco  <wdijkstr@arm.com>
32057         * NEWS: Add 16918 to fixed bug list.
32059 2014-06-24  Wilco  <wdijkstr@arm.com>
32061         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32063 2014-06-24  Wilco  <wdijkstr@arm.com>
32065         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32066         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32067         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32068         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32069         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32070         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32071         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32072         Use _FPU_MASK_RM.
32074 2014-06-24  Wilco  <wdijkstr@arm.com>
32076         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32078 2014-06-24  Wilco  <wdijkstr@arm.com>
32080         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32081         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32082         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32083         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32085 2014-06-24  Wilco  <wdijkstr@arm.com>
32087         [BZ #16918]
32088         * sysdeps/arm/feupdateenv.c (feupdateenv):
32089         Rewrite to reduce FPSCR accesses and fix return value.
32091 2014-06-24  Wilco  <wdijkstr@arm.com>
32093         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32094         Optimize to avoid unnecessary FPSCR writes.
32095         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32096         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32097         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32098         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32100 2014-06-24  Wilco  <wdijkstr@arm.com>
32102         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32103         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32104         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32105         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32106         Call libc_fetestexcept_vfp.
32107         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32108         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32109         __SOFTFP__ ifdef so that they can be built for softfp.
32111 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32113         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32114         argument type signed char.
32116         * Makerules (check-abi): Dump diff of symlist if the test
32117         fails.
32119 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32121         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32122         using abort.
32124         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32125         Remove unused variable ST.
32127 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32129         [BZ #16354]
32130         [BZ #17061]
32131         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32132         small arguments before calling __expm1.
32133         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32134         small arguments before calling __expm1f.
32135         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32136         small arguments before calling __expm1l.
32137         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32138         Likewise.
32139         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32140         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32141         spurious underflow for some cosh tests.
32142         * math/auto-libm-test-out: Regenerated.
32143         * sysdeps/i386/fpu/libm-test-ulps: Update.
32145         [BZ #17050]
32146         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32147         (__ieee754_y1): Set errno if return value overflows.
32148         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32149         (__ieee754_y1f): Set errno if return value overflows.
32150         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32151         (__ieee754_y1l): Set errno if return value overflows.
32152         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32153         (__ieee754_y1l): Set errno if return value overflows.
32154         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32155         * math/auto-libm-test-out: Regenerated.
32157         * math/gen-auto-libm-tests.c: Document use of
32158         ignore-zero-inf-sign.
32159         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32160         (input_flags): Add ignore-zero-inf-sign.
32161         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32162         * math/gen-libm-test.pl (generate_testfile): Handle
32163         ignore-zero-inf-sign.
32164         * math/auto-libm-test-in: Mark some cpow tests with
32165         ignore-zero-inf-sign and some with xfail-rounding.
32166         * math/auto-libm-test-out: Regenerated.
32167         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32168         * sysdeps/i386/fpu/libm-test-ulps: Update.
32169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32171         [BZ #16315]
32172         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32173         overflowing or underflowing operations take place with sign of
32174         result.
32175         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32176         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32177         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32178         (__ieee754_pow): Recompute overflowing and underflowing results in
32179         original rounding mode.
32180         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32181         (__powl_helper): Allow negative argument X and scale negated value
32182         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32183         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32184         overflowing or underflowing operations take place with sign of
32185         result.
32186         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32187         Include <math.h>.
32188         * math/auto-libm-test-in: Add more tests of pow.
32189         * math/auto-libm-test-out: Regenerated.
32190         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32191         (pow_tonearest_test_data): Remove.
32192         (pow_test_tonearest): Likewise.
32193         (pow_towardzero_test_data): Likewise.
32194         (pow_test_towardzero): Likewise.
32195         (pow_downward_test_data): Likewise.
32196         (pow_test_downward): Likewise.
32197         (pow_upward_test_data): Likewise.
32198         (pow_test_upward): Likewise.
32199         (main): Don't call removed functions.
32200         * sysdeps/i386/fpu/libm-test-ulps: Update.
32201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32203 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32206         Moved ...
32207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32209         Moved ...
32210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32212         Moved ...
32213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32215         Moved ...
32216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32218         File removed.
32219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32220         File removed.
32221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32222         File removed.
32223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32224         File removed.
32225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32226         File removed.
32227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32228         File removed.
32229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32230         File removed.
32231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32232         File removed.
32233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32234         File removed.
32235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32236         File removed.
32237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32238         File removed.
32239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32240         File removed.
32241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32242         Moved ...
32243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32245         Moved ...
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32247         ... here.
32248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32249         Moved ...
32250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32252         Moved ...
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32255         Moved ...
32256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32258         Moved ...
32259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32261         Moved ...
32262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32264         Moved ...
32265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32267         Moved ...
32268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32271         ... here.
32272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32273         Moved ...
32274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32276         Moved ...
32277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32278         ... here.
32279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32280         Moved ...
32281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32282         ... here.
32283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32284         Moved ...
32285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32286         ... here.
32287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32288         Moved ...
32289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32291         Moved ...
32292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32296         Moved ...
32297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32298         ... here.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32300         Moved ...
32301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32302         ... here.
32303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32304         Moved ...
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32307         Moved ...
32308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32310         Moved ...
32311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32313         Moved ...
32314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32316         Moved ...
32317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32318         ... here.
32319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32320         Moved ...
32321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32323         Moved ...
32324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32326         Moved ...
32327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32329         Moved ...
32330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32334         Moved ...
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32337         Moved ...
32338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32340         Moved ...
32341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32342         ... here.
32343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32344         Moved ...
32345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32346         ... here.
32347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32348         Moved ...
32349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32350         ... here.
32351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32352         Moved ...
32353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32355         Moved ...
32356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32358         Moved ...
32359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32361         Moved ...
32362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32363         ... here.
32364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32365         Moved ...
32366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32367         ... here.
32368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32369         Moved ...
32370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32371         ... here.
32372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32373         Moved ...
32374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32376         Moved ...
32377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32379 2014-06-23  Will Newton  <will.newton@linaro.org>
32380             Wilco  <wdijkstr@arm.com>
32382         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32383         implementation.  Include get-rounding-mode.h.
32384         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32385         [!libc_feholdsetround_noex_ctx]: Define
32386         libc_feholdsetround_noex_ctx.
32387         [!libc_feholdsetround_noexf_ctx]: Define
32388         libc_feholdsetround_noexf_ctx.
32389         [!libc_feholdsetround_noexl_ctx]: Define
32390         libc_feholdsetround_noexl_ctx.
32391         (libc_feholdsetround_ctx): New function.
32392         (libc_feresetround_ctx): New function.
32393         (libc_feholdsetround_noex_ctx): New function.
32394         (libc_feresetround_noex_ctx): New function.
32396 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32398         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32399         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32400         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32401         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32402         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32403         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32405         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32406         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32407         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32408         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32409         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32410         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32411         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32412         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32413         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32414         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32415         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32416         Moved ...
32417         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32418         ... here.
32419         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32420         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32421         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32422         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32423         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32424         Moved ...
32425         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32426         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32427         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32428         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32429         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32430         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32431         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32432         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32433         Moved ...
32434         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32435         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32436         Moved ...
32437         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32438         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32439         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32440         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32441         Moved ...
32442         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32443         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32444         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32445         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32446         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32447         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32448         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32449         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32450         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32451         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32452         Moved ...
32453         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32454         ... here.
32455         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32456         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32457         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32458         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32459         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32460         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32461         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32462         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32463         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32464         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32465         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32466         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32467         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32468         Moved ...
32469         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32470         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32471         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32472         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32473         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32474         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32475         Moved ...
32476         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32477         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32478         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32479         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32480         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32482         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32483         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32484         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32485         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32486         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32487         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32488         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32489         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32490         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32491         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32492         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32493         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32494         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32495         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32496         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32497         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32498         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32499         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32500         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32501         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32502         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32503         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32504         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32505         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32506         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32507         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32508         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32509         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32511 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32513         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32514         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32515         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32516         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32517         (IPV6_PMTUDISC_INTERFACE): Likewise.
32518         (IPV6_PMTUDISC_OMIT): Likewise.
32520 2014-06-23  Andreas Schwab  <schwab@suse.de>
32522         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32523         Remove unused errout label.
32525 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32527         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32528         macro: hardware supports Vector Crypto instructions.
32530 2014-06-23  Will Newton  <will.newton@linaro.org>
32532         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32533         rather than __builtin_expect.
32535         * elf/dl-lookup.c (undefined_msg): Remove variable.
32536         (_dl_lookup_symbol_x): Replace undefined_msg with string
32537         literal.
32539         * elf/dl-lookup.c (do_lookup_unique): New function.
32540         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32541         to a separate function.
32543 2014-06-23  Andreas Schwab  <schwab@suse.de>
32545         [BZ #17079]
32546         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32547         before reading the next line.
32549 2014-06-23  Will Newton  <will.newton@linaro.org>
32551         * test-skeleton.c (signal_handler): Use printf and %m
32552         rather than perror.  Use printf rather than fprintf to
32553         stderr.  Use puts rather than fputs to stderr.
32554         (main): Likewise.
32556 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32558         * nscd/nscd.c (thread_info_t): Remove typedef.
32559         (thread_info): Remove variable.
32561 2014-06-21  Allan McRae  <allan@archlinux.org>
32563         * NEWS: Mention CVE-2014-4043.
32565 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32567         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32568         * nptl/smp.h: ... here.
32570         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32572         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32573         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32574         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32575         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32577         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32578         * nptl/stack-aliasing.h: New file.
32579         * sysdeps/i386/i686/stack-aliasing.h: New file.
32580         * sysdeps/i386/i686/nptl/Makefile: File removed.
32581         * sysdeps/x86_64/stack-aliasing.h: New file.
32582         * sysdeps/x86_64/nptl/Makefile
32583         (CFLAGS-pthread_create.c): Variable removed.
32585         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32586         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32587         old file.
32588         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32589         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32590         old file.
32592 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32594         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32595         (__ASSUME_SIGFRAME_V2): Remove macro.
32596         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32597         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32598         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32599         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32600         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32601         Declare as function.  Remove conditional macro definitions.
32602         (__default_rt_sa_restorer): Likewise.
32603         (__default_sa_restorer_v1): Remove declaration.
32604         (__default_sa_restorer_v2): Likewise.
32605         (__default_rt_sa_restorer_v1): Likewise.
32606         (__default_rt_sa_restorer_v2): Likewise.
32607         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32608         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32609         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32611 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32613         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32614         (libpthread-routines): Add sysdep.
32615         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32616         * sysdeps/unix/sysv/linux/sparc/Versions
32617         (libpthread: GLIBC_2.3.3): New version set.
32618         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32619         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32620         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32621         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32622         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32623         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32624         Moved ...
32625         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32626         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32627         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32628         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32629         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32630         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32631         * sysdeps/sparc/nptl/sem_init.c: ... here.
32632         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32633         * sysdeps/sparc/nptl/sem_post.c: ... here.
32634         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32635         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32636         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32637         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32638         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32639         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32640         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32641         (libpthread-routines): Add cpu_relax.
32642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32643         File removed.
32644         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32645         (librt: GLIBC_2.3.3): New version set.
32646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32647         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32648         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32649         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32652         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32654         Moved ...
32655         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32657         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32659         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32661         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32663         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32665         Moved ...
32666         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32667         Update #include.
32668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32669         Moved ...
32670         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32671         Update #include.
32672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32673         Moved ...
32674         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32675         Update #include.
32676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32677         Moved ...
32678         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32679         Update #include.
32680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32681         Moved ...
32682         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32683         Update #include.
32684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32685         Moved ...
32686         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32687         Update #include.
32688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32689         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32691         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32693         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32695         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32697         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32699         Moved ...
32700         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32702         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32703         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32704         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32706 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32708         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32709         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32710         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32711         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32712         * nscd/nscd.c: Likewise.
32713         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32714         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32715         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32716         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32718         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32719         <kernel-features.h>.
32720         (init_mq_netlink): Remove conditional have_sock_cloexec
32721         definitions.  Remove code conditional on have_sock_cloexec < 0.
32722         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32723         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32724         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32725         <kernel-features.h>.
32726         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32727         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32729 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32732         Add tests for memset_chk and memset.
32734         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32735         with AVX2_Usable.
32737 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32739         [BZ #16046]
32740         * elf/tst-dl-iter-static.c: New file.
32741         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32743         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32744         error.
32746 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32748         * sysdeps/unix/sysv/linux/kernel-features.h
32749         (__ASSUME_F_GETOWN_EX): Remove macro.
32750         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32751         <kernel-features.h>.
32752         (miss_F_GETOWN_EX): Remove variable or macro.
32753         (do_fcntl): Do not check miss_F_GETOWN_EX.
32754         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32756         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32757         Remove macro.
32758         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32759         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32760         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32762         * sysdeps/unix/sysv/linux/kernel-features.h
32763         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32764         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32765         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32766         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32768 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32770         [BZ #17075]
32771         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32772         Fix calculation of the symbol's value.
32773         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32774         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32775         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32776         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32777         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32778         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32779         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32780         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32781         (modules-names): Add `tst-armtlsdescmod',
32782         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32783         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32784         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32785         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32786         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32787         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32788         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32789         ($(objpfx)tst-armtlsdescloc): New dependency.
32790         ($(objpfx)tst-armtlsdescextnow): Likewise.
32791         ($(objpfx)tst-armtlsdescextlazy): Likewise.
32792         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32793         TLS scheme support.
32794         * sysdeps/arm/configure: Regenerate.
32796 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32798         * include/fcntl.h (__atfct_seterrno): Remove prototype.
32799         (__atfct_seterrno_2): Likewise.
32800         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32801         <kernel-features.h>.
32802         (__ASSUME_ATFCTS): Do not undefine and redefine.
32803         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32804         (__have_atfcts): Remove conditional definition.
32805         (__fxstatat([__NR_fstatat64]: Make code unconditional.
32806         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32807         unreachable if [__ASSUME_ATFCTS].
32808         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32809         not undefine and redefine.
32810         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32811         <kernel-features.h>.
32812         (faccessat) [__NR_faccessat]: Make code unconditional.
32813         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32814         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32815         <kernel-features.h>.
32816         (fchmodat) [__NR_fchmodat]: Make code unconditional.
32817         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32818         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32819         <kernel-features.h>.
32820         (fchownat) [__NR_fchownat]: Make code unconditional.
32821         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32822         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32823         <kernel-features.h>.
32824         (futimesat) [__NR_futimesat]: Make code unconditional.
32825         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32826         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32827         <kernel-features.h>.
32828         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32829         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32830         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32831         <kernel-features.h>.
32832         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32833         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32834         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32835         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32836         <kernel-features.h>.
32837         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32838         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32839         * sysdeps/unix/sysv/linux/linkat.c: Do not include
32840         <kernel-features.h>.
32841         (linkat) [__NR_linkat]: Make code unconditional.
32842         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32843         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32844         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32845         <kernel-features.h>.
32846         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32847         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32848         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32849         <kernel-features.h>.
32850         (mkdirat) [__NR_mkdirat]: Make code unconditional.
32851         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32852         * sysdeps/unix/sysv/linux/openat.c: Do not include
32853         <kernel-features.h>.
32854         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32855         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32856         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32857         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32858         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32859         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32860         <kernel-features.h>.
32861         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32862         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32863         result of INLINE_SYSCALL directly, not via int variable.
32864         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32865         <kernel-features.h>.
32866         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32867         (renameat) [__NR_renameat]: Make code unconditional.
32868         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32869         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32870         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32871         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32872         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32873         (__ASSUME_ATFCTS): Do not undefine and redefine.
32874         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32875         <kernel-features.h>.
32876         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32877         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32878         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32879         <kernel-features.h>.
32880         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32881         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32882         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32883         (__ASSUME_ATFCTS): Do not undefine and redefine.
32884         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32885         <kernel-features.h>.
32886         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32887         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32888         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32889         <kernel-features.h>.
32890         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32891         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32893 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32895         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32897 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32899         [BZ #17069]
32900         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32901         constructed tree before returning error.
32902         * posix/bug-regexp36.c: Expand test case.
32904 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32906         [BZ #6803]
32907         * math/libm-test.inc (scalbln_test_date):
32908         Add errno expectations.
32909         * math/w_scalblnf.c: New File.
32910         Add wrapper which checks for setting errno to ERANGE.
32911         Add weak_alias for corresponding scalbln function.
32912         * math/w_scalbln.c: Likewise.
32913         * math/w_scalblnl.c: Likewise.
32914         * math/Makefile (libm-calls): Add w_scalbln.
32915         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32916         Remove weak_alias for corresponding scalbln function.
32917         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32918         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32919         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32920         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32921         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32922         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32923         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32924         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32925         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32926         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32927         Remove long_double_symbol for scalblnl function in libm, libc.
32928         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32929         Add wrapper which checks for setting errno to ERANGE.
32930         Add long_double_symbol for scalblnl function in libm, libc.
32931         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32932         Remove long_double_symbol for scalblnl in libm.
32933         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32934         Add wrapper which checks for setting errno to ERANGE.
32935         Add long_double_symbol for scalblnl function in libm.
32936         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32937         Do not use wrapper because of own implementation.
32939 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32941         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32942         3 bytes for __pad1 for x32.
32943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32945 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32946             H.J. Lu  <hongjiu.lu@intel.com>
32948         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32949         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32950         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32951         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32952         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32954 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32956         [BZ #17069]
32957         * posix/regcomp.c (parse_expression): Deallocate partially
32958         constructed tree before returning error.
32959         * posix/Makefile.c (tests): Add bug-regex36.
32960         (generated): Add bug-regex36.mtrace.
32961         (tests-special): Add $(objpfx)bug-regex36-mem.out
32962         (bug-regex36-ENV): New variable.
32963         ($(objpfx)bug-regex36-mem.out): New rule.
32964         * posix/bug-regex36.c: New file.
32966 2014-06-19  Will Newton  <will.newton@linaro.org>
32968         * malloc/malloc.c (systrim): If extra is zero then return
32969         early.
32971 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32973         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32975 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32977         * sysdeps/aarch64/strchr.S: New file.
32979 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32981         [BZ #17022]
32982         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32983         from arguments -2 or below.
32984         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32985         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32987 2014-06-18  Andreas Schwab  <schwab@suse.de>
32989         [BZ #17062]
32990         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32991         of a bracket expr not to run off the end of the string.
32992         * posix/Makefile (tests): Add tst-fnmatch3.
32993         * posix/tst-fnmatch3.c: New file.
32995 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32997         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32998         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32999         [$(cross-compiling) = no]: Likewise.
33000         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33001         [$(cross-compiling) = no]: Likewise.
33003 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33005         [BZ #17031]
33006         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33007         double, adjusted for any remainder from the high double.
33008         * math/libm-test.inc (nearbyint): Add tests.
33009         (rint): Likewise.
33011 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33013         * nptl/sysdeps/powerpc/Makefile: Moved ...
33014         * sysdeps/powerpc/nptl/Makefile: ... here.
33015         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33016         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33017         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33018         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33019         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33020         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33021         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33022         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33023         * nptl/sysdeps/powerpc/tls.h: Moved ...
33024         * sysdeps/powerpc/nptl/tls.h: ... here.
33026 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33028         [BZ #16681]
33029         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33030         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33031         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33032         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33033         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33034         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33035         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33036         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33037         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33039 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33041         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33043 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33045         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33046         defined operator.
33048         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33049         $TIMEOUTFACTOR.
33051 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33053         [BZ #17058]
33054         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33055         non-executed part of the test.
33057 2014-06-16  Andreas Schwab  <schwab@suse.de>
33059         * string/bits/string2.h (strdup, strndup): Update feature guard.
33061 2014-06-14  David S. Miller  <davem@davemloft.net>
33063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33065 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33067         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33068         that was previously under [RESET_PID].
33069         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33071         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33072         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33073         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33074         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33075         (__libc_vfork): New strong alias.
33076         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33078 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33080         * sysdeps/generic/elide.h: New file.
33082 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33084         * Makefile (installed-headers): Adjust path of pthread.h header.
33086 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33088         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33089         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33090         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33091         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33093         * nptl/sysdeps/s390/Makefile: Moved ...
33094         * sysdeps/s390/nptl/Makefile: ... here.
33095         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33096         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33097         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33098         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33099         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33100         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33101         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33102         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33103         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33104         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33105         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33106         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33107         * nptl/sysdeps/s390/tls.h: Moved ...
33108         * sysdeps/s390/nptl/tls.h: ... here.
33110         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33111         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33113 2014-06-13  David S. Miller  <davem@davemloft.net>
33115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33118         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33122         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33123         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33124         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33125         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33126         Remove RESET_PID cpp guards.
33127         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33128         Remove RESET_PID cpp guards.
33129         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33131 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33133         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33134         __sp to uintptr_t.
33136 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33138         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33139         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33140         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33141         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33142         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33143         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33144         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33145         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33146         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33147         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33148         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33149         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33150         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33151         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33152         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33153         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33154         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33155         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33156         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33157         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33159         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33160         (pthread_rwlock_rdlock): Add elision.
33161         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33162         (pthread_rwlock_wrlock): Add elision.
33163         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33164         (pthread_rwlock_trywrlock): Add elision.
33165         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33166         (pthread_rwlock_tryrdlock): Add elision.
33167         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33168         (pthread_rwlock_tryrdlock): Add elision unlock.
33169         * nptl/sysdeps/pthread/pthread.h:
33170         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33171         (PTHREAD_RWLOCK_INITIALIZER,
33172         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33173         Handle new elision field.
33174         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33175         * sysdeps/arm/nptl/bits/pthreadtypes.h
33176         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33177         * sysdeps/sh/nptl/bits/pthreadtypes.h
33178         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33179         * sysdeps/tile/nptl/bits/pthreadtypes.h
33180         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33181         * sysdeps/a/nptl/bits/pthreadtypes.h
33182         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33183         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33184         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33185         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33186         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33187         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33188         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33189         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33190         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33191         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33192         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33193         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33194         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33195         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33197         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33198         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33199         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33200         (elision_init): Set try_xbegin to zero when no RTM.
33201         * sysdeps/x86/nptl/bits/pthreadtypes.h
33202         (pthread_rwlock_t): Change __pad1 to __rwelision.
33203         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33205 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33207         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33208         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33209         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33210         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33212 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33214         [BZ #16996]
33215         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33216         that the cached result has been set before returning it.
33218 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33220         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33221         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33222         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33223         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33224         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33225         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33227         * nptl/sysdeps/sparc/Makefile: Moved ...
33228         * sysdeps/sparc/nptl/Makefile: ... here.
33229         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33230         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33231         * nptl/sysdeps/sparc/tls.h: Moved ...
33232         * sysdeps/sparc/nptl/tls.h: ... here.
33233         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33234         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33235         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33236         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33237         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33238         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33239         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33240         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33241         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33242         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33243         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33244         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33245         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33246         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33247         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33248         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33249         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33250         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33251         Update #include.
33252         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33253         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33254         Update #include.
33255         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33256         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33257         Update #include.
33258         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33259         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33260         Update #include.
33262         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33264         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33265         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33267         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33268         (struct list_links): Type removed.
33269         (struct thread_node, struct timer_node): Replace struct list_links
33270         with struct list_head.
33271         (list_unlink_ip): Likewise.
33272         * sysdeps/pthread/timer_routines.c
33273         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33274         (list_append, list_insbefore): Likewise.
33275         (list_init): Function removed.
33276         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33277         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33278         * sysdeps/pthread/Makefile: ... here, new file.
33280         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33281         * sysdeps/nptl/Implies: ... here.
33282         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33283         * nptl/sysdeps/pthread/list.h: Moved ...
33284         * include/list.h: ... here.
33285         * nptl/sysdeps/pthread/createthread.c: Moved ...
33286         * nptl/createthread.c: ... here.
33287         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33288         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33289         * nptl/pt-longjmp.c: ... here.
33290         * nptl/sysdeps/pthread/Makefile: Moved ...
33291         * sysdeps/nptl/Makefile: ... here.
33292         * nptl/sysdeps/pthread/Subdirs: Moved ...
33293         * sysdeps/nptl/Subdirs: ... here.
33294         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33295         * sysdeps/nptl/aio_misc.h: ... here.
33296         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33297         * sysdeps/nptl/bits/libc-lock.h: ... here.
33298         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33299         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33300         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33301         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33302         * nptl/sysdeps/pthread/configure: Moved ...
33303         * sysdeps/nptl/configure: ... here.
33304         * nptl/sysdeps/pthread/configure.ac: Moved ...
33305         * sysdeps/nptl/configure.ac: ... here.
33306         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33307         * sysdeps/nptl/gai_misc.h: ... here.
33308         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33309         * sysdeps/nptl/librt-cancellation.c: ... here.
33310         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33311         * sysdeps/nptl/malloc-machine.h: ... here.
33312         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33313         * sysdeps/nptl/pthread-functions.h: ... here.
33314         * nptl/sysdeps/pthread/pthread.h: Moved ...
33315         * sysdeps/nptl/pthread.h: ... here.
33316         * nptl/sysdeps/pthread/setxid.h: Moved ...
33317         * sysdeps/nptl/setxid.h: ... here.
33318         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33319         * sysdeps/nptl/sigfillset.c: ... here.
33320         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33321         * sysdeps/nptl/tcb-offsets.h: ... here.
33322         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33323         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33324         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33325         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33326         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33327         * sysdeps/pthread/allocalim.h: ... here.
33328         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33329         * sysdeps/pthread/bits/sigthread.h: ... here.
33330         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33331         * sysdeps/pthread/flockfile.c: ... here.
33332         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33333         * sysdeps/pthread/ftrylockfile.c: ... here.
33334         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33335         * sysdeps/pthread/funlockfile.c: ... here.
33336         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33337         * sysdeps/pthread/posix-timer.h: ... here.
33338         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33339         * sysdeps/pthread/timer_create.c: ... here.
33340         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33341         * sysdeps/pthread/timer_delete.c: ... here.
33342         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33343         * sysdeps/pthread/timer_getoverr.c: ... here.
33344         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33345         * sysdeps/pthread/timer_gettime.c: ... here.
33346         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33347         * sysdeps/pthread/timer_routines.c: ... here.
33348         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33349         * sysdeps/pthread/timer_settime.c: ... here.
33350         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33351         * sysdeps/pthread/tst-timer.c: ... here.
33352         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33353         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33355         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33356         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33358         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33359         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33360         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33361         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33362         Update #include target.
33363         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33364         * sysdeps/i386/i686/nptl/Makefile: ... here.
33365         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33366         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33367         Update #include target.
33368         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33369         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33370         * nptl/sysdeps/i386/Makefile: Moved ...
33371         * sysdeps/i386/nptl/Makefile: ... here.
33372         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33373         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33374         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33375         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33376         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33377         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33378         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33379         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33380         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33381         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33382         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33383         * nptl/sysdeps/i386/tls.h: Moved ...
33384         * sysdeps/i386/nptl/tls.h: ... here.
33386         * sysdeps/sh/Makefile [$(subdir) = csu]
33387         (gen-as-const-headers): Add tcb-offsets.sym.
33388         * nptl/sysdeps/sh/Makefile: File removed.
33389         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33390         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33391         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33392         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33393         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33394         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33395         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33396         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33397         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33398         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33399         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33400         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33401         * nptl/sysdeps/sh/tls.h: Moved ...
33402         * sysdeps/sh/nptl/tls.h: ... here.
33403         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33404         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33405         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33406         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33407         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33408         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33410         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33411         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33412         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33413         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33414         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33415         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33416         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33417         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33418         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33419         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33420         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33421         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33422         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33423         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33424         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33425         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33426         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33427         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33428         Moved ...
33429         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33430         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33431         Moved ...
33432         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33433         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33434         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33435         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33436         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33437         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33438         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33439         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33440         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33441         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33442         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33443         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33444         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33445         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33446         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33447         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33448         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33449         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33450         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33452 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33454         * posix/spawn_faction_addopen.c: Include string.h.
33456 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33458         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33459         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33460         * nptl/sysdeps/x86_64/Makefile: Moved ...
33461         * sysdeps/x86_64/nptl/Makefile: ... here.
33462         * nptl/sysdeps/x86_64/configure: Moved ...
33463         * sysdeps/x86_64/nptl/configure: ... here.
33464         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33465         * sysdeps/x86_64/nptl/configure.ac: ... here.
33466         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33467         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33468         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33469         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33470         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33471         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33472         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33473         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33474         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33475         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33476         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33477         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33478         * nptl/sysdeps/x86_64/tls.h: Moved ...
33479         * sysdeps/x86_64/nptl/tls.h: ... here.
33480         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33481         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33482         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33483         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33485         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33487 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33491 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33493         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33494         type.
33495         [POSIX] (off_t): Likewise.
33496         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33497         [POSIX] (S_ISBLK): Require macro.
33498         [POSIX] (S_ISCHR): Likewise.
33499         [POSIX] (S_ISDIR): Likewise.
33500         [POSIX] (S_ISFIFO): Likewise.
33501         [POSIX] (S_ISREG): Likewise.
33502         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33503         optional-macro.
33504         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33505         type.
33506         [POSIX] (time_t): Likewise.
33507         [POSIX] (timer_t): Likewise.
33509 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33511         [BZ #17048]
33512         * posix/spawn_int.h (struct __spawn_action): Make the path string
33513         non-const to support deallocation.
33514         * posix/spawn_faction_addopen.c
33515         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33516         * posix/spawn_faction_destroy.c
33517         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33518         path in all spawn_do_open actions.
33519         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33520         posix_spawn_file_actions_addopen.
33522 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33524         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33525         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33526         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33527         conditional code always true.
33528         (__libc_vfork): New alias.
33530 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33532         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33533         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33535         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33537         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33538         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33540         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33541         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33543         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33544         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33546 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33548         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33549         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33550         multiarch strcmp for PPC64.
33551         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33552         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33554         multiarch optimizations.
33555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33556         (__libc_ifunc_impl_list): Likewise.
33558 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33560         * benchtests/scripts/validate_benchout.py: New script.
33561         * benchtests/Makefile (bench-func): Call it.
33562         * benchtests/scripts/benchout.schema.json: New file.
33564 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33566         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33567         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33568         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33569         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33570         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33571         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33572         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33573         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33574         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33575         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33576         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33577         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33578         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33579         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33580         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33581         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33583         Moved ...
33584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33585         ... here.
33586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33587         Moved ...
33588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33590         Moved ...
33591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33592         ... here.
33593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33594         Moved ...
33595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33596         ... here.
33597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33598         Moved ...
33599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33601         Moved ...
33602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33603         ... here.
33604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33605         Moved ...
33606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33607         ... here.
33608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33609         Moved ...
33610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33612         Moved ...
33613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33614         ... here.
33615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33616         Moved ...
33617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33618         ... here.
33619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33620         Moved ...
33621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33622         ... here.
33623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33624         Moved ...
33625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33627         Moved ...
33628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33629         ... here.
33630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33631         Moved ...
33632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33633         ... here.
33634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33635         Moved ...
33636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33637         ... here.
33638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33639         Moved ...
33640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33642         Moved ...
33643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33644         ... here.
33645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33646         Moved ...
33647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33648         ... here.
33649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33650         Moved ...
33651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33653         Moved ...
33654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33655         ... here.
33656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33657         Moved ...
33658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33660         Moved ...
33661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33663         Moved ...
33664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33665         ... here.
33666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33667         Moved ...
33668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33669         ... here.
33670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33671         Moved ...
33672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33673         ... here.
33674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33675         Moved ...
33676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33678         Moved ...
33679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33680         ... here.
33681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33682         Moved ...
33683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33684         ... here.
33685         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33686         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33687         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33688         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33689         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33690         Moved ...
33691         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33692         ... here.
33693         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33694         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33695         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33696         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33697         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33698         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33699         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33700         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33702         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33703         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33704         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33705         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33706         Moved ...
33707         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33708         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33709         Moved ...
33710         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33711         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33712         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33713         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33714         Moved ...
33715         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33716         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33717         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33718         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33719         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33720         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33721         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33723 2014-06-10  Wilco  <wdijkstr@arm.com>
33725         * math/test-fenv-return.c: New file.
33726         * math/Makefile: Add new test test-fenv-return.
33728 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33730         [BZ #17042]
33731         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33732         when x - 1 is zero.
33733         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33734         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33735         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33736         0.0L for an argument of 1.0L.
33737         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33738         Likewise.
33739         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33740         value when x - 1 is zero.
33741         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33742         * sysdeps/i386/fpu/libm-test-ulps: Update.
33743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33745 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33747         [BZ #15119]
33748         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33750 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33752         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33753         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33755 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33757         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33758         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33760         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33761         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33763         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33764         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33766         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33767         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33769         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33770         if not already defined.
33771         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33772         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33773         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33774         (TLS_INIT_TP): Use it.
33775         (TLS_DEFINE_INIT_TP): New macro.
33776         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33778 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33780         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33781         constant.
33782         [POSIX] (IXANY): Likewise.
33783         [POSIX] (OLCUC): Likewise.
33784         [POSIX || POSIX2008] (CBAUD): Do not allow.
33785         [POSIX || POSIX2008] (DEFECHO): Likewise.
33786         [POSIX || POSIX2008] (ECHOCTL): Likewise.
33787         [POSIX || POSIX2008] (ECHOKE): Likewise.
33788         [POSIX || POSIX2008] (ECHOPRT): Likewise.
33789         [POSIX || POSIX2008] (EXTA): Likewise.
33790         [POSIX || POSIX2008] (EXTB): Likewise.
33791         [POSIX || POSIX2008] (FLUSHO): Likewise.
33792         [POSIX || POSIX2008] (LOBLK): Likewise.
33793         [POSIX || POSIX2008] (PENDIN): Likewise.
33794         [POSIX || POSIX2008] (SWTCH): Likewise.
33795         [POSIX || POSIX2008] (VDISCARD): Likewise.
33796         [POSIX || POSIX2008] (VDSUSP): Likewise.
33797         [POSIX || POSIX2008] (VLNEXT): Likewise.
33798         [POSIX || POSIX2008] (VREPRINT): Likewise.
33799         [POSIX || POSIX2008] (VSTATUS): Likewise.
33800         [POSIX || POSIX2008] (VWERASE): Likewise.
33801         (B*): Change to B[0123456789]*.
33802         * conform/data/time.h-data [POSIX || UNIX98]
33803         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33804         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33805         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33806         [POSIX] (tm_*): Do not allow.
33808 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
33810         * Makefile (install): Don't set LANGUAGE.
33811         * Makefile.in (install): Likewise.
33812         * assert/Makefile (test-assert-ENV): Remove variable.
33813         (test-assert-perr-ENV): Likewise.
33814         * elf/Makefile (neededtest4-ENV): Likewise.
33815         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33816         [$(cross-compiling) = no]: Don't set LANGUAGE.
33817         * io/ftwtest-sh (LANG): Remove variable.
33818         * libio/Makefile (tst-widetext-ENV): Likewise.
33819         * manual/install.texi (Running make install): Don't refer to
33820         environment settings for make install.
33821         * INSTALL: Regenerated.
33822         * nptl/tst-tls6.sh: Don't set LANG.
33823         * posix/globtest.sh (LANG): Remove variable.
33824         * string/Makefile (tester-ENV): Likewise.
33825         (inl-tester-ENV): Likewise.
33826         (noinl-tester-ENV): Likewise.
33827         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33828         [$(cross-compiling) = no]: Don't set LANGUAGE.
33829         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33830         without explicit environment settings.
33832 2014-06-06  Roland McGrath  <roland@hack.frob.com>
33834         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33835         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33836         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33837         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33839 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
33841         * crypt/crypt-private.h [DOS]: Add some includes taken from the
33842         other files in the crypt directory.
33843         * crypt/crypt.c: Remove duplicate includes.
33844         * crypt/crypt-entry.c: Likewise.
33845         * crypt/crypt_util.c: Likewise.
33847 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
33849         * Makeconfig (run-program-env): New variable.
33850         (run-program-prefix-before-env): Likewise.
33851         (run-program-prefix-after-env): Likewise.
33852         (run-program-prefix): Define in terms of new variables.
33853         (built-program-cmd-before-env): New variable.
33854         (built-program-cmd-after-env): Likewise.
33855         (built-program-cmd): Define in terms of new variables.
33856         (test-program-prefix-before-env): New variable.
33857         (test-program-prefix-after-env): Likewise.
33858         (test-program-prefix): Define in terms of new variables.
33859         (test-program-cmd-before-env): New variable.
33860         (test-program-cmd-after-env): Likewise.
33861         (test-program-cmd): Define in terms of new variables.
33862         * Rules (make-test-out): Use $(run-program-env).
33863         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33864         (help): Do not mention environment variables.  Mention
33865         --timeoutfactor option.
33866         (timeoutfactor): New variable.
33867         (blacklist_exports): Remove function.
33868         (exports): Remove variable.
33869         (command): Do not include ${exports}.
33870         * manual/install.texi (Configuring and compiling): Do not mention
33871         test wrappers preserving environment variables.  Mention that last
33872         assignment to a variable must take precedence.
33873         * INSTALL: Regenerated.
33874         * benchtests/Makefile (run-bench): Use $(run-program-env).
33875         * catgets/Makefile ($(objpfx)test1.cat): Use
33876         $(built-program-cmd-before-env), $(run-program-env) and
33877         $(built-program-cmd-after-env).
33878         ($(objpfx)test2.cat): Do not specify environment variables
33879         explicitly.
33880         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33881         $(run-program-env) and $(built-program-cmd-after-env).
33882         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33883         $(run-program-env) and $(test-program-cmd-after-env).
33884         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33885         explicitly.
33886         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33887         run_program_env and test_program_cmd_after_env arguments.
33888         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33889         * elf/tst-pathopt.sh: Use run_program_env argument.
33890         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33891         $(test-wrapper-env) and $(run-program-env).
33892         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33893         run_program_env arguments.
33894         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33895         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33896         $(test-program-prefix-before-env), $(run-program-env) and
33897         $(test-program-prefix-after-env).
33898         ($(objpfx)tst-gettext2.out): Likewise.
33899         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33900         run_program_env and test_program_prefix_after_env arguments.
33901         * intl/tst-gettext2.sh: Likewise.
33902         * intl/tst-gettext4.sh: Do not set environment variables
33903         explicitly.
33904         * intl/tst-gettext6.sh: Likewise.
33905         * intl/tst-translit.sh: Likewise.
33906         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33907         $(test-program-prefix-before-env), $(run-program-env) and
33908         $(test-program-prefix-after-env).
33909         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33910         run_program_env and test_program_prefix_after_env arguments.
33911         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33912         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33913         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33914         explicitly with each use of ${test_wrapper_env}.
33915         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33916         $(test-program-prefix-before-env), $(run-program-env) and
33917         $(test-program-prefix-after-env).
33918         * posix/tst-getconf.sh: Do not set environment variables
33919         explicitly.
33920         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33921         run_program_env and test_program_prefix_after_env arguments.
33922         * stdio-common/tst-printf.sh: Do not set environment variables
33923         explicitly.
33924         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33925         $(test-program-prefix-before-env), $(run-program-env) and
33926         $(test-program-prefix-after-env).
33927         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33928         run_program_env and test_program_prefix_after_env arguments.
33929         Split $test calls into $test_pre and $test.
33930         * timezone/Makefile (build-testdata): Use
33931         $(built-program-cmd-before-env), $(run-program-env) and
33932         $(built-program-cmd-after-env).
33934 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33936         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33937         strlen for non SHARED builds.
33939 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33941         * nptl/allocatestack.c (check_list): Inlined function...
33942         (__reclaim_stacks): ... here.
33944 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33946         [BZ #15698]
33947         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33948         memory overrun.
33950 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33952         * Rules (make-test-out): Include
33953         LOCPATH=$(common-objpfx)localedata in default environment.
33954         * debug/Makefile (tst-chk1-ENV): Remove variable.
33955         (tst-chk2-ENV): Likewise.
33956         (tst-chk3-ENV): Likewise.
33957         (tst-chk4-ENV): Likewise.
33958         (tst-chk5-ENV): Likewise.
33959         (tst-chk6-ENV): Likewise.
33960         (tst-lfschk1-ENV): Likewise.
33961         (tst-lfschk2-ENV): Likewise.
33962         (tst-lfschk3-ENV): Likewise.
33963         (tst-lfschk4-ENV): Likewise.
33964         (tst-lfschk5-ENV): Likewise.
33965         (tst-lfschk6-ENV): Likewise.
33966         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33967         (tst-iconv7-ENV): Likewise.
33968         * intl/Makefile (LOCPATH-ENV): Likewise.
33969         (tst-codeset-ENV): Likewise.
33970         (tst-gettext3-ENV): Likewise.
33971         (tst-gettext5-ENV): Likewise.
33972         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33973         (tst-fopenloc-ENV): Likewise.
33974         (tst-fgetws-ENV): Remove variable.
33975         (tst-ungetwc1-ENV): Likewise.
33976         (tst-ungetwc2-ENV): Likewise.
33977         (bug-ungetwc2-ENV): Likewise.
33978         (tst-swscanf-ENV): Likewise.
33979         (bug-ftell-ENV): Likewise.
33980         (tst-fgetwc-ENV): Likewise.
33981         (tst-fseek-ENV): Likewise.
33982         (tst-ftell-partial-wide-ENV): Likewise.
33983         (tst-ftell-active-handler-ENV): Likewise.
33984         (tst-ftell-append-ENV): Likewise.
33985         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33986         (tst-regexloc-ENV): Likewise.
33987         (bug-regex1-ENV): Likewise.
33988         (tst-regex-ENV): Likewise.
33989         (tst-regex2-ENV): Likewise.
33990         (bug-regex5-ENV): Likewise.
33991         (bug-regex6-ENV): Likewise.
33992         (bug-regex17-ENV): Likewise.
33993         (bug-regex18-ENV): Likewise.
33994         (bug-regex19-ENV): Likewise.
33995         (bug-regex20-ENV): Likewise.
33996         (bug-regex22-ENV): Likewise.
33997         (bug-regex23-ENV): Likewise.
33998         (bug-regex25-ENV): Likewise.
33999         (bug-regex26-ENV): Likewise.
34000         (bug-regex30-ENV): Likewise.
34001         (bug-regex32-ENV): Likewise.
34002         (bug-regex33-ENV): Likewise.
34003         (bug-regex34-ENV): Likewise.
34004         (bug-regex35-ENV): Likewise.
34005         (tst-rxspencer-ENV): Likewise.
34006         (tst-rxspencer-no-utf8-ENV): Likewise.
34007         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34008         (tst-sscanf-ENV): Likewise.
34009         (tst-swprintf-ENV): Likewise.
34010         (tst-swscanf-ENV): Likewise.
34011         (test-vfprintf-ENV): Likewise.
34012         (scanf13-ENV): Likewise.
34013         (bug14-ENV): Likewise.
34014         (tst-grouping-ENV): Likewise.
34015         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34016         (tst-strtod3-ENV): Likewise.
34017         (tst-strtod4-ENV): Likewise.
34018         (tst-strtod5-ENV): Likewise.
34019         (testmb2-ENV): Likewise./
34020         * string/Makefile (tst-strxfrm-ENV): Likewise.
34021         (tst-strxfrm2-ENV): Likewise.
34022         (bug-strcoll1-ENV): Likewise.
34023         (test-strcasecmp-ENV): Likewise.
34024         (test-strncasecmp-ENV): Likewise.
34025         * time/Makefile (tst-strptime-ENV): Likewise.
34026         (tst-ftime_l-ENV): Likewise.
34027         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34028         (tst-mbrtowc-ENV): Likewise.
34029         (tst-wcrtomb-ENV): Likewise.
34030         (tst-mbrtowc2-ENV): Likewise.
34031         (tst-c16c32-1-ENV): Likewise.
34032         (tst-mbsnrtowcs-ENV): Likewise.
34034 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34036         * manual/resource.texi (How to get information about the memory
34037         subsystem?): Fix typo.
34038         Reported by Peon de la Parra Ivan <peon@keba.com>
34040 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34042         [BZ #16882]
34043         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34044         (pthread_spin_lock): Branch out of spin loop to proper location.
34045         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34046         (pthread_spin_lock): Likewise.
34048         * nptl/tst-spin4.c: New test.
34049         * nptl/Makefile (tests): Add tst-spin4.
34051 2014-06-03  Andreas Schwab  <schwab@suse.de>
34053         [BZ #15946]
34054         * resolv/res_send.c (send_dg): Reload file descriptor after
34055         calling reopen.
34057 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34059         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34061 2014-06-03  Richard Henderson  <rth@redhat.com>
34063         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34064         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34065         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34066         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34067         in the SAVE_PID block.
34068         (__libc_vfork): New alias.
34069         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34071         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34072         child in registers, not on the stack.  Remove RESET_PID conditionals.
34073         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34075 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34077         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34079 2014-06-03  Wilco  <wdijkstr@arm.com>
34081         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34082         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34083         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34084         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34085         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34086         Likewise.
34088 2014-06-03  Wilco  <wdijkstr@arm.com>
34090         * sysdeps/aarch64/fpu/math_private.h
34091         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34092         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34093         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34094         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34095         Fix declarations.
34097 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34099         * crypt/crypt-private.h: Include ufc-crypt.h.
34100         (__b64_from_24bit): Declare extern.
34101         * crypt/crypt_util.c(__b64_from_24bit): New function.
34102         (b64t): New static const variable.
34103         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34104         (b64t): Remove variable.
34105         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34106         * crypt/sha256-crypt.c: Include crypt-private.h.
34107         (b64t): Remove variable.
34108         (__sha256_crypt_r): Remove b64_from_24bit and replace
34109         with __b64_from_24bit.
34110         * crypt/sha512-crypt.c: Likewise.
34112 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34114         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34115         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34116         Label the code __libc_vfork rather than __vfork.
34117         [!NOT_IN_libc] (vfork): Define as weak alias.
34118         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34119         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34120         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34122 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34124         * malloc/malloc.c (malloc_info): Fix format specifier for
34125         n_mmaps.
34127 2014-06-02  Wilco  <wdijkstr@arm.com>
34129         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34130         FPCR write.
34132 2014-06-02  Wilco  <wdijkstr@arm.com>
34134         [BZ #17009]
34135         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34136         Rewrite to reduce FPCR/FPSR accesses.
34138 2014-06-01  David S. Miller  <davem@davemloft.net>
34140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34142 2014-05-31  David S. Miller  <davem@davemloft.net>
34144         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34145         to occur in round to nearest mode when |x| >= 2.0
34147 2014-05-30  Richard Henderson  <rth@twiddle.net>
34149         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34150         (PSEUDO_RET_NOERRNO): Remove.
34151         (ret): Don't redefine.
34152         (ret_NOERRNO): Define in terms of ret.
34153         (ret_ERRVAL): Likewise.
34155         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34156         use of PSEUDO_RET; perform the error check directly.
34158 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34160         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34161         with __int128_t.
34163 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34165         * malloc/malloc (malloc_info): Fix formatting.
34167 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34168             Roland McGrath  <roland@hack.frob.com>
34170         * malloc/malloc (malloc_info): Also print mmapped statistics.
34172 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34174         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34175         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34177 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34179         * malloc/malloc.c (malloc_info): Inline mi_arena.
34181 2014-05-29  Richard Henderson  <rth@twiddle.net>
34183         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34184         Remove comma before expanding ASM_ARGS_##nr.
34185         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34186         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34187         of ASM_ARGS_##nr.
34188         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34189         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34190         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34191         (ASM_ARGS_1): Add leading comma.
34193         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34194         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34195         to __errno_location.
34196         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34197         Remove the expected plt for __errno_location.
34199         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34200         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34201         call to __read_tp.
34203         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34204         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34205         it and break it down.
34206         (DOCARGS_0, DOCARGS_1): Do nothing.
34207         (DOCARGS_2): Update to store into the new stack frame.
34208         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34209         (UNDOCARGS_1): Update to restore from the new stack frame.
34210         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34211         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34213         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34214         (SINGLE_THREAD_P): New parameter for result regno.
34215         (PSEUDO): Update to match; use cbz instead of beq.
34217         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34218         Use ENTRY to define the _nocancel entry point.  Share the syscall
34219         and syscall error check paths with the cancel path.
34220         (PSEUDO_END): New.
34222         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34223         whitespace; tabs before and after asm mnemonics.
34225 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34227         [BZ #15132]
34228         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34229         Call fstat64 or stat64 internally, depending on arguments passed.
34230         Replace stat buffer argument with file descriptor argument.
34231         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34232         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34233         Pass fd to __internal_statvfs instead of calling fstat64.
34234         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34235         Pass fd to __internal_statvfs64 instead of calling fstat64.
34236         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34237         Pass -1 to __internal_statvfs instead of calling stat64.
34238         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34239         Pass -1 to __internal_statvfs64 instead of calling stat64.
34241 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34243         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34244         that was previously under [RESET_PID].
34245         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34247         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34248         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34250 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34252         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34254         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34255         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34257 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34259         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34261 2014-05-27  Andreas Schwab  <schwab@suse.de>
34263         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34264         TLS_INIT_TP macro.
34265         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34266         * elf/rtld.c (init_tls, dl_main): Likewise.
34267         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34268         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34269         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34270         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34271         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34272         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34273         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34274         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34275         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34276         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34277         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34278         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34279         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34280         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34281         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34282         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34283         * sysdeps/generic/tls.h: Update description.
34285 2014-05-27  Will Newton  <will.newton@linaro.org>
34287         [BZ #16990]
34288         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34289         and restore r2 rather than just restoring.
34291 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34293         [BZ #16724]
34294         * libio/tst-ftell-append.c: New test case.
34295         * libio/Makefile (tests): Add test case.
34296         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34297         append mode.
34298         * libio/wfileops.c (do_ftell_wide): Likewise.
34300 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34304         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34305         ...
34306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34308         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34309         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34310         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34311         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34312         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34313         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34315         Moved ...
34316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34317         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34318         Moved ...
34319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34320         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34321         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34322         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34323         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34324         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34325         ...
34326         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34327         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34328         Moved ...
34329         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34330         here.
34331         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34332         ...
34333         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34334         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34335         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34337         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34338         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34339         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34340         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34343         merge into ...
34344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34345         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34346         ...
34347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34349         ...
34350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34352         Moved ...
34353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34354         here.
34355         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34356         Moved ...
34357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34359         Moved ...
34360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34363         conditional [RESET_PID].
34364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34365         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34366         removed.
34367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34368         removed.
34370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34371         <tcb-offsets.h>.
34372         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34373         (__libc_vfork): New strong alias.
34374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34375         removed.
34376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34377         Removed.
34379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34380         <tcb-offsets.h>.
34381         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34382         (__libc_vfork): New strong alias.
34383         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34384         removed.
34385         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34386         removed.
34388 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34390         * malloc/malloc.c (mi_arena): New function.
34391         (malloc_info): Remove nested function mi_arena. Call non-nosted
34392         function mi_arena.
34394 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34396         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34397         by insrwi.
34398         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34399         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34400         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34401         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34402         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34403         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34404         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34406 2014-05-26  Andreas Schwab  <schwab@suse.de>
34408         [BZ #16984]
34409         * locale/programs/repertoire.c (repertoire_read): Add slash
34410         between I18NPATH element and file name.
34411         * locale/programs/locfile.c (locfile_read): Likewise.
34413 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34415         * nptl/pthread_mutexattr_settype.c
34416         (__pthread_mutexattr_settype):
34417         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34419 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34421         * nptl/tst-mutex5 (do_test):
34422         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34424 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34426         * benchtests/README: Document 'init' directive.
34427         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34428         BENCH_INIT.
34429         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34430         (parse_file): Recognize 'init' directive.
34432 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34434         [BZ #16796]
34435         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34436         alignment of struct pthread.
34438 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34440         [BZ #16878]
34441         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34442         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34443         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34444         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34446 2014-05-25  Richard Henderson  <rth@twiddle.net>
34448         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34449         (SINGLE_THREAD_P_PIC): Remove.
34450         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34451         (SINGLE_THREAD_P_PIC): Remove.
34453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34454         branch to syscall error ...
34455         (PSEUDO): ... here.
34456         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34457         from __local_syscall_error to .Lsyscall_error.
34458         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34459         (SYSCALL_ERROR): Update label name.
34461         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34462         Do not use DOARGS/UNDOARGS.
34463         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34464         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34465         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34466         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34467         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34469         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34470         block comment.
34472         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34473         define if !NOT_IN_libc.
34474         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34475         define with non-default symbol versions.
34477 2014-05-23  Richard Henderson  <rth@twiddle.net>
34479         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34480         (vfork, __vfork): Define via compat_symbol.
34482         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34483         [!HAVE_IFUNC] (vfork_compat): Remove.
34484         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34486 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34488         [BZ #16978]
34489         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34490         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34491         variable.
34493 2014-05-23  Richard Henderson  <rth@twiddle.net>
34495         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34496         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34497         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34498         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34500         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34501         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34502         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34503         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34504         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34505         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34506         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34507         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34508         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34509         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34510         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34511         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34512         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34513         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34514         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34515         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34516         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34517         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34518         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34519         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34520         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34521         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34522         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34523         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34524         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34525         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34526         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34527         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34528         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34529         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34530         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34531         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34532         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34533         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34534         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34535         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34536         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34537         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34538         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34539         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34540         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34541         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34542         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34543         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34544         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34545         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34546         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34547         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34548         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34549         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34550         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34551         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34552         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34553         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34554         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34555         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34557         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34558         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34559         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34560         before exiting on error.
34561         (__libc_vfork): New strong alias.
34562         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34563         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34565         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34566         that was previously under [RESET_PID].
34567         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34569         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34571 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34573         [BZ #16977]
34574         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34575         value when x - 1 is zero.
34576         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34577         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34578         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34579         0.0L for an argument of 1.0L.
34580         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34581         Likewise.
34582         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34583         value when x - 1 is zero.
34584         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34585         * sysdeps/i386/fpu/libm-test-ulps: Update.
34586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34588 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34590         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34591         alphasort and versionsort.
34593 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34595         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34596         macro.
34597         [copysignf]: Likewise.
34599 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34601         * crypt/md5-crypt.c: Fix formatting.
34603 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34605         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34606         (b64_from_24bit): New function.
34608 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34610         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34611         libc_hidden_builtin_def to ifunc.
34612         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34613         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34615 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34617         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34618         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34620 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34622         * nscd/Depend (linuxthreads): Remove.
34623         (nptl): Add.
34624         * resolv/Depend (linuxthreads): Remove.
34625         * rt/Depend (linuxthreads): Remove.
34627         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34628         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34629         $(common-objpfx)elf/.
34630         (link-libc-before-gnulib): Likewise.
34631         (elfobjdir): Remove variable.
34632         * Makefile (install): Use $(elf-objpfx) instead of
34633         $(common-objpfx)elf/.
34634         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34635         $(elfobjdir)/.
34636         (link-libc-deps): Likewise.
34637         ($(common-objpfx)libc.so): Likewise.
34638         ($(common-objpfx)linkobj/libc.so): Likewise.
34639         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34640         instead of $(common-objpfx)elf/.
34641         (symbolic-link-list): Likewise.
34642         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34643         [$(cross-compiling) = no]: Likewise.
34644         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34645         $(elfobjdir)/.
34646         (static-gnulib-arch): Likewise.
34647         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34648         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34649         $(common-objpfx)elf/.
34651 2014-05-21  Richard Henderson  <rth@redhat.com>
34653         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34654         (SINGLE_THREAD_P): Use the correct width load.  Fold
34655         into the ldr offset.
34657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34658         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34660 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34662         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34663         (libgcc_s_resume): Use __attribute_used__.
34664         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34665         Likewise.
34667 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34669         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34670         optimization when used with float constants.
34672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34674 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34676         [BZ #16915]
34677         * locale/nl_langinfo_l.c: Make direct reference to every
34678         _nl_current_CATEGORY symbol.
34679         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34680         (tests-static): Add tst-langinfo-static.
34681         (tests-special): Add tst-langinfo-static.out.
34682         ($(objpfx)tst-langinfo.out): Redirect output.
34683         ($(objpfx)tst-langinfo-static.out): New.
34684         * localedata/tst-langinfo.sh: Send output to stdout.
34685         * localedata/tst-langinfo-static.c: New file.
34687         [BZ #16965]
34688         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34689         when the shift amount is modulo the limb size.
34691 2014-05-20  Richard Henderson  <rth@redhat.com>
34693         [BZ #16967]
34694         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34695         Change type of sa_flags from unsigned int to int.
34697         [BZ #16966]
34698         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34700         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34702 2014-05-20  Will Newton  <will.newton@linaro.org>
34704         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34705         Test the return value of the system call in the nocancel case.
34707 2014-05-20  Will Newton  <will.newton@linaro.org>
34708             Yvan Roux  <yvan.roux@linaro.org>
34710         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34711         #include of asm/ptrace.h.
34712         (PTRACE_GET_THREAD_AREA): Remove #undef.
34713         (PTRACE_GETHBPREGS): Likewise.
34714         (PTRACE_SETHBPREGS): Likewise.
34715         (struct user_regs_struct): New structure.
34716         (struct user_fpsimd_struct): New structure.
34717         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34718         #include of asm/ptrace.h and second #include of sys/user.h.
34719         (PTRACE_GET_THREAD_AREA): Remove #undef.
34720         (PTRACE_GETHBPREGS): Likewise.
34721         (PTRACE_SETHBPREGS): Likewise.
34722         (ELF_NGREG): Use new struct user_regs_struct.
34723         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34725 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34727         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34728         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34730 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34732         [BZ #16958]
34733         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34734         membar to avoid block loads/stores to overlap previous stores.
34736 2014-05-17  Richard Henderson  <rth@redhat.com>
34738         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34739         Create the __##syscall_name##_nocancel entry point.
34740         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34741         Remove; let the sysdep-cancel.h code create it.
34743 2014-05-17  David S. Miller  <davem@davemloft.net>
34745         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34746         Protect with __USE_GNU.
34747         (TIOCSET_TEMPT): Likewise.
34748         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34749         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34750         these are already provided in bits/ioctl-types.h
34752 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34754         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34755         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34757         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34758         Use wait4 regardless of [__NR_waitpid].
34760 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34762         PR libgcc/60166
34763         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34764         (_FP_NANSIGN_Q): Set the quiet bit.
34766 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34768         * benchtests/Makefile
34769         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34770         not $(common-objpfx)math/libm.so.
34771         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34772         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34773         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34774         $(common-objpfx)dlfcn/libdl.so.
34775         ($(objpfx)tst-audit8): Depend on $(libm), not
34776         $(common-objpfx)math/libm.so.
34777         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34778         not $(common-objpfx)dlfcn/libdl.so.
34779         * math/Makefile
34780         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34781         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
34782         [$(build-shared) = yes].
34783         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34784         $(common-objpfx)nptl/libpthread.so.
34785         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34786         $(common-objpfx)math/libm.so$(libm.so-version) or
34787         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34788         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34789         $(common-objpfx)dlfcn/libdl.so.
34790         * setjmp/Makefile (link-libm): Remove variable.
34791         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34792         * stdio-common/Makefile (link-libm): Remove variable.
34793         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34794         * stdlib/Makefile (link-libm): Remove variable.
34795         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34796         ($(objpfx)tst-strtod-round): Likewise.
34797         ($(objpfx)tst-tininess): Likewise.
34798         ($(objpfx)tst-strtod-underflow): Likewise.
34799         ($(objpfx)tst-strtod6): Likewise.
34800         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34801         $(libdl), not $(common-objpfx)nptl/libpthread.so and
34802         $(common-objpfx)dlfcn/libdl.so.
34804 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34806         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34807         BSD terminal modes definitions.
34809 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34811         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34812         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34814         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34815         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34816         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34817         Don't do #include_next.
34818         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34819         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34820         Don't do #include_next.
34821         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34822         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34823         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34824         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34826 2014-05-16  Allan McRae  <allan@archlinux.org>
34828         * po/sv.po: Update Swedish translation from translation project.
34830         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34831         in sed expression.
34833 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
34835         [BZ #16917]
34836         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34837         errno if the TIOCGPTN ioctl fails with an error different than
34838         EINVAL.
34839         * login/tst-ptsname.c: New file.
34840         * login/Makefile (tests): Add tst-ptsname.
34842         [BZ #16943]
34843         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34844         and prlimit64.
34846 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34848         [BZ #16849]
34849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34850         herrno to return EAI_AGAIN.
34852 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34854         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34855         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34856         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34857         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34858         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34859         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34860         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34861         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34862         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34863         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34864         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34865         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34866         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34867         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34868         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34869         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34870         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34871         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34872         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34873         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34874         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34875         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34876         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34877         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34878         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34879         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34880         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34881         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34882         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34883         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34885         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34887         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34889         Moved ...
34890         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34892         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34894         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34896         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34898         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34900         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34902         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34904         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34906         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34908         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34910         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34912         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34914         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34916         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34918         Moved ...
34919         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34921         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34923         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34925         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34927         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34929         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34931         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34933         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34935         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34937         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34939         Moved ...
34940         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34942         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34944         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34945         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34946         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34947         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34948         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34949         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34950         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34951         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34952         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34953         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34954         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34955         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34956         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34957         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34958         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34959         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34960         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34961         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34962         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34963         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34964         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34965         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34966         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34967         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34968         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34969         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34970         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34971         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34972         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34973         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34974         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34976         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34977         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34979         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34980         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34981         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34982         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34983         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34984         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34985         Moved ...
34986         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34987         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34988         Moved ...
34989         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34990         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34991         Moved ...
34992         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34993         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34994         Moved ...
34995         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34996         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34997         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34998         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34999         Moved ...
35000         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35001         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35002         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35003         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35004         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35005         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35006         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35007         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35008         Moved ...
35009         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35010         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35011         Moved ...
35012         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35013         ... here.
35014         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35015         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35016         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35017         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35018         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35019         Moved ...
35020         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35021         ... here.
35022         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35023         Moved ...
35024         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35025         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35026         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35027         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35028         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35029         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35030         Moved ...
35031         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35032         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35033         Moved ...
35034         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35035         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35036         Moved ...
35037         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35038         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35039         Moved ...
35040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35041         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35042         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35043         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35044         Moved ...
35045         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35046         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35047         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35048         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35049         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35050         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35051         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35052         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35053         Moved ...
35054         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35055         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35056         Moved ...
35057         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35058         ... here.
35059         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35060         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35061         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35062         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35063         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35064         Moved ...
35065         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35066         ... here.
35067         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35068         Moved ...
35069         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35070         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35071         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35072         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35073         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35074         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35075         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35076         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35077         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35078         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35079         Moved ...
35080         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35081         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35082         Moved ...
35083         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35084         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35085         Moved ...
35086         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35087         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35088         Moved ...
35089         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35090         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35091         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35092         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35093         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35094         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35095         Moved ...
35096         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35097         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35098         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35099         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35100         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35101         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35102         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35103         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35104         Moved ...
35105         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35106         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35107         Moved ...
35108         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35109         ... here.
35110         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35111         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35112         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35113         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35114         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35115         Moved ...
35116         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35117         ... here.
35118         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35119         Moved ...
35120         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35121         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35122         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35123         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35124         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35125         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35126         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35127         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35128         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35129         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35130         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35132         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35133         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35135         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35136         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35138         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35139         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35140         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35141         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35142         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35143         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35144         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35145         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35146         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35147         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35148         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35149         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35150         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35151         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35152         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35153         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35154         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35155         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35156         Moved ...
35157         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35158         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35159         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35160         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35161         Moved ...
35162         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35163         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35164         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35165         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35166         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35167         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35168         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35169         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35170         Moved ...
35171         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35172         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35173         Moved ...
35174         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35175         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35176         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35177         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35178         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35179         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35180         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35181         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35182         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35183         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35184         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35185         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35186         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35187         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35188         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35189         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35190         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35192         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35193         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35194         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35195         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35196         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35198         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35199         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35200         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35201         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35202         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35203         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35204         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35205         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35206         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35207         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35210         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35212         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35213         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35214         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35215         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35216         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35217         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35218         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35219         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35220         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35221         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35222         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35223         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35224         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35225         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35227         Update #include.
35228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35229         Likewise.
35230         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35231         Likewise.
35232         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35233         Likewise.
35234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35235         Likewise.
35236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35237         Likewise.
35238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35239         Likewise.
35240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35241         Likewise.
35242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35243         Likewise.
35244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35245         Likewise.
35246         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35248         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35250         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35251         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35252         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35253         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35254         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35255         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35256         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35257         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35258         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35259         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35260         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35262         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35263         that was previously under [RESET_PID].
35264         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35265         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35266         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35268         * sysdeps/i386/nptl/Implies: New file.
35269         * sysdeps/x86_64/nptl/Implies: New file.
35270         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35271         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35272         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35273         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35275         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35276         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35277         (__libc_vfork): New strong alias.
35278         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35279         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35281         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35282         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35283         (__libc_vfork): New strong alias.
35284         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35285         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35287         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35288         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35289         (__libc_vfork): New strong alias.
35290         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35291         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35292         * nptl/pt-vfork.c: New file.
35293         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35294         (libpthread: GLIBC_2.20): New version set (empty).
35296 2014-05-14  Will Newton  <will.newton@linaro.org>
35298         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35299         rather than #if.
35301 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35303         [BZ #16564]
35304         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35305         arguments with exponent 65 or above.
35306         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35307         arguments 0x1p113L or above.
35308         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35309         to arguments 0x1p107L or above.
35310         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35311         positive arguments with exponent 65 or above.
35312         * math/auto-libm-test-in: Add more tests of log1p.
35313         * math/auto-libm-test-out: Regenerated.
35315         [BZ #16928]
35316         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35317         non-finite arguments is +0.
35318         * math/s_cacosf.c (__cacosf): Likewise.
35319         * math/s_cacosl.c (__cacosl): Likewise.
35320         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35321         * sysdeps/i386/fpu/libm-test-ulps: Update.
35322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35324         [BZ #16927]
35325         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35326         value.
35327         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35328         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35329         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35330         for explicit high bit of mantissa when testing for argument equal
35331         to 1.
35332         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35333         * sysdeps/i386/fpu/libm-test-ulps: Update.
35334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35336         [BZ #16516]
35337         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35338         (__erf): Scale by 16 instead of 8 in potentially underflowing
35339         case.  Ensure exception if result actually underflows.
35340         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35341         (__erff): Scale by 16 instead of 8 in potentially underflowing
35342         case.  Ensure exception if result actually underflows.
35343         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35344         (efx8): Remove variable.
35345         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35346         case.  Ensure exception if result actually underflows.
35347         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35348         (efx8): Remove variable.
35349         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35350         case.  Ensure exception if result actually underflows.
35351         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35352         (efx8): Remove variable.
35353         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35354         case.  Ensure exception if result actually underflows.
35355         * math/auto-libm-test-in: Add more tests of erf.
35356         * math/auto-libm-test-out: Regenerated.
35358 2014-05-14  Andreas Schwab  <schwab@suse.de>
35360         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35361         Remove code conditionalized on USE___THREAD.
35363         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35364         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35365         not definedness.
35367 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35369         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35370         Define unconditionally.
35371         (__ASSUME_O_CLOEXEC): Likewise.
35372         (__ASSUME_SOCK_CLOEXEC): Likewise.
35373         (__ASSUME_IN_NONBLOCK): Likewise.
35374         (__ASSUME_PIPE2): Likewise.
35375         (__ASSUME_EVENTFD2): Likewise.
35376         (__ASSUME_SIGNALFD4): Likewise.
35377         (__ASSUME_DUP3): Likewise.
35378         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35379         (__ASSUME_DUP3): Do not define.
35380         (__ASSUME_EVENTFD2): Likewise.
35381         (__ASSUME_IN_NONBLOCK): Likewise.
35382         (__ASSUME_O_CLOEXEC): Likewise.
35383         (__ASSUME_PIPE2): Likewise.
35384         (__ASSUME_SIGNALFD4): Likewise.
35385         (__ASSUME_SOCK_CLOEXEC): Likewise.
35386         (__ASSUME_UTIMES): Undefine.
35387         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35388         (__ASSUME_UTIMES): Do not define.
35389         (__ASSUME_O_CLOEXEC): Likewise.
35390         (__ASSUME_SOCK_CLOEXEC): Likewise.
35391         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35392         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35393         0x020621].
35394         (__ASSUME_PIPE2): Likewise.
35395         (__ASSUME_EVENTFD2): Likewise.
35396         (__ASSUME_SIGNALFD4): Likewise.
35397         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35398         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35399         Do not define.
35400         (__ASSUME_EVENTFD2): Likewise.
35401         (__ASSUME_SIGNALFD4): Likewise.
35402         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35403         (__ASSUME_32BITUIDS): Likewise.
35404         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35405         (__ASSUME_IPC64): Likewise.
35406         (__ASSUME_ST_INO_64_BIT): Likewise.
35407         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35408         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35409         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35410         (__ASSUME_UTIMES): Do not define.
35411         (__ASSUME_PSELECT): Likewise.
35412         (__ASSUME_PPOLL): Likewise.
35413         (__ASSUME_O_CLOEXEC): Likewise.
35414         (__ASSUME_SOCK_CLOEXEC): Likewise.
35415         (__ASSUME_IN_NONBLOCK): Likewise.
35416         (__ASSUME_PIPE2): Likewise.
35417         (__ASSUME_EVENTFD2): Likewise.
35418         (__ASSUME_SIGNALFD4): Likewise.
35419         (__ASSUME_DUP3): Likewise.
35420         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35421         (__ASSUME_UTIMES): Likewise.
35422         (__ASSUME_O_CLOEXEC): Likewise.
35423         (__ASSUME_SOCK_CLOEXEC): Likewise.
35424         (__ASSUME_IN_NONBLOCK): Likewise.
35425         (__ASSUME_PIPE2): Likewise.
35426         (__ASSUME_EVENTFD2): Likewise.
35427         (__ASSUME_SIGNALFD4): Likewise.
35428         (__ASSUME_DUP3): Likewise.
35429         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35430         (__ASSUME_UTIMES): Likewise.
35431         (__ASSUME_O_CLOEXEC): Likewise.
35432         (__ASSUME_SOCK_CLOEXEC): Likewise.
35433         (__ASSUME_IN_NONBLOCK): Likewise.
35434         (__ASSUME_PIPE2): Likewise.
35435         (__ASSUME_EVENTFD2): Likewise.
35436         (__ASSUME_SIGNALFD4): Likewise.
35437         (__ASSUME_DUP3): Likewise.
35438         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35439         Likewise.
35440         (__ASSUME_UTIMES): Likewise.
35441         (__ASSUME_EVENTFD2): Likewise.
35442         (__ASSUME_SIGNALFD4): Likewise.
35443         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35444         (__ASSUME_O_CLOEXEC): Likewise.
35445         (__ASSUME_SOCK_CLOEXEC): Likewise.
35446         (__ASSUME_IN_NONBLOCK): Likewise.
35447         (__ASSUME_PIPE2): Likewise.
35448         (__ASSUME_EVENTFD2): Likewise.
35449         (__ASSUME_SIGNALFD4): Likewise.
35450         (__ASSUME_DUP3): Likewise.
35451         (__ASSUME_UTIMES): Undefine.
35453         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35454         feclearexcept.  Remove symbol versioning code.
35455         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35456         symbol versioning code.
35457         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35458         symbol versioning code.
35459         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35460         feupdateenv.  Remove symbol versioning code.
35461         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35462         fegetexceptflag.  Remove symbol versioning code.
35463         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35464         fesetexceptflag.  Remove symbol versioning code.
35465         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35466         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35467         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35468         (__posix_fadvise64_l32): Remove prototype.
35469         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35470         code.
35472 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35474         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35475         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35476         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35477         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35479 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35481         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35482         current working directory
35484 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35486         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35487         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35488         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35489         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35490         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35491         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35492         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35493         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35494         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35495         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35496         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35497         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35498         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35499         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35500         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35501         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35502         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35503         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35504         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35505         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35506         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35507         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35508         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35509         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35510         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35511         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35512         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35513         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35514         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35515         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35516         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35517         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35518         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35519         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35520         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35521         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35522         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35523         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35524         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35525         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35526         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35527         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35529         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35530         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35532         * sysdeps/unix/sysv/linux/arm/Makefile
35533         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35534         Add rt-aeabi_unwind_cpp_pr1.
35535         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35536         Add nptl-aeabi_unwind_cpp_pr1.
35537         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35538         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35539         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35540         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35541         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35542         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35544         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35545         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35546         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35547         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35549         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35550         Deconditionalize the code that was previously under [RESET_PID].
35551         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35553         * sysdeps/generic/exit-thread.h: New file.
35554         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35555         * include/unistd.h (__exit_thread): Remove declaration.
35556         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35557         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35558         * csu/libc-start.c: Include <exit-thread.h>.
35559         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35560         * nptl/pthread_create.c: Include <exit-thread.h>.
35561         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35562         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35563         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35564         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35565         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35566         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35567         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35568         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35569         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35570         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35571         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35572         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35573         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35574         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35575         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35576         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35577         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35579 2014-05-13  Andreas Schwab  <schwab@suse.de>
35581         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35583 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35585         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35586         (__ASSUME_UTIMES): Do not condition on kernel version.
35587         (__ASSUME_PSELECT): Define unconditionally.
35588         (__ASSUME_PPOLL): Likewise.
35589         (__ASSUME_ATFCTS): Likewise.
35590         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35591         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35592         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35593         (__ASSUME_UTIMENSAT): Define unconditionally.
35594         (__ASSUME_PRIVATE_FUTEX): Likewise.
35595         (__ASSUME_FALLOCATE): Likewise.
35596         (__ASSUME_O_CLOEXEC): Likewise.
35597         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35598         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35599         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35600         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35601         (__ASSUME_IN_NONBLOCK): Likewise.
35602         (__ASSUME_PIPE2): Likewise.
35603         (__ASSUME_EVENTFD2): Likewise.
35604         (__ASSUME_SIGNALFD4): Likewise.
35605         (__ASSUME_DUP3): Likewise.
35606         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35607         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35608         (__ASSUME_AT_RANDOM): Likewise.
35609         (__ASSUME_PREADV): Likewise.
35610         (__ASSUME_PWRITEV): Likewise.
35611         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35612         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35613         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35614         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35615         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35616         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35617         (__ASSUME_O_CLOEXEC): Define unconditionally.
35618         (__ASSUME_PSELECT): Do not undefine conditionally.
35619         (__ASSUME_PPOLL): Likewise.
35620         (__ASSUME_ATFCTS): Likewise.
35621         (__ASSUME_SET_ROBUST_LIST): Likewise.
35622         (__ASSUME_UTIMENSAT): Likewise.
35623         (__ASSUME_FDATASYNC): Define unconditionally.
35624         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35625         (__ASSUME_SIGFRAME_V2): Likewise.
35626         )__ASSUME_EVENTFD2): Likewise.
35627         (__ASSUME_SIGNALFD4): Likewise.
35628         (__ASSUME_PSELECT): Do not undefine conditionally.
35629         (__ASSUME_PPOLL): Likewise.
35630         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35631         (__ASSUME_PSELECT): Define unconditionally.
35632         (__ASSUME_PPOLL): Likewise.
35633         (__ASSUME_O_CLOEXEC): Likewise.
35634         (__ASSUME_SOCK_CLOEXEC): Likewise.
35635         (__ASSUME_IN_NONBLOCK): Likewise.
35636         (__ASSUME_PIPE2): Likewise.
35637         (__ASSUME_EVENTFD2): Likewise.
35638         (__ASSUME_SIGNALFD4): Likewise.
35639         (__ASSUME_DUP3): Likewise.
35640         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35641         (__ASSUME_O_CLOEXEC): Likewise.
35642         (__ASSUME_SOCK_CLOEXEC): Likewise.
35643         (__ASSUME_IN_NONBLOCK): Likewise.
35644         (__ASSUME_PIPE2): Likewise.
35645         (__ASSUME_EVENTFD2): Likewise.
35646         (__ASSUME_SIGNALFD4): Likewise.
35647         (__ASSUME_DUP3): Likewise.
35648         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35649         (__ASSUME_EVENTFD2): Likewise.
35650         (__ASSUME_SIGNALFD4): Likewise.
35651         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35653 2014-05-12  Andreas Schwab  <schwab@suse.de>
35655         [BZ #16932]
35656         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35657         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35658         than maximum RPC packet size.
35659         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35660         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35661         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35662         (_nss_nis_getservbyport_r): Likewise.
35664 2014-05-12  Will Newton  <will.newton@linaro.org>
35666         * malloc/Makefile (tests): Add tst-mallopt.
35667         * malloc/tst-mallopt.c: New file.
35669 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35671         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35672         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35674 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35676         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35677         (tst-tlsmod6.so): Likewise.
35679 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35681         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35683 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35685         [BZ #16064]
35686         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35687         and <dl-procinfo.h>.
35688         (__fegetenv): Save SSE state in envp->__eip if supported.
35689         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35690         envp->__eip if supported.
35691         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35692         and <dl-procinfo.h>.
35693         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35694         __data_offset and __data_selector in environment to 0.  Set SSE
35695         state if supported.
35696         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35697         test-fenv-sse.
35698         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35699         -mfpmath=sse.
35700         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35702 2014-05-09  Will Newton  <will.newton@linaro.org>
35704         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35705         and libc_relro_required for ARM.
35706         * sysdeps/arm/preconfigure: Regenerate.
35708 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35709             Stefan Liebler  <stli@linux.vnet.ibm.com>
35711         * config.make.in (enable-lock-elision): New Makefile variable.
35712         * configure.ac: Likewise.
35713         * configure: Regenerate.
35714         * sysdeps/s390/configure.ac:
35715         Add check for gcc transactions support.
35716         * sysdeps/s390/configure: Regenerate.
35717         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35718         Build elision files if enabled.
35719         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35720         Add lock elision support for s390.
35721         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35722         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35723         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35724         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35725         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35726         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35727         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35728         Likewise.
35729         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35730         Likewise.
35731         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35732         Likewise.
35733         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35734         Likewise.
35735         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35736         (__lll_timedlock_elision, __lll_lock_elision)
35737         (__lll_unlock_elision, __lll_trylock_elision)
35738         (lll_timedlock_elision, lll_lock_elision)
35739         (lll_unlock_elision, lll_trylock_elision): Add.
35740         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35741         (pthread_mutex_t): Add lock elision support for s390.
35743 2014-05-14  Wilco  <wdijkstr@arm.com>
35745         * sysdeps/arm/fclrexcpt.c: Cleanup.
35746         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35747         * sysdeps/arm/feenablxcpt.c: Cleanup.
35748         * sysdeps/arm/fegetenv.c: Cleanup.
35749         * sysdeps/arm/fegetexcept.c: Cleanup.
35750         * sysdeps/arm/fegetround.c: Cleanup.
35751         * sysdeps/arm/feholdexcpt.c: Cleanup.
35752         * sysdeps/arm/fesetenv.c: Cleanup.
35753         * sysdeps/arm/fesetround.c: Cleanup.
35754         * sysdeps/arm/feupdateenv.c: Cleanup.
35755         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35756         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35757         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35758         * sysdeps/arm/ftestexcept.c: Cleanup.
35759         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35760         * sysdeps/arm/setfpucw.c: Cleanup.
35762 2014-05-09  Will Newton  <will.newton@linaro.org>
35764         * sysdeps/arm/armv7/strcmp.S: New file.
35765         * NEWS: Mention addition of ARMv7 optimized strcmp.
35767 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35769         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35770         look for %.ac rather than %.in.
35772         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35773         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35774         * sysdeps/mach/hurd/configure: Regenerated.
35775         * sysdeps/unix/sysv/linux/configure: Regenerated.
35777         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35779 2014-05-07  Steve Ellcey  <sellcey@mips.com>
35781         [BZ# 16922]
35782         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35783         (LONG_SUB): Ditto.
35784         (PTR_SUB): Ditto.
35786 2014-05-07  Andreas Schwab  <schwab@suse.de>
35788         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35789         when skipping over non-matching result from nscd.
35791 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
35793         [BZ #16876]
35794         * nptl/sockperf.c (client): Check socket return value.
35796         [BZ #16877]
35797         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35798         nscd security class.
35800 2014-05-06  Roland McGrath  <roland@hack.frob.com>
35802         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35803         * sysdeps/arm/unwind.h: ... here.
35805 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
35807         [BZ# 16916]
35808         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35809         Define.
35811 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35813         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35814         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35815         multiarch strncpy for PPC64.
35816         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35817         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35819         multiarch optimizations.
35820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35821         (__libc_ifunc_impl_list): Likewise.
35822         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35823         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35824         multiarch stpncpy for PPC64.
35825         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35826         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35828 2014-05-06  Andreas Schwab  <schwab@suse.de>
35830         [BZ #16912]
35831         * gmon/mcount.c (_MCOUNT_DECL): Use
35832         atomic_compare_and_exchange_bool_acq instead of
35833         catomic_compare_and_exchange_bool_acq.
35835 2014-05-05  Roland McGrath  <roland@hack.frob.com>
35837         * elf/Makefile (others, install-bin): Remove pldd.
35838         (pldd-modules): Variable removed.
35839         ($(objpfx)pldd): Target removed.
35840         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35841         (others, install-bin): Append pldd here.
35842         ($(objpfx)pldd): New target.
35844         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35845         to 0, so the first #if test emitted later doesn't see it undefined.
35846         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35847         * sysdeps/gnu/errlist.c: Regenerated.
35849 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35851         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35852         [libc_hidden_builtin_def]: Define to empty value.
35853         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35854         [libc_hidden_builtin_def]: Likewise.
35855         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35856         [libc_hidden_builtin_def]: Likewise.
35857         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35858         [libc_hidden_builtin_def]: Likewise.
35859         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35860         __redirect_memcpy and define ifunc as default hidden symbol.
35861         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35862         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35864 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35866         * locale/iso-4217.def: Reintroduce XDR currency.
35868 2014-05-04  Allan McRae  <allan@archlinux.org>
35870         * po/eo.po: Update Esperanto translation from translation project.
35872 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35874         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35875         and FEATURE_INDEX_MAX to 1.
35876         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35878 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35880         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35881         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35882         * iconvdata/big5.c (ONE_DIRECTION): Define.
35883         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35884         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35885         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35886         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35887         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35888         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35889         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35890         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35891         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35892         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35893         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35894         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35895         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35896         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35897         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35898         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35899         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35900         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35901         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35902         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35903         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35904         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35905         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35906         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35907         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35908         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35909         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35910         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35911         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35912         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35913         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35914         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35915         * iconvdata/johab.c (ONE_DIRECTION): Define.
35916         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35917         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35918         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35919         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35920         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35921         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35922         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35923         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35924         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35925         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35927 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35929         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35930         (_IO_JUMPS_OFFSET): Define to 0.
35932         * nptl/sysdeps/pthread/bits/libc-lock.h
35933         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35934         (__libc_lock_define_initialized_recursive): Always define using
35935         initializer.  Modern compilers treat uninitialized (implicit zero) and
35936         explicit zero initializers the same (i.e. put the datum in bss).
35938 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35940         * nscd/nscd-client.h: Include <string.h>.
35942 2014-05-01  David S. Miller  <davem@davemloft.net>
35944         [BZ #16885]
35945         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35946         multiple zero bytes exist at the end of a string.
35947         Reported by Aurelien Jarno <aurelien@aurel32.net>
35949         * string/test-strcmp.c (check): Add explicit test for situations where
35950         there are multiple zero bytes after the first.
35952 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35954         [BZ #16890]
35955         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35956         when compiling wprintf.
35957         * stdio-common/tstdiomisc.c (t3): New function.
35958         (main): Call it.
35960 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35962         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35963         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35964         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35965         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35967 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35969         * stdlib/longlong.h: Updated from GCC.
35971 2014-05-01  Will Newton  <will.newton@linaro.org>
35972             Bernard Ogden  <bernie.ogden@linaro.org>
35974         * NEWS: Update fixed bug list.
35976         [BZ #15119]
35977         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35979 2014-04-30  David S. Miller  <davem@davemloft.net>
35981         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35982         (libc_feholdexcept_setround_sparc_ctx): New function.
35983         (libc_fesetenv_sparc_ctx): Likewise.
35984         (libc_feupdateenv_sparc_ctx): Likewise.
35985         (libc_feholdsetround_sparc_ctx): Likewise.
35986         (libc_feholdexcept_setround_ctx): Define.
35987         (libc_feholdexcept_setroundf_ctx): Likewise.
35988         (libc_feholdexcept_setroundl_ctx): Likewise.
35989         (libc_fesetenv_ctx): Likewise.
35990         (libc_fesetenvf_ctx): Likewise.
35991         (libc_fesetenvl_ctx): Likewise.
35992         (libc_feupdateenv_ctx): Likewise.
35993         (libc_feupdateenvf_ctx): Likewise.
35994         (libc_feupdateenvl_ctx): Likewise.
35995         (libc_feresetround_ctx): Likewise.
35996         (libc_feresetroundf_ctx): Likewise.
35997         (libc_feresetroundl_ctx): Likewise.
35998         (libc_feholdsetround_ctx): Likewise.
35999         (libc_feholdsetroundf_ctx): Likewise.
36000         (libc_feholdsetroundl_ctx): Likewise.
36002         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36003         with __USE_GNU instead of XOPEN cpp guards.
36005         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36006         0.
36008         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36009         with XOPEN cpp guards.
36011 2014-04-30  Julian Brown  <julian@codesourcery.com>
36013         [BZ #16888]
36014         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36015         handling.
36017 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36019         [BZ #9894]
36020         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36021         Change to 2.6.32.
36022         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36023         * sysdeps/unix/sysv/linux/configure: Regenerated.
36024         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36025         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36026         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36027         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36028         * README: Update reference to required Linux kernel version.
36029         * manual/install.texi (Linux): Update reference to required Linux
36030         kernel headers version.
36031         * INSTALL: Regenerated.
36033         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36034         header inclusion.
36035         [POSIX] (limits.h): Likewise.
36036         [POSIX] (math.h): Likewise.
36037         [POSIX] (sys/wait.h): Likewise.
36038         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36039         function.
36040         [POSIX] (stddef.h): Do not allow header inclusion.
36042 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36044         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36046 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36048         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36049         Return immediately after lll_futex_wake.
36051 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36053         [BZ #16791]
36054         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36055         structure.
36056         (datahead_init_pos): Call datahead_init_common early.
36057         (datahead_init_neg): Likewise.
36059         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36060         datahead_init_neg): New functions.
36061         * nscd/aicache.c (addhstaiX): Use them.
36062         * nscd/grpcache.c (cache_addgr): Likewise.
36063         * nscd/hstcache.c (cache_addhst): Likewise.
36064         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36065         * nscd/netgroupcache.c (do_notfound): Likewise.
36066         (addgetnetgrentX): Likewise.
36067         (addinnetgrX): Likewise.
36068         * nscd/pwdcache.c (cache_addpw): Likewise.
36069         * nscd/servicescache.c (cache_addserv): Likewise.
36071 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36072             Atsushi Onoe  <atsushi@onoe.org>
36074         [BZ #14308]
36075         [BZ #12994]
36076         [BZ #13651]
36077         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36078         one response is valid.
36079         * resolv/res_send.c (send_dg): Check for validity of other
36080         response if the current response is a referral.
36082 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36084         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36086 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36088         [BZ #16823]
36089         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36090         Always divide by positive zero when computing -Inf result.
36091         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36092         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36094 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36096         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36097         FPSCR if value do not change.
36098         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36099         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36100         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36101         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36102         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36103         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36104         function.
36106 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36108         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36109         * sysdeps/unix/sysv/linux/hppa: Move directory from
36110         ports/systeps/unix/sysv/linux/hppa.
36111         * README: Update listing for hppa-*-linux-gnu.
36113 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36115         [BZ #16754]
36116         * manual/stdio.texi (Hook functions): Fix types of stream hook
36117         functions.
36118         [BZ #16854]
36119         * socket/sys/socket.h: Fix typo in comment.
36121 2014-04-28  Wilco  <wdijkstr@arm.com>
36123         * sysdeps/arm/fenv_private.h: New file.
36124         * sysdeps/arm/math_private.h: New file.
36125         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36127 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36129         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36130         with __int128_t.
36131         (La_x86_64_retval): Likewise.
36133 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36135         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36136         fpsr if value didn't change.
36137         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36138         to fpcr if value didn't change.
36139         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36140         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36141         fpsr or fpcr if value didn't change.
36142         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36143         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36144         fpcr if value didn't change.
36145         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36146         to fpsr if value didn't change.
36148 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36150         * nptl/tst-sem3.c: Use test-skeleton.c
36151         (main): Rename to do_test.  Use return instead of
36152         exit.
36153         * nptl/tst-sem4.c: Use test-skeleton.c
36154         (main): Rename to do_test.
36156 2014-04-22  David S. Miller  <davem@davemloft.net>
36158         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36159         (struct sigaction): New struct member __glibc_reserved0, change
36160         type of sa_flags to int.
36162 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36164         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36165         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36167 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36169         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36170         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36172 2014-04-22  Will Newton  <will.newton@linaro.org>
36173             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36175         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36176         (__longjmp): Add longjmp and longjmp_target SystemTap
36177         probes.
36178         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36179         (__sigsetjmp): Add setjmp SystemTap probe.
36181 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36183         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36184         match manual order.
36186 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36188         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36190         * sysdeps/powerpc/fpu/fenv_private.h
36191         (libc_feholdexcept_setroundl_ctx): Define to
36192         libc_feholdexcept_setround_ppc_ctx.
36193         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36194         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36195         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36196         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36198 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36200         * sysdeps/aarch64/math-tests.h: New file.
36202 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36204         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36205         New.
36206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36207         Check and set bit_AVX2_Usable.
36208         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36209         macro.
36210         (bit_AVX2): Likewise.
36211         (index_AVX2_Usable): Likewise.
36212         (CPUID_AVX2): Likewise.
36213         (HAS_AVX2): Likewise.
36215 2014-04-17  Will Newton  <will.newton@linaro.org>
36217         * manual/setjmp.texi (System V contexts): Add note that
36218         calling setcontext on a context created by a call to a
36219         signal handler is undefined.  Update text to note that
36220         setcontext from a signal handler is possible but not
36221         recommended.
36223         [BZ #16629]
36224         * stdlib/tst-setcontext.c: Include signal.h.
36225         (main): Check that the signal stack before and
36226         after swapcontext is the same.
36228         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36229         Re-implement to restore registers in user code and avoid
36230         rt_sigreturn system call.
36232 2014-04-17  Wilco  <wdijkstr@arm.com>
36234         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36235         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36236         * math/test-fenv.c: Skip exception trap tests on targets which only
36237         support non-stop mode.
36239 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36240             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36242         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36243         (libc_feholdsetround_aarch64_ctx)
36244         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36245         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36246         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36247         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36248         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36249         (libc_feresetround_noexl_ctx): Define.
36251 2014-04-16  Richard Henderson  <rth@redhat.com>
36253         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36255         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36256         unwind tables.
36258         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36259         const from the non-libc, non-ldso copy.
36261         * sysdeps/alpha/libm-test-ulps: Regenerate.
36263 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36264             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36266         * sysdeps/aarch64/fpu/math_private.h: New file.
36268 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36270         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36272 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36274         [BZ #16275]
36275         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36276         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36277         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36278         Intel MPX bound registers before _dl_profile_fixup.
36279         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36280         registers after _dl_profile_fixup.  Save and restore bound
36281         registers bnd0/bnd1 when calling _dl_call_pltexit.
36282         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36283         (LR_BND_OFFSET): Likewise.
36284         (LRV_BND0_OFFSET): Likewise.
36285         (LRV_BND1_OFFSET): Likewise.
36287 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36289         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36290         to...
36291         * sysdeps/mach/hurd/i386/tls.h: ... here.
36292         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36293         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36294         fields.
36296 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36298         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36300 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36302         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36304 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36306         [BZ #14770]
36307         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36308         * sysdeps/s390/configure: Regenerate.
36310         [BZ #16824]
36311         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36312         Set round-to-nearest internally to reduce error accumulation.
36314 2014-04-16  Alan Modra  <amodra@gmail.com>
36316         [BZ #16740]
36317         [BZ #16619]
36318         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36319         * math/libm-test.inc (frexp_test_data): Add tests.
36320         * NEWS: Update fixed bug list.
36322 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36324         * benchtests/Makefile: Depend on libraries in build directory.
36325         (bench-math): Separate out math tests.
36326         (bench-pthread): Separate out pthread tests.
36327         (bench): Include math and pthread tests.
36329 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36331         [BZ #16831]
36332         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36333         _dl_debug_initialize.
36335         * configure.ac: Remove SELinux header check.
36336         * configure: Regenerate.
36337         * nscd/selinux.c (perms): Array of const char* to permission names.
36338         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36339         default policy. Call string_to_security_class and string_to_av_perm to
36340         translate strings. Enforce default policy and call avs_has_perm with
36341         results of translated strings.
36343 2014-04-13  David S. Miller  <davem@davemloft.net>
36345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36347 2014-04-12  Allan McRae  <allan@archlinux.org>
36349         [BZ #16838]
36350         * manual/string.texi (Collation Functions): Fix qsort argument
36351         order in example.
36352         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36354 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36356         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36357         Make the test a no-op if there are no exceptions defined.
36359 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36361         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36362         enable-hardcoded-path-in-tests
36364 2014-04-11  Will Newton  <will.newton@linaro.org>
36366         * benchtests/Makefile (extra-objs): Add json-lib.o.
36367         (bench-func): Tidy up JSON output.
36368         * benchtests/bench-skeleton.c: Include json-lib.h.
36369         (main): Use JSON library functions to do output of
36370         benchmark results.
36371         * benchtests/bench-timing-type.c (main): Output the
36372         timing type simply, leaving formatting to the user.
36373         * benchtests/json-lib.c: New file.
36374         * benchtests/json-lib.h: Likewise.
36376 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36378         [BZ #15215]
36379         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36380         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36381         memory barriers.  Add comments.
36382         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36383         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36384         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36385         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36386         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36387         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36389 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36391         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36392         * sysdeps/s390/s390-64/configure.ac: ... this ...
36393         * sysdeps/s390/configure.ac: ... to here.
36394         * sysdeps/s390/s390-32/configure: Delete file.
36395         * sysdeps/s390/s390-64/configure: Delete file.
36396         * sysdeps/s390/configure: Regenerate.
36398 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36400         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36402 2014-04-11  Will Newton  <will.newton@linaro.org>
36404         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36405         to zero if it is not defined elsewhere.  (mtrim): Test
36406         the value of MALLOC_DEBUG with #if rather than #ifdef.
36408 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36410         * benchtests/pthread_once-inputs: New file.
36411         * benchtests/pthread_once-source.c: New file.
36412         * benchtests/README: Update documentation.
36414 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36415             H.J. Lu  <hongjiu.lu@intel.com>
36417         [BZ #16275]
36418         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36419         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36420         * sysdeps/x86_64/configure: Regenerated.
36421         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36422         macro.
36423         (REGISTER_SAVE_RAX): Likewise.
36424         (REGISTER_SAVE_RCX): Likewise.
36425         (REGISTER_SAVE_RDX): Likewise.
36426         (REGISTER_SAVE_RSI): Likewise.
36427         (REGISTER_SAVE_RDI): Likewise.
36428         (REGISTER_SAVE_R8): Likewise.
36429         (REGISTER_SAVE_R9): Likewise.
36430         (REGISTER_SAVE_BND0): Likewise.
36431         (REGISTER_SAVE_BND1): Likewise.
36432         (REGISTER_SAVE_BND2): Likewise.
36433         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36434         bound registers when calling _dl_fixup.
36436 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36438         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36439         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36440         of its definition.
36441         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36442         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36443         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36444         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36445         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36446         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36447         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36449 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36451         [BZ #15514]
36452         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36453         pathconf(_PC_NAME_MAX).
36455 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36457         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36458         Remove macro usage.
36459         (__PTHREAD_SPINS): Move definition to ...
36460         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36461         (__PTHREAD_SPINS): ... here.
36462         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36463         (__PTHREAD_SPIN): Likewise.
36464         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36465         (__PTHREAD_SPIN): Likewise.
36466         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36467         (__PTHREAD_SPIN): Likewise.
36468         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36469         (__PTHREAD_SPIN): Likewise.
36470         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36471         (__PTHREAD_SPIN): Likewise.
36472         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36473         (__PTHREAD_SPIN): Likewise.
36474         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36475         (__PTHREAD_SPIN): Likewise.
36476         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36477         (__PTHREAD_SPIN): Likewise.
36478         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36479         (__PTHREAD_SPIN): Likewise.
36480         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36481         (__PTHREAD_SPIN): Likewise.
36482         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36483         (__PTHREAD_SPIN): Likewise.
36484         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36485         (__PTHREAD_SPIN): Likewise.
36487         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36488         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36489         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36490         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36491         imply folder.
36492         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36493         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36494         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36495         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36496         correct imply path.
36497         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36498         strlen symbol for non multi-arch builds.
36499         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36500         missing hidden_def and weak_alias.
36502 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36504         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36506 2014-04-07  Will Newton  <will.newton@linaro.org>
36508         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36509         and contents.  [!_LIBC] Remove #ifndef and contents.
36510         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36511         * string/memccpy.c (__memccpy): Use ANSI prototype.
36512         * string/memfrob.c (memfrob): Likewise.
36513         * string/strcoll.c (STRCOLL): Likewise.
36514         * string/strlen.c (strlen): Likewise.
36515         * string/strtok.c (STRTOK): Likewise.
36516         * string/strcat.c: Remove unused #include of memcopy.h.
36517         (strcat): Use ANSI prototype.
36518         * string/strchr.c: Remove unused #include of memcopy.h.
36519         (strchr): Use ANSI prototype.
36520         * string/strcmp.c: Remove unused #include of memcopy.h.
36521         (strcmp): Use ANSI prototype.
36522         * string/strcpy.c: Remove unused #include of memcopy.h.
36523         (strcpy): Use ANSI prototype.
36525 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36527         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36528         * config.make.in (config-extra-cppflags): Set it from
36529         libc_extra_cppflags.
36530         * configure.ac (libc_extra_cflags): Make it accumulate over
36531         configure fragments.
36532         (libc_extra_cppflags): New flag.
36533         * configure. Regenerate.
36534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36535         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36536         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36539         [BZ #16815]
36540         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36541         result for FE_DOWNWARD rounding mode.
36542         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36543         Likewise.
36544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36546 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36548         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36549         in function argument name.
36551 2014-04-03  David Svoboda  <svoboda@cert.org>
36553         [BZ #5666]
36554         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36555         explicitly.
36557 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36559         * elf/dl-unmap-segments.h: New file.
36560         * sysdeps/generic/ldsodefs.h
36561         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36562         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36563         * elf/dl-fptr.c: Likewise.
36564         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36565         * sysdeps/aarch64/tlsdesc.c: Likewise.
36566         * sysdeps/arm/tlsdesc.c: Likewise.
36567         * sysdeps/i386/tlsdesc.c: Likewise.
36568         * sysdeps/tile/dl-runtime.c: Likewise.
36569         * sysdeps/x86_64/tlsdesc.c: Likewise.
36570         * elf/dl-load.h: New file.
36571         * elf/dl-load.c: Include it.
36572         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36573         Macros moved to dl-load.h.
36574         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36575         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36576         Use _dl_unmap_segments in place of __munmap.
36577         Break out segment-mapping loop into ...
36578         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36580 2014-04-03  Will Newton  <will.newton@linaro.org>
36582         * elf/dl-lookup.c (do_lookup_x): Remove comment
36583         referring to nested function and move variable
36584         declarations down to before first use.
36586 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36588         [BZ #16799]
36589         [BZ #16800]
36590         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36591         with 0 numerator.
36592         * math/s_catanf.c (__catanf): Likewise.
36593         * math/s_catanh.c (__catanh): Likewise.
36594         * math/s_catanhf.c (__catanhf): Likewise.
36595         * math/s_catanhl.c (__catanhl): Likewise.
36596         * math/s_catanl.c (__catanl): Likewise.
36597         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36598         by positive zero when computing -Inf result.
36599         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36600         (catanh_test): Likewise.
36601         * sysdeps/i386/fpu/libm-test-ulps: Update.
36602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36604         [BZ #16789]
36605         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36606         instead of using underflowing value in computing result.
36607         * math/s_clog10.c (__clog10): Likewise.
36608         * math/s_clog10f.c (__clog10f): Likewise.
36609         * math/s_clog10l.c (__clog10l): Likewise.
36610         * math/s_clogf.c (__clogf): Likewise.
36611         * math/s_clogl.c (__clogl): Likewise.
36612         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36613         (clog10_test): Likewise.
36614         * sysdeps/i386/fpu/libm-test-ulps: Update.
36615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36617 2014-04-02  Alan Modra  <amodra@gmail.com>
36619         [BZ #16739]
36620         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36621         output when value is near a power of two.  Use int64_t for lx and
36622         remove casts.  Use decimal rather than hex exponent constants.
36623         Don't use long double multiplication when double will suffice.
36624         * math/libm-test.inc (nextafter_test_data): Add tests.
36625         * NEWS: Add 16739 and 16786 to bug list.
36627         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36629         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36631 2014-04-01  Will Newton  <will.newton@linaro.org>
36633         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36634         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36636 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36638         [BZ #13347]
36639         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36640         * nptl/tst-setuid2.c: New file.
36641         * nptl/Makefile (xtests): Add tst-setuid2.
36643 2014-04-01  Alan Modra  <amodra@gmail.com>
36645         [BZ #16786]
36646         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36648 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36650         [BZ #6803]
36651         [BZ #6804]
36652         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36653         set errno as appropriate.
36654         * math/w_scalbf.c (__scalbf): Likewise.
36655         * math/w_scalbl.c (__scalbl): Likewise.
36656         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36657         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36658         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36659         Add more NaN tests.
36661         [BZ #16349]
36662         * math/w_atan2.c: Include <errno.h>.
36663         (__atan2): Set errno for result underflowing to zero.
36664         * math/w_atan2f.c: Include <errno.h>.
36665         (__atan2f): Set errno for result underflowing to zero.
36666         * math/w_atan2l.c: Include <errno.h>.
36667         (__atan2l): Set errno for result underflowing to zero.
36668         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36669         tests.
36670         * math/auto-libm-test-out: Regenerated.
36672 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36674         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36675         Encode instruction correctly in little endian.
36676         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36677         Likewise.
36678         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36679         Likewise.
36680         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36681         Likewise.
36682         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36683         Likewise.
36685 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36687         [BZ #9894]
36688         * sysdeps/unix/sysv/linux/kernel-features.h
36689         [__sparc__ && !__arch64__ && !__sparc_v9__]
36690         (__ASSUME_SET_ROBUST_LIST): Do not define.
36691         [__sparc__ && !__arch64__ && !__sparc_v9__]
36692         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36693         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36694         Likewise.
36695         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36696         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36697         (__ASSUME_REQUEUE_PI): Likewise.
36698         (__ASSUME_SET_ROBUST_LIST): Likewise.
36699         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36700         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36701         Undefine.
36702         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36703         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36704         Likewise.
36705         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36706         Likewise.
36707         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36708         Likewise.
36709         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36710         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36711         Undefine.
36712         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36713         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36714         Likewise.
36716         [BZ #16648]
36717         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36718         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36719         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36721 2014-03-31  Will Newton  <will.newton@linaro.org>
36723         * benchtests/Makefile (bench): Add ffs and ffsll to list
36724         of tests.
36725         * benchtests/ffs-inputs: New file.
36726         * benchtests/ffsll-inputs: Likewise.
36728 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36730         [BZ #16770]
36731         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36732         too large before casting to int.
36733         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36734         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36735         * math/libm-test.inc (scalb_test_data): Add more tests.
36737 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36739         * benchtests/Makefile (DETAILED_OPT): New make option.
36740         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36741         set.
36742         * benchtests/bench-skeleton.c: Include stdbool.h.
36743         (main): Store and print timings per input.
36744         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36745         member to each argument value.
36746         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36747         (_print_arg_data): Initialize per-input timing to 0.
36749         * benchtests/Makefile (timing-type): New binary.
36750         (bench-clean): Also remove bench-timing-type.
36751         (bench): New target for timing-type.
36752         (bench-func): Print output in JSON format.
36753         * benchtests/bench-skeleton.c (main): Print output in JSON
36754         format.
36755         * benchtests/bench-timing-type.c: New file.
36756         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36757         (TIMING_PRINT_STATS): Remove.
36758         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36759         name separately.
36761         * benchtests/bench-modf.c: Remove.
36762         * benchtests/modf-inputs: New inputs file.
36764 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36766         [BZ #16362]
36767         * math/s_clog10.c (M_PI_LOG10E): New macro.
36768         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36769         imaginary parts are 0.
36770         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36771         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36772         imaginary parts are 0.
36773         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36774         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36775         imaginary parts are 0.
36776         * math/libm-test.inc (clog10_test_data): Update expected results
36777         for when real and imaginary parts are 0.
36779 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
36781         * elf/dl-load.c: Finish conversion of __builtin_expect into
36782         __glibc_{un}likely.
36784 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
36786         [BZ #16348]
36787         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36788         1+x for argument with exponent below -67.
36789         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36790         Likewise.
36791         * math/auto-libm-test-in: Add more tests of exp.
36792         * math/auto-libm-test-out: Regenerated.
36794 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36796         [BZ #16759]
36797         * inet/getnetgrent_r.c (get_nonempty_val): New function.
36798         (nscd_getnetgrent): Use it.
36800         [BZ #16760]
36801         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36802         of stpcpy.
36804 2014-03-27  Andi Kleen  <ak@linux.intel.com>
36806         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36807         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36808         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36809         (lll_robust_unlock): Remove out of line section. Use cfi
36810         intrinsics.
36811         (LLL_STUB_UNWIND_INFO*): Remove.
36812         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36813         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36814         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36815         (lll_robust_unlock): Remove out of line section. Use cfi
36816         intrinsics.
36817         (LLL_STUB_UNWIND_INFO*): Remove.
36819 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36821         [BZ #16758]
36822         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36823         blank values.
36825 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
36827         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36829 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
36831         [BZ #16198]
36832         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36833         fnstenv.
36834         * math/test-fenv-preserve.c: New file.
36835         * math/Makefile (tests): Add test-fenv-preserve.
36837 2014-03-26  Will Newton <will.newton@linaro.org>
36839         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36841 2014-03-25  Roland McGrath  <roland@hack.frob.com>
36843         * scripts/versionlist.awk: Partition the version sets and emit all
36844         GLIBC_* (sorted) before all others (sorted).
36846 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36848         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36849         GLIBC_2.2.5 version.
36851 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36853         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36854         calls.
36856         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36857         previous change.
36859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36861 2014-03-25  Andreas Schwab  <schwab@suse.de>
36863         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36864         label to be used after in6ailist is initialized.
36866 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36868         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36869         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36871 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36873         [BZ #16357]
36874         [BZ #16599]
36875         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36876         min_plus_half.
36877         (fp_formats): Update initializers.
36878         (init_fp_formats): Initialize new field.
36879         (output_for_one_input_case): Allow underflow for results up to
36880         min_plus_half.
36881         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36882         * math/auto-libm-test-in: Don't mark some underflows from asin and
36883         atanh as spurious.
36884         * math/auto-libm-test-out: Regenerated.
36885         * sysdeps/i386/fpu/libm-test-ulps: Update.
36886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36888 2014-03-25  Andreas Schwab  <schwab@suse.de>
36890         * libio/Makefile (tst-ftell-partial-wide-ENV)
36891         (tst-ftell-active-handler-ENV): Define.
36893 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36895         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36897 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36899         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36901 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36903         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36904         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36905         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36907 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36909         [BZ #16634]
36910         * elf/dl-load.c (open_verify): Add mode parameter.
36911         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36912         (open_path): Change from boolean 'secure' to complete flag 'mode'
36913         (_dl_map_object): Adjust.
36914         * elf/Makefile (tests): Add tst-dlopen-aout.
36915         * elf/tst-dlopen-aout.c: New test.
36917 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36919         [BZ #16714]
36920         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36921         (struct stat): Rename member pad0 to __glibc_reserved0.
36923         [BZ #16712]
36924         * sysdeps/s390/s390-32/bits/wordsize.h
36925         (__WORDSIZE32_SIZE_ULONG): New define.
36926         * sysdeps/s390/s390-64/bits/wordsize.h
36927         (__WORDSIZE32_SIZE_ULONG): Likewise.
36928         * sysdeps/generic/stdint.h (SIZE_MAX):
36929         Define as UL if __WORDSIZE32_SIZE_ULONG.
36931         [BZ #16713]
36932         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36933         (__glibc_reserved0): New variable.
36934         (sa_flags): Change type to int.
36936         * posix/Makefile (before-compile): Use += before-compile instead
36937         of a :=.
36939         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36940         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36942 2014-03-20  Andreas Schwab  <schwab@suse.de>
36944         [BZ #16743]
36945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36946         non-matching result from nscd.
36948 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36950         * scripts/bench.py: Moved to ...
36951         * benchtests/scripts/bench.py: ... here.
36952         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36954 2014-03-24  Andreas Schwab  <schwab@suse.de>
36956         [BZ #16002]
36957         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36958         alloca_account and account alloca use for struct in6ailist.
36960 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36962         [BZ #16284]
36963         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36964         rounding mode to recompute results that overflow to infinity or
36965         underflow to zero.
36966         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36967         bug 16284.
36968         * math/auto-libm-test-out: Regenerated.
36969         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36970         (ccosh_test): Likewise.
36971         (csin_test_data): Use plus_oflow.
36972         (csin_test): Use ALL_RM_TEST.
36973         (csinh_test_data): Use plus_oflow.
36974         (csinh_test): Use ALL_RM_TEST.
36975         * sysdeps/i386/fpu/libm-test-ulps: Update.
36976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36978 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36980         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36981         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36982         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36984         [BZ #16731]
36985         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36986         when x - 1 is zero.
36987         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36988         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36989         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36990         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36991         argument is 1.
36992         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36993         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36994         zero.
36995         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36996         * sysdeps/i386/fpu/libm-test-ulps: Update.
36997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36999 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37001         * scripts/bench.pl: Remove file.
37002         * scripts/bench.py: New benchmark script.
37003         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37004         * benchtests/README: Mention python dependency.
37005         * scripts/pylintrc: New file.
37006         * scripts/pylint: New file.
37008         * bits/mathdef.h: Use #ifdef instead of #if.
37009         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37010         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37011         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37012         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37013         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37014         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37016 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37017             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37019         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37021         and strpbrk-ppc64 objects.
37022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37023         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37024         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37025         multiarch strpbrk for POWER7.
37026         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37027         multiarch strpbrk for PPC64.
37028         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37029         ifunc selector.
37030         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37031         strpbrk for POWER7.
37033 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37035         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37036         (atan_test): Likewise.
37037         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37038         (atanh_test): Use ALL_RM_TEST.
37039         (atan2_test_data): Likewise.
37040         (cabs_test): Likewise.
37041         (cacosh_test): Likewise.
37042         (carg_test): Likewise.
37043         (casin_test): Likewise.
37044         (casinh_test): Likewise.
37045         (cbrt_test): Likewise.
37046         (csqrt_test): Likewise.
37047         (erf_test): Likewise.
37048         (erfc_test): Likewise.
37049         (pow10_test): Likewise.
37050         (exp2_test): Likewise.
37051         (hypot_test): Likewise.
37052         (j0_test): Likewise.
37053         (j1_test): Likewise.
37054         (lgamma_test): Likewise.
37055         (gamma_test): Likewise.
37056         (sincos_test): Likewise.
37057         (tanh_test): Likewise.
37058         (y0_test): Likewise.
37059         (y1_test): Likewise.
37060         * sysdeps/i386/fpu/libm-test-ulps: Update.
37061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37063 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37065         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37067         and strcspn-ppc64 objects.
37068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37069         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37070         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37071         multiarch strcspn for POWER7.
37072         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37073         multiarch strcspn for PPC64.
37074         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37075         ifunc selector.
37076         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37077         strcspn for POWER7.
37079 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37081         * math/gen-libm-test.pl (generate_testfile): Expect only function
37082         name as argument to AUTO_TESTS_* and pass results for all rounding
37083         modes to parse_args.
37084         (parse_auto_input): Separate inputs of automatic tests from
37085         outputs before storing in %auto_tests.
37086         * math/libm-test.inc (acos_test_data): Update call to
37087         AUTO_TESTS_f_f.
37088         (acos_test): Use ALL_RM_TEST.
37089         (acos_tonearest_test_data): Remove.
37090         (acos_test_tonearest): Likewise.
37091         (acos_towardzero_test_data): Likewise.
37092         (acos_test_towardzero): Likewise.
37093         (acos_downward_test_data): Likewise.
37094         (acos_test_downward): Likewise.
37095         (acos_upward_test_data): Likewise.
37096         (acos_test_upward): Likewise.
37097         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37098         (asin_test_data): Likewise.
37099         (asin_test): Use ALL_RM_TEST.
37100         (asin_tonearest_test_data): Remove.
37101         (asin_test_tonearest): Likewise.
37102         (asin_towardzero_test_data): Likewise.
37103         (asin_test_towardzero): Likewise.
37104         (asin_downward_test_data): Likewise.
37105         (asin_test_downward): Likewise.
37106         (asin_upward_test_data): Likewise.
37107         (asin_test_upward): Likewise.
37108         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37109         (atan_test_data): Likewise.
37110         (atanh_test_data): Likewise.
37111         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37112         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37113         (carg_test_data): Likewise.
37114         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37115         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37116         (ccosh_test_data): Likewise.
37117         (cexp_test_data): Likewise.
37118         (clog_test_data): Likewise.
37119         (clog10_test_data): Likewise.
37120         (cos_test_data): Update call to AUTO_TESTS_f_f.
37121         (cos_test): Use ALL_RM_TEST.
37122         (cos_tonearest_test_data): Remove.
37123         (cos_test_tonearest): Likewise.
37124         (cos_towardzero_test_data): Likewise.
37125         (cos_test_towardzero): Likewise.
37126         (cos_downward_test_data): Likewise.
37127         (cos_test_downward): Likewise.
37128         (cos_upward_test_data): Likewise.
37129         (cos_test_upward): Likewise.
37130         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37131         (cosh_test): Use ALL_RM_TEST.
37132         (cosh_tonearest_test_data): Remove.
37133         (cosh_test_tonearest): Likewise.
37134         (cosh_towardzero_test_data): Likewise.
37135         (cosh_test_towardzero): Likewise.
37136         (cosh_downward_test_data): Likewise.
37137         (cosh_test_downward): Likewise.
37138         (cosh_upward_test_data): Likewise.
37139         (cosh_test_upward): Likewise.
37140         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37141         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37142         (ctan_test_data): Likewise.
37143         (ctan_test): Use ALL_RM_TEST.
37144         (ctan_tonearest_test_data): Remove.
37145         (ctan_test_tonearest): Likewise.
37146         (ctan_towardzero_test_data): Likewise.
37147         (ctan_test_towardzero): Likewise.
37148         (ctan_downward_test_data): Likewise.
37149         (ctan_test_downward): Likewise.
37150         (ctan_upward_test_data): Likewise.
37151         (ctan_test_upward): Likewise.
37152         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37153         (ctanh_test): Use ALL_RM_TEST.
37154         (ctanh_tonearest_test_data): Remove.
37155         (ctanh_test_tonearest): Likewise.
37156         (ctanh_towardzero_test_data): Likewise.
37157         (ctanh_test_towardzero): Likewise.
37158         (ctanh_downward_test_data): Likewise.
37159         (ctanh_test_downward): Likewise.
37160         (ctanh_upward_test_data): Likewise.
37161         (ctanh_test_upward): Likewise.
37162         (erf_test_data): Update call to AUTO_TESTS_f_f.
37163         (erfc_test_data): Likewise.
37164         (exp_test_data): Likewise.
37165         (exp_test): Use ALL_RM_TEST.
37166         (exp_tonearest_test_data): Remove.
37167         (exp_test_tonearest): Likewise.
37168         (exp_towardzero_test_data): Likewise.
37169         (exp_test_towardzero): Likewise.
37170         (exp_downward_test_data): Likewise.
37171         (exp_test_downward): Likewise.
37172         (exp_upward_test_data): Likewise.
37173         (exp_test_upward): Likewise.
37174         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37175         (exp10_test): Use ALL_RM_TEST.
37176         (exp10_tonearest_test_data): Remove.
37177         (exp10_test_tonearest): Likewise.
37178         (exp10_towardzero_test_data): Likewise.
37179         (exp10_test_towardzero): Likewise.
37180         (exp10_downward_test_data): Likewise.
37181         (exp10_test_downward): Likewise.
37182         (exp10_upward_test_data): Likewise.
37183         (exp10_test_upward): Likewise.
37184         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37185         (expm1_test_data): Likewise.
37186         (expm1_test): Use ALL_RM_TEST.
37187         (expm1_tonearest_test_data): Remove.
37188         (expm1_test_tonearest): Likewise.
37189         (expm1_towardzero_test_data): Likewise.
37190         (expm1_test_towardzero): Likewise.
37191         (expm1_downward_test_data): Likewise.
37192         (expm1_test_downward): Likewise.
37193         (expm1_upward_test_data): Likewise.
37194         (expm1_test_upward): Likewise.
37195         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37196         (fma_test): Use ALL_RM_TEST.
37197         (fma_towardzero_test_data): Remove.
37198         (fma_test_towardzero): Likewise.
37199         (fma_downward_test_data): Likewise.
37200         (fma_test_downward): Likewise.
37201         (fma_upward_test_data): Likewise.
37202         (fma_test_upward): Likewise.
37203         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37204         (j0_test_data): Update call to AUTO_TESTS_f_f.
37205         (j1_test_data): Likewise.
37206         (jn_test_data): Update call to AUTO_TESTS_if_f.
37207         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37208         (log_test_data): Update call to AUTO_TESTS_f_f.
37209         (log10_test_data): Likewise.
37210         (log1p_test_data): Likewise.
37211         (log2_test_data): Likewise.
37212         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37213         (pow_tonearest_test_data): Likewise.
37214         (sin_test_data): Update call to AUTO_TESTS_f_f.
37215         (sin_test): Use ALL_RM_TEST.
37216         (sin_tonearest_test_data): Remove.
37217         (sin_test_tonearest): Likewise.
37218         (sin_towardzero_test_data): Likewise.
37219         (sin_test_towardzero): Likewise.
37220         (sin_downward_test_data): Likewise.
37221         (sin_test_downward): Likewise.
37222         (sin_upward_test_data): Likewise.
37223         (sin_test_upward): Likewise.
37224         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37225         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37226         (sinh_test): Use ALL_RM_TEST.
37227         (sinh_tonearest_test_data): Remove.
37228         (sinh_test_tonearest): Likewise.
37229         (sinh_towardzero_test_data): Likewise.
37230         (sinh_test_towardzero): Likewise.
37231         (sinh_downward_test_data): Likewise.
37232         (sinh_test_downward): Likewise.
37233         (sinh_upward_test_data): Likewise.
37234         (sinh_test_upward): Likewise.
37235         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37236         (sqrt_test): Use ALL_RM_TEST.
37237         (sqrt_tonearest_test_data): Remove.
37238         (sqrt_test_tonearest): Likewise.
37239         (sqrt_towardzero_test_data): Likewise.
37240         (sqrt_test_towardzero): Likewise.
37241         (sqrt_downward_test_data): Likewise.
37242         (sqrt_test_downward): Likewise.
37243         (sqrt_upward_test_data): Likewise.
37244         (sqrt_test_upward): Likewise.
37245         (tan_test_data): Update call to AUTO_TESTS_f_f.
37246         (tan_test): Use ALL_RM_TEST.
37247         (tan_tonearest_test_data): Remove.
37248         (tan_test_tonearest): Likewise.
37249         (tan_towardzero_test_data): Likewise.
37250         (tan_test_towardzero): Likewise.
37251         (tan_downward_test_data): Likewise.
37252         (tan_test_downward): Likewise.
37253         (tan_upward_test_data): Likewise.
37254         (tan_test_upward): Likewise.
37255         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37256         (tgamma_test_data): Likewise.
37257         (y0_test_data): Likewise.
37258         (y1_test_data): Likewise.
37259         (yn_test_data): Update call to AUTO_TESTS_if_f.
37260         (main): Do not call removed functions.
37262 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37264         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37265         (ldexp_test_data): Remove.
37266         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37267         scalbn_test_data.
37268         (scalb_test): Use ALL_RM_TEST.
37270 2014-03-19  Andreas Schwab  <schwab@suse.de>
37272         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37274 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37276         [BZ #16649]
37277         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37278         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37279         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37280         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37281         (__ASSUME_PREADV): Undefine.
37282         (__ASSUME_PWRITEV): Likewise.
37284 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37286         * bits/mman-linux.h: Add comment about non-Linux use.
37287         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37288         bits/mman-linux.h resting place.
37290         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37291         * bits/mman-linux.h: ... here.
37293 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37295         * conform/conformtest.pl: Add standard definition when calling C
37296         preprocessor on data files.
37297         (checknamespace): Remove unused variable.
37299 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37301         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37302         minus_oflow, plus_uflow and minus_uflow in expected results.
37303         * math/libm-test.inc (scalbn_test_data): Add more tests of
37304         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37305         minus_uflow.
37306         (scalbn_test): Use ALL_RM_TEST.
37307         (scalbln_test_data): Add more tests of negative arguments.  Use
37308         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37309         (scalbln_test): Use ALL_RM_TEST.
37311 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37313         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37315 2014-03-18  Will Newton  <will.newton@linaro.org>
37317         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37318         inaccurate comment.
37320 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37322         * Makerules [!subdir] (check-abi): Exit with error status if a
37323         test failed.
37325 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37327         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37328         for rint.  Include results for all rounding modes.
37329         (nearbyint_test): Use ALL_RM_TEST.
37330         (rint_test_data): Include all tests used for nearbyint.
37332 2014-03-17  Will Newton  <will.newton@linaro.org>
37334         * nptl/sysdeps/pthread/pthread.h: Revert previous
37335         change.
37337         * sysdeps/generic/ldsodefs.h: Revert previous
37338         change.
37340         * libio/genops.c: Revert previous change.
37341         * libio/libioP.h: Likewise.
37342         * stdio-common/vfprintf.c: Likewise.
37344         * sysdeps/generic/math_private.h: Revert previous
37345         change.
37347         * sysdeps/generic/math_private.h: Check whether
37348         HAVE_RM_CTX is defined with #ifdef rather
37349         than #if.
37351         * argp/argp-fmtstream.h: Check whether
37352         __STRICT_ANSI__ is defined with #ifdef rather
37353         than #if.
37354         * argp/argp.h: Likewise.
37356         * libio/genops.c: Check whether
37357         _IO_JUMPS_OFFSET is defined with #ifdef rather
37358         than #if.
37359         * libio/libioP.h: Likewise.
37360         * stdio-common/vfprintf.c: Likewise.
37362         * sysdeps/generic/ldsodefs.h: Check whether
37363         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37364         than #if.
37366         * nptl/sysdeps/pthread/pthread.h: Check
37367         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37368         its value.
37370 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37372         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37373         setting O_APPEND.
37374         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37375         test case.
37377         [BZ #16680]
37378         * libio/fileops.c (_IO_file_open): Seek to end of file but
37379         don't cache the offset.
37380         (get_file_offset): Remove function.
37381         (do_ftell): Use cached offset when available.
37382         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37383         don't cache the offset.
37384         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37385         case.
37386         (do_one_test): Call it.
37387         (do_ftell_test): Fix up expected old offset for a+ mode.
37388         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37389         available.
37391         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37392         up test status with function return status.
37393         (do_write_test): Likewise.
37394         (do_append_test): Likewise.
37396         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37397         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37398         Remove.
37400 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37402         * math/gen-libm-test.pl (parse_args): Handle results specified for
37403         each rounding mode separately.
37404         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37405         tests and results from lrint_tonearest_test_data,
37406         lrint_towardzero_test_data, lrint_downward_test_data and
37407         lrint_upward_test_data.
37408         (lrint_test): Use ALL_RM_TEST.
37409         (lrint_tonearest_test_data): Remove.
37410         (lrint_test_tonearest): Likewise.
37411         (lrint_towardzero_test_data): Likewise.
37412         (lrint_test_towardzero): Likewise.
37413         (lrint_downward_test_data): Likewise.
37414         (lrint_test_downward): Likewise.
37415         (lrint_upward_test_data): Likewise.
37416         (lrint_test_upward): Likewise.
37417         (llrint_test_data): Merge in per-rounding-mode tests and results
37418         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37419         llrint_downward_test_data and llrint_upward_test_data.
37420         (llrint_test): Use ALL_RM_TEST.
37421         (llrint_tonearest_test_data): Remove.
37422         (llrint_test_tonearest): Likewise.
37423         (llrint_towardzero_test_data): Likewise.
37424         (llrint_test_towardzero): Likewise.
37425         (llrint_downward_test_data): Likewise.
37426         (llrint_test_downward): Likewise.
37427         (llrint_upward_test_data): Likewise.
37428         (llrint_test_upward): Likewise.
37429         (rint_test_data): Merge in per-rounding-mode tests and results
37430         from rint_tonearest_test_data, rint_towardzero_test_data,
37431         rint_downward_test_data and rint_upward_test_data.  Add
37432         per-rounding-mode results for tests not in those arrays.
37433         (rint_test): Use ALL_RM_TEST.
37434         (rint_tonearest_test_data): Remove.
37435         (rint_test_tonearest): Likewise.
37436         (rint_towardzero_test_data): Likewise.
37437         (rint_test_towardzero): Likewise.
37438         (rint_downward_test_data): Likewise.
37439         (rint_test_downward): Likewise.
37440         (rint_upward_test_data): Likewise.
37441         (rint_test_upward): Likewise.
37442         (main): Don't call removed functions.
37444 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37446         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37447         "Compiled on ..." crapola.  It is anti-useful.
37449 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37451         * scripts/evaluate-test.sh: Handle fourth argument to determine
37452         whether test run should stop on failure.
37453         * Makeconfig (stop-on-test-failure): New variable.
37454         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37455         $(stop-on-test-failure).
37456         * Makefile (tests): Give a summary of results from testing and
37457         exit with failure status if they include an ERROR or FAIL.
37458         (xtests): Likewise.
37459         * manual/install.texi (Configuring and compiling): Mention
37460         stop-on-test-failure=y.
37461         * INSTALL: Regenerated.
37463 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37465         * scripts/versionlist.awk: New file.
37466         * Makerules [$(build-shared) = yes]
37467         (postclean-generated): Add Versions.def, not Versions.def.v and
37468         Versions.def.v.i.
37469         ($(common-objpfx)Versions.def.v.i): Target removed.
37470         ($(common-objpfx)Versions.def): New target.
37471         ($(common-objpfx)Versions.all): Depend on that rather that
37472         $(common-objpfx)Versions.def.v.
37473         * Versions.def: File removed.
37475         * Makeconfig (+gccwarn): Add -Wundef.
37476         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37477         a dl-sysdep.h breaking its contract.
37478         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37479         * include/stackinfo.h: New file.
37480         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37481         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37482         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37483         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37484         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37485         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37486         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37487         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37488         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37489         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37490         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37491         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37492         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37493         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37494         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37496 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37498         [BZ #16707]
37499         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37500         implementation.
37501         * math/libm-test.inc (round_test_data): Add more tests.
37503         [BZ #16706]
37504         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37505         implementation.
37506         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37508         [BZ #16701]
37509         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37510         implementation.
37511         * math/libm-test.inc (ceil_test_data): Add more tests.
37513         * math/libm-test.inc (trunc_test_data): Add more tests related to
37514         BZ#16414.
37516 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37518         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37519         with #if rather than #ifdef.
37520         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37522 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37524         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37525         first.  Disable AVX-512 GCC support if assembler doesn't support
37526         it.
37527         * sysdeps/x86_64/configure: Regenerated.
37529 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37531         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37532         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37533         (__old_pthread_attr_setstack): Likewise.
37534         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37535         [!_STACK_GROWS_DOWN]: Likewise.
37537 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37539         * config.make.in (have-bash2): Delete.
37540         * configure.ac (libc_cv_have_bash2): Delete.
37541         * configure: Regenerate.
37542         * elf/Makefile (common-ldd-rewrite): Rename to ...
37543         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37544         (sh-ldd-rewrite): Delete.
37545         (bash-ldd-rewrite): Delete.
37546         (have-bash2): Delete checks.
37547         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37548         ldd-rewrite.
37550         * config.make.in (have-ksh): Delete.
37551         (KSH): Delete.
37552         * configure.ac (libc_cv_have_ksh): Delete.
37553         * configure: Regenerate.
37555         * elf/Makefile: Delete $(have-ksh) check.
37556         ($(objpfx)sotruss): Change KSH to BASH.
37557         * elf/sotruss.ksh: Rename to ...
37558         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37559         function style to match POSIX.  Drop ksh vim mode setting.
37561         * manual/time.texi (Specifying the Time Zone with TZ): Change
37562         Tuesday to Thursday.
37564         * debug/tst-longjmp_chk2.c: Update header comment.
37565         (stackoverflow_handler): Add comment.  Call assert on pass value.
37567 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37569         [BZ #16194]
37570         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37571         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37572         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37573         (La_x86_64_vector): Add zmm.
37574         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37575         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37576         ($(objpfx)tst-audit10): New target.
37577         ($(objpfx)tst-audit10.out): Likewise.
37578         (tst-audit10-ENV): New.
37579         (AVX512-CFLAGS): Likewise.
37580         (CFLAGS-tst-audit10.c): Likewise.
37581         (CFLAGS-tst-auditmod10a.c): Likewise.
37582         (CFLAGS-tst-auditmod10b.c): Likewise.
37583         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37584         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37585         * sysdeps/x86_64/configure: Regenerated.
37586         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37587         AVX-512 zmm register support.
37588         (_dl_x86_64_save_sse): Likewise.
37589         (_dl_x86_64_restore_sse): Likewise.
37590         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37591         size vector registers.
37592         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37593         (ZMM_SIZE): Likewise.
37594         * sysdeps/x86_64/tst-audit10.c: New file.
37595         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37596         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37598 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37600         * configure.ac (HAVE_EHDR_START): New check.
37601         * configure: Regenerated.
37602         * config.h.in (HAVE_EHDR_START): New #undef.
37603         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37604         assuming the lowest-addressed segment maps the start of the file.
37606 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37608         * INSTALL: Regenerated.
37610 2014-03-13  Will Newton  <will.newton@linaro.org>
37612         * manual/setjmp.texi (System V contexts): Improve
37613         clarity and grammar of documentation.
37615 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37617         [BZ #16381]
37618         * elf/Makefile (tests): Add tst-pie2.
37619         (tests-pie): Add tst-pie2.
37620         * elf/tst-pie2.c: New file.
37621         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37622         for ET_EXEC.
37623         * elf/rtld.c (map_doit): Load executable as lt_executable.
37624         (dl_main): Likewise.
37626 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37628         [BZ #16642]
37629         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37630         (__ASSUME_PSELECT): Undefine.
37632 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37634         [BZ #16689]
37635         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37636         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37637         static build.
37638         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37639         selector for static builds.
37641 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37643         [BZ #16695]
37644         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37645         key in the buffer.
37647 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37649         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37650         IFUNC selector for static builds.
37652 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37654         * sysdeps/mips/math_private.h [__mips_hard_float]
37655         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37656         libc_feresetround_mips_ctx.
37657         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37658         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37659         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37661         [BZ #16677]
37662         * math/s_nextafter.c (__nextafter): Do not return value from
37663         overflowing computation.
37664         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37665         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37666         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37667         Likewise.
37668         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37669         Likewise.
37670         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37671         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37673 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37675         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37676         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37677         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37678         the new mov targetting sp.
37680 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37682         [BZ #16683]
37683         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37684         Define it for static builds as well.
37685         (NO_BZERO_IMPL): Likewise.
37687 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37689         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37690         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37691         multiarch strspn for PPC64.
37692         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37693         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37695         (__libc_ifunc_impl_list): Likewise.
37696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37697         multiarch optimizations
37698         * string/strspn.c (strspn): Using macro to redefine symbol name.
37700 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37701             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37703         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37704         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37705         multiarch strncat for PPC64.
37706         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37707         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37709         (__libc_ifunc_impl_list): Likewise.
37710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37711         multiarch optimizations
37713 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37715         [BZ #16639]
37716         * nscd/nscd.service: Make service type forking.
37718 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37720         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37721         sign in non default rounding modes.
37722         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37724 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37726         * math/libm-test.inc (ALL_RM_TEST): New macro.
37727         (ceil_test): Use ALL_RM_TEST.
37728         (cimag_test): Likewise.
37729         (conj_test): Likewise.
37730         (copysign_test): Likewise.
37731         (cproj_test): Likewise.
37732         (creal_test): Likewise.
37733         (fabs_test): Likewise.
37734         (floor_test): Likewise.
37735         (fmax_test): Likewise.
37736         (fmin_test): Likewise.
37737         (fmod_test): Likewise.
37738         (fpclassify_test): Likewise.
37739         (frexp_test): Likewise.
37740         (ilogb_test): Likewise.
37741         (isfinite_test): Likewise.
37742         (finite_test): Likewise.
37743         (isgreater_test): Likewise.
37744         (isgreaterequal_test): Likewise.
37745         (isinf_test): Likewise.
37746         (isless_test): Likewise.
37747         (islessequal_test): Likewise.
37748         (islessgreater_test): Likewise.
37749         (isnan_test): Likewise.
37750         (isnormal_test): Likewise.
37751         (issignaling_test): Likewise.
37752         (isunordered_test): Likewise.
37753         (logb_test): Likewise.
37754         (logb_downward_test_data): Remove.
37755         (logb_test_downward): Likewise.
37756         (lround_test): Use ALL_RM_TEST.
37757         (llround_test): Likewise.
37758         (modf_test): Likewise.
37759         (nexttoward_test): Likewise.
37760         (remainder_test): Likewise.
37761         (drem_test): Likewise.
37762         (remainder_tonearest_test_data): Likewise.
37763         (remainder_test_tonearest): Likewise.
37764         (drem_test_tonearest): Likewise.
37765         (remainder_towardzero_test_data): Likewise.
37766         (remainder_test_towardzero): Likewise.
37767         (drem_test_towardzero): Likewise.
37768         (remainder_downward_test_data): Likewise.
37769         (remainder_test_downward): Likewise.
37770         (drem_test_downward): Likewise.
37771         (remainder_upward_test_data): Likewise.
37772         (remainder_test_upward): Likewise.
37773         (drem_test_upward): Likewise.
37774         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37775         (round_test): Use ALL_RM_TEST.
37776         (signbit_test): Likewise.
37777         (trunc_test): Likewise.
37778         (significand_test): Likewise.
37779         (main): Don't call removed functions.
37781 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37783         [BZ #16674]
37784         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37785         || __USE_XOPEN2K8].
37786         (ILL_ILLOPN): Likewise.
37787         (ILL_ILLADR): Likewise.
37788         (ILL_ILLTRP): Likewise.
37789         (ILL_PRVOPC): Likewise.
37790         (ILL_PRVREG): Likewise.
37791         (ILL_COPROC): Likewise.
37792         (ILL_BADSTK): Likewise.
37793         (FPE_INTDIV): Likewise.
37794         (FPE_INTOVF): Likewise.
37795         (FPE_FLTDIV): Likewise.
37796         (FPE_FLTOVF): Likewise.
37797         (FPE_FLTUND): Likewise.
37798         (FPE_FLTRES): Likewise.
37799         (FPE_FLTINV): Likewise.
37800         (FPE_FLTSUB): Likewise.
37801         (SEGV_MAPERR): Likewise.
37802         (SEGV_ACCERR): Likewise.
37803         (BUS_ADRALN): Likewise.
37804         (BUS_ADRERR): Likewise.
37805         (BUS_OBJERR): Likewise.
37806         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37807         (TRAP_TRACE): Likewise.
37808         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37809         __USE_XOPEN2K8].
37810         (CLD_KILLED): Likewise.
37811         (CLD_DUMPED): Likewise.
37812         (CLD_TRAPPED): Likewise.
37813         (CLD_STOPPED): Likewise.
37814         (CLD_CONTINUED): Likewise.
37815         (POLL_IN): Likewise.
37816         (POLL_OUT): Likewise.
37817         (POLL_MSG): Likewise.
37818         (POLL_ERR): Likewise.
37819         (POLL_PRI): Likewise.
37820         (POLL_HUP): Likewise.
37821         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37822         Likewise.
37823         (ILL_ILLOPN): Likewise.
37824         (ILL_ILLADR): Likewise.
37825         (ILL_ILLTRP): Likewise.
37826         (ILL_PRVOPC): Likewise.
37827         (ILL_PRVREG): Likewise.
37828         (ILL_COPROC): Likewise.
37829         (ILL_BADSTK): Likewise.
37830         (FPE_INTDIV): Likewise.
37831         (FPE_INTOVF): Likewise.
37832         (FPE_FLTDIV): Likewise.
37833         (FPE_FLTOVF): Likewise.
37834         (FPE_FLTUND): Likewise.
37835         (FPE_FLTRES): Likewise.
37836         (FPE_FLTINV): Likewise.
37837         (FPE_FLTSUB): Likewise.
37838         (SEGV_MAPERR): Likewise.
37839         (SEGV_ACCERR): Likewise.
37840         (BUS_ADRALN): Likewise.
37841         (BUS_ADRERR): Likewise.
37842         (BUS_OBJERR): Likewise.
37843         (BUS_MCEERR_AR): Likewise.
37844         (BUS_MCEERR_AO): Likewise.
37845         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37846         (TRAP_TRACE): Likewise.
37847         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37848         __USE_XOPEN2K8].
37849         (CLD_KILLED): Likewise.
37850         (CLD_DUMPED): Likewise.
37851         (CLD_TRAPPED): Likewise.
37852         (CLD_STOPPED): Likewise.
37853         (CLD_CONTINUED): Likewise.
37854         (POLL_IN): Likewise.
37855         (POLL_OUT): Likewise.
37856         (POLL_MSG): Likewise.
37857         (POLL_ERR): Likewise.
37858         (POLL_PRI): Likewise.
37859         (POLL_HUP): Likewise.
37860         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37861         (ILL_ILLOPN): Likewise.
37862         (ILL_ILLADR): Likewise.
37863         (ILL_ILLTRP): Likewise.
37864         (ILL_PRVOPC): Likewise.
37865         (ILL_PRVREG): Likewise.
37866         (ILL_COPROC): Likewise.
37867         (ILL_BADSTK): Likewise.
37868         (FPE_INTDIV): Likewise.
37869         (FPE_INTOVF): Likewise.
37870         (FPE_FLTDIV): Likewise.
37871         (FPE_FLTOVF): Likewise.
37872         (FPE_FLTUND): Likewise.
37873         (FPE_FLTRES): Likewise.
37874         (FPE_FLTINV): Likewise.
37875         (FPE_FLTSUB): Likewise.
37876         (SEGV_MAPERR): Likewise.
37877         (SEGV_ACCERR): Likewise.
37878         (BUS_ADRALN): Likewise.
37879         (BUS_ADRERR): Likewise.
37880         (BUS_OBJERR): Likewise.
37881         (BUS_MCEERR_AR): Likewise.
37882         (BUS_MCEERR_AO): Likewise.
37883         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37884         (TRAP_TRACE): Likewise.
37885         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37886         __USE_XOPEN2K8].
37887         (CLD_KILLED): Likewise.
37888         (CLD_DUMPED): Likewise.
37889         (CLD_TRAPPED): Likewise.
37890         (CLD_STOPPED): Likewise.
37891         (CLD_CONTINUED): Likewise.
37892         (POLL_IN): Likewise.
37893         (POLL_OUT): Likewise.
37894         (POLL_MSG): Likewise.
37895         (POLL_ERR): Likewise.
37896         (POLL_PRI): Likewise.
37897         (POLL_HUP): Likewise.
37898         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37899         Likewise.
37900         (ILL_ILLOPN): Likewise.
37901         (ILL_ILLADR): Likewise.
37902         (ILL_ILLTRP): Likewise.
37903         (ILL_PRVOPC): Likewise.
37904         (ILL_PRVREG): Likewise.
37905         (ILL_COPROC): Likewise.
37906         (ILL_BADSTK): Likewise.
37907         (ILL_BADIADDR): Likewise.
37908         (ILL_BREAK): Likewise.
37909         (FPE_INTDIV): Likewise.
37910         (FPE_INTOVF): Likewise.
37911         (FPE_FLTDIV): Likewise.
37912         (FPE_FLTOVF): Likewise.
37913         (FPE_FLTUND): Likewise.
37914         (FPE_FLTRES): Likewise.
37915         (FPE_FLTINV): Likewise.
37916         (FPE_FLTSUB): Likewise.
37917         (FPE_DECOVF): Likewise.
37918         (FPE_DECDIV): Likewise.
37919         (FPE_DECERR): Likewise.
37920         (FPE_INVASC): Likewise.
37921         (FPE_INVDEC): Likewise.
37922         (SEGV_MAPERR): Likewise.
37923         (SEGV_ACCERR): Likewise.
37924         (SEGV_PSTKOVF): Likewise.
37925         (BUS_ADRALN): Likewise.
37926         (BUS_ADRERR): Likewise.
37927         (BUS_OBJERR): Likewise.
37928         (BUS_MCEERR_AR): Likewise.
37929         (BUS_MCEERR_AO): Likewise.
37930         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37931         (TRAP_TRACE): Likewise.
37932         (TRAP_BRANCH): Likewise.
37933         (TRAP_HWBKPT): Likewise.
37934         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37935         __USE_XOPEN2K8].
37936         (CLD_KILLED): Likewise.
37937         (CLD_DUMPED): Likewise.
37938         (CLD_TRAPPED): Likewise.
37939         (CLD_STOPPED): Likewise.
37940         (CLD_CONTINUED): Likewise.
37941         (POLL_IN): Likewise.
37942         (POLL_OUT): Likewise.
37943         (POLL_MSG): Likewise.
37944         (POLL_ERR): Likewise.
37945         (POLL_PRI): Likewise.
37946         (POLL_HUP): Likewise.
37947         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37948         (ILL_ILLOPN): Likewise.
37949         (ILL_ILLADR): Likewise.
37950         (ILL_ILLTRP): Likewise.
37951         (ILL_PRVOPC): Likewise.
37952         (ILL_PRVREG): Likewise.
37953         (ILL_COPROC): Likewise.
37954         (ILL_BADSTK): Likewise.
37955         (FPE_INTDIV): Likewise.
37956         (FPE_INTOVF): Likewise.
37957         (FPE_FLTDIV): Likewise.
37958         (FPE_FLTOVF): Likewise.
37959         (FPE_FLTUND): Likewise.
37960         (FPE_FLTRES): Likewise.
37961         (FPE_FLTINV): Likewise.
37962         (FPE_FLTSUB): Likewise.
37963         (SEGV_MAPERR): Likewise.
37964         (SEGV_ACCERR): Likewise.
37965         (BUS_ADRALN): Likewise.
37966         (BUS_ADRERR): Likewise.
37967         (BUS_OBJERR): Likewise.
37968         (BUS_MCEERR_AR): Likewise.
37969         (BUS_MCEERR_AO): Likewise.
37970         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37971         (TRAP_TRACE): Likewise.
37972         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37973         __USE_XOPEN2K8].
37974         (CLD_KILLED): Likewise.
37975         (CLD_DUMPED): Likewise.
37976         (CLD_TRAPPED): Likewise.
37977         (CLD_STOPPED): Likewise.
37978         (CLD_CONTINUED): Likewise.
37979         (POLL_IN): Likewise.
37980         (POLL_OUT): Likewise.
37981         (POLL_MSG): Likewise.
37982         (POLL_ERR): Likewise.
37983         (POLL_PRI): Likewise.
37984         (POLL_HUP): Likewise.
37985         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37986         (ILL_ILLOPN): Likewise.
37987         (ILL_ILLADR): Likewise.
37988         (ILL_ILLTRP): Likewise.
37989         (ILL_PRVOPC): Likewise.
37990         (ILL_PRVREG): Likewise.
37991         (ILL_COPROC): Likewise.
37992         (ILL_BADSTK): Likewise.
37993         (FPE_INTDIV): Likewise.
37994         (FPE_INTOVF): Likewise.
37995         (FPE_FLTDIV): Likewise.
37996         (FPE_FLTOVF): Likewise.
37997         (FPE_FLTUND): Likewise.
37998         (FPE_FLTRES): Likewise.
37999         (FPE_FLTINV): Likewise.
38000         (FPE_FLTSUB): Likewise.
38001         (SEGV_MAPERR): Likewise.
38002         (SEGV_ACCERR): Likewise.
38003         (BUS_ADRALN): Likewise.
38004         (BUS_ADRERR): Likewise.
38005         (BUS_OBJERR): Likewise.
38006         (BUS_MCEERR_AR): Likewise.
38007         (BUS_MCEERR_AO): Likewise.
38008         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38009         (TRAP_TRACE): Likewise.
38010         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38011         __USE_XOPEN2K8].
38012         (CLD_KILLED): Likewise.
38013         (CLD_DUMPED): Likewise.
38014         (CLD_TRAPPED): Likewise.
38015         (CLD_STOPPED): Likewise.
38016         (CLD_CONTINUED): Likewise.
38017         (POLL_IN): Likewise.
38018         (POLL_OUT): Likewise.
38019         (POLL_MSG): Likewise.
38020         (POLL_ERR): Likewise.
38021         (POLL_PRI): Likewise.
38022         (POLL_HUP): Likewise.
38023         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38024         (ILL_ILLOPN): Likewise.
38025         (ILL_ILLADR): Likewise.
38026         (ILL_ILLTRP): Likewise.
38027         (ILL_PRVOPC): Likewise.
38028         (ILL_PRVREG): Likewise.
38029         (ILL_COPROC): Likewise.
38030         (ILL_BADSTK): Likewise.
38031         (FPE_INTDIV): Likewise.
38032         (FPE_INTOVF): Likewise.
38033         (FPE_FLTDIV): Likewise.
38034         (FPE_FLTOVF): Likewise.
38035         (FPE_FLTUND): Likewise.
38036         (FPE_FLTRES): Likewise.
38037         (FPE_FLTINV): Likewise.
38038         (FPE_FLTSUB): Likewise.
38039         (SEGV_MAPERR): Likewise.
38040         (SEGV_ACCERR): Likewise.
38041         (BUS_ADRALN): Likewise.
38042         (BUS_ADRERR): Likewise.
38043         (BUS_OBJERR): Likewise.
38044         (BUS_MCEERR_AR): Likewise.
38045         (BUS_MCEERR_AO): Likewise.
38046         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38047         (TRAP_TRACE): Likewise.
38048         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38049         __USE_XOPEN2K8].
38050         (CLD_KILLED): Likewise.
38051         (CLD_DUMPED): Likewise.
38052         (CLD_TRAPPED): Likewise.
38053         (CLD_STOPPED): Likewise.
38054         (CLD_CONTINUED): Likewise.
38055         (POLL_IN): Likewise.
38056         (POLL_OUT): Likewise.
38057         (POLL_MSG): Likewise.
38058         (POLL_ERR): Likewise.
38059         (POLL_PRI): Likewise.
38060         (POLL_HUP): Likewise.
38061         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38062         (ILL_ILLOPN): Likewise.
38063         (ILL_ILLADR): Likewise.
38064         (ILL_ILLTRP): Likewise.
38065         (ILL_PRVOPC): Likewise.
38066         (ILL_PRVREG): Likewise.
38067         (ILL_COPROC): Likewise.
38068         (ILL_BADSTK): Likewise.
38069         (ILL_DBLFLT): Likewise.
38070         (ILL_HARDWALL): Likewise.
38071         (FPE_INTDIV): Likewise.
38072         (FPE_INTOVF): Likewise.
38073         (FPE_FLTDIV): Likewise.
38074         (FPE_FLTOVF): Likewise.
38075         (FPE_FLTUND): Likewise.
38076         (FPE_FLTRES): Likewise.
38077         (FPE_FLTINV): Likewise.
38078         (FPE_FLTSUB): Likewise.
38079         (SEGV_MAPERR): Likewise.
38080         (SEGV_ACCERR): Likewise.
38081         (BUS_ADRALN): Likewise.
38082         (BUS_ADRERR): Likewise.
38083         (BUS_OBJERR): Likewise.
38084         (BUS_MCEERR_AR): Likewise.
38085         (BUS_MCEERR_AO): Likewise.
38086         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38087         (TRAP_TRACE): Likewise.
38088         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38089         __USE_XOPEN2K8].
38090         (CLD_KILLED): Likewise.
38091         (CLD_DUMPED): Likewise.
38092         (CLD_TRAPPED): Likewise.
38093         (CLD_STOPPED): Likewise.
38094         (CLD_CONTINUED): Likewise.
38095         (POLL_IN): Likewise.
38096         (POLL_OUT): Likewise.
38097         (POLL_MSG): Likewise.
38098         (POLL_ERR): Likewise.
38099         (POLL_PRI): Likewise.
38100         (POLL_HUP): Likewise.
38101         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38102         (ILL_ILLOPN): Likewise.
38103         (ILL_ILLADR): Likewise.
38104         (ILL_ILLTRP): Likewise.
38105         (ILL_PRVOPC): Likewise.
38106         (ILL_PRVREG): Likewise.
38107         (ILL_COPROC): Likewise.
38108         (ILL_BADSTK): Likewise.
38109         (FPE_INTDIV): Likewise.
38110         (FPE_INTOVF): Likewise.
38111         (FPE_FLTDIV): Likewise.
38112         (FPE_FLTOVF): Likewise.
38113         (FPE_FLTUND): Likewise.
38114         (FPE_FLTRES): Likewise.
38115         (FPE_FLTINV): Likewise.
38116         (FPE_FLTSUB): Likewise.
38117         (SEGV_MAPERR): Likewise.
38118         (SEGV_ACCERR): Likewise.
38119         (BUS_ADRALN): Likewise.
38120         (BUS_ADRERR): Likewise.
38121         (BUS_OBJERR): Likewise.
38122         (BUS_MCEERR_AR): Likewise.
38123         (BUS_MCEERR_AO): Likewise.
38124         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38125         (TRAP_TRACE): Likewise.
38126         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38127         __USE_XOPEN2K8].
38128         (CLD_KILLED): Likewise.
38129         (CLD_DUMPED): Likewise.
38130         (CLD_TRAPPED): Likewise.
38131         (CLD_STOPPED): Likewise.
38132         (CLD_CONTINUED): Likewise.
38133         (POLL_IN): Likewise.
38134         (POLL_OUT): Likewise.
38135         (POLL_MSG): Likewise.
38136         (POLL_ERR): Likewise.
38137         (POLL_PRI): Likewise.
38138         (POLL_HUP): Likewise.
38139         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38140         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38142         [BZ #16670]
38143         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38144         before #include of <time.h>.
38145         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38146         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38147         (test-xfail-UNIX98/sched.h/conform): Likewise.
38149 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38151         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38152         error absence of trapping exception support.
38153         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38155 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38157         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38158         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38159         * timezone/Makefile (testdata): Move definition above include of
38160         Rules.
38161         (test-zones): New variable.
38162         (tests-special): Add zone files.
38163         (build-testdata): Use $(evaluate-test).
38165         * elf/Makefile (tests-special): Rename tests to end with .out.
38166         ($(objpfx)noload-mem): Likewise.
38167         ($(objpfx)tst-leaks1-mem): Likewise.
38168         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38169         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38170         $(objpfx)test-iconvconfig.out.
38171         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38172         set -e inside subshell and redirect output to file.
38173         * iconvdata/Makefile (generated): Rename tests to end with .out.
38174         Correct type.
38175         (tests-special): Rename tests to end with .out.
38176         ($(objpfx)mtrace-tst-loading): Likewise.
38177         * intl/Makefile (generated): Likewise.
38178         (tests-special): Likewise.
38179         ($(objpfx)mtrace-tst-gettext): Likewise.
38180         * misc/Makefile (generated): Likewise.
38181         (tests-special): Likewise.
38182         ($(objpfx)tst-error1-mem): Likewise.
38183         * nptl/Makefile (tests-special): Likewise.
38184         ($(objpfx)tst-stack3-mem): Likewise.
38185         (generated): Likewise.
38186         * posix/Makefile (generated): Likewise.
38187         (tests-special): Likewise.
38188         (xtests-special): Likewise.
38189         ($(objpfx)tst-fnmatch-mem): Likewise.
38190         ($(objpfx)bug-regex2-mem): Likewise.
38191         ($(objpfx)bug-regex14-mem): Likewise.
38192         ($(objpfx)bug-regex21-mem): Likewise.
38193         ($(objpfx)bug-regex31-mem): Likewise.
38194         ($(objpfx)tst-vfork3-mem): Likewise.
38195         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38196         ($(objpfx)tst-pcre-mem): Likewise.
38197         ($(objpfx)tst-boost-mem): Likewise.
38198         ($(objpfx)bug-ga2-mem): Likewise.
38199         ($(objpfx)bug-glob2-mem): Likewise.
38200         * resolv/Makefile (generate): Likewise.
38201         (tests-special): Likewise.
38202         (xtests-special): Likewise.
38203         (generated): Likewise.
38204         ($(objpfx)mtrace-tst-leaks): Likewise.
38205         ($(objpfx)mtrace-tst-leaks2): Likewise.
38207         * scripts/merge-test-results.sh: New file.
38208         * Makefile (tests-special-notdir): New variable.
38209         (tests): Run merge-test-results.sh.
38210         (xtests): Likewise.
38211         * Rules (tests-special-notdir): New variable.
38212         (xtests-special-notdir): Likewise.
38213         (tests): Run merge-test-results.sh
38214         (xtests): Likewise.
38216         * Makeconfig (test-xfail-name): New variable.
38217         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38218         compute variable name for expected failures.
38219         * conform/Makefile (conformtest-headers-data): New variable.
38220         (conformtest-standards): Likewise.
38221         (conformtest-headers-ISO): Likewise.
38222         (conformtest-headers-ISO99): Likewise.
38223         (conformtest-headers-ISO11): Likewise.
38224         (conformtest-headers-POSIX): Likewise.
38225         (conformtest-headers-XPG3): Likewise.
38226         (conformtest-headers-XPG4): Likewise.
38227         (conformtest-headers-UNIX98): Likewise.
38228         (conformtest-headers-XOPEN2K): Likewise.
38229         (conformtest-headers-POSIX2008): Likewise.
38230         (conformtest-headers-XOPEN2K8): Likewise.
38231         (conformtest-header-list-base): Likewise.
38232         (conformtest-header-list-tests): Likewise.
38233         (conformtest-header-base): Likewise.
38234         (conformtest-header-tests): Likewise.
38235         (tests-special): Add $(conformtest-header-list-tests).  If
38236         [$(fast-check) && !$(cross-compiling)], add
38237         $(conformtest-header-tests) instead of
38238         $(objpfx)run-conformtest.out.
38239         (generated): Add $(conformtest-header-list-base).  If
38240         [$(fast-check) && !$(cross-compiling)], add
38241         $(conformtest-header-base).  Remove previous setting.
38242         ($(conformtest-header-list-tests)): New target.
38243         (test-xfail-run-conformtest): Remove variable.
38244         ($(objpfx)run-conformtest.out): Remove target.
38245         (test-xfail-ISO11/complex.h/conform): New variable.
38246         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38247         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38248         (test-xfail-XPG3/varargs.h/conform): Likewise.
38249         (test-xfail-XPG4/varargs.h/conform): Likewise.
38250         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38251         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38252         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38253         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38254         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38255         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38256         (test-xfail-XPG3/ftw.h/conform): Likewise.
38257         (test-xfail-XPG3/grp.h/conform): Likewise.
38258         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38259         (test-xfail-XPG3/limits.h/conform): Likewise.
38260         (test-xfail-XPG3/pwd.h/conform): Likewise.
38261         (test-xfail-XPG3/search.h/conform): Likewise.
38262         (test-xfail-XPG3/signal.h/conform): Likewise.
38263         (test-xfail-XPG3/stdio.h/conform): Likewise.
38264         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38265         (test-xfail-XPG3/string.h/conform): Likewise.
38266         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38267         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38268         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38269         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38270         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38271         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38272         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38273         (test-xfail-XPG3/termios.h/conform): Likewise.
38274         (test-xfail-XPG3/time.h/conform): Likewise.
38275         (test-xfail-XPG3/unistd.h/conform): Likewise.
38276         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38277         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38278         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38279         (test-xfail-XPG4/netdb.h/conform): Likewise.
38280         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38281         (test-xfail-XPG4/signal.h/conform): Likewise.
38282         (test-xfail-XPG4/stdio.h/conform): Likewise.
38283         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38284         (test-xfail-XPG4/stropts.h/conform): Likewise.
38285         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38286         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38287         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38288         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38289         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38290         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38291         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38292         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38293         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38294         (test-xfail-XPG4/termios.h/conform): Likewise.
38295         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38296         (test-xfail-XPG4/unistd.h/conform): Likewise.
38297         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38298         (test-xfail-POSIX/sched.h/conform): Likewise.
38299         (test-xfail-POSIX/signal.h/conform): Likewise.
38300         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38301         (test-xfail-POSIX/tar.h/conform): Likewise.
38302         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38303         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38304         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38305         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38306         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38307         (test-xfail-UNIX98/sched.h/conform): Likewise.
38308         (test-xfail-UNIX98/signal.h/conform): Likewise.
38309         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38310         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38311         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38312         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38313         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38314         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38315         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38316         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38317         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38318         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38319         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38320         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38321         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38322         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38323         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38324         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38325         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38326         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38327         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38328         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38329         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38330         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38331         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38332         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38333         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38334         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38335         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38336         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38337         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38338         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38339         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38340         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38341         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38342         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38343         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38344         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38345         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38346         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38347         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38348         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38349         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38350         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38351         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38352         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38353         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38354         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38355         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38356         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38357         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38358         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38359         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38360         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38361         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38362         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38363         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38364         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38365         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38366         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38367         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38368         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38369         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38370         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38371         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38372         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38373         (conformtest-cc-flags): Likewise.
38374         ($(conformtest-header-tests): New target.
38375         * conform/check-header-lists.sh: New file.
38376         * conform/run-conformtest.sh: Remove.
38378         * conform/conformtest.pl: Allow ' and \ in values given for
38379         constants.
38380         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38381         inclusion.
38382         [POSIX] (sys/types.h): Likewise.
38383         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38384         inclusion.
38385         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38386         inclusion.
38387         * conform/data/signal.h-data (SIGIO): Remove expectation.
38388         [XPG3] (SIGBUS): Do not expect.
38389         [POSIX || XPG3] (SIGPOLL): Likewise.
38390         [POSIX || XPG3] (SIGPROF): Likewise.
38391         [POSIX || XPG3] (SIGSYS): Likewise.
38392         [XPG3] (SIGTRAP): Likewise.
38393         [POSIX || XPG3] (SIGURG): Likewise.
38394         [POSIX || XPG3] (SIGVTALRM): Likewise.
38395         [POSIX || XPG3] (SIGXCPU): Likewise.
38396         [POSIX || XPG3] (SIGXFSZ): Likewise.
38397         [POSIX] (SA_SIGINFO): Expect.
38398         [XPG3] (siginfo_t): Do not expect type or contents.
38399         [POSIX] (si_pid): Do not expect element.
38400         [POSIX] (si_uid): Likewise.
38401         [POSIX] (si_addr): Likewise.
38402         [POSIX] (si_status): Likewise.
38403         [POSIX] (si_band): Likewise.
38404         [XPG4] (si_value): Likewise.
38405         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38406         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38407         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38408         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38409         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38410         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38411         [POSIX || XPG3] (ILL_COPROC): Likewise.
38412         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38413         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38414         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38415         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38416         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38417         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38418         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38419         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38420         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38421         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38422         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38423         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38424         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38425         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38426         [POSIX || XPG3] (CLD_EXITED): Likewise.
38427         [POSIX || XPG3] (CLD_KILLED): Likewise.
38428         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38429         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38430         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38431         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38432         [POSIX || XPG3] (POLL_IN): Likewise.
38433         [POSIX || XPG3] (POLL_OUT): Likewise.
38434         [POSIX || XPG3] (POLL_MSG): Likewise.
38435         [POSIX || XPG3] (POLL_ERR): Likewise.
38436         [POSIX || XPG3] (POLL_PRI): Likewise.
38437         [POSIX || XPG3] (POLL_HUP): Likewise.
38438         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38439         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38440         (SIG*): Do not allow.
38441         [XPG3] (si_*): Likewise.
38442         [XPG3] (SI_*): Likewise.
38443         [XPG3 || XPG4] (sigev_*): Likewise.
38444         [XPG3 || XPG4] (SIGEV_*): Likewise.
38445         [XPG3 || XPG4] (sival_*): Likewise.
38446         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38447         [POSIX || XPG3] (BUS_*): Likewise.
38448         [POSIX || XPG3] (CLD_*): Likewise.
38449         [POSIX || XPG3] (FPE_*): Likewise.
38450         [POSIX || XPG3] (ILL_*): Likewise.
38451         [POSIX || XPG3] (POLL_*): Likewise.
38452         [POSIX || XPG3] (SEGV_*): Likewise.
38453         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38454         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38455         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38456         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38457         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38458         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38459         Specify type and value.
38460         (TVERSLEN): Likewise.
38461         (REGTYPE): Likewise.
38462         (AREGTYPE): Likewise.
38463         (LNKTYPE): Likewise.
38464         (SYMTYPE): Likewise.
38465         (CHRTYPE): Likewise.
38466         (BLKTYPE): Likewise.
38467         (DIRTYPE): Likewise.
38468         (FIFOTYPE): Likewise.
38469         (CONTTYPE): Likewise.
38470         (TSUID): Likewise.
38471         (TSGID): Likewise.
38472         (TSVTX): Likewise.
38473         (TUREAD): Likewise.
38474         (TUWRITE): Likewise.
38475         (TUEXEC): Likewise.
38476         (TGREAD): Likewise.
38477         (TGWRITE): Likewise.
38478         (TGEXEC): Likewise.
38479         (TOREAD): Likewise.
38480         (TOWRITE): Likewise.
38481         (TOEXEC): Likewise.
38482         [POSIX] (TSVTX): Expect constant.
38484 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38486         * Makefile (tests): Change dependencies to ....
38487         (tests-special): ... additions to this variable.
38488         (tests): Depend on $(tests-special).
38489         * Makerules (check-abi-list): New variable.
38490         (check-abi): Depend on $(check-abi-list).
38491         [$(subdir) = elf] (tests-special): Add
38492         $(objpfx)check-abi-libc.out.
38493         [$(build-shared) = yes && subdir] (tests-special): Add
38494         $(check-abi-list).
38495         [$(build-shared) = yes && subdir] (tests): Do not depend on
38496         check-abi.
38497         * Rules (tests): Depend on $(tests-special).
38498         (xtests): Depend on $(xtests-special).
38499         * catgets/Makefile (tests): Change dependencies to ....
38500         (tests-special): ... additions to this variable.
38501         * conform/Makefile (tests): Change dependencies to ....
38502         (tests-special): ... additions to this variable.
38503         * elf/Makefile (tests): Change dependencies to ....
38504         (tests-special): ... additions to this variable.
38505         * grp/Makefile (tests): Change dependencies to ....
38506         (tests-special): ... additions to this variable.
38507         * iconv/Makefile (xtests): Change dependencies to ....
38508         (xtests-special): ... additions to this variable.
38509         * iconvdata/Makefile (tests): Change dependencies to ....
38510         (tests-special): ... additions to this variable.
38511         * intl/Makefile (tests): Change dependencies to ....
38512         (tests-special): ... additions to this variable.  Also add
38513         $(objpfx)tst-gettext.out.
38514         * io/Makefile (tests): Change dependencies to ....
38515         (tests-special): ... additions to this variable.
38516         * libio/Makefile (tests): Change dependencies to ....
38517         (tests-special): ... additions to this variable.
38518         * malloc/Makefile (tests): Change dependencies to ....
38519         (tests-special): ... additions to this variable.
38520         * misc/Makefile (tests): Change dependencies to ....
38521         (tests-special): ... additions to this variable.
38522         * nptl/Makefile (tests): Change dependencies to ....
38523         (tests-special): ... additions to this variable.
38524         * nptl_db/Makefile (tests): Change dependencies to ....
38525         (tests-special): ... additions to this variable.
38526         * posix/Makefile (tests): Change dependencies to ....
38527         (tests-special): ... additions to this variable.
38528         (xtests): Change dependencies to ....
38529         (xtests-special): ... additions to this variable.
38530         * resolv/Makefile (tests): Change dependencies to ....
38531         (tests-special): ... additions to this variable.
38532         (xtests): Change dependencies to ....
38533         (xtests-special): ... additions to this variable.
38534         * stdio-common/Makefile (tests): Change dependencies to ....
38535         (tests-special): ... additions to this variable.
38536         (do-tst-unbputc): Remove target.
38537         (do-tst-printf): Likewise.
38538         * stdlib/Makefile (tests): Change dependencies to ....
38539         (tests-special): ... additions to this variable.
38540         * string/Makefile (tests): Change dependencies to ....
38541         (tests-special): ... additions to this variable.
38542         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38543         (tests-special): ... additions to this variable.
38545         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38546         whole file.
38547         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38548         whole file.
38549         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38550         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38552         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38553         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38554         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38555         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38556         * conform/data/libgen.h-data [XPG3]: Likewise.
38557         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38558         * conform/data/ndbm.h-data [XPG3]: Likewise.
38559         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38560         * conform/data/netdb.h-data [XPG3]: Likewise.
38561         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38562         * conform/data/poll.h-data [XPG3]: Likewise.
38563         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38564         * conform/data/strings.h-data [XPG3]: Likewise.
38565         * conform/data/stropts.h-data [XPG3]: Likewise.
38566         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38567         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38568         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38569         Likewise.
38570         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38571         * conform/data/sys/time.h-data [XPG3]: Likewise.
38572         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38573         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38574         * conform/data/sys/un.h-data [XPG3]: Likewise.
38575         * conform/data/syslog.h-data [XPG3]: Likewise.
38576         * conform/data/ucontext.h-data [XPG3]: Likewise.
38577         * conform/data/utmpx.h-data [XPG3]: Likewise.
38578         * conform/data/varargs.h-data [UNIX98]: Enable file.
38580         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38582         * math/libm-test.inc (struct test_f_f_data): Move expected results
38583         into structure for each rounding mode.
38584         (struct test_ff_f_data): Likewise.
38585         (struct test_ff_f_data_nexttoward): Likewise.
38586         (struct test_fi_f_data): Likewise.
38587         (struct test_fl_f_data): Likewise.
38588         (struct test_if_f_data): Likewise.
38589         (struct test_fff_f_data): Likewise.
38590         (struct test_c_f_data): Likewise.
38591         (struct test_f_f1_data): Likewise.
38592         (struct test_fF_f1_data): Likewise.
38593         (struct test_ffI_f1_data): Likewise.
38594         (struct test_c_c_data): Likewise.
38595         (struct test_cc_c_data): Likewise.
38596         (struct test_f_i_data): Likewise.
38597         (struct test_ff_i_data): Likewise.
38598         (struct test_f_l_data): Likewise.
38599         (struct test_f_L_data): Likewise.
38600         (struct test_fFF_11_data): Likewise.
38601         (RM_): New macro.
38602         (RM_FE_DOWNWARD): Likewise.
38603         (RM_FE_TONEAREST): Likewise.
38604         (RM_FE_TOWARDZERO): Likewise.
38605         (RM_FE_UPWARD): Likewise.
38606         (RUN_TEST_LOOP_f_f): Update references to expected results.
38607         (RUN_TEST_LOOP_2_f): Likewise.
38608         (RUN_TEST_LOOP_fff_f): Likewise.
38609         (RUN_TEST_LOOP_c_f): Likewise.
38610         (RUN_TEST_LOOP_f_f1): Likewise.
38611         (RUN_TEST_LOOP_fF_f1): Likewise.
38612         (RUN_TEST_LOOP_fI_f1): Likewise.
38613         (RUN_TEST_LOOP_ffI_f1): Likewise.
38614         (RUN_TEST_LOOP_c_c): Likewise.
38615         (RUN_TEST_LOOP_cc_c): Likewise.
38616         (RUN_TEST_LOOP_f_i): Likewise.
38617         (RUN_TEST_LOOP_f_i_tg): Likewise.
38618         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38619         (RUN_TEST_LOOP_f_b): Likewise.
38620         (RUN_TEST_LOOP_f_b_tg): Likewise.
38621         (RUN_TEST_LOOP_f_l): Likewise.
38622         (RUN_TEST_LOOP_f_L): Likewise.
38623         (RUN_TEST_LOOP_fFF_11): Likewise.
38624         * math/gen-libm-test.pl (parse_args): Output four copies of
38625         expected results for each test.
38627         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38628         (__ASSUME_UTIMES): Remove.
38629         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38630         (__ASSUME_UTIMES): Likewise.
38632         * math/gen-auto-libm-tests.c: Update comment on output format.
38633         (output_for_one_input_case): Generate before-rounding and
38634         after-rounding information as conditions on output flags not
38635         floating-point format.
38636         * math/auto-libm-test-out: Regenerated.
38637         * math/gen-libm-test.pl (cond_value): New function.
38638         (or_cond_value): Use cond_value.
38639         (generate_testfile): Handle conditional exceptions.
38641 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38643         * math/libm-test.inc (max_valid_error): New variable.
38644         (init_max_error): Take new argument specifying whether function
38645         results are exactly determined.  Set max_valid_error and bound
38646         other variables for errors based on this argument.
38647         (set_max_error): Do not record results above max_valid_error.
38648         (check_float_internal): Only accept errors of up to 0.5ulps if
38649         also at most max_valid_error.
38650         (START): Take new argument EXACT and pass it to init_max_error.
38651         (acos_test): Update call to START.
38652         (acos_test_tonearest): Likewise.
38653         (acos_test_towardzero): Likewise.
38654         (acos_test_downward): Likewise.
38655         (acos_test_upward): Likewise.
38656         (acosh_test): Likewise.
38657         (asin_test): Likewise.
38658         (asin_test_tonearest): Likewise.
38659         (asin_test_towardzero): Likewise.
38660         (asin_test_downward): Likewise.
38661         (asin_test_upward): Likewise.
38662         (asinh_test): Likewise.
38663         (atan_test): Likewise.
38664         (atanh_test): Likewise.
38665         (atan2_test): Likewise.
38666         (cabs_test): Likewise.
38667         (cacos_test): Likewise.
38668         (cacosh_test): Likewise.
38669         (carg_test): Likewise.
38670         (casin_test): Likewise.
38671         (casinh_test): Likewise.
38672         (catan_test): Likewise.
38673         (catanh_test): Likewise.
38674         (cbrt_test): Likewise.
38675         (ccos_test): Likewise.
38676         (ccosh_test): Likewise.
38677         (ceil_test): Likewise.
38678         (cexp_test): Likewise.
38679         (cimag_test): Likewise.
38680         (clog_test): Likewise.
38681         (clog10_test): Likewise.
38682         (conj_test): Likewise.
38683         (copysign_test): Likewise.
38684         (cos_test): Likewise.
38685         (cos_test_tonearest): Likewise.
38686         (cos_test_towardzero): Likewise.
38687         (cos_test_downward): Likewise.
38688         (cos_test_upward): Likewise.
38689         (cosh_test): Likewise.
38690         (cosh_test_tonearest): Likewise.
38691         (cosh_test_towardzero): Likewise.
38692         (cosh_test_downward): Likewise.
38693         (cosh_test_upward): Likewise.
38694         (cpow_test): Likewise.
38695         (cproj_test): Likewise.
38696         (creal_test): Likewise.
38697         (csin_test): Likewise.
38698         (csinh_test): Likewise.
38699         (csqrt_test): Likewise.
38700         (ctan_test): Likewise.
38701         (ctan_test_tonearest): Likewise.
38702         (ctan_test_towardzero): Likewise.
38703         (ctan_test_downward): Likewise.
38704         (ctan_test_upward): Likewise.
38705         (ctanh_test): Likewise.
38706         (ctanh_test_tonearest): Likewise.
38707         (ctanh_test_towardzero): Likewise.
38708         (ctanh_test_downward): Likewise.
38709         (ctanh_test_upward): Likewise.
38710         (erf_test): Likewise.
38711         (erfc_test): Likewise.
38712         (exp_test): Likewise.
38713         (exp_test_tonearest): Likewise.
38714         (exp_test_towardzero): Likewise.
38715         (exp_test_downward): Likewise.
38716         (exp_test_upward): Likewise.
38717         (exp10_test): Likewise.
38718         (exp10_test_tonearest): Likewise.
38719         (exp10_test_towardzero): Likewise.
38720         (exp10_test_downward): Likewise.
38721         (exp10_test_upward): Likewise.
38722         (pow10_test): Likewise.
38723         (exp2_test): Likewise.
38724         (expm1_test): Likewise.
38725         (expm1_test_tonearest): Likewise.
38726         (expm1_test_towardzero): Likewise.
38727         (expm1_test_downward): Likewise.
38728         (expm1_test_upward): Likewise.
38729         (fabs_test): Likewise.
38730         (fdim_test): Likewise.
38731         (floor_test): Likewise.
38732         (fma_test): Likewise.
38733         (fma_test_towardzero): Likewise.
38734         (fma_test_downward): Likewise.
38735         (fma_test_upward): Likewise.
38736         (fmax_test): Likewise.
38737         (fmin_test): Likewise.
38738         (fmod_test): Likewise.
38739         (fpclassify_test): Likewise.
38740         (frexp_test): Likewise.
38741         (hypot_test): Likewise.
38742         (ilogb_test): Likewise.
38743         (isfinite_test): Likewise.
38744         (finite_test): Likewise.
38745         (isgreater_test): Likewise.
38746         (isgreaterequal_test): Likewise.
38747         (isinf_test): Likewise.
38748         (isless_test): Likewise.
38749         (islessequal_test): Likewise.
38750         (islessgreater_test): Likewise.
38751         (isnan_test): Likewise.
38752         (isnormal_test): Likewise.
38753         (issignaling_test): Likewise.
38754         (isunordered_test): Likewise.
38755         (j0_test): Likewise.
38756         (j1_test): Likewise.
38757         (jn_test): Likewise.
38758         (ldexp_test): Likewise.
38759         (lgamma_test): Likewise.
38760         (gamma_test): Likewise.
38761         (lrint_test): Likewise.
38762         (lrint_test_tonearest): Likewise.
38763         (lrint_test_towardzero): Likewise.
38764         (lrint_test_downward): Likewise.
38765         (lrint_test_upward): Likewise.
38766         (llrint_test): Likewise.
38767         (llrint_test_tonearest): Likewise.
38768         (llrint_test_towardzero): Likewise.
38769         (llrint_test_downward): Likewise.
38770         (llrint_test_upward): Likewise.
38771         (log_test): Likewise.
38772         (log10_test): Likewise.
38773         (log1p_test): Likewise.
38774         (log2_test): Likewise.
38775         (logb_test): Likewise.
38776         (logb_test_downward): Likewise.
38777         (lround_test): Likewise.
38778         (llround_test): Likewise.
38779         (modf_test): Likewise.
38780         (nearbyint_test): Likewise.
38781         (nextafter_test): Likewise.
38782         (nexttoward_test): Likewise.
38783         (pow_test): Likewise.
38784         (pow_test_tonearest): Likewise.
38785         (pow_test_towardzero): Likewise.
38786         (pow_test_downward): Likewise.
38787         (pow_test_upward): Likewise.
38788         (remainder_test): Likewise.
38789         (drem_test): Likewise.
38790         (remainder_test_tonearest): Likewise.
38791         (drem_test_tonearest): Likewise.
38792         (remainder_test_towardzero): Likewise.
38793         (drem_test_towardzero): Likewise.
38794         (remainder_test_downward): Likewise.
38795         (drem_test_downward): Likewise.
38796         (remainder_test_upward): Likewise.
38797         (drem_test_upward): Likewise.
38798         (remquo_test): Likewise.
38799         (rint_test): Likewise.
38800         (rint_test_tonearest): Likewise.
38801         (rint_test_towardzero): Likewise.
38802         (rint_test_downward): Likewise.
38803         (rint_test_upward): Likewise.
38804         (round_test): Likewise.
38805         (scalb_test): Likewise.
38806         (scalbn_test): Likewise.
38807         (scalbln_test): Likewise.
38808         (signbit_test): Likewise.
38809         (sin_test): Likewise.
38810         (sin_test_tonearest): Likewise.
38811         (sin_test_towardzero): Likewise.
38812         (sin_test_downward): Likewise.
38813         (sin_test_upward): Likewise.
38814         (sincos_test): Likewise.
38815         (sinh_test): Likewise.
38816         (sinh_test_tonearest): Likewise.
38817         (sinh_test_towardzero): Likewise.
38818         (sinh_test_downward): Likewise.
38819         (sinh_test_upward): Likewise.
38820         (sqrt_test): Likewise.
38821         (sqrt_test_tonearest): Likewise.
38822         (sqrt_test_towardzero): Likewise.
38823         (sqrt_test_downward): Likewise.
38824         (sqrt_test_upward): Likewise.
38825         (tan_test): Likewise.
38826         (tan_test_tonearest): Likewise.
38827         (tan_test_towardzero): Likewise.
38828         (tan_test_downward): Likewise.
38829         (tan_test_upward): Likewise.
38830         (tanh_test): Likewise.
38831         (tgamma_test): Likewise.
38832         (trunc_test): Likewise.
38833         (y0_test): Likewise.
38834         (y1_test): Likewise.
38835         (yn_test): Likewise.
38836         (significand_test): Likewise.
38838         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38839         individual tests in comment.
38840         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38841         (prev_max_error): New variable.
38842         (prev_real_max_error): Likewise.
38843         (prev_imag_max_error): Likewise.
38844         (compare_ulp_data): Don't refer to test names in comment.
38845         (find_test_ulps): Remove function.
38846         (find_function_ulps): Likewise.
38847         (find_complex_function_ulps): Likewise.
38848         (init_max_error): Take function name as argument.  Look up ulps
38849         for that function.
38850         (print_ulps): Remove function.
38851         (print_max_error): Use prev_max_error instead of calling
38852         find_function_ulps.
38853         (print_complex_max_error): Use prev_real_max_error and
38854         prev_imag_max_error instead of calling find_complex_function_ulps.
38855         (check_float_internal): Take max_ulp parameter instead of calling
38856         find_test_ulps.  Don't call print_ulps.
38857         (check_float): Update call to check_float_internal.
38858         (check_complex): Update calls to check_float_internal.
38859         (START): Pass argument to init_max_error.
38860         * math/gen-libm-test.pl (%results): Don't include "kind"
38861         information.
38862         (parse_ulps): Don't handle ulps of individual tests.
38863         (print_ulps_file): Likewise.
38864         (output_ulps): Likewise.
38865         * math/README.libm-test: Update.
38866         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38867         individual tests.
38868         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38869         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38870         * sysdeps/arm/libm-test-ulps: Likewise.
38871         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38872         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38873         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38874         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38875         * sysdeps/microblaze/libm-test-ulps: Likewise.
38876         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38877         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38878         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38879         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38880         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38881         * sysdeps/sh/libm-test-ulps: Likewise.
38882         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38883         * sysdeps/tile/libm-test-ulps: Likewise.
38884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38886 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38888         * math/libm-test.inc (print_complex_max_error): Check separately
38889         whether real and imaginary errors are within allowed range and
38890         pass 0 to print_complex_function_ulps instead of value within
38891         allowed range.
38893 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38895         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38896         formatting.
38897         (get_handles_fopen): Likewise.
38898         (do_write_test): Likewise.
38900         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38902         * libio/fileops.c (do_ftell): Use cached offset when
38903         available.
38904         * libio/iofwide.c (do_ftell_wide): Likewise.
38905         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38906         _IO_file_attach.
38907         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38909         [BZ #16532]
38910         * libio/libioP.h (get_file_offset): New function.
38911         * libio/fileops.c (get_file_offset): Likewise.
38912         (do_ftell): Likewise.
38913         (_IO_new_file_seekoff): Split out ftell logic.
38914         * libio/wfileops.c (do_ftell_wide): Likewise.
38915         (_IO_wfile_seekoff): Split out ftell logic.
38916         * libio/tst-ftell-active-handler.c: New test case.
38917         * libio/Makefile (tests): Add it.
38919 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38921         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38922         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38924 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38926         [BZ #16639]
38927         * nscd/connections.c (nscd_init): Call do_exit.
38928         (start_threads): Call do_exit and notify_parent.
38929         (begin_drop_privileges): Call do_exit.
38930         (finish_drop_privileges): Likewise.
38931         * nscd/selinux.c (preserve_capabilities): Likewise.
38932         (install_real_capabilities): Likewise.
38933         (nscd_selinux_enabled): Likewise.
38934         (avc_create_thread): Likewise.
38935         (avc_alloc_lock): Likewise.
38936         (nscd_avc_init): Likewise.
38937         * nscd/nscd.c (parent_fd): New static variable.
38938         (main): Create a pipe between parent and child processes.
38939         Skip closing parent_fd.
38940         (monitor_child): New function.
38941         (do_exit): Likewise.
38942         (notify_parent): Likewise.
38943         * nscd/nscd.h (notify_parent): Likewise.
38944         (do_exit): Likewise.
38946 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38948         * malloc/malloc.c (__libc_calloc): Revert last change.
38950 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38954 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38956         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38958         implementation.
38959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38960         (__libc_ifunc_impl_list): Likewise.
38961         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38962         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38963         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38964         * string/strrchr.c: Define STRRCHR.
38966 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38968         * benchtest/bench-strtok.c (simple_strtok): Delete.
38969         (strtok_string): Use as benchmark.
38970         * string/strtok (STRTOK): New macro.
38972 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38974         * manual/threads.texi: Add header and standard comments to all
38975         functions.
38977         * elf/dl-lookup.c (check_match): New function.
38978         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38979         (do_lookup_x): Remove nested function check_match. Use non-nested
38980         function check_match.
38982 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38984         * csu/Makefile (generated, before-compile): Use += rather than =.
38985         * catgets/Makefile (generated, generated-dirs): Likewise.
38986         * debug/Makefile (generated): Likewise.
38987         * dlfcn/Makefile (generated): Likewise.
38988         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38989         * iconvdata/Makefile (before-compile, generated): Likewise.
38990         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38991         * libio/Makefile (generated): Likewise.
38992         * malloc/Makefile (generated): Likewise.
38993         * manual/Makefile (generated, generated-dirs): Likewise.
38994         * misc/Makefile (generated): Likewise.
38995         * posix/Makefile (generated): Likewise.
38996         * resolv/Makefile (generated): Likewise.
38997         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38998         * timezone/Makefile (generated, generated-dirs): Likewise.
39000         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39002 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39005         power8 implementation.
39006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39007         file: POWER8 llround ifunc implementation.
39008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39009         (__lllround): Add POWER8 implementation.
39010         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39011         POWER8 llround implementation.
39013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39014         power8 implementation.
39015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39016         file: POWER8 llrint ifunc implementation.
39017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39018         Add POWER8 implementation.
39019         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39020         POWER8 llrint implementation.
39022         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39023         power8 implementation.
39024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39025         file: POWER8 finite ifunc implementation.
39026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39027         Add POWER8 implementation.
39028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39029         Likewise.
39030         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39031         POWER8 finite implementation.
39032         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39035         power8 implementation.
39036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39037         file: POWER8 isinf ifunc implementation.
39038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39039         POWER8 implementation.
39040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39041         Likewise.
39042         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39043         isinf implementation.
39044         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39046         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39047         (INIT_ARCH): Add hwcap2 initialization.
39048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39049         power8 implementation.
39050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39051         file: POWER8 isnan ifunc implementation.
39052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39053         POWER8 implementation.
39054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39055         Likewise.
39056         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39057         isnan implementation.
39058         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39060 2014-02-27  Joey Ye  <joey.ye@arm.com>
39062         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39063         (_FP_NANFRAC_Q): Set to zero.
39065 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39067         [BZ #16623]
39068         * math/auto-libm-test-in: New test inputs.
39069         * math/auto-libm-test-out: Regenerate.
39070         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39071         and DA.
39072         (__cos): Likewise.
39073         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39075 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39077         * scripts/evaluate-test.sh: Take new argument indicating whether
39078         failure is expected.
39079         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39080         indicating whether failure is expected.
39081         * conform/Makefile (test-xfail-run-conformtest): New variable.
39082         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39083         level.
39084         * posix/Makefile (test-xfail-annexc): New variable.
39085         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39087 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39089         * argp/Makefile: Include Makeconfig immediately after defining
39090         subdir.
39091         * assert/Makefile: Likewise.
39092         * benchtests/Makefile: Likewise.
39093         * catgets/Makefile: Likewise.
39094         * conform/Makefile: Likewise.
39095         * crypt/Makefile: Likewise.
39096         * csu/Makefile: Likewise.
39097         (all): Remove target.
39098         * ctype/Makefile: Include Makeconfig immediately after defining
39099         subdir.
39100         * debug/Makefile: Likewise.
39101         * dirent/Makefile: Likewise.
39102         * dlfcn/Makefile: Likewise.
39103         * gmon/Makefile: Likewise.
39104         * gnulib/Makefile: Likewise.
39105         * grp/Makefile: Likewise.
39106         * gshadow/Makefile: Likewise.
39107         * hesiod/Makefile: Likewise.
39108         * hurd/Makefile: Likewise.
39109         (all): Remove target.
39110         * iconvdata/Makefile: Include Makeconfig immediately after
39111         defining subdir.
39112         * inet/Makefile: Likewise.
39113         * intl/Makefile: Likewise.
39114         * io/Makefile: Likewise.
39115         * libio/Makefile: Likewise.
39116         (all): Remove target.
39117         * locale/Makefile: Include Makeconfig immediately after defining
39118         subdir.
39119         * login/Makefile: Likewise.
39120         * mach/Makefile: Likewise.
39121         (all): Remove target.
39122         * malloc/Makefile: Include Makeconfig immediately after defining
39123         subdir.
39124         (all): Remove target.
39125         * manual/Makefile: Include Makeconfig immediately after defining
39126         subdir.
39127         * math/Makefile: Likewise.
39128         * misc/Makefile: Likewise.
39129         * nis/Makefile: Likewise.
39130         * nss/Makefile: Likewise.
39131         * po/Makefile: Likewise.
39132         (all): Remove target.
39133         * posix/Makefile: Include Makeconfig immediately after defining
39134         subdir.
39135         * pwd/Makefile: Likewise.
39136         * resolv/Makefile: Likewise.
39137         * resource/Makefile: Likewise.
39138         * rt/Makefile: Likewise.
39139         * setjmp/Makefile: Likewise.
39140         * shadow/Makefile: Likewise.
39141         * signal/Makefile: Likewise.
39142         * socket/Makefile: Likewise.
39143         * soft-fp/Makefile: Likewise.
39144         * stdio-common/Makefile: Likewise.
39145         * stdlib/Makefile: Likewise.
39146         * streams/Makefile: Likewise.
39147         * string/Makefile: Likewise.
39148         * sunrpc/Makefile: Likewise.
39149         (all): Remove target.
39150         * sysvipc/Makefile: Include Makeconfig immediately after defining
39151         subdir.
39152         * termios/Makefile: Likewise.
39153         * time/Makefile: Likewise.
39154         * timezone/Makefile: Likewise.
39155         (all): Remove target.
39156         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39157         subdir.
39158         * wctype/Makefile: Likewise.
39160 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39162         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39163         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39164         (libc_feholdexcept_setround_mips): Ditto.
39165         (libc_feholdsetround): New.
39166         (libc_feholdsetroundf): New.
39167         (libc_feholdsetroundl): New.
39168         (libc_feupdateenv_test_mips): New.
39169         (libc_feupdateenv_test): New.
39170         (libc_feupdateenv_testf): New.
39171         (libc_feupdateenv_testl): New.
39172         (libc_feresetround): New.
39173         (libc_feresetroundf): New.
39174         (libc_feresetroundl): New.
39175         (libc_fetestexcept_mips): New.
39176         (libc_fetestexcept): New.
39177         (libc_fetestexceptf): New.
39178         (libc_fetestexceptl): New.
39179         (HAVE_RM_CTX): New.
39180         (libc_feholdexcept_setround_mips_ctx): New.
39181         (libc_feholdexcept_setround_ctx): New.
39182         (libc_feholdexcept_setroundf_ctx): New.
39183         (libc_feholdexcept_setroundl_ctx): New.
39184         (libc_fesetenv_mips_ctx): New.
39185         (libc_fesetenv_ctx): New.
39186         (libc_fesetenv_ctxf): New.
39187         (libc_fesetenv_ctxl): New.
39188         (libc_feupdateenv_mips_ctx): New.
39189         (libc_feupdateenv_ctx): New.
39190         (libc_feupdateenvf_ctx): New.
39191         (libc_feupdateenvl_ctx): New.
39192         (libc_feholdsetround_mips_ctx): New.
39193         (libc_feholdsetround_ctx): New.
39194         (libc_feholdsetroundf_ctx): New.
39195         (libc_feholdsetroundl_ctx): New.
39196         (libc_feresetround_mips_ctx): New.
39197         (libc_feresetround_ctx): New.
39198         (libc_feresetroundf_ctx): New.
39199         (libc_feresetroundl_ctx): New.
39201 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39203         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39205         * manual/ipc.texi: New file.
39206         * manual/Makefile (chapters): Add ipc.
39207         * manual/job.texi: Add "Inter-Process Communication" to next.
39208         * manual/process.texi: Add "Inter-Process Communication" to prev.
39210 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39214 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39216         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39218         * manual/arith.texi: Fix spaces after sentences.
39219         * manual/charset.texi: Likewise.
39220         * manual/errno.texi: Likewise.
39221         * manual/install.texi: Likewise.
39222         * manual/llio.texi: Likewise.
39223         * manual/locale.texi: Likewise.
39224         * manual/maint.texi: Likewise.
39225         * manual/math.texi: Likewise.
39226         * manual/memory.texi: Likewise.
39227         * manual/message.texi: Likewise.
39228         * manual/probes.texi: Likewise.
39229         * manual/resource.texi: Likewise.
39230         * manual/signal.texi: Likewise.
39231         * manual/socket.texi: Likewise.
39232         * manual/stdio.texi: Likewise.
39233         * manual/string.texi: Likewise.
39234         * manual/time.texi: Likewise.
39235         * manual/users.texi: Likewise.
39237 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39239         [BZ #16632]
39240         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39241         _DEFAULT_SOURCE is defined.
39243 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39244             Carlos O'Donell  <carlos@redhat.com>
39246         [BZ #16613]
39247         * elf/dl-tls.c (_dl_count_modids): New function.
39248         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39249         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39250         audit library and increment generation counter.
39251         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39252         * elf/tst-audit9.c: New file.
39253         * elf/tst-auditmod9a.c: New file.
39254         * elf/tst-auditmod9b.c: New file.
39255         * elf/Makefile: Add rules to build and run tst-audit9.
39257 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39259         [BZ #15347]
39260         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39262 2014-02-25  Will Newton  <will.newton@linaro.org>
39264         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39265         (__longjmp): Restore sp and lr before restoring callee
39266         saved registers.  Add longjmp and longjmp_target
39267         SystemTap probe point.
39268         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39269         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39270         Define to zero to match jmpbuf layout.
39271         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39272         (__sigsetjmp): Save sp and lr before saving callee
39273         saved registers.  Add setjmp SystemTap probe point.
39275 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39277         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39279 2014-02-24  Andreas Schwab  <schwab@suse.de>
39281         [BZ #15804]
39282         * elf/pldd.c (wait_for_ptrace_stop): New function.
39283         (main): Call it after attaching.
39285 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39287         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39288         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39289         Versions files is now verboten.
39290         * hurd/Versions (libc: GLIBC_2.0):
39291         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39292         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39293         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39294         * mach/Versions: Likewise.
39296         * csu/Versions: Remove unused %include.
39297         * resolv/Versions: Likewise.
39299 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39301         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39302         ($(objpfx)check-local-headers.out): Likewise.
39303         ($(objpfx)begin-end-check.out): Likewise.
39304         * Makerules (check-abi-%.out): Likewise.
39305         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39306         ($(objpfx)test2.cat): Likewise.
39307         ($(objpfx)de/libc.cat): Likewise.
39308         ($(objpfx)test-gencat.out): Likewise.
39309         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39310         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39311         ($(objpfx)noload-mem): Likewise.
39312         ($(objpfx)tst-pathopt.out): Likewise.
39313         ($(objpfx)tst-rtld-load-self.out): Likewise.
39314         ($(objpfx)tst-array1-cmp.out): Likewise.
39315         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39316         ($(objpfx)tst-array2-cmp.out): Likewise.
39317         ($(objpfx)tst-array3-cmp.out): Likewise.
39318         ($(objpfx)tst-array4-cmp.out): Likewise.
39319         ($(objpfx)tst-array5-cmp.out): Likewise.
39320         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39321         ($(objpfx)check-textrel.out): Likewise.
39322         ($(objpfx)check-execstack.out): Likewise.
39323         ($(objpfx)check-localplt.out): Likewise.
39324         ($(objpfx)order2-cmp.out): Likewise.
39325         ($(objpfx)tst-leaks1-mem): Likewise.
39326         ($(objpfx)tst-leaks1-static-mem): Likewise.
39327         ($(objpfx)tst-initorder-cmp.out): Likewise.
39328         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39329         ($(objpfx)tst-unused-dep.out): Likewise.
39330         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39331         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39332         * iconv/Makefile (test-iconvconfig): Likewise.
39333         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39334         ($(objpfx)iconv-test.out): Likewise.
39335         ($(objpfx)tst-tables.out): Likewise.
39336         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39337         ($(objpfx)tst-gettext.out): Likewise.
39338         ($(objpfx)tst-translit.out): Likewise.
39339         ($(objpfx)tst-gettext2.out): Likewise.
39340         ($(objpfx)tst-gettext4.out): Likewise.
39341         ($(objpfx)tst-gettext6.out): Likewise.
39342         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39343         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39344         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39345         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39346         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39347         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39348         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39349         ($(objpfx)wordexp-tst.out): Likewise.
39350         ($(objpfx)annexc.out): Likewise.
39351         ($(objpfx)tst-fnmatch-mem): Likewise.
39352         ($(objpfx)bug-regex2-mem): Likewise.
39353         ($(objpfx)bug-regex14-mem): Likewise.
39354         ($(objpfx)bug-regex21-mem): Likewise.
39355         ($(objpfx)bug-regex31-mem): Likewise.
39356         ($(objpfx)tst-vfork3-mem): Likewise.
39357         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39358         ($(objpfx)tst-pcre-mem): Likewise.
39359         ($(objpfx)tst-boost-mem): Likewise.
39360         ($(objpfx)tst-getconf.out): Likewise.
39361         ($(objpfx)bug-ga2-mem): Likewise.
39362         ($(objpfx)bug-glob2-mem): Likewise.
39363         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39364         ($(objpfx)mtrace-tst-leaks2): Likewise.
39365         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39366         ($(objpfx)tst-printf.out): Likewise.
39367         ($(objpfx)tst-setvbuf1.out): Likewise.
39368         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39369         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39370         ($(objpfx)tst-fmtmsg.out): Likewise.
39371         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39372         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39374         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39375         * bits/sigaction.h [__USE_MISC]: Likewise.
39376         * bits/waitstatus.h: Update #endif comments.
39377         * ctype/ctype.h: Likewise.
39378         * dirent/dirent.h: Likewise.
39379         [__USE_MISC]: Remove redundant conditionals.
39380         * grp/grp.h: Update #endif comments.
39381         [__USE_GNU]: Remove redundant conditionals.
39382         [__USE_MISC]: Likewise.
39383         * inet/netinet/in.h [__USE_GNU]: Likewise.
39384         * io/sys/stat.h [__USE_MISC]: Likewise.
39385         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39386         * libio/bits/stdio.h: Update #endif comments.
39387         [__USE_MISC]: Remove redundant conditionals.
39388         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39389         * libio/stdio.h: Update #endif comments.
39390         [__USE_MISC]: Remove redundant conditionals.
39391         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39392         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39393         * math/math.h: Update #else and #endif comments.
39394         [__USE_MISC]: Remove redundant conditionals.
39395         * misc/sys/uio.h: Update #endif comments.
39396         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39397         * posix/glob.h [__USE_MISC]: Likewise.
39398         * posix/sys/types.h: Update #endif comments.
39399         [__USE_MISC]: Remove redundant conditionals.
39400         * posix/sys/wait.h: Update #endif comments.
39401         [__USE_MISC]: Remove redundant conditionals.
39402         * posix/unistd.h: Update #endif comments.
39403         [__USE_MISC]: Remove redundant conditionals.
39404         * pwd/pwd.h [__USE_GNU]: Likewise.
39405         [__USE_MISC]: Likewise.
39406         * resolv/netdb.h [__USE_GNU]: Likewise.
39407         * signal/signal.h: Update #endif comments.
39408         [__USE_MISC]: Remove redundant conditionals.
39409         * stdlib/stdlib.h: Update #else and #endif comments.
39410         [__USE_MISC]: Remove redundant conditionals.
39411         [__USE_GNU]: Likewise.
39412         * string/bits/string2.h [__USE_MISC]: Likewise.
39413         * string/string.h: Update #endif comments.
39414         [__USE_MISC]: Remove redundant conditionals.
39415         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39416         Likewise.
39417         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39418         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39419         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39420         Likewise.
39421         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39422         Likewise.
39423         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39424         comments.
39425         [__USE_MISC]: Remove redundant conditionals.
39426         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39427         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39428         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39429         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39430         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39431         Likewise.
39432         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39433         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39434         Likewise.
39435         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39436         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39437         Likewise.
39438         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39439         Likewise.
39440         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39441         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39442         Likewise.
39443         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39444         Likewise.
39445         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39446         * sysdeps/x86/bits/string.h: Update #endif comments.
39447         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39448         conditionals.
39449         * time/sys/time.h: Update #endif comments.
39450         * time/time.h: Likewise.
39451         [__USE_MISC]: Remove redundant conditionals.
39453 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39455         [BZ #16600]
39456         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39458 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39460         * Versions.def (librt): Add GLIBC_2.17.
39462 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39464         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39465         synonym for _SYS_AUXV_H to allow direct inclusion.
39466         * sysdeps/sparc/bits/hwcap.h: Likewise.
39467         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39468         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39469         * sysdeps/sparc/sysdep.h: Likewise.
39471 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39473         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39475 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39477         * benchtests/bench-strrchr.c: Print length instead of position.
39479 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39481         [BZ #16611]
39482         * sysdeps/unix/sysv/linux/kernel-features.h
39483         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39484         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39485         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39486         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39487         Likewise.
39488         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39489         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39490         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39491         (__ASSUME_SENDMMSG): Define instead of using previous
39492         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39493         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39494         (__ASSUME_SENDMMSG_SYSCALL): Define.
39495         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39496         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39497         Likewise.
39498         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39499         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39500         Likewise.
39501         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39502         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39503         Likewise.
39504         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39505         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39506         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39507         [__ASSUME_SENDMMSG]: Change conditionals to
39508         [__ASSUME_SENDMMSG_SOCKETCALL].
39509         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39510         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39511         Define.
39512         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39513         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39514         Likewise.
39515         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39516         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39517         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39518         [!__ASSUME_SENDMMSG]: Change conditional to
39519         [!__ASSUME_SENDMMSG_SOCKETCALL].
39520         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39521         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39522         Define.
39524         [BZ #16610]
39525         * sysdeps/unix/sysv/linux/kernel-features.h
39526         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39527         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39528         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39529         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39530         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39531         [__i386__ || __sparc__]
39532         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39533         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39534         (__ASSUME_RECVMMSG): Define instead of using previous
39535         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39536         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39537         (__ASSUME_RECVMMSG_SYSCALL): Define.
39538         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39539         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39540         Likewise.
39541         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39542         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39543         Likewise.
39544         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39545         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39546         Likewise.
39547         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39548         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39549         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39550         [__ASSUME_RECVMMSG]: Change condition to
39551         [__ASSUME_RECVMMSG_SOCKETCALL].
39552         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39553         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39554         Define.
39555         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39556         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39557         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39558         Likewise.
39559         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39560         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39561         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39562         [!__ASSUME_RECVMMSG]: Change condition to
39563         [!__ASSUME_RECVMMSG_SOCKETCALL].
39564         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39565         (__ASSUME_RECVMMSG_SYSCALL): Define.
39567         [BZ #16609]
39568         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39569         __powerpc__ || __s390__ || __sh__ || __sparc__]
39570         (__ASSUME_SOCKETCALL): Define.
39571         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39572         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39573         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39574         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39575         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39576         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39577         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39578         (__ASSUME_ACCEPT4): Define instead of using previous
39579         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39580         __powerpc__ || __sparc__ || __s390__)] condition.
39581         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39582         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39583         * sysdeps/unix/sysv/linux/accept4.c [__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/alpha/kernel-features.h
39589         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39590         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39591         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39592         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39593         __ASSUME_ACCEPT4_SYSCALL.
39594         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39595         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39596         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39597         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39598         __ASSUME_ACCEPT4_SYSCALL.
39599         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39600         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39601         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39602         [__ASSUME_ACCEPT4]: Change condition to
39603         [__ASSUME_ACCEPT4_SOCKETCALL].
39604         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39605         (__ASSUME_SOCKETCALL): Define.
39606         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39607         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39608         (__ASSUME_SOCKETCALL): Define.
39609         (__ASSUME_ACCEPT4): Remove.
39610         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39611         Define.
39612         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39613         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39614         Likewise.
39615         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39616         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39618         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39619         macro.
39620         (HWCAP_ARM_LPAE): Likewise.
39621         (HWCAP_ARM_EVTSTRM): Likewise.
39622         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39623         Add vpfd32, lpae and evtstrm.
39624         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39625         Increase to 22.
39627 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39629         * math/auto-libm-test-in: Add tests of clog10.
39630         * math/auto-libm-test-out: Regenerated.
39631         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39632         * sysdeps/i386/fpu/libm-test-ulps: Update.
39633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39635 2014-02-18  Andreas Schwab  <schwab@suse.de>
39637         [BZ #16574]
39638         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39639         Store non-zero if the second buffer was newly allocated.
39640         (send_dg): Likewise.
39641         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39642         to send_vc and send_dg.
39643         (res_nsend): Pass NULL for ansp2_malloced.
39644         * resolv/res_query.c (__libc_res_nquery): Add parameter
39645         answerp2_malloced and pass it down to __libc_res_nsend.
39646         (res_nquery): Pass additional NULL to __libc_res_nquery.
39647         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39648         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39649         second answer buffer if answerp2_malloced was set.
39650         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39651         (__libc_res_nquerydomain): Add parameter
39652         answerp2_malloced and pass it down to __libc_res_nquery.
39653         (res_nquerydomain): Pass additional NULL to
39654         __libc_res_nquerydomain.
39655         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39656         additional NULL to __libc_res_nsend and __libc_res_nquery.
39657         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39658         additional NULL to __libc_res_nsearch.
39659         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39660         parameter of __libc_res_nsearch to check for separately allocated
39661         second buffer.
39662         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39663         __libc_res_nquery.
39664         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39665         additional NULL to __libc_res_nquery.
39666         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39667         __libc_res_nsearch.
39668         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39669         * include/resolv.h: Update prototypes of __libc_res_nquery,
39670         __libc_res_nsearch, __libc_res_nsend.
39672 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39674         * math/auto-libm-test-in: Add tests of fma.
39675         * math/auto-libm-test-out: Regenerated.
39676         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39677         (fma_towardzero_test_data): Likewise.
39678         (fma_downward_test_data): Likewise.
39679         (fma_upward_test_data): Likewise.
39680         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39681         mpc_mode.
39682         (rounding_modes): Add values for new field.
39683         (func_calc_method): Add value mpfr_fff_f.
39684         (func_calc_desc): Add mpfr_fff_f union field.
39685         (test_function): Add field exact_args.
39686         (FUNC): Add macro argument EXACT_ARGS.
39687         (FUNC_mpfr_f_f): Update call to FUNC.
39688         (FUNC_mpfr_f_f): Likewise.
39689         (FUNC_mpfr_ff_f): Likewise.
39690         (FUNC_mpfr_if_f): Likewise.
39691         (FUNC_mpc_c_f): Likewise.
39692         (FUNC_mpc_c_c): Likewise.
39693         (test_functions): Add fma.  Update calls to FUNC.
39694         (handle_input_arg): Add argument exact_args.
39695         (add_test): Update call to handle_input_arg.
39696         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39697         (output_for_one_input_case): Update call to calc_generic_results.
39698         Recalculate exact zero results in each rounding mode.
39700         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39701         non-negative before setting low bit.
39702         * math/auto-libm-test-in: Mark one asin test possibly having
39703         spurious underflow.
39704         * math/auto-libm-test-out: Regenerated.
39705         * sysdeps/i386/fpu/libm-test-ulps: Update.
39706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39708 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39710         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39711         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39712         ports/sysdeps/unix/sysv/linux/microblaze.
39713         * README: Add missing listing for microblaze*-*-linux-gnu.
39715 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39717         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39718         duplicate code
39720 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39722         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39723         * sysdeps/unix/sysv/linux/ia64: Move directory from
39724         ports/sysdeps/unix/sysv/linux/ia64.
39725         * README: Update listing for ia64-*-linux-gnu.
39727 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39728             Joseph Myers  <joseph@codesourcery.com>
39730         * Makeconfig (test-name): New variable.
39731         (evaluate-test): Likewise.
39732         * Makerules (do-test-clean): Remove .test-result files.
39733         (common-mostlyclean): Likewise.
39734         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39735         * scripts/evaluate-test.sh: New file.
39737 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39739         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39740         separate $(objpfx)tst-fopenloc-cmp.out and
39741         $(objpfx)tst-fopenloc-mem.out targets.
39742         (tests): Update dependencies.
39743         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39744         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39745         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39746         (tst-rxspencer-no-utf8-ARGS): New variable.
39747         (tst-rxspencer-no-utf8-ENV): Likewise.
39748         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39749         instead of $(objpfx)tst-rxspencer-mem.
39750         ($(objpfx)tst-rxspencer-mem): Change target to
39751         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39752         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39753         * posix/tst-rxspencer-no-utf8.c: New file.
39755         * elf/Makefile ($(objpfx)order.out): Remove rule.
39756         [$(run-built-tests) = yes] (tests): Depend on
39757         $(objpfx)order-cmp.out.
39758         ($(objpfx)order-cmp.out): New rule.
39759         [$(run-built-tests) = yes] (tests): Depend on
39760         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39761         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39762         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39763         $(objpfx)tst-array5-static-cmp.out.
39764         ($(objpfx)tst-array1.out): Remove rule.
39765         ($(objpfx)tst-array1-cmp.out): New rule.
39766         ($(objpfx)tst-array1-static.out): Remove rule.
39767         ($(objpfx)tst-array1-static-cmp.out): New rule.
39768         ($(objpfx)tst-array2.out): Remove rule.
39769         ($(objpfx)tst-array2-cmp.out): New rule.
39770         ($(objpfx)tst-array3.out): Remove rule.
39771         ($(objpfx)tst-array3-cmp.out): New rule.
39772         ($(objpfx)tst-array4.out): Remove rule.
39773         ($(objpfx)tst-array4-cmp.out): New rule.
39774         ($(objpfx)tst-array5.out): Remove rule.
39775         ($(objpfx)tst-array5-cmp.out): New rule.
39776         ($(objpfx)tst-array5-static.out): Remove rule.
39777         ($(objpfx)tst-array5-static-cmp.out): New rule.
39778         [$(run-built-tests) = yes] (tests): Depend on
39779         $(objpfx)order2-cmp.out.
39780         ($(objpfx)order2.out): Remove rule.
39781         ($(objpfx)order2-cmp.out): New rule.
39782         ($(objpfx)tst-initorder.out): Remove rule.
39783         [$(run-built-tests) = yes] (tests): Depend on
39784         $(objpfx)tst-initorder-cmp.out.
39785         ($(objpfx)tst-initorder-cmp.out): New rule.
39786         ($(objpfx)tst-initorder2.out): Remove rule.
39787         [$(run-built-tests) = yes] (tests): Depend on
39788         $(objpfx)tst-initorder2-cmp.out.
39789         ($(objpfx)tst-initorder2-cmp.out): New rule.
39790         [$(run-built-tests) = yes] (tests): Depend on
39791         $(objpfx)tst-unused-dep-cmp.out.
39792         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39793         ($(objpfx)tst-unused-dep-cmp.out): New rule.
39794         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39795         on $(objpfx)tst-setvbuf1-cmp.out.
39796         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39797         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39798         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39799         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39800         ($(objpfx)tst-svc.out): Remove rule.
39801         ($(objpfx)tst-svc-cmp.out): New rule.
39803 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
39805         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39806         * ctype/ctype.h [__USE_MISC]: Likewise.
39807         * dirent/dirent.h [__USE_MISC]: Likewise.
39808         * grp/grp.h [__USE_MISC]: Likewise.
39809         * io/fcntl.h [__USE_MISC]: Likewise.
39810         * io/sys/stat.h [__USE_MISC]: Likewise.
39811         * libio/stdio.h [__USE_MISC]: Likewise.
39812         * posix/unistd.h [__USE_MISC]: Likewise.
39813         * pwd/pwd.h [__USE_MISC]: Likewise.
39814         * stdlib.h [__USE_MISC]: Likewise.
39815         * string/bits/string2.h [__USE_MISC]: Likewise.
39816         * string/string.h [__USE_MISC]: Likewise.
39817         * time/time.h [__USE_MISC]: Likewise.
39819 2014-02-13  Andreas Schwab  <schwab@suse.de>
39821         [BZ #16574]
39822         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39823         second answer buffer if it was separately allocated.
39825 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
39827         * sysdeps/mips/math-tests.h: Include <features.h>.
39828         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39829         (ROUNDING_TESTS_long_double): Do not define.
39830         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39831         (EXCEPTION_TESTS_long_double): Likewise.
39832         * sysdeps/mips/mips64/libm-test-ulps: Update.
39834         * include/features.h (__USE_BSD): Remove macro definitions.
39835         (__USE_SVID): Likewise.
39836         (_BSD_SOURCE): Likewise.
39837         (_SVID_SOURCE): Likewise.
39838         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39839         from definition of _DEFAULT_SOURCE.
39840         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39841         [_DEFAULT_SOURCE].
39842         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39843         * bits/mman.h [__USE_BSD]: Likewise.
39844         * bits/termios.h [__USE_BSD]: Likewise.
39845         * bits/waitstatus.h [__USE_BSD]: Likewise.
39846         * ctype/ctype.h [__USE_SVID]: Likewise.
39847         * dirent/dirent.h [__USE_BSD]: Likewise.
39848         * grp/grp.h [__USE_SVID]: Likewise.
39849         [__USE_BSD]: Likewise.
39850         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39851         * io/fcntl.h [__USE_BSD]: Likewise.
39852         * io/ftw.h [__USE_BSD]: Likewise.
39853         * io/sys/stat.h [__USE_BSD]: Likewise.
39854         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39855         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39856         * libio/stdio.h [__USE_SVID]: Likewise.
39857         [__USE_BSD]: Likewise.
39858         * math/math.h [__USE_SVID]: Likewise.
39859         [__USE_BSD]: Likewise.
39860         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39861         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39862         * misc/search.h [__USE_SVID]: Likewise.
39863         * misc/sys/mman.h [__USE_BSD]: Likewise.
39864         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39865         * misc/sys/uio.h [__USE_BSD]: Likewise.
39866         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39867         * posix/glob.h [__USE_BSD]: Likewise.
39868         * posix/regex.h [__USE_BSD]: Likewise.
39869         * posix/sys/types.h [__USE_BSD]: Likewise.
39870         [__USE_SVID]: Likewise.
39871         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39872         * posix/sys/wait.h [__USE_BSD]: Likewise.
39873         [__USE_SVID]: Likewise.
39874         * posix/unistd.h [__USE_BSD]: Likewise.
39875         [__USE_SVID]: Likewise.
39876         * pwd/pwd.h [__USE_SVID]: Likewise.
39877         * resolv/netdb.h [__USE_BSD]: Likewise.
39878         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39879         * signal/signal.h [__USE_BSD]: Likewise.
39880         [__USE_SVID]: Likewise.
39881         * socket/sys/socket.h [__USE_BSD]: Likewise.
39882         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39883         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39884         [__USE_SVID]: Likewise.
39885         * string/bits/string2.h [__USE_BSD]: Likewise.
39886         [__USE_SVID]: Likewise.
39887         * string/bits/string3.h [__USE_BSD]: Likewise.
39888         * string/endian.h [__USE_BSD]: Likewise.
39889         * string/string.h [__USE_SVID]: Likewise.
39890         [__USE_BSD]: Likewise.
39891         * string/strings.h [__USE_BSD]: Likewise.
39892         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39893         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39894         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39895         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39896         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39897         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39898         Likewise.
39899         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39900         Likewise.
39901         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39902         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39903         Likewise.
39904         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39905         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39906         Likewise.
39907         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39908         Likewise.
39909         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39910         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39911         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39912         Likewise.
39913         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39914         Likewise.
39915         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39916         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39917         * termios/termios.h [__USE_BSD]: Likewise.
39918         * time/sys/time.h [__USE_BSD]: Likewise.
39919         * time/time.h [__USE_BSD]: Likewise.
39920         [__USE_SVID]: Likewise.
39922         * Makefile (subdir_targets): Remove subdir_lint.out.
39924         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39925         (do-tst-printf): Likewise.
39926         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39927         $(objpfx)tst-printf.out.
39929         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39931         * Makerules (check-abi-%): Change target to
39932         $(objpfx)check-abi-%.out.
39933         (check-abi target): Update dependencies.
39934         (check-abi-pattern variable): Redirect output of diff to $@.
39935         (check-abi variable): Likewise.
39936         * elf/Makefile (check-abi): Update dependencies.
39938         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39939         unused.
39940         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39941         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39942         subnormal range.
39943         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39944         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39945         value has largest subnormal exponent.
39946         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39947         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39948         * sysdeps/aarch64/soft-fp/sfp-machine.h
39949         (_FP_TININESS_AFTER_ROUNDING): New macro.
39950         * sysdeps/alpha/soft-fp/sfp-machine.h
39951         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39952         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39953         Likewise.
39954         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39955         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39956         * sysdeps/mips/soft-fp/sfp-machine.h
39957         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39958         * sysdeps/powerpc/soft-fp/sfp-machine.h
39959         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39960         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39961         Likewise.
39962         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39963         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39964         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39965         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39966         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39967         Likewise.
39969 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39971         [BZ #16545]
39972         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39973         model 1.
39975 2014-02-12  Richard Henderson  <rth@redhat.com>
39977         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39978         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39979         * sysdeps/unix/sysv/linux/alpha: Move directory from
39980         ports/sysdeps/unix/sysv/linux/alpha.
39981         * README: Update listing for alpha-*-linux-gnu.
39983 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39985         * include/features.h: Update comment documenting feature test
39986         macros.
39987         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39988         _DEFAULT_SOURCE.
39989         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39990         (_SVID_SOURCE): Likewise.
39991         (_DEFAULT_SOURCE): Update description of default features.
39992         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39993         with _GNU_SOURCE.
39994         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39995         (S_ISVTX): Likewise.
39996         * manual/math.texi (Mathematical Constants): Likewise.
39997         * manual/signal.texi (Interrupted Primitives): Likewise.
39998         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39999         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40000         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40001         Don't refer to _SVID_SOURCE in warning text.
40003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40005         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40006         already defined.
40007         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40008         * sysdeps/mips/dl-lookup.c: Remove.
40009         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40011 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40013         [BZ #16447]
40014         * math/auto-libm-test-in: Add testcase for expl.
40015         * math/auto-libm-test-out: Regenerate.
40016         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40017         calculation of unsafe.
40018         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40020 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40022         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40023         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40024         ports/sysdeps/unix/sysv/linux/aarch64.
40025         * README: Update listing for aarch64*-*-linux-gnu.
40027 2014-02-11  Will Newton  <will.newton@linaro.org>
40029         * manual/probes.texi (Mathematical Function Probes): Use
40030         "triggered" instead of "hit".
40032         * manual/probes.texi (Internal Probes): Add documentation
40033         of setjmp, longjmp and longjmp_target probes.
40035         * include/stap-probe.h: Add comment about probe argument
40036         format.
40038         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40039         definition.  (tr_where, tr_freehook, tr_mallochook,
40040         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40042 2014-02-11  David S. Miller  <davem@davemloft.net>
40044         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40045         processing int_tests.
40047 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40049         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40050         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40051         * sysdeps/unix/sysv/linux/mips: Move directory from
40052         ports/sysdeps/unix/sysv/linux/mips.
40053         * README: Update listing for mips-*-linux-gnu and
40054         mips64-*-linux-gnu.
40056 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40058         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40059         * sysdeps/unix/sysv/linux/m68k: Move directory from
40060         ports/sysdeps/unix/sysv/linux/m68k.
40061         * README: Update listing for m68k-*-linux-gnu.
40063 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40065         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40066         * sysdeps/unix/sysv/linux/generic: Move directory from
40067         ports/sysdeps/unix/sysv/linux/generic.
40068         * sysdeps/unix/sysv/linux/tile: Move directory from
40069         ports/sysdeps/unix/sysv/linux/tile.
40070         * README: Update listing for tile*-*-linux-gnu.
40072 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40074         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40075         __builtin_expect.
40076         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40077         * catgets/open_catalog.c (__open_catalog): Likewise.
40078         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40079         * debug/confstr_chk.c: Likewise.
40080         * debug/fread_chk.c (__fread_chk): Likewise.
40081         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40082         * debug/getgroups_chk.c: Likewise.
40083         * debug/mbsnrtowcs_chk.c: Likewise.
40084         * debug/mbsrtowcs_chk.c: Likewise.
40085         * debug/mbstowcs_chk.c: Likewise.
40086         * debug/memcpy_chk.c: Likewise.
40087         * debug/memmove_chk.c: Likewise.
40088         * debug/mempcpy_chk.c: Likewise.
40089         * debug/memset_chk.c: Likewise.
40090         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40091         * debug/strcat_chk.c (__strcat_chk): Likewise.
40092         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40093         * debug/strncat_chk.c (__strncat_chk): Likewise.
40094         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40095         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40096         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40097         * debug/wcpncpy_chk.c: Likewise.
40098         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40099         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40100         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40101         * debug/wcsncpy_chk.c: Likewise.
40102         * debug/wcsnrtombs_chk.c: Likewise.
40103         * debug/wcsrtombs_chk.c: Likewise.
40104         * debug/wcstombs_chk.c: Likewise.
40105         * debug/wmemcpy_chk.c: Likewise.
40106         * debug/wmemmove_chk.c: Likewise.
40107         * debug/wmempcpy_chk.c: Likewise.
40108         * debug/wmemset_chk.c: Likewise.
40109         * dirent/scandirat.c (SCANDIRAT): Likewise.
40110         * dlfcn/dladdr1.c (dladdr1): Likewise.
40111         * dlfcn/dladdr.c (dladdr): Likewise.
40112         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40113         * dlfcn/dlerror.c (__dlerror): Likewise.
40114         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40115         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40116         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40117         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40118         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40119         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40120         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40121         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40122         Likewise.
40123         * elf/dl-conflict.c: Likewise.
40124         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40125         * elf/dl-dst.h: Likewise.
40126         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40127         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40128         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40129         * elf/dl-init.c (call_init, _dl_init): Likewise.
40130         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40131         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40132         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40133         Likewise.
40134         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40135         Likewise.
40136         * elf/dl-minimal.c (__libc_memalign): Likewise.
40137         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40138         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40139         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40140         * elf/dl-sym.c (do_sym): Likewise.
40141         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40142         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40143         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40144         * elf/dl-writev.h (_dl_writev): Likewise.
40145         * elf/ldconfig.c (search_dir): Likewise.
40146         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40147         (dl_main): Likewise.
40148         * elf/setup-vdso.h (setup_vdso): Likewise.
40149         * grp/compat-initgroups.c (compat_call): Likewise.
40150         * grp/fgetgrent.c (fgetgrent): Likewise.
40151         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40152         * grp/putgrent.c (putgrent): Likewise.
40153         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40154         Likewise.
40155         * hurd/hurdinit.c: Likewise.
40156         * iconvdata/8bit-gap.c (struct): Likewise.
40157         * iconvdata/ansi_x3.110.c : Likewise.
40158         * iconvdata/big5.c : Likewise.
40159         * iconvdata/big5hkscs.c : Likewise.
40160         * iconvdata/cp1255.c: Likewise.
40161         * iconvdata/cp1258.c : Likewise.
40162         * iconvdata/cp932.c : Likewise.
40163         * iconvdata/euc-cn.c: Likewise.
40164         * iconvdata/euc-jisx0213.c : Likewise.
40165         * iconvdata/euc-jp.c: Likewise.
40166         * iconvdata/euc-jp-ms.c : Likewise.
40167         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40168         * iconvdata/gb18030.c : Likewise.
40169         * iconvdata/gbbig5.c (const): Likewise.
40170         * iconvdata/gbgbk.c: Likewise.
40171         * iconvdata/gbk.c : Likewise.
40172         * iconvdata/ibm1364.c : Likewise.
40173         * iconvdata/ibm930.c : Likewise.
40174         * iconvdata/ibm932.c: Likewise.
40175         * iconvdata/ibm933.c : Likewise.
40176         * iconvdata/ibm935.c : Likewise.
40177         * iconvdata/ibm937.c : Likewise.
40178         * iconvdata/ibm939.c : Likewise.
40179         * iconvdata/ibm943.c: Likewise.
40180         * iconvdata/iso_11548-1.c: Likewise.
40181         * iconvdata/iso-2022-cn.c : Likewise.
40182         * iconvdata/iso-2022-cn-ext.c : Likewise.
40183         * iconvdata/iso-2022-jp-3.c: Likewise.
40184         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40185         * iconvdata/iso-2022-kr.c : Likewise.
40186         * iconvdata/iso646.c (gconv_end): Likewise.
40187         * iconvdata/iso_6937-2.c : Likewise.
40188         * iconvdata/iso_6937.c : Likewise.
40189         * iconvdata/iso8859-1.c: Likewise.
40190         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40191         * iconvdata/shift_jisx0213.c : Likewise.
40192         * iconvdata/sjis.c : Likewise.
40193         * iconvdata/t.61.c : Likewise.
40194         * iconvdata/tcvn5712-1.c : Likewise.
40195         * iconvdata/tscii.c: Likewise.
40196         * iconvdata/uhc.c : Likewise.
40197         * iconvdata/unicode.c (gconv_end): Likewise.
40198         * iconvdata/utf-16.c (gconv_end): Likewise.
40199         * iconvdata/utf-32.c (gconv_end): Likewise.
40200         * iconvdata/utf-7.c (base64): Likewise.
40201         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40202         * iconv/gconv_close.c (__gconv_close): Likewise.
40203         * iconv/gconv_open.c (__gconv_open): Likewise.
40204         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40205         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40206         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40207         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40208         (ucs4le_internal_loop_single): Likewise.
40209         * iconv/iconv.c (iconv): Likewise.
40210         * iconv/iconv_close.c: Likewise.
40211         * iconv/loop.c (SINGLE): Likewise.
40212         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40213         * include/atomic.h: Likewise.
40214         * inet/inet6_option.c (option_alloc): Likewise.
40215         * intl/bindtextdom.c (set_binding_values): Likewise.
40216         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40217         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40218         * intl/localealias.c (read_alias_file): Likewise.
40219         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40220         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40221         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40222         * libio/fmemopen.c (fmemopen): Likewise.
40223         * libio/iofgets.c (_IO_fgets): Likewise.
40224         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40225         * libio/iofgetws.c (fgetws): Likewise.
40226         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40227         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40228         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40229         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40230         * locale/findlocale.c (_nl_find_locale): Likewise.
40231         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40232         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40233         Likewise.
40234         * locale/setlocale.c (setlocale): Likewise.
40235         * login/programs/pt_chown.c (main): Likewise.
40236         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40237         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40238         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40239         (mmap, mmap64, mremap, munmap): Likewise.
40240         * math/e_exp2l.c: Likewise.
40241         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40242         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40243         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40244         * math/s_catan.c (__catan): Likewise.
40245         * math/s_catanf.c (__catanf): Likewise.
40246         * math/s_catanh.c (__catanh): Likewise.
40247         * math/s_catanhf.c (__catanhf): Likewise.
40248         * math/s_catanhl.c (__catanhl): Likewise.
40249         * math/s_catanl.c (__catanl): Likewise.
40250         * math/s_ccosh.c (__ccosh): Likewise.
40251         * math/s_ccoshf.c (__ccoshf): Likewise.
40252         * math/s_ccoshl.c (__ccoshl): Likewise.
40253         * math/s_cexp.c (__cexp): Likewise.
40254         * math/s_cexpf.c (__cexpf): Likewise.
40255         * math/s_cexpl.c (__cexpl): Likewise.
40256         * math/s_clog10.c (__clog10): Likewise.
40257         * math/s_clog10f.c (__clog10f): Likewise.
40258         * math/s_clog10l.c (__clog10l): Likewise.
40259         * math/s_clog.c (__clog): Likewise.
40260         * math/s_clogf.c (__clogf): Likewise.
40261         * math/s_clogl.c (__clogl): Likewise.
40262         * math/s_csin.c (__csin): Likewise.
40263         * math/s_csinf.c (__csinf): Likewise.
40264         * math/s_csinh.c (__csinh): Likewise.
40265         * math/s_csinhf.c (__csinhf): Likewise.
40266         * math/s_csinhl.c (__csinhl): Likewise.
40267         * math/s_csinl.c (__csinl): Likewise.
40268         * math/s_csqrt.c (__csqrt): Likewise.
40269         * math/s_csqrtf.c (__csqrtf): Likewise.
40270         * math/s_csqrtl.c (__csqrtl): Likewise.
40271         * math/s_ctan.c (__ctan): Likewise.
40272         * math/s_ctanf.c (__ctanf): Likewise.
40273         * math/s_ctanh.c (__ctanh): Likewise.
40274         * math/s_ctanhf.c (__ctanhf): Likewise.
40275         * math/s_ctanhl.c (__ctanhl): Likewise.
40276         * math/s_ctanl.c (__ctanl): Likewise.
40277         * math/w_pow.c: Likewise.
40278         * math/w_powf.c: Likewise.
40279         * math/w_powl.c: Likewise.
40280         * math/w_scalb.c (sysv_scalb): Likewise.
40281         * math/w_scalbf.c (sysv_scalbf): Likewise.
40282         * math/w_scalbl.c (sysv_scalbl): Likewise.
40283         * misc/error.c (error_tail): Likewise.
40284         * misc/pselect.c (__pselect): Likewise.
40285         * nis/nis_callback.c (__nis_create_callback): Likewise.
40286         * nis/nis_call.c (__nisfind_server): Likewise.
40287         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40288         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40289         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40290         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40291         * nis/nis_lookup.c (nis_lookup): Likewise.
40292         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40293         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40294         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40295         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40296         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40297         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40298         * nis/nss_compat/compat-initgroups.c (add_group)
40299         (internal_getgrent_r): Likewise.
40300         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40301         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40302         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40303         (internal_getspnam_r): Likewise.
40304         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40305         (_nss_nis_getaliasbyname_r): Likewise.
40306         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40307         (_nss_nis_getntohost_r): Likewise.
40308         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40309         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40310         (_nss_nis_getgrgid_r): Likewise.
40311         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40312         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40313         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40314         (_nss_nis_gethostbyname4_r): Likewise.
40315         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40316         (initgroups_netid): Likewise.
40317         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40318         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40319         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40320         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40321         (_nss_nis_getprotobynumber_r): Likewise.
40322         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40323         (_nss_nis_getsecretkey): Likewise.
40324         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40325         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40326         (_nss_nis_getpwuid_r): Likewise.
40327         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40328         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40329         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40330         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40331         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40332         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40333         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40334         Likewise.
40335         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40336         (_nss_nisplus_getntohost_r): Likewise.
40337         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40338         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40339         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40340         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40341         Likewise.
40342         * nis/nss_nisplus/nisplus-initgroups.c
40343         (_nss_nisplus_initgroups_dyn): Likewise.
40344         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40345         (_nss_nisplus_getnetbyaddr_r): Likewise.
40346         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40347         (_nss_nisplus_getprotobynumber_r): Likewise.
40348         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40349         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40350         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40351         Likewise.
40352         * nis/nss_nisplus/nisplus-service.c
40353         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40354         (_nss_nisplus_getservbyport_r): Likewise.
40355         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40356         (_nss_nisplus_getspnam_r): Likewise.
40357         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40358         Likewise.
40359         * nscd/aicache.c (addhstaiX): Likewise.
40360         * nscd/cache.c (cache_search, prune_cache): Likewise.
40361         * nscd/connections.c (register_traced_file, send_ro_fd)
40362         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40363         (main_loop_epoll): Likewise.
40364         * nscd/grpcache.c (addgrbyX): Likewise.
40365         * nscd/hstcache.c (addhstbyX): Likewise.
40366         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40367         * nscd/mem.c (gc, mempool_alloc): Likewise.
40368         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40369         (addinnetgrX): Likewise.
40370         * nscd/nscd-client.h (__nscd_acquire_maplock)
40371         (__nscd_drop_map_ref): Likewise.
40372         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40373         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40374         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40375         Likewise.
40376         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40377         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40378         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40379         (__nscd_get_map_ref): Likewise.
40380         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40381         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40382         Likewise.
40383         * nscd/pwdcache.c (addpwbyX): Likewise.
40384         * nscd/selinux.c (preserve_capabilities): Likewise.
40385         * nscd/servicescache.c (addservbyX): Likewise.
40386         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40387         * posix/fnmatch.c (fnmatch): Likewise.
40388         * posix/getopt.c (_getopt_internal_r): Likewise.
40389         * posix/glob.c (glob, glob_in_dir): Likewise.
40390         * posix/wordexp.c (exec_comm_child): Likewise.
40391         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40392         (getanswer_r, gaih_getanswer_slice): Likewise.
40393         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40394         * resolv/res_init.c: Likewise.
40395         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40396         * resolv/res_query.c (__libc_res_nquery): Likewise.
40397         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40398         Likewise.
40399         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40400         * stdio-common/perror.c (perror): Likewise.
40401         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40402         * stdio-common/tmpnam.c (tmpnam): Likewise.
40403         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40404         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40405         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40406         Likewise.
40407         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40408         * stdlib/putenv.c (putenv): Likewise.
40409         * stdlib/setenv.c (__add_to_environ): Likewise.
40410         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40411         * stdlib/strtol_l.c (INTERNAL): Likewise.
40412         * string/memmem.c (memmem): Likewise.
40413         * string/strerror.c (strerror): Likewise.
40414         * string/strnlen.c (__strnlen): Likewise.
40415         * string/test-memmem.c (simple_memmem): Likewise.
40416         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40417         * sunrpc/pm_getport.c (__get_socket): Likewise.
40418         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40419         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40420         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40421         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40422         Likewise.
40423         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40424         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40425         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40426         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40427         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40428         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40429         Likewise.
40430         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40431         Likewise.
40432         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40433         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40434         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40435         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40436         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40437         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40438         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40439         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40440         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40441         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40442         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40443         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40444         Likewise.
40445         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40446         Likewise.
40447         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40448         Likewise.
40449         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40450         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40451         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40452         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40453         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40454         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40455         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40456         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40457         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40458         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40459         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40460         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40461         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40462         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40464         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40465         Likewise.
40466         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40467         Likewise.
40468         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40469         Likewise.
40470         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40471         Likewise.
40472         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40473         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40474         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40475         Likewise.
40476         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40477         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40478         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40479         * sysdeps/posix/sleep.c: Likewise.
40480         * sysdeps/posix/tempname.c: Likewise.
40481         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40482         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40483         Likewise.
40484         * sysdeps/powerpc/powerpc32/dl-machine.h
40485         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40486         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40487         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40488         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40489         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40490         Likewise.
40491         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40492         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40493         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40494         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40495         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40496         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40497         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40498         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40499         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40500         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40501         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40502         (elf_machine_lazy_rel): Likewise.
40503         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40504         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40505         (elf_machine_lazy_rel): Likewise.
40506         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40507         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40508         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40509         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40510         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40511         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40512         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40513         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40514         Likewise.
40515         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40516         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40517         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40518         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40519         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40520         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40521         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40522         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40523         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40524         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40525         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40526         Likewise.
40527         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40528         (__posix_fallocate64_l64): Likewise.
40529         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40530         (posix_fallocate): Likewise.
40531         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40532         Likewise.
40533         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40534         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40535         (getifaddrs_internal): Likewise.
40536         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40537         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40538         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40539         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40540         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40541         (__posix_fallocate64_l64): Likewise.
40542         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40543         Likewise.
40544         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40545         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40546         (__get_clockfreq): Likewise.
40547         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40548         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40549         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40550         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40551         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40552         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40553         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40554         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40555         Likewise.
40556         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40557         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40558         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40559         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40560         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40561         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40562         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40563         Likewise.
40564         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40565         (posix_fallocate): Likewise.
40566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40567         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40568         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40569         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40570         (elf_machine_rela, elf_machine_rela_relative)
40571         (elf_machine_lazy_rel): Likewise.
40572         * time/asctime.c (asctime_internal): Likewise.
40573         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40574         * time/tzset.c (__tzset_parse_tz): Likewise.
40575         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40576         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40577         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40578         * wcsmbs/wcsmbsload.h: Likewise.
40580         [BZ #15894]
40581         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40583         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40584         (arena_get2): Remove THREAD_STATS conditionals.
40585         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40586         (__malloc_stats, int): Likewise.
40588 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40590         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40591         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40593         * manual/setjmp.texi: Fix typos/grammar errors.
40595         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40596         Only return early when n is <= 0.  Delete unused return statement.
40598         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40599         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40600         * debug/tst-longjmp_chk3.c: New file.
40602         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40603         (test_main): Replace code with set_fortify_handler call.
40604         * debug/test-strcpy_chk.c: Likewise.
40605         * debug/tst-chk1.c: Likewise.
40606         * debug/tst-longjmp_chk.c: Likewise.
40607         * test-skeleton.c: Include fcntl.h & paths.h
40608         (set_fortify_handler): Define.
40610         * debug/tst-longjmp_chk.c: Add header comment and include
40611         ../test-skeleton.c.
40612         (do_test): Mark static.
40613         (TEST_FUNCTION): Define.
40615         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40616         (IP_PMTUDISC_INTERFACE): Likewise.
40617         (IP_MULTICAST_IF): Likewise.
40618         (IP_MULTICAST_TTL): Likewise.
40619         (IP_MULTICAST_LOOP): Likewise.
40620         (IP_ADD_MEMBERSHIP): Likewise.
40621         (IP_DROP_MEMBERSHIP): Likewise.
40622         (IP_UNBLOCK_SOURCE): Likewise.
40623         (IP_BLOCK_SOURCE): Likewise.
40624         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40625         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40626         (IP_MSFILTER): Likewise.
40627         (MCAST_JOIN_GROUP): Likewise.
40628         (MCAST_BLOCK_SOURCE): Likewise.
40629         (MCAST_UNBLOCK_SOURCE): Likewise.
40630         (MCAST_LEAVE_GROUP): Likewise.
40631         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40632         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40633         (MCAST_MSFILTER): Likewise.
40634         (IP_MULTICAST_ALL): Likewise.
40635         (IP_UNICAST_IF): Likewise.
40637         * timezone/Makefile: Delete $(have-ksh) check.
40638         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40639         * timezone/tzselect.ksh: Add +x mode bits.
40641         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40642         (ANON_INODE_FS_MAGIC): Likewise.
40643         (BDEVFS_MAGIC): Likewise.
40644         (BINFMTFS_MAGIC): Likewise.
40645         (BTRFS_TEST_MAGIC): Likewise.
40646         (CRAMFS_MAGIC_WEND): Likewise.
40647         (DEBUGFS_MAGIC): Likewise.
40648         (ECRYPTFS_SUPER_MAGIC): Likewise.
40649         (EXT3_SUPER_MAGIC): Likewise.
40650         (EXT4_SUPER_MAGIC): Likewise.
40651         (FUTEXFS_SUPER_MAGIC): Likewise.
40652         (HOSTFS_SUPER_MAGIC): Likewise.
40653         (HUGETLBFS_MAGIC): Likewise.
40654         (MINIX3_SUPER_MAGIC): Likewise.
40655         (MTD_INODE_FS_MAGIC): Likewise.
40656         (NILFS_SUPER_MAGIC): Likewise.
40657         (OPENPROM_SUPER_MAGIC): Likewise.
40658         (PIPEFS_MAGIC): Likewise.
40659         (PSTOREFS_MAGIC): Likewise.
40660         (QNX6_SUPER_MAGIC): Likewise.
40661         (RAMFS_MAGIC): Likewise.
40662         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40663         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40664         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40665         (SECURITYFS_MAGIC): Likewise.
40666         (SELINUX_MAGIC): Likewise.
40667         (SMACK_MAGIC): Likewise.
40668         (SOCKFS_MAGIC): Likewise.
40669         (SQUASHFS_MAGIC): Likewise.
40670         (STACK_END_MAGIC): Likewise.
40671         (TMPFS_MAGIC): Likewise.
40672         (USBDEVICE_SUPER_MAGIC): Likewise.
40673         (V9FS_MAGIC): Likewise.
40674         (XENFS_SUPER_MAGIC): Likewise.
40675         (CRAMFS_MAGIC): Fix typo in comment.
40676         (EXT2_SUPER_MAGIC): Update comment.
40677         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40679 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40681         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40682         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40683         * sysdeps/unix/sysv/linux/arm: Move directory from
40684         ports/sysdeps/unix/sysv/linux/arm.
40685         * README: Update listing for arm-*-linux-gnueabi.
40687         * README: Remove mention of am33.
40689 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40691         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40692         than the comma operator, to avoid "rhs of comma has no effect"
40693         compiler warnings.
40694         (__sigfillset, __sigandset, __sigorset): Likewise.
40695         * include/signal.h (__sigemptyset): Likewise.
40696         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40698 2014-02-07  Allan McRae  <allan@archlinux.org>
40700         * version.h (RELEASE): Set to "development".
40701         (VERSION): Set to "2.19.90"
40702         * NEWS: Add 2.20 section.
40704 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40706         [BZ #16529]
40707         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40709 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40711         * manual/contrib.texi: Update entry for Carlos O'Donell,
40712         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40714 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40716         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40718         * sysdeps/unix/sysv/linux/kernel-features.h
40719         [__LINUX_KERNEL_VERSION >= 0x020621]
40720         (__ASSUME_PROC_PID_TASK_COMM): Define.
40722 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40724         [BZ #16398]
40725         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40726         conversion when destination buffer does not have enough space.
40727         * libio/tst-ftell-partial-wide.c: New test case.
40728         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40730         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40731         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40732         Leonard and Allan McRae.
40734 2014-02-04  David S. Miller  <davem@davemloft.net>
40736         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40737         32-bit.
40739 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40742         New file
40743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40744         New file
40745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40746         New file.
40747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40748         New file.
40749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40750         New file.
40751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40752         New file.
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40754         New file.
40755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40756         New file.
40757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40758         New file.
40759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40760         New file.
40761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40762         New file.
40763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40764         New file.
40765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40766         New file.
40768 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40770         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40771         * shlib-versions: Likewise.
40773 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40774             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40776         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40777         (abilist-pattern): New variable, set to %-le.abilist.
40779         * Makerules (abilist-pattern): New variable.
40780         (vpath): Use $(abilist-pattern) in place of %.abilist.
40781         (check-abi-% pattern rule): Likewise.
40782         (check-abi, update-abi): Likewise.
40784 2014-02-04  Eric Wong  <normalperson@yhbt.net>
40786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40788 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
40790         * manual/startup.texi: Add next, previous, and top entries for
40791         the `Program Arguments' and `Environment Variables' nodes.
40793 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
40795         * manual/macros.texi: Add comments before MTASC-safety macros.
40797         * manual/users.texi: Document MTASC-safety properties.
40799         * manual/threads.texi (pthread_key_create, pthread_key_delete)
40800         (pthread_getspecific, pthread_setspecific): Format with
40801         @deftypefun, and add @safety note.
40802         * manual/signal.texi: Move comments that analyze the above
40803         functions to their home place.
40805 2014-02-03  Allan McRae  <allan@archlinux.org>
40807         * po/sl.po: Update Slovenian translation from translation project.
40809 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
40811         * manual/time.texi (timegm): Add missing blank after @c.
40812         Reported by Joseph Myers <joseph@codesourcery.com>.
40814 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
40816         * manual/check-safety.sh: New.
40817         * manual/Makefile ($(objpfx)stamp-summary): Run it.
40819         * manual/terminal.texi: Document MTASC-safety properties.
40821         * manual/filesys.texi: Document MTASC-safety properties.
40823         * manual/errno.texi: Document MTASC-safety properties.
40825         * manual/intro.texi: Document safety identifiers and
40826         conditionals.
40828         * manual/string.texi (wcstok): Fix prototype.
40829         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40831         * manual/time.texi: Document MTASC-safety properties.
40833         * manual/string.texi: Document MTASC-safety properties.
40835         * manual/threads.texi: Document MTASC-safety properties.
40837         * manual/stdio.texi: Document MTASC-safety properties.
40839         * manual/syslog.texi: Document MTASC-safety properties.
40841         * manual/sysinfo.texi: Document MTASC-safety properties.
40843         * manual/startup.texi: Document MTASC-safety properties.
40845         * manual/socket.texi: Document MTASC-safety properties.
40847         * manual/signal.texi: Document MTASC-safety properties.
40849 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
40851         * manual/setjmp.texi: Document MTASC-safety properties.
40853         * manual/search.texi: Document MTASC-safety properties.
40855         * manual/resource.texi: Document MTASC-safety properties.
40857         * manual/process.texi: Document MTASC-safety properties.
40859         * manual/platform.texi: Document MTASC-safety properties.
40861         * manual/pipe.texi: Document MTASC-safety properties.
40863         * manual/pattern.texi: Document MTASC-safety properties.
40865         * manual/message.texi: Document MTASC-safety properties.
40867         [BZ #12751]
40868         * manual/memory.texi: Document MTASC-safety properties.
40870         * manual/math.texi: Document MTASC-safety properties.
40872         * manual/locale.texi: Document MTASC-safety properties.
40874         * manual/llio.texi: Document MTASC-safety properties.
40876         * manual/libdl.texi: New.
40878         * manual/lang.texi: Document MTASC-safety properties.
40880         * manual/job.texi: Document MTASC-safety properties.
40882         * manual/getopt.texi: Document MTASC-safety properties.
40884         * manual/ctype.texi: Document MTASC-safety properties.
40886 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40888         [BZ #16046]
40889         * csu/libc-tls.c (static_map): Remove variable.
40890         (__libc_setup_tls): Use main executable's link map for TLS data.
40891         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40892         casing for LM_ID_BASE and GL(dl_nns).
40893         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40894         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40895         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40896         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40897         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40898         member.
40899         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40900         l_phnum members.
40902 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40904         * manual/debug.texi: Document MTASC-safety properties.
40906 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40908         [BZ #16510]
40909         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40910         of __x86_64__ when disabling x87 inline functions.
40912 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40914         * manual/charset.texi: Document MTASC-safety properties.
40916         * manual/crypt.texi: Document MTASC-safety properties.
40918         * manual/conf.texi: Document MTASC-safety properties.
40920         * manual/arith.texi: Document MTASC-safety properties.
40922         * manual/argp.texi: Document MTASC-safety properties.
40924         * manual/macros.texi: Introduce macros to document multi
40925         thread, asynchronous signal and asynchronous cancellation
40926         safety properties.
40927         * manual/intro.texi: Introduce the properties themselves.
40929 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40931         * sysdeps/sh/sh4/Makefile: New file.
40933 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40935         * math/gen-libm-test.pl ($srcdir): New variable.
40936         ($auto_input): Use it.
40938 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40940         [BZ #16506]
40941         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40942         access beyond array bounds when parsing netgroups file.
40944         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40945         the old buffer before realloc.
40947 2014-01-27  Allan McRae  <allan@archlinux.org>
40949         * po/fr.po: Update French translation from translation project.
40951 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40953         * sysdeps/sh/libm-test-ulps: Regenerate.
40955 2014-01-24  David S. Miller  <davem@davemloft.net>
40957         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40959 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40961         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40962         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40964 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40966         [BZ #16474]
40967         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40968         string pointers after reallocation.
40970 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40972         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40973         __SH4A__ instead of __SH_FPU_ANY__.
40975 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40977         * sysdeps/sh/fpu_control.h: New file.
40978         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40979         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40980         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40981         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40982         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40983         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40984         * sysdeps/sh/sys/ucontext.h: Remove.
40985         * sysdeps/sh/sys: Remove directory.
40987 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40989         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40990         s390/sys/ucontext.h.
40991         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40992         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40994 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40996         [BZ #15605]
40997         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40999 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41001         [BZ#16431]
41002         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41003         Adjust the vDSO correctly for internal calls.
41004         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41006 2014-01-20  Allan McRae  <allan@archlinux.org>
41008         * po/ca.po: Update Catalan translation from translation project.
41010 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41012         * sysdeps/s390/sotruss-lib.c: New file.
41014 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41016         [BZ#16430]
41017         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41018         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41019         local calls issues by not having a PLT stub required for IFUNC calls.
41020         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41022 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41024         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41025         * math/test-fpucw-static.c: Likewise.
41027 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41029         [BZ #16453]
41030         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41032 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41034         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41035         implementation for powerpc.
41037 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41039         [BZ #14782]
41040         * sysdeps/posix/system.c (__libc_system): Do not enable
41041         asynchronous cancellation.
41043 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41045         [BZ #16427]
41046         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41047         handling only for numbers special also in the IEEE case.
41049 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41051         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41053 2014-01-11  Allan McRae  <allan@archlinux.org>
41055         * po/bg.po: Update Bulgarian translation from translation project.
41057         * po/de.po: Update German translation from translation project.
41059 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41061         * sysdeps/generic/gcc-compat.h: New file.
41063 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41065         * benchtests/asin-inputs: Correct slow inputs.
41066         * benchtests/acos-inputs: Likewise.
41068 2014-01-10  Allan McRae  <allan@archlinux.org>
41070         * po:sv.po: Update Swedish translation from translation project.
41072         * po/vi.po: Update Vietnamese translation from translation project.
41074         * po/eo.po: Update Esperanto translation from translation project.
41076         * po/cs.po: Update Czech translation from translation project.
41078         * po/nl.po: Update Dutch translation from translation project.
41080         * po/pl.po: Update Polish translation from translation project.
41082         * po/ru.po: Update Russian translation from translation project.
41084         * po/uk.po: Update Ukrainian translation from translation project.
41086 2014-01-08  Brooks Moses  <bmoses@google.com>
41088         * elf/dl-load.c: Fix comment typo.
41090 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41092         * po/header.pot: Rename to...
41093         * po/pot.header: ... this.
41094         * po/Makefile: Use pot.header.
41096 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41097             Maxim Kuvyrkov  <maxim@kugelworks.com>
41099         [BZ #16394]
41100         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41101         SRC and DEST against LEN.
41103 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41105         [BZ #16414]
41106         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41107         implementation.
41108         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41110 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41114 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41116         [BZ #16408]
41117         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41118         for large positive arguments.
41120 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41122         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41124         * math/auto-libm-test-in: Mark various tests with
41125         xfail-rounding:ldbl-128ibm.
41126         * math/auto-libm-test-out: Regenerated.
41128         [BZ #16407]
41129         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41130         Increase overflow threshold.
41132 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41134         [BZ #14286]
41135         * stdio-common/vfprintf.c: Check for integer overflow.
41137 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41139         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41140         the first argument and return value of __tls_get_addr_internal.
41142 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41144         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41145         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41147 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41149         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41150         * sysdeps/s390/rtld-global-offsets.sym: New file.
41151         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41152         GLIBC_2.19 symbol.
41153         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41154         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41155         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41156         ... this.
41157         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41158         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41159         ... this.
41160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41161         Regenerate.
41162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41163         Regenerate.
41164         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41165         halfs of GPRs for high_gprs contexts.
41166         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41167         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41168         field.
41169         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41170         uc_flags field.
41171         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41172         64 bit versions:
41173         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41174         for high GPRs (uc_high_gprs) and for future extensions
41175         (__reserved).
41176         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41177         for future extensions (__reserved).
41178         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41179         64 bit versions:
41180         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41181         SC_HIGHGPRS offset definition.
41182         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41183         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41185         * Versions.def: Add GLIBC_2.19 for libpthread.
41186         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41187         siglongjmp for libpthread with GLIBC_2.19 symver.
41188         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41189         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41190         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41191         * sysdeps/s390/__longjmp.c: New file.
41192         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41193         * sysdeps/s390/longjmp.c: New file.
41194         * sysdeps/s390/setjmp.S: New file.
41195         * sysdeps/s390/sigjmp.S: New file.
41196         * sysdeps/s390/v1-longjmp.c: New file.
41197         * sysdeps/s390/v1-setjmp.h: New file.
41198         * sysdeps/s390/v1-sigjmp.c: New file.
41199         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41200         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41201         GLIBC_2.19 version.
41202         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41203         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41204         versioned symbols for ____longjmp_chk.
41205         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41206         Likewise.
41207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41208         Regenerate.
41209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41210         Regenerate.
41211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41212         Regenerate.
41213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41214         Regenerate.
41215         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41216         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41217         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41218         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41219         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41220         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41221         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41222         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41223         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41224         * sysdeps/s390/rtld-__longjmp.c: New file.
41225         * sysdeps/s390/rtld-setjmp.S: New file.
41227 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41229         [BZ #16400]
41230         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41231         Return -__logl (x) for small positive arguments without evaluating
41232         a polynomial.
41234 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41236         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41237         Rename to ...
41238         (__ptrace_peeksiginfo_args): ... this.
41239         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41240         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41241         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41243 2014-01-06  Allan McRae  <allan@archlinux.org>
41245         * inet/netinet/in.h: Fix typo in comment.
41247 2014-01-05  Andreas Jaeger  <aj@suse.de>
41249         * sysdeps/i386/fpu/libm-test-ulps: Update.
41251 2014-01-05  Allan McRae  <allan@archlinux.org>
41253         * po/libc.pot: Regenerated.
41255         * malloc/memusagestat.c: Fix gettext call formatting.
41257 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41259         * nscd/nscd.c: Improve usage() output.
41261 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41263         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41264         * sysdeps/unix/sysv/linux/configure: Regenerated.
41265         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41266         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41268 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41270         [BZ #16390]
41271         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41272         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41274 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41276         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41277         extra tokens at end of #undef directive.
41278         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41279         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41280         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41282 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41284         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41286         * math/auto-libm-test-in: Mark various tests with
41287         xfail-rounding:ldbl-128ibm.
41288         * math/auto-libm-test-out: Regenerated.
41290 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41292         [BZ #16386]
41293         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41294         numbers with subnormal high part when calculating exponent.
41296         [BZ #16385]
41297         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41298         fabs.
41300         [BZ #16384]
41301         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41302         M_LN2l.
41303         (__ieee754_acoshl): Use __log1pl not __log1p.
41305 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41307         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41308         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41309         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41310         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41311         (reused_arena, arena_get2): Convert to GNU style.
41312         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41313         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41314         (memalign_check, __malloc_set_state): Likewise.
41315         * malloc/mallocbug.c (main): Likewise.
41316         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41317         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41318         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41319         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41320         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41321         (__posix_memalign, malloc_info): Likewise.
41322         * malloc/malloc.h: Likewise.
41323         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41324         (mallochook, memalignhook, reallochook, mabort): Likewise.
41325         * malloc/mcheck.h: Likewise.
41326         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41327         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41328         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41329         * malloc/morecore.c (__default_morecore): Likewise.
41330         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41331         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41332         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41333         (print_and_abort): Likewise.
41334         * malloc/obstack.h: Likewise.
41335         * malloc/set-freeres.c (__libc_freeres): Likewise.
41336         * malloc/tst-mallocstate.c (main): Likewise.
41337         * malloc/tst-mtrace.c (main): Likewise.
41338         * malloc/tst-realloc.c (do_test): Likewise.
41340 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41342         [BZ #16366]
41343         * nscd/netgroupcache.c (do_notfound): New function.
41344         (addgetnetgrentX): Use it.
41346         [BZ # 16365]
41347         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41348         NSS_STATUS_NOTFOUND.
41350 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41352         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41355 2014-01-01  Allan McRae  <allan@archlinux.org>
41357         * scripts/update-copyrights: Update configure input file suffix.
41359         * NEWS: Update copyright year.
41360         * catgets/gencat.c: Likewise.
41361         * csu/version.c: Likewise.
41362         * debug/catchsegv.sh: Likewise.
41363         * debug/pcprofiledump.c: Likewise.
41364         * debug/xtrace.sh: Likewise.
41365         * elf/ldconfig.c: Likewise.
41366         * elf/ldd.bash.in: Likewise.
41367         * elf/pldd.c: Likewise.
41368         * elf/sotruss.ksh: Likewise.
41369         * elf/sprof.c: Likewise.
41370         * iconv/iconv_prog.c: Likewise.
41371         * iconv/iconvconfig.c: Likewise.
41372         * locale/programs/locale.c: Likewise.
41373         * locale/programs/localedef.c: Likewise.
41374         * login/programs/pt_chown.c: Likewise.
41375         * malloc/memusage.sh: Likewise.
41376         * malloc/memusagestat.c: Likewise.
41377         * malloc/mtrace.pl: Likewise.
41378         * manual/libc.texinfo: Likewise.
41379         * nscd/nscd.c: Likewise.
41380         * nss/getent.c: Likewise.
41381         * nss/makedb.c: Likewise.
41382         * posix/getconf.c: Likewise.
41383         * scripts/test-installation.pl: Likewise.
41385         * All files with FSF copyright notices: Update copyright dates
41386         using scripts/update-copyrights.
41387         * intl/plural.c: Regenerated.
41388         * locale/programs/charmap-kw.h: Likewise.
41389         * locale/programs/locfile-kw.h: Likewise.
41391 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41393         * sysdeps/unix/sysv/linux/configure: Regenerated.
41394         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41395         the linux/fanotify.h header.
41396         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41397         HAVE_LINUX_FANOTIFY_H is defined.
41399 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41401         * benchtests/cos-inputs: New inputs.
41402         * benchtests/sin-inputs: Likewise.
41404         * benchtests/atan-inputs: New inputs. Fix name of multiple
41405         precision fallback inputs.
41407         * benchtests/atanh-inputs: New inputs.
41408         * benchtests/tanh-inputs: Likewise.
41410         * benchtests/acosh-inputs: New inputs.
41411         * benchtests/asinh-inputs: Likewise.
41413         * benchtests/cosh-inputs: New inputs.
41414         * benchtests/sinh-inputs: Likewise.
41416         * benchtests/acos-inputs: Add more inputs.
41417         * benchtests/asin-inputs: Likewise.
41419 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41421         [BZ #16375]
41422         * manual/arith.texi: Fix spelling.
41423         * manual/charset.texi: Likewise.
41424         * manual/errno.texi: Likewise.
41425         * manual/filesys.texi: Likewise.
41426         * manual/lang.texi: Likewise.
41427         * manual/llio.texi: Likewise.
41428         * manual/locale.texi: Likewise.
41429         * manual/message.texi: Likewise.
41430         * manual/resource.texi: Likewise.
41431         * manual/search.texi: Likewise.
41432         * manual/setjmp.texi: Likewise.
41433         * manual/stdio.texi: Likewise.
41434         * manual/string.texi: Likewise.
41435         * manual/sysinfo.texi: Likewise.
41436         * manual/time.texi: Likewise.
41438 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41440         * po/sl.po: New file.
41442 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41444         * .gitignore: Add core/.gdbinit/.gdb_history.
41446 2013-12-27  Allan McRae  <allan@archlinux.org>
41448         [BZ #16369]
41449         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41450         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41452 2013-12-24  Brooks Moses  <bmoses@google.com>
41454         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41455         all compilers that claim C++98 compliance, not just GCC.
41456         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41457         Likewise.
41459 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41461         * NEWS: Restore accidentally deleted bug-fix entries.
41463 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41464             Ondřej Bílka  <neleai@seznam.cz>
41466         [BZ #15073]
41467         * malloc/malloc.c (_int_free): Perform sanity check only if we
41468         have_lock.
41470 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41472         [BZ #12986]
41473         * manual/stdio.texi (String Input Conversions): Clarify that character
41474         classes are not supported.
41476 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41480 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41482         [BZ #16337]
41483         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41484         Calculate results for small negative arguments directly rather
41485         than using reflection formula with special underflow handling.
41487         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41488         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41489         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41490         (fchflags): Likewise.
41491         (revoke): Likewise.
41492         (setlogin): Likewise.
41493         (sigaltstack): Likewise.
41494         (wait4): Likewise.
41495         (sigblock): Remove.
41496         (sigsetmask): Likewise.
41497         (wait3): Likewise.
41498         (waitpid): Likewise.
41499         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41500         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41501         file.
41502         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41503         * sysdeps/unix/bsd/Makefile: ... here.
41504         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41505         * sysdeps/unix/bsd/Versions: ... here.
41506         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41507         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41508         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41509         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41510         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41511         * sysdeps/unix/bsd/sigblock.c: ... here.
41512         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41513         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41514         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41515         * sysdeps/unix/bsd/sigvec.c: ... here.
41516         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41517         * sysdeps/unix/bsd/tcdrain.c: ... here.
41518         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41519         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41520         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41521         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41522         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41523         * sysdeps/unix/bsd/wait.c: ... here.
41524         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41525         * sysdeps/unix/bsd/wait3.c: ... here.
41526         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41527         * sysdeps/unix/bsd/waitpid.c: ... here.
41529 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41531         [BZ #16356]
41532         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41533         round-to-nearest for [!USE_AS_EXPM1L].
41534         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41535         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41536         more tests of exp and exp10.  Expect some exp10 tests to miss
41537         exceptions or fail in directed rounding modes.
41538         * math/auto-libm-test-out: Regenerated.
41539         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41540         (exp10_test_tonearest): New function.
41541         (exp10_towardzero_test_data): New array.
41542         (exp10_test_towardzero): New function.
41543         (exp10_downward_test_data): New array.
41544         (exp10_test_downward): New function.
41545         (exp10_upward_test_data): New array.
41546         (exp10_test_upward): New function.
41547         (main): Call the new functions.
41548         * sysdeps/i386/fpu/libm-test-ulps: Update.
41549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41551 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41553         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41554         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41555         * math/auto-libm-test-out: Regenerated.
41556         * math/libm-test.inc (acosh_test_data): Add more tests.
41557         (atanh_test_data): Likewise.
41558         (ceil_test_data): Likewise.
41559         (copysign_test_data): Likewise.
41560         * sysdeps/i386/fpu/libm-test-ulps: Update.
41561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41563         * timezone/checktab.awk: Update from tzcode 2013i.
41564         * timezone/private.h: Likewise.
41565         * timezone/scheck.c: Likewise.
41566         * timezone/tzfile.h: Likewise.
41567         * timezone/tzselect.ksh: Likewise.
41568         * timezone/zdump.c: Likewise.
41569         * timezone/zic.c: Likewise.
41571         * math/auto-libm-test-in: Add tests of cpow.
41572         * math/auto-libm-test-out: Regenerated.
41573         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41574         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41575         mpc_cc_c.
41576         (func_calc_desc): Add mpc_cc_c union field.
41577         (test_functions): Add cpow.
41578         (special_fill_2pi): New function.
41579         (special_real_inputs): Add 2pi.
41580         (calc_generic_results): Handle mpc_cc_c.
41581         * sysdeps/i386/fpu/libm-test-ulps: Update.
41582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41584         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41585         csqrt, ctan and ctanh.
41586         * math/auto-libm-test-out: Regenerated.
41587         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41588         (TEST_COND_x86): Likewise.
41589         (ccos_test_data): Use AUTO_TESTS_c_c.
41590         (ccosh_test_data): Likewise.
41591         (cexp_test_data): Likewise.
41592         (clog_test_data): Likewise.
41593         (csqrt_test_data): Likewise.
41594         (ctan_test_data): Likewise.
41595         (ctan_tonearest_test_data): Likewise.
41596         (ctan_towardzero_test_data): Likewise.
41597         (ctan_downward_test_data): Likewise.
41598         (ctan_upward_test_data): Likewise.
41599         (ctanh_test_data): Likewise.
41600         (ctanh_tonearest_test_data): Likewise.
41601         (ctanh_towardzero_test_data): Likewise.
41602         (ctanh_downward_test_data): Likewise.
41603         (ctanh_upward_test_data): Likewise.
41604         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41605         mpc_c_c.
41606         (func_calc_desc): Add mpc_c_c union field.
41607         (FUNC_mpc_c_c): New macro.
41608         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41609         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41610         ctanh.
41611         (special_fill_min_subnorm_p120): New function.
41612         (special_real_inputs): Add min_subnorm_p120.
41613         (calc_generic_results): Handle mpc_c_c.
41614         * sysdeps/i386/fpu/libm-test-ulps: Update.
41615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41617 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41619         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41620         (do_sin_slow): New functions.
41621         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41622         (cslow2, csloww1, csloww2): Use the new functions.
41624         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41625         Use M to change sign of result instead of X.  Assume X is
41626         positive.
41627         (csloww1): Likewise.
41628         (__sin): Adjust.
41629         (__cos): Adjust.
41631         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41632         arguments A and DA.
41633         (__sin): Adjust.
41634         (__cos): Likewise.
41636         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41637         (__cos): Likewise.
41638         (sloww1): Don't adjust sign of DX.
41639         (csloww1): Likewise.
41640         (sloww2): Use X directly and don't adjust sign of DX.
41641         (csloww2): Likewise.
41643 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41645         * math/auto-libm-test-in: Add tests of cabs and carg.
41646         * math/auto-libm-test-out: Regenerated.
41647         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41648         (carg_test_data): Likewise.
41649         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41650         mpc_c_f.
41651         (func_calc_desc): Add mpc_c_f union field.
41652         (test_functions): Add cabs and carg.
41653         (calc_generic_results): Handle mpc_c_f.
41655         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41656         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41657         as a macro and a compat symbol.
41658         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41659         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41660         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41661         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41662         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41663         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41664         not use .hidden.
41665         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41666         Likewise.
41667         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41668         Likewise.
41669         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41670         Likewise.
41671         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41672         Likewise.
41673         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41674         Likewise.
41675         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41676         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41677         from GLIBC_2.3.2.
41679 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41683 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41685         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41686         trailing whitespace removed.
41687         * scripts/config.guess: Update to version 2013-11-29.
41688         * scripts/config.sub: Update to version 2013-10-01.
41690         * math/auto-libm-test-in: Add tests of sincos.
41691         * math/auto-libm-test-out: Regenerated.
41692         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41693         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41694         mpfr_f_11.
41695         (func_calc_desc): Add mpfr_f_11 union field.
41696         (test_functions): Add sincos.
41697         (calc_generic_results): Handle mpfr_f_11.
41698         * sysdeps/i386/fpu/libm-test-ulps: Update.
41699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41701 2013-12-19  Andreas Schwab  <schwab@suse.de>
41703         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41704         CALL_MCOUNT.
41705         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41706         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41707         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41709 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41711         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41712         * sysdeps/i386/fpu/libm-test-ulps: Update.
41713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41715         [BZ #16293]
41716         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41717         round-to-nearest mode when using frndint.
41718         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41719         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41720         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41721         Likewise.
41722         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41723         sinh test to fail.
41724         * math/auto-libm-test-out: Regenerated.
41725         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41726         (TEST_COND_x86): Likewise.
41727         (expm1_tonearest_test_data): New array.
41728         (expm1_test_tonearest): New function.
41729         (expm1_towardzero_test_data): New array.
41730         (expm1_test_towardzero): New function.
41731         (expm1_downward_test_data): New array.
41732         (expm1_test_downward): New function.
41733         (expm1_upward_test_data): New array.
41734         (expm1_test_upward): New function.
41735         (main): Run the new test functions.
41736         * sysdeps/i386/fpu/libm-test-ulps: Update.
41737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41739         * include/features.h: Update comment documenting feature test
41740         macros.  Mention _DEFAULT_SOURCE in comment.
41741         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41742         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41743         _BSD_SOURCE and _SVID_SOURCE.
41744         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41745         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41746         !_SVID_SOURCE]: Likewise.
41747         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41748         (__USE_POSIX_IMPLICITLY): Define.
41749         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41750         (_POSIX_SOURCE): Undefine and redefine.
41751         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41752         (_POSIX_C_SOURCE): Likewise.
41753         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41754         (Feature Test Macros): Update documentation of default features.
41756 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41758         * benchtests/Makefile: Add bench-strtok.
41759         * benchtests/bench-strtok.c: New file: strtok benchtest.
41761 2013-12-19  Allan McRae  <allan@archlinux.org>
41763         * manual/install.texi: Suppress menu for plain text output.
41764         * INSTALL: Regenerated.
41766 2013-12-18  Brooks Moses  <bmoses@google.com>
41768         [BZ #15846]
41769         * misc/getauxval.c: Include errno.h.
41770         (__getauxval): Set errno to ENOENT if the requested type is not
41771         found.
41772         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41773         don't declare with __attribute_const__.
41774         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41775         * manual/startup.texi: Document that getauxval sets errno.
41777 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41779         * math/auto-libm-test-in: Add tests of jn and yn.
41780         * math/auto-libm-test-out: Regenerated.
41781         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41782         (yn_test_data): Likewise.
41783         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41784         mpfr_if_f.
41785         (func_calc_desc): Add mpfr_if_f union field.
41786         (FUNC_mpfr_if_f): New macro.
41787         (test_functions): Add jn and yn.
41788         (calc_generic_results): Assert type of second input for
41789         mpfr_ff_f.  Handle mpfr_if_f.
41790         (output_for_one_input_case): Disable all checking for arguments
41791         fitting floating-point types in case of an integer argument.
41792         * sysdeps/i386/fpu/libm-test-ulps: Update.
41793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41796         Don't expect fegetround reference in libm.so.
41798 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41800         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41801         $(config-cflags-nofma).
41803 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41805         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41806         * math/auto-libm-test-out: Regenerated.
41808         [BZ #16338]
41809         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41810         to determine exponent and adjust argument to have exponent of -1.
41811         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41812         log2.
41813         * math/auto-libm-test-out: Regenerated.
41814         * sysdeps/i386/fpu/libm-test-ulps: Update.
41815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41817 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
41819         * manual/probes.texi: Remove cases when per-thread arenas are
41820         disabled.
41822 2013-12-18  Andreas Schwab  <schwab@suse.de>
41824         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41825         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41826         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41827         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41828         * sysdeps/i386/i686/multiarch/Makefile: Update.
41829         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41831 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41833         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41834         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41836 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
41838         [BZ #15968]
41839         Support TZ transition times < 00:00:00.
41840         This is needed for version-3 tz-format files; it supports time
41841         stamps past 2037 for America/Godthab (the only entry in the tz
41842         database for which this change is relevant).
41843         * manual/time.texi (TZ Variable): Document transition times
41844         from -167:59:59 through -00:00:01.
41845         * time/tzset.c (tz_rule): Time of day is now signed.
41846         (__tzset_parse_tz): Parse negative time of day.
41848         Document TZ transition times >= 25:00:00.
41849         * manual/time.texi (TZ Variable): Document transition times from
41850         25:00:00 through 167:59:59.  These are already supported, and this
41851         support will help with version-3 tz-format files.
41853         * manual/time.texi (TZ Variable): Modernize North America example
41854         to reflect current (i.e., 2007-and-later) daylight saving rules.
41856         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41858 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41860         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41861         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41863         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41864         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41865         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41866         * sysdeps/unix/bsd/clock.c: Likewise.
41867         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41868         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41869         * sysdeps/unix/bsd/init-posix.c: Likewise.
41870         * sysdeps/unix/bsd/poll.c: Likewise.
41871         * sysdeps/unix/bsd/ptsname.c: Likewise.
41872         * sysdeps/unix/bsd/seekdir.c: Likewise.
41873         * sysdeps/unix/bsd/setegid.c: Likewise.
41874         * sysdeps/unix/bsd/seteuid.c: Likewise.
41875         * sysdeps/unix/bsd/setgid.c: Likewise.
41876         * sysdeps/unix/bsd/setrgid.c: Likewise.
41877         * sysdeps/unix/bsd/setruid.c: Likewise.
41878         * sysdeps/unix/bsd/setsid.c: Likewise.
41879         * sysdeps/unix/bsd/setuid.c: Likewise.
41880         * sysdeps/unix/bsd/sigaction.c: Likewise.
41881         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41882         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41883         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41884         * sysdeps/unix/bsd/telldir.c: Likewise.
41885         * sysdeps/unix/bsd/times.c: Likewise.
41886         * sysdeps/unix/bsd/usleep.c: Likewise.
41888         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41889         ($(objpfx)libbsd-compat.a): Remove rule.
41891         * include/features.h (__FAVOR_BSD): Do not define.
41892         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41893         features conflicting with POSIX.
41894         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41895         (_BSD_SOURCE): Remove description of not being a subset of other
41896         feature test macros.
41897         * manual/job.texi (getpgrp): Do not document BSD version.
41898         (getpgid): Do not document by reference to BSD getpgrp.
41899         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41900         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41901         * signal/signal.h [__FAVOR_BSD]: Likewise.
41902         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41903         instead of making contents conditional on [__FAVOR_BSD].
41904         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41906 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41910 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41912         [BZ #16314]
41913         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41914         values below 2**-450, not 2**-500.
41915         * math/auto-libm-test-in: Don't allow spurious underflow from
41916         hypot.
41917         * math/auto-libm-test-out: Regenerated.
41919         [BZ #16316]
41920         [BZ #16330]
41921         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41922         values of ha and hb and sort them after adjusting subnormal
41923         arguments.
41924         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41925         Likewise.
41926         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41927         values of ea and eb and sort them after adjusting subnormal
41928         arguments.
41929         * math/auto-libm-test-in: Do not expect some hypot tests of
41930         subnormals to fail.  Add more hypot tests.
41931         * math/auto-libm-test-out: Regenerated.
41933 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41935         [BZ #13304]
41936         * sysdeps/sh/s_fma.c: New file.
41937         * sysdeps/sh/s_fmaf.c: New file.
41938         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41939         version.
41940         * sysdeps/sh/Implies: Add sh/soft-fp.
41942 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41944         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41945         level of indirection to members `objname', `errstring', `malloced'.
41946         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41947         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41948         it as the __longjmp argument (just pass 1 instead).
41949         (_dl_catch_error): Initialize C with argument pointers and address of
41950         volatile local ERRCODE rather than copying values out of C at return.
41952 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41954         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41955         * math/auto-libm-test-out: Regenerated.
41956         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41957         (hypot_test_data): Likewise.
41958         (pow_test_data): Likewise.
41959         (pow_tonearest_test_data): Likewise.
41960         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41961         mpfr_ff_f.
41962         (func_calc_desc): Add mpfr_ff_f union field.
41963         (FUNC_mpfr_ff_f): New macro.
41964         (test_functions): Add atan2, hypot and pow.
41965         (special_fill_min): New function.
41966         (special_fill_minus_min): Likewise.
41967         (special_fill_min_subnorm): Likewise.
41968         (special_fill_minus_min_subnorm): Likewise.
41969         (special_real_inputs): Add min, -min, min_subnorm and
41970         -min_subnorm.
41971         (calc_generic_results): Handle mpfr_ff_f.
41972         * sysdeps/i386/fpu/libm-test-ulps: Update.
41973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41975 2013-12-16  Will Newton  <will.newton@linaro.org>
41977         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41978         (Aligned Memory Blocks): Add documentation for aligned_alloc
41979         and suggest it as an alternative to posix_memalign.
41980         (Hooks for Malloc): Document __memalign_hook is also called
41981         for aligned_alloc.  (Summary of Malloc): Add summary for
41982         aligned alloc.  Document __memalign_hook is also called
41983         for aligned_alloc.
41985 2013-12-16  Will Newton  <will.newton@linaro.org>
41987         * manual/memory.texi (Malloc Examples): Clarify default
41988         alignment documentation.  Suggest posix_memalign rather
41989         than memalign or valloc.
41990         (Aligned Memory Blocks): Remove suggestion to use memalign
41991         or valloc.  Remove obsolete comment about BSD.
41992         Document memalign errno values and mark the function obsolete.
41993         Document posix_memalign returned error codes.  Mark valloc
41994         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41995         called for posix_memalign and valloc.
41996         (Summary of Malloc): Add posix_memalign to function summary.
41997         __memalign_hook is also called for posix_memalign and valloc.
41999 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42001         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42002         TAYLOR_SIN.
42003         (__sin): Adjust.
42004         (__cos): Likewise.
42005         (sloww): Use mynumber union.  Expand ternary operator into
42006         if-else statements.
42007         (cslow): use mynumber union.
42009 2013-12-16  Allan McRae  <allan@archlinux.org>
42011         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42012         * configure: Regenerated.
42014         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42016         [BZ #14120]
42017         * configure.ac: Added --enable-maintainer-mode. Check for
42018         autoconf when enabled.
42019         * configure: Regenerated.
42021         * nscd/nscd.service: New file.
42022         * nscd/nscd.tmpfiles: New file.
42024 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42026         [BZ #12100]
42027         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42028         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42029         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42030         (strstr): Add __strstr_sse2_unaligned ifunc.
42031         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42032         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42033         (strcasestr): Remove __strcasestr_sse42 ifunc.
42034         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42035         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42038 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42040         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42041         * sysdeps/sh/bits/fenv.h: ... here.
42042         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42044 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42046         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42049         hypotf multiarch implementations.
42050         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42051         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42052         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42053         multiarch hypot for PPC64.
42054         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42055         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42056         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42057         multiarch hypotf for PPC64.
42059         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42060         modff multiarch implementations.
42061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42064         multiarch modf for PPC64.
42065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42068         multiarch modff for PPC64.
42070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42071         and logl multiarch implementations.
42072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42075         multiarch logb for PPC64.
42076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42079         multiarch logb for PPC64.
42080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42083         multiarch logb for PPC64.
42085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42086         isinff multiarch implementation.
42087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42088         file.
42089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42091         multiarch isinf for PPC64.
42092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42093         file.
42094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42095         multiarch isinff for PPC64.
42097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42098         finitef multiarch implementation.
42099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42100         file.
42101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42103         multiarch finite for PPC64.
42104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42105         file.
42106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42107         multiarch finitef for PPC64.
42109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42110         lrint multiarch implementation.
42111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42112         file.
42113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42115         multiarch llrint for PPC64.
42116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42117         multiarch lrint for PPC64.
42119         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42120         copysignf multiarch implementation.
42121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42122         file.
42123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42124         file.
42125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42126         multiarch copysign for PPC64.
42127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42128         multiarch copysignf for PPC64.
42130         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42131         multiarch implementation.
42132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42133         file.
42134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42135         file.
42136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42137         file.
42138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42139         file.
42140         multiarch llround for PPC64.
42141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42142         multiarch trunc for PPC64.
42143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42144         multiarch truncf for PPC64.
42146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42147         multiarch implementation.
42148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42149         file.
42150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42151         file.
42152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42153         file.
42154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42155         file.
42156         multiarch llround for PPC64.
42157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42158         multiarch round for PPC64.
42159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42160         multiarch roundf for PPC64.
42162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42163         multiarch implementation.
42164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42165         file.
42166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42167         file.
42168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42169         file.
42170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42171         file.
42172         multiarch llround for PPC64.
42173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42174         multiarch floor for PPC64.
42175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42176         multiarch floorf for PPC64.
42178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42179         multiarch implementation.
42180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42181         file.
42182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42183         file.
42184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42185         file.
42186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42187         file.
42188         multiarch llround for PPC64.
42189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42190         multiarch ceil for PPC64.
42191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42192         multiarch ceilf for PPC64.
42194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42195         multiarch implementation.
42196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42197         file.
42198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42199         file.
42200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42201         file.
42202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42203         multiarch llround for PPC64.
42204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42205         multiarch lround for PPC64.
42207         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42208         multiarch implementation.
42209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42212         file.
42213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42216         multiarch isnan for PPC64.
42217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42218         multiarch isnanf for PPC64.
42220         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42221         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42222         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42223         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42224         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42227         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42228         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42229         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42230         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42233         multiarch implementations.
42234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42235         (__libc_ifunc_impl_list): Likewise.
42236         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42237         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42238         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42239         multiarch stpcpy for PPC64.
42241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42242         multiarch implementations.
42243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42244         (__libc_ifunc_impl_list): Likewise.
42245         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42246         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42247         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42248         multiarch strcpy for PPC64.
42250         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42251         redefine function name.
42252         (_wordcopy_fwd_dest_aligned): Likewise.
42253         (_wordcopy_bwd_aligned): Likewise.
42254         (_wordcopy_bwd_dest_aligned): Likewise.
42255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42256         multiarch implementations.
42257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42258         (__libc_ifunc_impl_list): Likewise.
42259         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42260         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42261         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42262         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42263         multiarch wcscpy for PPC64.
42265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42266         multiarch implementations.
42267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42268         (__libc_ifunc_impl_list): Likewise.
42269         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42270         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42271         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42272         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42273         multiarch wcscpy for PPC64.
42275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42276         multiarch implementations.
42277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42278         (__libc_ifunc_impl_list): Likewise.
42279         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42280         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42281         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42282         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42283         multiarch wcsrchr for PPC64.
42285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42286         multiarch implementations.
42287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42288         (__libc_ifunc_impl_list): Likewise.
42289         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42290         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42291         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42292         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42293         multiarch wcschr for PPC64.
42295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42296         multiarch implementations.
42297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42298         (__libc_ifunc_impl_list): Likewise.
42299         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42300         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42301         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42302         multiarch strchrnul for PPC64.
42304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42305         implementations.
42306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42307         (__libc_ifunc_impl_list): Likewise.
42308         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42309         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42310         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42311         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42312         strchr for PPC64.
42314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42315         implementations.
42316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42317         (__libc_ifunc_impl_list): Likewise.
42318         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42319         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42320         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42321         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42322         strncmp for PPC64.
42324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42325         multiarch implementations.
42326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42327         (__libc_ifunc_impl_list): Likewise.
42328         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42329         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42330         strncasecmp for PPC64.
42331         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42332         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42333         multiarch strncasecmp_l for PPC64.
42335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42336         multiarch implementations.
42337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42338         (__libc_ifunc_impl_list): Likewise.
42339         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42340         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42341         multiarch strcasecmp for PPC64.
42342         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42343         file.
42344         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42345         multiarch strcasecmp_l for PPC64.
42347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42348         implementations.
42349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42350         (__libc_ifunc_impl_list): Likewise.
42351         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42352         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42353         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42354         strnlen for PPC64.
42356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42357         implementations.
42358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42359         (__libc_ifunc_impl_list): Likewise.
42360         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42361         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42362         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42363         strlen for PPC64.
42365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42366         implementations.
42367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42368         (__libc_ifunc_impl_list): Likewise.
42369         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42370         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42371         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42372         rawmemrchr for PPC64.
42374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42375         implementation.
42376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42377         (__libc_ifunc_impl_list): Likewise.
42378         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42379         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42380         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42381         memrchr for PPC64.
42383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42384         implementation.
42385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42386         (__libc_ifunc_impl_list): Likewise.
42387         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42388         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42389         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42390         memchr for PPC64.
42392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42393         implementation.
42394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42395         (__libc_ifunc_impl_list): Likewise.
42396         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42397         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42398         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42399         mempcpy for PPC64.
42401         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42402         avoid cretion of __bzero symbol.
42403         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42404         Likewise.
42405         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42406         Likewise.
42407         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42408         Likewise.
42409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42410         multiarch implementations.
42411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42412         (__libc_ifunc_impl_list): Likewise.
42413         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42414         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42415         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42416         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42417         bzero for PPC32.
42418         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42419         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42420         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42421         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42422         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42423         memset for PPC64.
42424         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42426         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42428         implementations.
42429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42430         (__libc_ifunc_impl_list): Likewise.
42431         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42432         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42433         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42434         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42435         memcmp for PPC64.
42437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42438         multiarch for POWER/PPC64.
42439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42440         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42441         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42442         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42443         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42444         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42445         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42446         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42447         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42448         memcpy for PPC64.
42450         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42451         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42452         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42453         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42454         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42455         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42456         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42457         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42458         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42459         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42460         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42461         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42462         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42463         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42464         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42473 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42475         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42477 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42479         * benchtests/Makefile (bench): Add exp2 and log2.
42480         (LDLIBS-bench-exp2): Add -lm.
42481         (LDLIBS-bench-log2): Likewise.
42482         * benchtests/exp2-inputs: New inputs file.
42483         * benchtests/log2-inputs: New inputs file.
42484         * benchtests/log-inputs: Add new inputs.
42485         * benchtests/tan-inputs: Likewise.
42487 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42489         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42490         definition...
42491         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42492         (csloww2): ... from here.
42494         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42495         instead of structures.
42496         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42497         (POLYNOMIAL): Likewise.
42498         (TAYLOR_SLOW): Likewise.
42499         (__sin): Likewise.
42500         (__cos): Likewise.
42501         (slow1): Likewise.
42502         (slow2): Likewise.
42503         (sloww): Likewise.
42504         (sloww1); Likewise.
42505         (sloww2): Likewise.
42506         (bsloww1): Likewise.
42507         (bsloww2): Likewise.
42508         (cslow2): Likewise.
42509         (csloww): Likewise.
42510         (csloww1): Likewise.
42511         (csloww2): Likewise.
42513 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42515         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42516         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42517         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42518         * malloc/hooks.c (realloc_check): Likewise.
42520         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42521         * malloc/arena.c: Remove PER_THREAD conditional.
42522         [!PER_THREAD]: Remove code.
42523         (ptmalloc_unlock_all2): Likewise.
42524         (ptmalloc_init): Likewise.
42525         (_int_new_arena): Likewise.
42526         (arena_get2): Likewise.
42527         * malloc/hooks.c (__malloc_get_state): Likewise.
42528         (__malloc_set_state): Likewise.
42529         * malloc/malloc.c: Likewise.
42530         (struct malloc_state): Likewise.
42531         (struct malloc_par): Likewise.
42532         (__libc_realloc): Likewise.
42533         (__libc_mallopt): Likewise.
42535 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42537         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42539 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42541         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42542         macro to a function.  Check for zero perturb_byte.
42543         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42545         * malloc/malloc.c: (force_reg): Remove.
42546         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42547         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42548         force_reg by atomic_forced_read.
42549         * malloc/arena.c (ptmalloc_init): Likewise.
42550         * malloc/hooks.c (top_check): Likewise.
42552 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42556 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42560 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42562         * math/auto-libm-test-in: Add tests of lgamma.
42563         * math/auto-libm-test-out: Regenerated.
42564         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42565         (M_LOG_2_SQRT_PIl): Likewise.
42566         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42567         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42568         mpfr_f_f1.
42569         (func_calc_desc): Add mpfr_f_f1 union field.
42570         (ARGS1): New macro.
42571         (ARGS2): Likewise.
42572         (ARGS3): Likewise.
42573         (ARGS4): Likewise.
42574         (RET1): Likewise.
42575         (RET2): Likewise.
42576         (CALC): Likewise.
42577         (FUNC): Likewise.
42578         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42579         (test_functions): Add lgamma.
42580         (calc_generic_results): Handle mpfr_f_f1.
42581         * sysdeps/i386/fpu/libm-test-ulps: Update.
42582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42584 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42586         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42587         __mpn_add_n for PowerPC64/POWER7.
42588         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42589         __mpn_sub_n for PowerPC64/POWER7.
42591         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42592         __mpn_addmul_1 for PowerPC64.
42593         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42594         __mpn_submul_1 for PowerPC64.
42595         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42596         for PowerPC64.
42597         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42598         for PowerPC64.
42600 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42602         [BZ #15089]
42603         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42605 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42607         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42609         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42610         add multiarch folders.
42611         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42612         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42613         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42614         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42615         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42616         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42617         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42618         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42619         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42620         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42621         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42630         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42632         New file.
42633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42634         New file.
42635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42636         multiarch __ieee754_hypot for PowerPC32.
42637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42638         New file.
42639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42640         New file.
42641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42642         multiarch __ieee754_hypotf for PowerPC32.
42644         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42645         long_double_symbol only if __logbl is defined.
42646         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42647         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42648         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42649         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42650         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42651         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42652         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42653         path for implementation.
42654         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42655         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42657         logb, and logbl multiarch implementations for PowerPC32.
42658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42659         file.
42660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42661         file.
42662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42663         multiarch logb for PowerPC32.
42664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42665         file.
42666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42667         file.
42668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42669         multiarch logbf for PowerPC32.
42670         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42672         file.
42673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42674         multiarch logbl implementation for PowerPC32.
42676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42677         and modff multiarch implementations.
42678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42679         New file.
42680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42681         New file.
42682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42683         multiarch modf for PowerPC32.
42684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42685         New file.
42686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42687         New file.
42688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42689         multiarch modff for PowerPC32.
42691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42692         and lrintf multiarch implementations.
42693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42694         New file.
42695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42696         New file.
42697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42698         multiarch lrint for PowerPC32.
42699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42700         file: multiarch lrintf for PowerPC32.
42702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42703         and lroundf multiarch implementations.
42704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42705         New file.
42706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42707         New file.
42708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42709         New file.
42710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42711         multiarch lround for PowerPC32.
42712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42713         file: multiarch lroundf for PowerPC32.
42715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42716         copysign and copysignf multiarch implementations.
42717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42718         New file.
42719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42720         New file.
42721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42722         file: multiarch copysign for PowerPC32.
42723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42724         file: multiarch copysignf for PowerPC32.
42726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42727         and truncf multiarch implementations.
42728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42729         New file.
42730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42731         file.
42732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42733         multiarch trunc for PowerPC32.
42734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42735         New file.
42736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42737         New file.
42738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42739         multiarch truncf for PowerPC32.
42741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42742         and roundf multiarch implementations.
42743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42744         New file.
42745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42746         file.
42747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42748         multiarch round for PowerPC32.
42749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42750         New file.
42751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42752         New file.
42753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42754         multiarch roundf for PowerPC32.
42756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42757         and floorf multiarch implementations.
42758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42759         New file.
42760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42761         file.
42762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42763         multiarch floor for PowerPC32.
42764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42765         New file.
42766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42767         New file.
42768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42769         multiarch floorf for PowerPC32.
42771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42772         and ceilf multiarch implementations.
42773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42774         New file.
42775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42776         file.
42777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42778         multiarch ceil for PowerPC32.
42779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42780         New file.
42781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42782         file.
42783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42784         multiarch ceilf for PowerPC32.
42786         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42787         is defined.
42788         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42789         FINITEF is defined.
42790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42791         and finitef multiarch implementations.
42792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42793         New file.
42794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42795         file.
42796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42797         multiarch finite for PowerPC32.
42798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42799         New file.
42800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42801         file: multiarch finitef for PowerPC32.
42803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42804         and isinff multiarch implementations.
42805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42806         file.
42807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42808         file.
42809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42810         multiarch isinf for PowerPC32.
42811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42812         New file.
42813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42814         multiarch isinff for PowerPC32.
42816         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42817         alias when __isnan is defined.
42818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42819         and isnanf multiarch implementations.
42820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42821         file.
42822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42823         file.
42824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42825         file.
42826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42827         file.
42828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42829         multiarch isnan for PowerPC32.
42830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42831         New file.
42832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42833         New file.
42834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42835         multiarch isnanf for PowerPC32.
42837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42838         and sqrtf multiarch implementations.
42839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42840         file.
42841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42842         file.
42843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42844         multiarch sqrt for PowerPC32.
42845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42846         file.
42847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42848         file.
42849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42850         multiarch sqrtf for PowerPC32.
42852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42853         and llroundf multiarch implementations.
42854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42855         New file.
42856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42857         New file.
42858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42859         New file.
42860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42861         file: multiarch llround for PowerPC32.
42862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42863         file: multiarch llroundf for PowerPC32.
42865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42866         multiarch PowerPC32 fpu implementations.
42867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42868         New file.
42869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42870         New file.
42871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42872         multiarch llrint for PowerPC32.
42873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42874         New file.
42875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42876         New file.
42877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42878         file.
42880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42882         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42883         file.
42884         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42885         file.
42886         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42887         file.
42888         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42889         multiarch wordcopy for PPC32.
42890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42891         wordcopy objects.
42892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42893         (__libc_ifunc_impl_list): Likewise.
42894         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42895         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42896         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42897         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42898         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42899         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42901         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42902         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42903         file.
42904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42905         file.
42906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42907         file.
42908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42909         multiarch wcscpy for PPC32.
42910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42911         multiarch objects.
42912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42913         (__libc_ifunc_impl_list): Likewise.
42914         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42915         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42916         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42917         sysdeps/powerpc/power6/wcscpy.c.
42919         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42921         file.
42922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42923         file.
42924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42925         file.
42926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42927         multiarch wcsrchr 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/wcsrchr.c: Move ...
42933         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42934         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42935         sysdeps/powerpc/power6/wcsrchr.c.
42937         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42938         file.
42939         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42940         file.
42941         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42943         multiarch wcschr for PPc32.
42944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42945         multiarch objects.
42946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42947         (__libc_ifunc_impl_list): Likewise.
42948         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42949         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42950         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42951         sysdeps/powerpc/power6/wcschr.c.
42953         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42954         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42955         file.
42956         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42957         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42958         file: multiarch strchr for PPC32.
42959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42960         multiarch objects.
42961         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42962         (__libc_ifunc_impl_list): Likewise.
42964         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42965         name.
42966         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42967         file.
42968         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42969         file.
42970         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42971         multiarch strchrnul for PPC32.
42972         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42973         multiarch objects.
42974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42975         (__libc_ifunc_impl_list): Likewise.
42977         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42978         file.
42979         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42980         multiarch strncasecmp for PPC32.
42981         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42982         file.
42983         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42984         multiarch strncasecmp_l for PPC32.
42985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42986         strncasecmp multiarch objects.
42987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42988         (__libc_ifunc_impl_list): Likewise.
42990         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42991         file.
42992         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42993         multiarch strncasecmp for PPC32.
42994         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42995         New file.
42996         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42997         multiarch strcasecmp_l for PPC32.
42998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42999         multiarch objects.
43000         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43001         (__libc_ifunc_impl_list): Likewise.
43003         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43004         file.
43005         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43006         file.
43007         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43008         multiarch strncmp for PPC32.
43009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43010         multiarch objects.
43011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43012         (__libc_ifunc_impl_list): Likewise.
43014         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43015         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43016         file.
43017         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43018         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43020         multiarch objects.
43021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43022         (__libc_ifunc_impl_list): Likewise.
43024         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43025         file.
43026         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43027         file.
43028         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43029         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43030         multiarch objects.
43031         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43032         (__libc_ifunc_impl_list): Likewise.
43034         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43035         file.
43036         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43037         file.
43038         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43039         multiarch rawmemchr for PPC32.
43040         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43041         multiarch objects.
43042         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43043         (__libc_ifunc_impl_list): Likewise.
43045         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43046         file.
43047         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43048         file.
43049         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43050         file: memrchr multiarch for PPC32.
43051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43052         multiarch objects.
43053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43054         (__libc_ifunc_impl_list): Likewise.
43056         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43057         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43058         file.
43059         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43060         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43061         multiarch memchr for PPC32.
43062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43063         multiarch objects.
43064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43065         (__libc_ifunc_impl_list): Likewise.
43067         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43068         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43069         file.
43070         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43071         file.
43072         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43073         file: multiarch mempcpy for PPC32.
43074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43075         multiarch objects.
43076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43077         (__libc_ifunc_impl_list): Likewise.
43079         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43080         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43081         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43082         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43083         multiarch bzero for PPC32.
43084         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43085         file.
43086         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43087         file.
43088         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43089         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43090         file: multiarch memset for PPC32.
43091         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43093         memset multiarch objects.
43094         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43095         (__libc_ifunc_impl_list): Likewise.
43097         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43098         file.
43099         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43100         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43101         memcmp for PPC32.
43102         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43104         multiarch objects.
43105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43106         (__libc_ifunc_impl_list): Likewise.
43108         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43109         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43110         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43111         file.
43112         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43113         file.
43114         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43115         file.
43116         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43117         multiarch memcpy for PPC32.
43118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43119         multiarch objects.
43120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43121         (__libc_ifunc_impl_list): Likewise.
43123         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43124         support multiarch for POWER/PPC32.
43125         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43126         Likewise.
43127         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43129         Implies file to make multiarch folder appers before the fpu and
43130         default folder for power4 configuration.
43132 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43134         * scripts/bench.pl: Append volatile keyword to type.
43136 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43138         * sysdeps/sh/sotruss-lib.c: New file.
43139         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43141 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43145 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43147         [BZ #6810]
43148         * math/w_tgamma.c: Include <errno.h>.
43149         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43150         * math/w_tgammaf.c: Include <errno.h>.
43151         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43152         * math/w_tgammal.c: Include <errno.h>.
43153         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43154         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43155         underflow.  Add more tgamma tests.
43156         * math/auto-libm-test-out: Regenerated.
43157         * sysdeps/i386/fpu/libm-test-ulps: Update.
43158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43160         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43161         sin, sinh, tan, tanh, tgamma, y0 and y1.
43162         * math/auto-libm-test-out: Regenerated.
43163         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43164         (TEST_COND_x86): Likewise.
43165         (M_E2l): Remove macro.
43166         (M_E3l): Likewise.
43167         (M_2_SQRT_PIl): Likewise.
43168         (M_SQRT_PIl): Likewise.
43169         (M_1_DIV_El): Likewise.
43170         (log_test_data): Use AUTO_TESTS_f_f.
43171         (log10_test_data): Likewise.
43172         (log1p_test_data): Likewise.
43173         (log2_test_data): Likewise.
43174         (sin_test_data): Likewise.
43175         (sin_tonearest_test_data): Likewise.
43176         (sin_towardzero_test_data): Likewise.
43177         (sin_downward_test_data): Likewise.
43178         (sin_upward_test_data): Likewise.
43179         (sinh_test_data): Likewise.
43180         (sinh_tonearest_test_data): Likewise.
43181         (sinh_towardzero_test_data): Likewise.
43182         (sinh_downward_test_data): Likewise.
43183         (sinh_upward_test_data): Likewise.
43184         (tan_test_data): Likewise.
43185         (tan_tonearest_test_data): Likewise.
43186         (tan_towardzero_test_data): Likewise.
43187         (tan_downward_test_data): Likewise.
43188         (tan_upward_test_data): Likewise.
43189         (tanh_test_data): Likewise.
43190         (tgamma_test_data): Likewise.
43191         (y0_test_data): Likewise.
43192         (y1_test_data): Likewise.
43193         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43194         (special_real_inputs): Add pi/4.
43195         * sysdeps/i386/fpu/libm-test-ulps: Update.
43196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43198 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43200         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43201         "longjmp_target" static probes.
43202         (__longjmp): Rename to __longjmp_symbol.
43203         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43204         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43205         on which longjmp to generate.
43206         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43207         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43208         probe.
43209         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43210         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43211         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43212         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43213         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43214         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43216         __longjmp_symbol based on which __longjmp to generate.
43217         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43218         probe.
43219         (setjmp): Rename to setjmp_symbol.
43220         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43221         (_setjmp): Rename to _setjmp_symbol.
43222         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43223         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43224         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43225         which setjmp to generate.
43226         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43227         "longjmp_target" static probes.
43229 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43231         * benchtests/README: Add note about output arguments.
43232         * benchtests/bench-sincos.c: Remove file.
43233         * benchtests/sincos-inputs: New file.
43234         * scripts/bench.pl: Identify output arguments and define
43235         static variables for them.
43237         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43239         [BZ #15941]
43240         * Makefile (INSTALL): Add install-plain.texi as the primary
43241         dependency.
43242         * manual/install-plain.texi: New file.
43243         * manual/install.texi: Include node directive only for
43244         non-plaintext output.
43246 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43248         * stdlib/longlong.h: Update from GCC.
43250         [BZ #6807]
43251         [BZ #15901]
43252         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43253         * math/w_j0f.c (y0f): Likewise.
43254         * math/w_j0l.c (__y0l): Likewise.
43255         * math/w_j1.c (y1): Likewise.
43256         * math/w_j1f.c (y1f): Likewise.
43257         * math/w_j1l.c (__y1l): Likewise.
43258         * math/w_jn.c (yn): Likewise.
43259         * math/w_jnf.c (ynf): Likewise.
43260         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43261         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43262         value for Bessel function domain errors outside _SVID_ mode.
43263         Adjust sign of return value for yn (negative integer, 0).
43264         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43265         by zero in return for negative x and set sign appropriately for
43266         negative n.
43267         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43268         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43269         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43270         expectations in error cases.
43271         (y1_test_data): Likewise.
43272         (yn_test_data): Likewise.
43273         * sysdeps/i386/fpu/libm-test-ulps: Update.
43274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43276 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43278         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43279         "64" to "64-v1".  Add "64-v2".
43280         (abi-64-options): Rename to ...
43281         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43282         (abi-64-condition): Rename to ...
43283         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43284         (abi-64-ld-soname): Rename to ...
43285         (abi-64-v1-ld-soname): ... this.
43286         (abi-64-v2-options): Define.
43287         (abi-64-v2-condition): Likewise.
43288         (abi-64-v2-ld-soname): Likewise.
43289         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43290         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43295 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43296             Alan Modra  <amodra@gmail.com>
43298         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43299         New versions for use with the ELFv2 ABI.
43300         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43301         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43302         declaration.
43303         (struct La_ppc64v2_retval): Likewise.
43304         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43305         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43306         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43307         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43308         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43309         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43310         Do not save or restore CR.
43311         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43312         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43313         return values for ELFv2 ABI.  Fix location of FPR return registers.
43314         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43315         updated values for _CALL_ELF == 2.
43316         (La_regs, La_retval, int_retval): Likewise.
43318 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43320         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43321         (FRAME_MIN_SIZE_PARM): Likewise.
43322         (FRAME_BACKCHAIN): Likewise.
43323         (FRAME_CR_SAVE): Likewise.
43324         (FRAME_LR_SAVE): Likewise.
43325         (FRAME_TOC_SAVE): Likewise.
43326         (FRAME_PARM_SAVE): Likewise.
43327         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43328         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43329         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43330         (call_mcount_parm_offset): New macro.
43331         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43332         (PROF): Use symbolic stack frame offsets.
43333         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43334         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43335         Redefine in terms of FRAME_MIN_SIZE.
43336         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43337         (_dl_profile_resolve): Likewise.  Update comment.
43338         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43339         symbols stack frame offsets.
43340         (__sigsetjmp): Likewise.
43341         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43342         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43343         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43344         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43347         (FRAME_BACKCHAIN): Remove.
43348         (FRAME_CR_SAVE): Likewise.
43349         (FRAME_LR_SAVE): Likewise.
43350         (FRAME_COMPILER_DW): Likewise.
43351         (FRAME_LINKER_DW): Likewise.
43352         (FRAME_TOC_SAVE): Likewise.
43353         (FRAME_PARM_SAVE): Likewise.
43354         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43355         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43356         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43358         (CHECK_SP): Use symbolic stack frame offsets.
43359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43360         zone" instead of caller's parameter save area for temp storage.
43361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43362         Likewise.  Also, use symbolic stack frame offsets.
43363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43364         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43365         our own stack frame instead of the caller's.
43366         (__socket): Use symbolic stack frame offsets.
43368 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43369             Alan Modra  <amodra@gmail.com>
43371         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43372         Define.
43373         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43374         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43375         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43376         New function.
43377         (elf_machine_fixup_plt): Call it.
43378         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43379         reloc arguments.
43380         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43381         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43382         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43383         r2 before calling target.
43385 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43386             Alan Modra  <amodra@gmail.com>
43388         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43389         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43390         versions of macros to support ELFv2 ABI.
43391         (LOCALENTRY): New macro.
43392         (ENTRY, EALIGN): Use it.
43393         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43394         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43395         fall through into ENTRY entry point.
43396         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43397         Only define if _CALL_ELF != 2.
43399         (elf_machine_matches_host): Verify ABI version matches.
43400         (RTLD_START): Use LOCALENTRY.
43401         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43402         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43403         (PLT_ENTRY_WORDS): New macro.
43404         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43405         (elf_machine_runtime_setup): Support ELFv2 ABI.
43406         (elf_machine_fixup_plt): Likewise.
43407         (elf_machine_plt_conflict): Likewise.
43408         (resolve_ifunc): Likewise.
43409         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43410         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43411         Likewise.
43412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43413         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43415         (makecontext): Support ELFv2 ABI.
43416         * elf/elf.h (EF_PPC64_ABI): Define.
43418 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43420         * sysdeps/powerpc/powerpc64/sysdep.h
43421         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43422         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43423         (ENTRY) [ASSEMBLER]: ... but instead here ...
43424         (EALIGN) [ASSEMBLER]: ... and here.
43425         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43426         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43427         (ENTRY_2) [!ASSEMBLER]: Use it.
43428         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43429         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43430         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43431         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43432         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43434         Use PPC64_LOAD_FUNCPTR.
43436         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43438 2013-12-04  Alan Modra  <amodra@gmail.com>
43440         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43441         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43442         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43443         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43445         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43446         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43447         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43448         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43449         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43450         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43452 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43455         (__makecontext): Fix incorrect CFI when backtracing out of
43456         context created via makecontext.
43457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43458         (__setcontext): Fix incorrect CFI during switch to new context.
43459         (__novec_setcontext): Likewise.
43461 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43463         [BZ #4772]
43464         * time/strptime_l.c (__strptime_internal): Allow modifiers
43465         in strptime.
43466         * time/tst-strptime.c (day_tests): Add testcase.
43468 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43470         * scripts/bench.pl: Skip over blank lines.
43472 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43474         [BZ #926]
43475         * manual/time.texi (Calendar Time): Clarify what timezone functions
43476         use.
43478 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43482 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43484         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43485         implementation.
43486         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43487         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43488         * debug/memset_chk.c (__memset_chk): Likewise.
43489         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43490         * debug/strncpy_chk.c: Likewise.
43492 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43494         [BZ #15268]
43495         [BZ #15425]
43496         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43497         (__ieee754_exp): For possibly underflowing results, check size of
43498         result and force underflow exception if required.
43499         * math/auto-libm-test-in: Add more tests of exp.
43500         * math/auto-libm-test-out: Regenerated.
43501         * sysdeps/i386/fpu/libm-test-ulps: Update.
43502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43504         [BZ #16283]
43505         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43506         * math/w_exp2f.c (__exp2f): Likewise.
43507         * math/w_exp2l.c (__exp2l): Likewise.
43508         * math/auto-libm-test-in: Do not allow missing errno on exp2
43509         underflow.
43510         * math/auto-libm-test-out: Regenerated.
43512 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43514         [BZ #16274]
43515         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43516         handle filename validation.
43517         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43518         (do_open): Delete.
43520 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43522         [BZ #6786]
43523         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43524         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43525         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43526         <float.h>.
43527         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43528         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43529         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43530         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43531         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43532         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43533         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43534         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43535         Add more erfc tests.
43536         * math/auto-libm-test-out: Regenerated.
43537         * sysdeps/i386/fpu/libm-test-ulps: Update.
43538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43540         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43541         exp2, expm1, j0 and j1.
43542         * math/auto-libm-test-out: Regenerated.
43543         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43544         (erfc_test_data): Likewise.
43545         (exp_test_data): Likewise.
43546         (exp_tonearest_test_data): Likewise.
43547         (exp_towardzero_test_data): Likewise.
43548         (exp_downward_test_data): Likewise.
43549         (exp_upward_test_data): Likewise.
43550         (exp10_test_data): Likewise.
43551         (exp2_test_data): Likewise.
43552         (expm1_test_data): Likewise.
43553         (j0_test_data): Likewise.
43554         (j1_test_data): Likewise.
43555         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43556         (input_flag_type): Add flag_xfail_rounding.
43557         (input_flags): Add xfail-rounding.
43558         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43559         (output_for_one_input_case): Handle flag_xfail_rounding.
43560         * sysdeps/i386/fpu/libm-test-ulps: Update.
43561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43563 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43565         [BZ #16289]
43566         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43567         division by 0.
43569 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43571         [BZ #16195]
43572         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43573         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43574         (STAP_PROBE0): New macro.
43575         (STAP_PROBE1): Likewise.
43576         (STAP_PROBE2): Likewise.
43577         (STAP_PROBE3): Likewise.
43578         (STAP_PROBE4): Likewise.
43580 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43582         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43584 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43586         * benchtests/Makefile (bench): Add sqrt.
43587         (LDLIBS-bench-sqrt): New.
43588         * benchtests/sqrt-input: New.
43590 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43592         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43593         (GAIH_EAI): Likewise.
43594         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43595         (gaih_inet): Likewise.
43596         (getaddrinfo): Don't use GAIH_EAI.
43598         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43599         (struct gaih): Remove definition.
43601 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43603         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43604         Use HERRNOP directly.
43606 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43610 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43612         * math/gen-auto-libm-tests.c (test_functions): Add more
43613         single-argument functions.
43614         (special_fill_pi_2): New function.
43615         (special_fill_minus_pi_2): Likewise.
43616         (special_fill_pi_6): Likewise.
43617         (special_fill_minus_pi_6): Likewise.
43618         (special_fill_pi_3): Likewise.
43619         (special_fill_2pi_3): Likewise.
43620         (special_fill_e): Likewise.
43621         (special_fill_1_e): Likewise.
43622         (special_fill_e_minus_1): Likewise.
43623         (special_real_inputs): Add more special inputs.
43624         (output_for_one_input_case): Do not require ERANGE on underflow to
43625         zero if round-to-nearest result does not underflow to zero, unless
43626         exact results required.
43627         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43628         atan, atanh, cbrt, cos and cosh.
43629         * math/auto-libm-test-out: Regenerated.
43630         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43631         (acos_tonearest_test_data): Likewise.
43632         (acos_towardzero_test_data): Likewise.
43633         (acos_downward_test_data): Likewise.
43634         (acos_upward_test_data): Likewise.
43635         (acosh_test_data): Likewise.
43636         (asin_test_data): Likewise.
43637         (asin_tonearest_test_data): Likewise.
43638         (asin_towardzero_test_data): Likewise.
43639         (asin_upward_test_data): Likewise.
43640         (asinh_test_data): Likewise.
43641         (atan_test_data): Likewise.
43642         (atanh_test_data): Likewise.
43643         (cbrt_test_data): Likewise.
43644         (cos_test_data): Likewise.
43645         (cos_tonearest_test_data): Likewise.
43646         (cos_towardzero_test_data): Likewise.
43647         (cos_downward_test_data): Likewise.
43648         (cos_upward_test_data): Likewise.
43649         (cosh_test_data): Likewise.
43650         (cosh_tonearest_test_data): Likewise.
43651         (cosh_towardzero_test_data): Likewise.
43652         (cosh_downward_test_data): Likewise.
43653         (cosh_upward_test_data): Likewise.
43654         * sysdeps/i386/fpu/libm-test-ulps: Update.
43655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43657 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43659         [BZ #6787]
43660         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43661         * math/w_exp10f.c (__exp10f): Likewise.
43662         * math/w_exp10l.c (__exp10l): Likewise.
43663         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43664         errno settings in existing tests.
43666         [BZ #14032]
43667         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43668         precision control set to double precision.
43669         * sysdeps/i386/fpu/w_sqrt.c: New file.
43670         * math/auto-libm-test-in: Add more tests.
43671         * math/auto-libm-test-out: Update.
43673         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43674         (sqrt_test_tonearest): New function.
43675         (sqrt_towardzero_test_data): New variable.
43676         (sqrt_test_towardzero): New function.
43677         (sqrt_downward_test_data): New variable.
43678         (sqrt_test_downward): New function.
43679         (sqrt_upward_test_data): New variable.
43680         (sqrt_test_upward): New function.
43681         (main): Call the new functions.
43683         * math/gen-auto-libm-tests.c: New file.
43684         * math/auto-libm-test-in: Likewise.
43685         * math/auto-libm-test-out: New generated file.
43686         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43687         variables.
43688         (%beautify): Add generated representations of zero.
43689         (top level): Set $auto_input and call parse_auto_input.
43690         (beautify): Remove trailing "f" from hex float constants.
43691         (parse_args): Handle XFAIL_TEST.
43692         (convert_condition): New function.
43693         (or_value): Likewise.
43694         (or_cond_value): Likewise.
43695         (generate_testfile): Handle AUTO_TESTS_* lines.
43696         (parse_auto_input): New function.
43697         * math/libm-test.inc (XFAIL_TEST): New macro.
43698         (ERRNO_UNCHANGED): Update value.
43699         (ERRNO_EDOM): Likewise.
43700         (ERRNO_ERANGE): Likewise.
43701         (IGNORE_RESULT): Likewise.
43702         (TEST_COND_flt_32): New macro.
43703         (TEST_COND_dbl_64): Likewise.
43704         (TEST_COND_ldbl_96_intel): Likewise.
43705         (TEST_COND_ldbl_96_m68k): Likewise.
43706         (TEST_COND_ldbl_128): Likewise.
43707         (TEST_COND_ldbl_128ibm): Likewise.
43708         (TEST_COND_long32): Likewise.
43709         (TEST_COND_long64): Likewise.
43710         (TEST_COND_before_rounding): Likewise.
43711         (TEST_COND_after_rounding): Likewise.
43712         (enable_test): Handle XFAIL_TEST flag.
43713         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43714         with finite results.
43715         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43716         auto-libm-test-out.
43718 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43719             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43721         [BZ #16214]
43722         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43723         __tls_get_addr_internal instead of __tls_get_offset in order to
43724         avoid GOT pointer dependency.  Make rtld export
43725         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43726         __tls_get_addr since we are a __tls_get_offset platform.
43727         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43728         GOT pointer being set up before.
43729         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43731 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43733         * manual/math.texi (Errors in Math Functions): Document accuracy
43734         goals.
43736         [BZ #15004]
43737         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43738         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43739         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43740         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43741         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43742         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43743         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43744         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43745         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43746         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43747         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43748         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43749         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43750         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43751         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43752         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43754         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43755         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43756         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43757         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43758         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43759         Likewise.
43760         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43761         Likewise.
43762         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43763         Likewise.
43764         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43765         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43766         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43767         atomic-feupdateenv and flt-rounds.
43768         * sysdeps/powerpc/nofpu/Versions (libc): Add
43769         __atomic_feholdexcept, __atomic_feclearexcept,
43770         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43771         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43772         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43773         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43774         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43775         here.
43776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43777         Update.
43779         * manual/arith.texi (FP Exceptions): Document that exceptions may
43780         not be raised when matherr is used.
43781         (Math Error Reporting): Document overflow in directed rounding
43782         modes.  Document that errno may not be set when finite values are
43783         returned on overflow.  Document intent to set errno on underflow
43784         only for underflow to zero.
43786         [BZ #16271]
43787         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43788         round-to-nearest then adjust result for other rounding modes.
43789         * include/fenv.h (fegetround): Use libm_hidden_proto.
43790         * math/fegetround.c (fegetround): Use libm_hidden_def.
43791         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43792         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43793         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43794         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43795         Likewise.
43796         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43797         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43798         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43799         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43801 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43803         [BZ #16077]
43804         * nss/Versions (libnss_files): Add
43805         _nss_files_gethostbyname3_r.
43806         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43807         New function.
43808         (HOST_DB_LOOKUP): Remove macro.
43809         (_nss_files_gethostbyname_r): Implement function without the
43810         HOST_DB_LOOKUP macro.
43811         (_nss_files_gethostbyname2_r): Likewise.
43813 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
43815         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43817 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
43819         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43820         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43821         warning.
43823 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43825         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43826         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43827         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43828         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43829         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43830         __fe_nomask_env_priv and attribute_hidden.
43831         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43832         (libc_feupdateenv_test_ppc): Likewise.
43833         (libc_feresetround_ppc): Likewise.
43834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43835         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43836         compat_symbol macro.
43837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43838         (__fe_nomask_env): Likewise.
43839         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43841 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43843         * string/Makefile: Remove ifunc tests.
43844         * string/test-string.h: Define TEST_IFUNC.
43845         * string/test-bcopy-ifunc.c: Remove.
43846         * string/test-bzero-ifunc.c: Likewise.
43847         * string/test-memccpy-ifunc.c: Likewise.
43848         * string/test-memchr-ifunc.c: Likewise.
43849         * string/test-memcmp-ifunc.c: Likewise.
43850         * string/test-memcpy-ifunc.c: Likewise.
43851         * string/test-memmem-ifunc.c: Likewise.
43852         * string/test-memmove-ifunc.c: Likewise.
43853         * string/test-mempcpy-ifunc.c: Likewise.
43854         * string/test-memrchr-ifunc.c: Likewise.
43855         * string/test-memset-ifunc.c: Likewise.
43856         * string/test-rawmemchr-ifunc.c: Likewise.
43857         * string/test-stpcpy-ifunc.c: Likewise.
43858         * string/test-stpncpy-ifunc.c: Likewise.
43859         * string/test-strcasecmp-ifunc.c: Likewise.
43860         * string/test-strcasestr-ifunc.c: Likewise.
43861         * string/test-strcat-ifunc.c: Likewise.
43862         * string/test-strchr-ifunc.c: Likewise.
43863         * string/test-strchrnul-ifunc.c: Likewise.
43864         * string/test-strcmp-ifunc.c: Likewise.
43865         * string/test-strcpy-ifunc.c: Likewise.
43866         * string/test-strcspn-ifunc.c: Likewise.
43867         * string/test-strlen-ifunc.c: Likewise.
43868         * string/test-strncasecmp-ifunc.c: Likewise.
43869         * string/test-strncat-ifunc.c: Likewise.
43870         * string/test-strncmp-ifunc.c: Likewise.
43871         * string/test-strncpy-ifunc.c: Likewise.
43872         * string/test-strnlen-ifunc.c: Likewise.
43873         * string/test-strpbrk-ifunc.c: Likewise.
43874         * string/test-strrchr-ifunc.c: Likewise.
43875         * string/test-strspn-ifunc.c: Likewise.
43876         * string/test-strstr-ifunc.c: Likewise.
43878 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43880         * benchtests/Makefile: Remove ifunc tests.
43881         * benchtests/bench-string.h: Define TEST_IFUNC.
43882         * benchtests/bench-bcopy-ifunc.c: Remove.
43883         * benchtests/bench-bzero-ifunc.c: Likewise.
43884         * benchtests/bench-memccpy-ifunc.c: Likewise.
43885         * benchtests/bench-memchr-ifunc.c: Likewise.
43886         * benchtests/bench-memcmp-ifunc.c: Likewise.
43887         * benchtests/bench-memcpy-ifunc.c: Likewise.
43888         * benchtests/bench-memmem-ifunc.c: Likewise.
43889         * benchtests/bench-memmove-ifunc.c: Likewise.
43890         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43891         * benchtests/bench-memrchr-ifunc.c: Likewise.
43892         * benchtests/bench-memset-ifunc.c: Likewise.
43893         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43894         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43895         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43896         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43897         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43898         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43899         * benchtests/bench-strcat-ifunc.c: Likewise.
43900         * benchtests/bench-strchr-ifunc.c: Likewise.
43901         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43902         * benchtests/bench-strcmp-ifunc.c: Likewise.
43903         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43904         * benchtests/bench-strcpy-ifunc.c: Likewise.
43905         * benchtests/bench-strcspn-ifunc.c: Likewise.
43906         * benchtests/bench-strlen-ifunc.c: Likewise.
43907         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43908         * benchtests/bench-strncat-ifunc.c: Likewise.
43909         * benchtests/bench-strncmp-ifunc.c: Likewise.
43910         * benchtests/bench-strncpy-ifunc.c: Likewise.
43911         * benchtests/bench-strnlen-ifunc.c: Likewise.
43912         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43913         * benchtests/bench-strrchr-ifunc.c: Likewise.
43914         * benchtests/bench-strsep-ifunc.c: Likewise.
43915         * benchtests/bench-strspn-ifunc.c: Likewise.
43916         * benchtests/bench-strstr-ifunc.c: Likewise.
43918 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43920         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43922 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43924         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43925         * rt/aio.h: Likewise.
43926         * sysdeps/gnu/bits/utmp.h: Likewise.
43927         * sysdeps/gnu/bits/utmpx.h: Likewise.
43928         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43929         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43930         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43931         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43932         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43933         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43934         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43935         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43936         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43937         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43938         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43939         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43940         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43942         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43943         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43944         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43945         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43946         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43947         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43948         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43949         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43950         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43951         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43952         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43953         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43954         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43955         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43956         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43957         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43958         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43959         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43960         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43961         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43962         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43963         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43964         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43965         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43966         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43967         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43968         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43969         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43971 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43973         [BZ #16245]
43974         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43975         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43977 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43979         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43980         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43981         Likewise.
43983 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43985         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43986         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43987         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43988         (__fesetround): Remove define.
43989         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43990         rounding and exceptions handling.
43991         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43992         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43993         (__fe_nomask_env): Likewise.
43994         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43995         __fegetround instead of fegetround.
43996         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43997         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43999 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44001         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44002         it's there.
44004         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44006 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44008         [BZ #11157]
44009         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44010         (encrypt_r): Likewise.
44011         * malloc/obstack.h (obstack_free): Likewise.
44012         * posix/unistd.h (encrypt): Likewise.
44014 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44016         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44017         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44018         DL_CALL_DT_FINI() that call the functions directly.
44019         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44020         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44021         * elf/dl-fini.c: Likewise.
44023 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44025         * malloc/hooks.c (memalign_check): Add alignment rounding.
44026         * malloc/malloc.c (_mid_memalign): New function.
44027         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44028         Implement by calling _mid_memalign.
44029         * manual/probes.texi (Memory Allocation Probes): Remove
44030         memory_valloc_retry and memory_pvalloc_retry.
44032 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44034         * locale/programs/locarchive.c (open_archive): Add const
44035         qualifier to ARCHIVEFNAME and copy default fname to
44036         DEFAULT_FNAME.
44038         [BZ #15601]
44039         * libio/tst-widetext.input: Rename Oriya to Odia.
44040         * locale/iso-639.def: Likewise.
44042         * manual/probes.texi (Mathematical Function Probes): Add
44043         documentation for sin, cos, asin and acos probes.
44044         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44045         (__sin32): Add slowasin probe.
44046         (__cos32): Add slowacos probe.
44047         (__mpsin): Add slowsin probe.
44048         (__mpcos): Add slowcos probe.
44050 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44052         [BZ #15483]
44053         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44054         thread-local __sim_exceptions_thread and global
44055         __sim_exceptions_global.
44056         (__sim_disabled_exceptions): Change to thread-local
44057         __sim_disabled_exceptions_thread and global
44058         __sim_disabled_exceptions_global.
44059         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44060         and global __sim_round_mode_global.
44061         (__simulate_exceptions): Use thread-local floating-point state and
44062         set global state from it as needed.
44063         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44064         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44065         __sim_round_mode_thread.
44066         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44067         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44068         and global __sim_exceptions_global.
44069         (__sim_disabled_exceptions): Change to thread-local
44070         __sim_disabled_exceptions_thread and global
44071         __sim_disabled_exceptions_global.
44072         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44073         and global __sim_round_mode_global.
44074         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44075         (SIM_SET_GLOBAL): Likewise.
44076         * sysdeps/powerpc/soft-fp/sfp-machine.h
44077         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44078         __sim_round_mode_thread.
44079         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44080         __sim_disabled_exceptions_thread.
44081         (__sim_exceptions): Change to __sim_exceptions_thread.
44082         (__sim_disabled_exceptions): Change to
44083         __sim_disabled_exceptions_thread.
44084         (__sim_round_mode): Change to __sim_round_mode_thread.
44085         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44086         thread-local floating-point state and set global state from it as
44087         needed.
44088         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44089         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44090         (__sim_disabled_exceptions): Remove extern declaration.
44091         (feenableexcept): Use thread-local floating-point state and set
44092         global state from it as needed.
44093         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44094         extern declaration.
44095         (__sim_disabled_exceptions): Likewise.
44096         (__sim_round_mode): Likewise.
44097         (__fegetenv): Use thread-local floating-point state.
44098         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44099         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44100         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44101         floating-point state and set global state from it as needed.
44102         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44103         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44104         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44105         Likewise.
44106         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44107         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44108         Likewise.
44109         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44110         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44111         Use __sim_round_mode_thread.
44112         * math/test-fenv-tls.c: New file.
44113         * math/Makefile (tests): Add test-fenv-tls.
44114         ($(objpfx)test-fenv-tls): Depend on
44115         $(common-objpfx)nptl/libpthread.so.
44117 2013-11-19  Andreas Schwab  <schwab@suse.de>
44119         * locale/programs/locale.c (show_info): Decode wordarray elements.
44120         * locale/categories.def (LC_MONETARY): Add element for
44121         _NL_MONETARY_CRNCYSTR.
44122         * locale/C-monetary.c (conversion_rate): New variable.
44123         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44124         element.
44126 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44128         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44129         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44131 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44133         * elf/Makefile (tst-auxv): New test.
44134         * elf/tst-auxv.c: New
44135         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44137 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44139         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44140         (hidden_proto): Caller changed.
44141         (hidden_tls_proto): New macro.
44142         (libc_hidden_tls_proto): Likewise.
44143         (rtld_hidden_tls_proto): Likewise.
44144         (libm_hidden_tls_proto): Likewise.
44145         (libresolv_hidden_tls_proto): Likewise.
44146         (librt_hidden_tls_proto): Likewise.
44147         (libdl_hidden_tls_proto): Likewise.
44148         (libnss_files_hidden_tls_proto): Likewise.
44149         (libnsl_hidden_tls_proto): Likewise.
44150         (libnss_nisplus_hidden_tls_proto): Likewise.
44151         (libutil_hidden_tls_proto): Likewise.
44153 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44155         [BZ #10253]
44156         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44157         (decompose_rpath): Defer expansion to fillin_rpath.
44158         (_dl_init_paths): Pass linkmap to fillin_rpath.
44160 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44162         * benchtests/Makefile: Add strsep.
44163         * benchtests/bench-strsep.c: New file: strsep benchtest.
44164         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44166 2013-11-18  Andreas Schwab  <schwab@suse.de>
44168         * locale/programs/locale.c (show_info) [case byte]: Check for
44169         '\377' instead of '\177'.
44170         * locale/C-monetary.c (not_available): Always use "\377".
44171         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44172         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44173         detect unavailable sign_posn locale elements.
44174         * locale/localeconv.c (__localeconv): For grouping and
44175         mon_grouping handle "\177" and "\377" like no grouping.
44176         (INT_ELEM): New macro.  Use it to set all numeric members.
44177         * locale/programs/ld-monetary.c (monetary_read)
44178         <tok_mon_grouping>: Normalize single -1 to the empty string.
44179         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44180         Likewise.
44182 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44184         [BZ #16055]
44185         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44186         when we match (nil).
44187         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44189 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44191         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44192         (NO_TEST_INLINE): Update value.
44193         (ERRNO_UNCHANGED): Likewise.
44194         (ERRNO_EDOM): Likewise.
44195         (ERRNO_ERANGE): Likewise.
44196         (IGNORE_RESULT): Likewise.
44197         (check_float_internal): Check signs of NaN results if
44198         TEST_NAN_SIGN used.
44199         (check_complex): Pass TEST_NAN_SIGN flag through to second
44200         check_float_internal call.
44201         (copysign_test_data): Add tests with quiet NaNs as second
44202         argument.  Use TEST_NAN_SIGN.
44203         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44204         TEST_NAN_SIGN.
44205         (signbit_test_data): Add tests of quiet NaN argument.
44206         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44208         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44209         $ignore_result.
44210         (parse_args): Handle function results specified as IGNORE.
44211         * math/libm-test.inc (IGNORE_RESULT): New macro.
44212         (check_float_internal): Do not check numerical result if flag
44213         IGNORE_RESULT set.
44214         (check_complex): Pass through IGNORE_RESULT to second
44215         check_float_internal call.
44216         (check_int): Do not check numerical result if flag IGNORE_RESULT
44217         set.
44218         (check_long): Likewise.
44219         (check_bool): Likewise.
44220         (check_longlong): Likewise.
44221         (lrint_test_data): Add tests of infinite and NaN arguments.
44222         (lrint_tonearest_test_data): Likewise.
44223         (lrint_towardzero_test_data): Likewise.
44224         (lrint_downward_test_data): Likewise.
44225         (lrint_upward_test_data): Likewise.
44226         (llrint_test_data): Likewise.
44227         (llrint_tonearest_test_data): Likewise.
44228         (llrint_towardzero_test_data): Likewise.
44229         (llrint_downward_test_data): Likewise.
44230         (llrint_upward_test_data): Likewise.
44231         (lround_test_data): Likewise.
44232         (llround_test_data): Likewise.
44234         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44235         (ERRNO_UNCHANGED): Update value.
44236         (ERRNO_EDOM): Likewise.
44237         (ERRNO_ERANGE): Likewise.
44238         (NO_TEST_INLINE_FLOAT): New macro.
44239         (NO_TEST_INLINE_DOUBLE): Likewise.
44240         (enable_test): New function.
44241         (RUN_TEST_f_f): Check enable_test before running test.
44242         (RUN_TEST_2_f): Likewise.
44243         (RUN_TEST_fff_f): Likewise.
44244         (RUN_TEST_c_f): Likewise.
44245         (RUN_TEST_f_f1): Likewise.
44246         (RUN_TEST_fF_f1): Likewise.
44247         (RUN_TEST_fI_f1): Likewise.
44248         (RUN_TEST_ffI_f1): Likewise.
44249         (RUN_TEST_c_c): Likewise.
44250         (RUN_TEST_cc_c): Likewise.
44251         (RUN_TEST_f_i): Likewise.
44252         (RUN_TEST_f_i_tg): Likewise.
44253         (RUN_TEST_ff_i_tg): Likewise.
44254         (RUN_TEST_f_b): Likewise.
44255         (RUN_TEST_f_b_tg): Likewise.
44256         (RUN_TEST_f_l): Likewise.
44257         (RUN_TEST_f_L): Likewise.
44258         (RUN_TEST_fFF_11): Likewise.
44259         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44260         conditionals.
44261         (cosh_test_data): Likewise.
44262         (exp_test_data): Likewise.
44263         (expm1_test_data): Likewise.
44264         (hypot_test_data): Likewise.
44265         (pow_test_data): Likewise.
44266         (sinh_test_data): Likewise.
44267         (tanh_test_data): Likewise.
44268         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44269         flags argument.
44271         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44272         tests with quiet NaN input and output.
44273         (acosh_test_data): Likewise.
44274         (asin_test_data): Likewise.
44275         (asinh_test_data): Likewise.
44276         (atan_test_data): Likewise.
44277         (atanh_test_data): Likewise.
44278         (atan2_test_data): Likewise.
44279         (cbrt_test_data): Likewise.
44280         (cos_test_data): Likewise.
44281         (cosh_test_data): Likewise.
44282         (erf_test_data): Likewise.
44283         (erfc_test_data): Likewise.
44284         (exp_test_data): Likewise.
44285         (exp10_test_data): Likewise.
44286         (exp2_test_data): Likewise.
44287         (expm1_test_data): Likewise.
44288         (hypot_test_data): Likewise.
44289         (j0_test_data): Likewise.
44290         (j1_test_data): Likewise.
44291         (jn_test_data): Likewise.
44292         (lgamma_test_data): Likewise.
44293         (log_test_data): Likewise.
44294         (log10_test_data): Likewise.
44295         (log1p_test_data): Likewise.
44296         (log2_test_data): Likewise.
44297         (pow_test_data): Likewise.
44298         (scalb_test_data): Likewise.
44299         (sin_test_data): Likewise.
44300         (sincos_test_data): Likewise.
44301         (sinh_test_data): Likewise.
44302         (tan_test_data): Likewise.
44303         (tanh_test_data): Likewise.
44304         (tgamma_test_data): Likewise.
44305         (y0_test_data): Likewise.
44306         (y1_test_data): Likewise.
44307         (yn_test_data): Likewise.
44309         [BZ #16167]
44310         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44311         argument being NaN and avoid computations with second argument in
44312         that case.
44313         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44314         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44315         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44317 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44319         * locale/iso-639.def: Add Chitwani Tharu (the).
44321 2013-11-14  Andreas Schwab  <schwab@suse.de>
44323         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44324         word instead of empty string.
44326 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44329         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44331         (__fe_nomask_env): Likewise.
44333 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44335         * benchtests/bench-timing.h: Include time.h.
44337 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44339         [BZ #15997]
44340         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44341         to 3.4.0 for x32.
44342         * sysdeps/unix/sysv/linux/configure: Regenerated.
44344 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44346         [BZ #16151]
44347         * stdlib/strtod_l.c (round_and_return): Do not consider
44348         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44349         exponent one less than half the least subnormal exponent.
44350         * stdlib/test-strtod-round-data: Add more tests.
44351         * stdlib/tst-strtod-round.c (tests): Regenerated.
44353 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44355         [BZ #14143]
44356         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44357         (__fe_mask_env): Likewise.
44358         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44359         libm_hidden_proto and add function prototype.
44360         (__fe_mask_env): Add function prototype.
44361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44362         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44364         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44366         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44368 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44370         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44371         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44373 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44375         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44376         of htab_find_slot().
44378 2013-11-11  David S. Miller  <davem@davemloft.net>
44380         [BZ #16150]
44381         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44382         symbol in the non-vis3 case in static builds.
44383         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44384         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44385         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44386         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44388 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44390         [BZ #387]
44391         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44392         it is empty.
44394 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44396         * benchtests/Makefile: Add bench-strtod.
44397         * benchtests/bench-strtod.c: New file: strtod benchtest
44399 2013-11-11  Andreas Schwab  <schwab@suse.de>
44401         [BZ #16153]
44402         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44403         terminating NUL in key length.
44405 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44407         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44408         Add artificial ODP entry for vDSO symbol for PPC64.
44409         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44410         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44412 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44414         [BZ #15374]
44415         * nss/getent.c (services_keys): Recognize services starting with digit.
44417 2013-11-06  David S. Miller  <davem@davemloft.net>
44419         [BZ #15985]
44420         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44421         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44423 2013-11-06  Will Newton  <will.newton@linaro.org>
44425         * manual/memory.texi (Malloc Examples): Remove register
44426         keyword from examples.
44428 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44430         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44432 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44434         [BZ #6981]
44435         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44436         depending on [__GCC_IEC_559 > 0].
44437         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44438         depending on [__GCC_IEC_559_COMPLEX > 0].
44440 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44442         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44443         to iso-639.def.
44445 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44447         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44449 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44451         [BZ #16112]
44452         * malloc/malloc (malloc_info): Do not handle first bin as
44453         special case.
44455 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44457         * locale/iso-639.def: Add Central Nahuatl (nhn).
44459 2013-11-01  Bruno Haible  <bruno@clisp.org>
44461         [BZ #7003]
44462         * manual/math.texi (BSD Random): Specify range upper bound as
44463         in POSIX.
44465 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44467         * locale/iso-639.def: Add Meadow Mari (mhr).
44469 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44471         [BZ #14752], [BZ #15763]
44472         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44473         Validate name.
44474         * rt/tst_shm.c: Add test for escaping directory.
44476 2013-10-31  Andreas Schwab  <schwab@suse.de>
44478         [BZ #15917]
44479         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44480         followed by 'x' as part of digit sequence.
44481         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44483 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44485         [BZ #16037]
44486         * configure.ac: allow GNU Make 4.0 and greater.
44487         * configure: Regenerated.
44489 2013-10-30  Will Newton  <will.newton@linaro.org>
44491         [BZ #16038]
44492         * malloc/hooks.c (memalign_check): Limit alignment to the
44493         maximum representable power of two.
44494         * malloc/malloc.c (__libc_memalign): Likewise.
44495         * malloc/tst-memalign.c (do_test): Add test for very
44496         large alignment values.
44497         * malloc/tst-posix_memalign.c (do_test): Likewise.
44499 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44501         [BZ #11087]
44502         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44503         (munmap_chunk): Likewise.
44504         (mremap_chunk): Likewise.
44506 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44508         [BZ #15799]
44509         * stdlib/div.c (div): Remove obsolete code.
44510         * stdlib/ldiv.c (ldiv): Likewise.
44511         * stdlib/lldiv.c (lldiv): Likewise.
44513 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44515         [BZ #16071]
44516         * nss/nss_files/files-XXX.c (get_contents_ret): New
44517         enumerator.
44518         (get_contents): New function.
44519         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44521 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44523         * configure.in: Moved to ...
44524         * configure.ac: ... here. Change reference to configure.in
44525         to configure.ac.
44526         * sysdeps/arm/preconfigure.ac: ... here.
44527         configure.in to configure.ac.
44528         * sysdeps/gnu/configure.in: Moved to ...
44529         * sysdeps/gnu/configure.ac: ... here.
44530         * sysdeps/i386/configure.in: Moved to ...
44531         * sysdeps/i386/configure.ac: ... here.
44532         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44533         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44534         * sysdeps/mach/configure.in: Moved to ...
44535         * sysdeps/mach/configure.ac: ... here.
44536         * sysdeps/mach/hurd/configure.in: Moved to ...
44537         * sysdeps/mach/hurd/configure.ac: ... here.
44538         * sysdeps/powerpc/configure.in: Moved to ...
44539         * sysdeps/powerpc/configure.ac: ... here.
44540         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44541         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44542         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44543         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44544         * sysdeps/s390/s390-32/configure.in: Moved to ...
44545         * sysdeps/s390/s390-32/configure.ac: ... here.
44546         * sysdeps/s390/s390-64/configure.in: Moved to ...
44547         * sysdeps/s390/s390-64/configure.ac: ... here.
44548         * sysdeps/sh/configure.in: Moved to ...
44549         * sysdeps/sh/configure.ac: ... here.
44550         * sysdeps/sparc/configure.in: Moved to ...
44551         * sysdeps/sparc/configure.ac: ... here.
44552         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44553         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44554         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44555         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44556         * sysdeps/x86_64/configure.in: Moved to ...
44557         * sysdeps/x86_64/configure.ac: ... here.
44558         * sysdeps/x86_64/preconfigure.in: Moved to ...
44559         * sysdeps/x86_64/preconfigure.ac: ... here.
44560         * aclocal.m4: Change reference to configure.in to configure.ac.
44561         * config.h.in: Likewise.
44562         * manual/install.texi: Likewise.
44563         * manual/maint.texi: Likewise.
44564         * Makefile: Likewise.
44565         * malloc/Makefile: Likewise.
44566         * nscd/Makefile: Likewise.
44567         * Makeconfig: Change reference to configure.in and
44568         preconfigure.in to configure.ac and preconfigure.ac
44569         respectively.
44570         * INSTALL: Regenerated.
44571         * configure: Likewise.
44572         * sysdeps/gnu/configure: Likewise.
44573         * sysdeps/i386/configure: Likewise.
44574         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44575         * sysdeps/mach/configure: Likewise.
44576         * sysdeps/mach/hurd/configure: Likewise.
44577         * sysdeps/powerpc/configure: Likewise.
44578         * sysdeps/powerpc/powerpc32/configure: Likewise.
44579         * sysdeps/powerpc/powerpc64/configure: Likewise.
44580         * sysdeps/s390/s390-32/configure: Likewise.
44581         * sysdeps/s390/s390-64/configure: Likewise.
44582         * sysdeps/sh/configure: Likewise.
44583         * sysdeps/sparc/configure: Likewise.
44584         * sysdeps/unix/sysv/linux/configure: Likewise.
44585         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44586         * sysdeps/x86_64/configure: Likewise.
44587         * sysdeps/x86_64/preconfigure: Likewise.
44589 2013-10-29  Andreas Schwab  <schwab@suse.de>
44591         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44593 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44595         * benchtests/pow-inputs: Add new inputs.
44597         * benchtests/exp-inputs: Add new inputs.
44599         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44600         conditional check for return value.
44601         (__cos32): Likewise.
44603 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44605         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44606         to provide a boost for large inputs with word alignment.
44607         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44608         implementation based on optimized PPC64 strcpy.
44609         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44610         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44611         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44612         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44614 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44616         [BZ #2801]
44617         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44619 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44621         [BZ #14876]
44622         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44623         * time/tst-strptime.c (day_tests): Add testcase.
44625 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44627         [BZ #14029]
44628         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44630 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44632         [BZ #16074]
44633         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44634         MAP_FAILED on error.
44636 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44638         [BZ #16072]
44639         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44640         heap for large requests.
44642 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44644         [BZ #9954]
44645         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44646         result if the result has no associated interface.
44647         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44648         interface for all 127.X.Y.Z addresses.
44650 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44652         * locale/iso-639.def: Add Ligurian (lij)
44654 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44656         [BZ #15825]
44657         * sunrpc/rpc_main.c: Document rpcgen -5.
44659 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44661         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44663 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44665         [BZ #10278]
44666         * posix/glob.c: Match only directories when trailing slash is present.
44667         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44668         (main): Add testcase.
44670 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44672         [BZ #15670]
44673         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44675 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44677         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44678         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44679         AUTH_DES and cindex for FIPS 140-2.
44680         (DES Encryption): Add cindex FIPS 46-3.
44682         * locale/locarchive.h (struct locarhandle): Add fname.
44683         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44684         if an optional argument was specified to --list-archive,
44685         otherwise NULL.
44686         * locale/programs/locarchive.c (show_archive_content): Take new
44687         argument fname and pass it via ah.fname to open_archive.
44688         * locale/programs/localedef.h: Update decl.
44689         (open_archive): If AH->fname is non-null, open that file
44690         rather than the default file name, and don't ignore ENOENT.
44691         (create_archive): Set AH.fname to NULL.
44692         (delete_locales_from_archive): Likewise.
44693         (add_locales_to_archive): Likewise.
44694         * locale/programs/locfile.c (write_all_categories): Likewise.
44696 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44697             Aldy Hernandez  <aldyh@redhat.com>
44699         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44700         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44701         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44702         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44703         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44704         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44705         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44706         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44707         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44708         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44709         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44710         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44711         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44712         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44713         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44714         Likewise.
44715         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44716         Likewise.
44717         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44718         Likewise.
44719         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44720         Likewise.
44721         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44722         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44723         Likewise.
44724         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44725         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44726         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44727         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44728         Likewise.
44729         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44730         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44731         * sysdeps/powerpc/preconfigure: Likewise.
44732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44733         Likewise.
44734         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44735         Replace contents of file by #include of <fenv_libc.h>.
44736         * sysdeps/powerpc/soft-fp/sfp-machine.h
44737         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44738         and <sys/prctl.h>.
44739         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44740         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44741         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44742         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44743         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44744         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44746         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44747         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44748         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44749         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44750         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44752         Allow copysignl PLT reference to be missing.
44754 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44755             Joseph Myers  <joseph@codesourcery.com
44757         [BZ #15948]
44758         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44759         single character.
44760         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44762 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44764         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44765         * elf/tst-tls1.c: Likewise.
44766         * elf/tst-tls10.h: Likewise.
44767         * elf/tst-tls14.c: Likewise.
44768         * elf/tst-tls2.c: Likewise.
44769         * elf/tst-tls3.c: Likewise.
44770         * elf/tst-tls4.c: Likewise.
44771         * elf/tst-tls5.c: Likewise.
44772         * elf/tst-tls6.c: Likewise.
44773         * elf/tst-tls7.c: Likewise.
44774         * elf/tst-tls8.c: Likewise.
44775         * elf/tst-tls9.c: Likewise.
44776         * elf/tst-tlsmod1.c: Likewise.
44777         * elf/tst-tlsmod13.c: Likewise.
44778         * elf/tst-tlsmod13a.c: Likewise.
44779         * elf/tst-tlsmod14a.c: Likewise.
44780         * elf/tst-tlsmod16a.c: Likewise.
44781         * elf/tst-tlsmod16b.c: Likewise.
44782         * elf/tst-tlsmod2.c: Likewise.
44783         * elf/tst-tlsmod3.c: Likewise.
44784         * elf/tst-tlsmod4.c: Likewise.
44785         * elf/tst-tlsmod5.c: Likewise.
44786         * elf/tst-tlsmod6.c: Likewise.
44788 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
44790         [BZ #12486]
44791         * malloc/malloc.c: remove checks for statistics.
44793 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44795         [BZ #15277]
44796         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44797         * inet/tst-network.c: Add testcase.
44799 2013-10-17  Andreas Schwab  <schwab@suse.de>
44801         [BZ #15218]
44802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44803         to determine canonical name.
44805 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44807         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44808         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44809         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44810         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44811         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44812         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44813         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44814         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44815         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44816         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44817         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44818         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44819         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44820         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44821         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44822         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44823         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44824         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44825         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44826         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44827         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44828         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44831         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44832         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44834         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44835         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44836         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44837         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44838         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44839         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44840         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44841         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44842         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44843         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44845         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44846         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44847         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44848         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44849         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44850         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44851         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44852         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44853         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44854         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44855         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44856         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44857         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44858         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44859         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44860         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44861         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44862         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44863         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44864         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44866 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44868         [BZ #16041]
44869         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44870         make result into a quiet NaN.
44872 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44874         * soft-fp/adddf3.c: Fix horizontal whitespace.
44875         * soft-fp/addsf3.c: Likewise.
44876         * soft-fp/addtf3.c: Likewise.
44877         * soft-fp/divdf3.c: Likewise.
44878         * soft-fp/divsf3.c: Likewise.
44879         * soft-fp/divtf3.c: Likewise.
44880         * soft-fp/double.h: Likewise.
44881         * soft-fp/eqdf2.c: Likewise.
44882         * soft-fp/eqsf2.c: Likewise.
44883         * soft-fp/eqtf2.c: Likewise.
44884         * soft-fp/extenddftf2.c: Likewise.
44885         * soft-fp/extended.h: Likewise.
44886         * soft-fp/extendsfdf2.c: Likewise.
44887         * soft-fp/extendsftf2.c: Likewise.
44888         * soft-fp/extendxftf2.c: Likewise.
44889         * soft-fp/fixdfdi.c: Likewise.
44890         * soft-fp/fixdfsi.c: Likewise.
44891         * soft-fp/fixdfti.c: Likewise.
44892         * soft-fp/fixsfdi.c: Likewise.
44893         * soft-fp/fixsfsi.c: Likewise.
44894         * soft-fp/fixsfti.c: Likewise.
44895         * soft-fp/fixtfdi.c: Likewise.
44896         * soft-fp/fixtfsi.c: Likewise.
44897         * soft-fp/fixtfti.c: Likewise.
44898         * soft-fp/fixunsdfdi.c: Likewise.
44899         * soft-fp/fixunsdfsi.c: Likewise.
44900         * soft-fp/fixunsdfti.c: Likewise.
44901         * soft-fp/fixunssfdi.c: Likewise.
44902         * soft-fp/fixunssfsi.c: Likewise.
44903         * soft-fp/fixunssfti.c: Likewise.
44904         * soft-fp/fixunstfdi.c: Likewise.
44905         * soft-fp/fixunstfsi.c: Likewise.
44906         * soft-fp/fixunstfti.c: Likewise.
44907         * soft-fp/floatdidf.c: Likewise.
44908         * soft-fp/floatdisf.c: Likewise.
44909         * soft-fp/floatditf.c: Likewise.
44910         * soft-fp/floatsidf.c: Likewise.
44911         * soft-fp/floatsisf.c: Likewise.
44912         * soft-fp/floatsitf.c: Likewise.
44913         * soft-fp/floattidf.c: Likewise.
44914         * soft-fp/floattisf.c: Likewise.
44915         * soft-fp/floattitf.c: Likewise.
44916         * soft-fp/floatundidf.c: Likewise.
44917         * soft-fp/floatundisf.c: Likewise.
44918         * soft-fp/floatunditf.c: Likewise.
44919         * soft-fp/floatunsidf.c: Likewise.
44920         * soft-fp/floatunsisf.c: Likewise.
44921         * soft-fp/floatunsitf.c: Likewise.
44922         * soft-fp/floatuntidf.c: Likewise.
44923         * soft-fp/floatuntisf.c: Likewise.
44924         * soft-fp/floatuntitf.c: Likewise.
44925         * soft-fp/fmadf4.c: Likewise.
44926         * soft-fp/fmasf4.c: Likewise.
44927         * soft-fp/fmatf4.c: Likewise.
44928         * soft-fp/gedf2.c: Likewise.
44929         * soft-fp/gesf2.c: Likewise.
44930         * soft-fp/getf2.c: Likewise.
44931         * soft-fp/ledf2.c: Likewise.
44932         * soft-fp/lesf2.c: Likewise.
44933         * soft-fp/letf2.c: Likewise.
44934         * soft-fp/muldf3.c: Likewise.
44935         * soft-fp/mulsf3.c: Likewise.
44936         * soft-fp/multf3.c: Likewise.
44937         * soft-fp/negdf2.c: Likewise.
44938         * soft-fp/negsf2.c: Likewise.
44939         * soft-fp/negtf2.c: Likewise.
44940         * soft-fp/op-1.h: Likewise.
44941         * soft-fp/op-2.h: Likewise.
44942         * soft-fp/op-4.h: Likewise.
44943         * soft-fp/op-8.h: Likewise.
44944         * soft-fp/op-common.h: Likewise.
44945         * soft-fp/quad.h: Likewise.
44946         * soft-fp/single.h: Likewise.
44947         * soft-fp/soft-fp.h: Likewise.
44948         * soft-fp/sqrtdf2.c: Likewise.
44949         * soft-fp/sqrtsf2.c: Likewise.
44950         * soft-fp/sqrttf2.c: Likewise.
44951         * soft-fp/subdf3.c: Likewise.
44952         * soft-fp/subsf3.c: Likewise.
44953         * soft-fp/subtf3.c: Likewise.
44954         * soft-fp/truncdfsf2.c: Likewise.
44955         * soft-fp/trunctfdf2.c: Likewise.
44956         * soft-fp/trunctfsf2.c: Likewise.
44957         * soft-fp/trunctfxf2.c: Likewise.
44958         * soft-fp/unorddf2.c: Likewise.
44959         * soft-fp/unordsf2.c: Likewise.
44960         * soft-fp/unordtf2.c: Likewise.
44962 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44964         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44965         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44967 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44969         * elf/dl-libc.c: Clear initfini list after freeing.
44971 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44973         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44974         * soft-fp/addsf3.c: Likewise.
44975         * soft-fp/addtf3.c: Likewise.
44976         * soft-fp/divdf3.c: Likewise.
44977         * soft-fp/divsf3.c: Likewise.
44978         * soft-fp/divtf3.c: Likewise.
44979         * soft-fp/double.h: Likewise.
44980         * soft-fp/eqdf2.c: Likewise.
44981         * soft-fp/eqsf2.c: Likewise.
44982         * soft-fp/eqtf2.c: Likewise.
44983         * soft-fp/extenddftf2.c: Likewise.
44984         * soft-fp/extended.h: Likewise.
44985         * soft-fp/extendsfdf2.c: Likewise.
44986         * soft-fp/extendsftf2.c: Likewise.
44987         * soft-fp/extendxftf2.c: Likewise.
44988         * soft-fp/fixdfdi.c: Likewise.
44989         * soft-fp/fixdfsi.c: Likewise.
44990         * soft-fp/fixdfti.c: Likewise.
44991         * soft-fp/fixsfdi.c: Likewise.
44992         * soft-fp/fixsfsi.c: Likewise.
44993         * soft-fp/fixsfti.c: Likewise.
44994         * soft-fp/fixtfdi.c: Likewise.
44995         * soft-fp/fixtfsi.c: Likewise.
44996         * soft-fp/fixtfti.c: Likewise.
44997         * soft-fp/fixunsdfdi.c: Likewise.
44998         * soft-fp/fixunsdfsi.c: Likewise.
44999         * soft-fp/fixunsdfti.c: Likewise.
45000         * soft-fp/fixunssfdi.c: Likewise.
45001         * soft-fp/fixunssfsi.c: Likewise.
45002         * soft-fp/fixunssfti.c: Likewise.
45003         * soft-fp/fixunstfdi.c: Likewise.
45004         * soft-fp/fixunstfsi.c: Likewise.
45005         * soft-fp/fixunstfti.c: Likewise.
45006         * soft-fp/floatdidf.c: Likewise.
45007         * soft-fp/floatdisf.c: Likewise.
45008         * soft-fp/floatditf.c: Likewise.
45009         * soft-fp/floatsidf.c: Likewise.
45010         * soft-fp/floatsisf.c: Likewise.
45011         * soft-fp/floatsitf.c: Likewise.
45012         * soft-fp/floattidf.c: Likewise.
45013         * soft-fp/floattisf.c: Likewise.
45014         * soft-fp/floattitf.c: Likewise.
45015         * soft-fp/floatundidf.c: Likewise.
45016         * soft-fp/floatundisf.c: Likewise.
45017         * soft-fp/floatunsidf.c: Likewise.
45018         * soft-fp/floatunsisf.c: Likewise.
45019         * soft-fp/floatuntidf.c: Likewise.
45020         * soft-fp/floatuntisf.c: Likewise.
45021         * soft-fp/floatuntitf.c: Likewise.
45022         * soft-fp/fmadf4.c: Likewise.
45023         * soft-fp/fmasf4.c: Likewise.
45024         * soft-fp/fmatf4.c: Likewise.
45025         * soft-fp/gedf2.c: Likewise.
45026         * soft-fp/gesf2.c: Likewise.
45027         * soft-fp/getf2.c: Likewise.
45028         * soft-fp/ledf2.c: Likewise.
45029         * soft-fp/lesf2.c: Likewise.
45030         * soft-fp/letf2.c: Likewise.
45031         * soft-fp/muldf3.c: Likewise.
45032         * soft-fp/mulsf3.c: Likewise.
45033         * soft-fp/multf3.c: Likewise.
45034         * soft-fp/negdf2.c: Likewise.
45035         * soft-fp/negsf2.c: Likewise.
45036         * soft-fp/negtf2.c: Likewise.
45037         * soft-fp/op-1.h: Likewise.
45038         * soft-fp/op-2.h: Likewise.
45039         * soft-fp/op-4.h: Likewise.
45040         * soft-fp/op-8.h: Likewise.
45041         * soft-fp/op-common.h: Likewise.
45042         * soft-fp/quad.h: Likewise.
45043         * soft-fp/single.h: Likewise.
45044         * soft-fp/soft-fp.h: Likewise.
45045         * soft-fp/sqrtdf2.c: Likewise.
45046         * soft-fp/sqrtsf2.c: Likewise.
45047         * soft-fp/sqrttf2.c: Likewise.
45048         * soft-fp/subdf3.c: Likewise.
45049         * soft-fp/subsf3.c: Likewise.
45050         * soft-fp/subtf3.c: Likewise.
45051         * soft-fp/truncdfsf2.c: Likewise.
45052         * soft-fp/trunctfdf2.c: Likewise.
45053         * soft-fp/trunctfsf2.c: Likewise.
45054         * soft-fp/trunctfxf2.c: Likewise.
45055         * soft-fp/unorddf2.c: Likewise.
45056         * soft-fp/unordsf2.c: Likewise.
45057         * soft-fp/unordtf2.c: Likewise.
45059 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45061         [BZ #15672]
45062         * misc/error.c (error_tail): Fix possible buffer overflow.
45064 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45066         [BZ #13028]
45067         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45068         address.
45070 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45072         [BZ #832]
45073         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45074         testing pipefail option.
45076 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45078         * soft-fp/double.h: Indent preprocessor directives inside #if.
45079         * soft-fp/extended.h: Likewise.
45080         * soft-fp/op-2.h: Likewise.
45081         * soft-fp/op-4.h: Likewise.
45082         * soft-fp/op-common.h: Likewise.
45083         * soft-fp/quad.h: Likewise.
45084         * soft-fp/single.h: Likewise.
45085         * soft-fp/soft-fp.h: Likewise.
45087 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45089         * iconv/iconv_prog.c: Fix typos.
45090         * stdio-common/psiginfo-data.h: Likewise.
45092 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45094         [BZ #15764]
45095         * locale/setlocale.c: Fix typo.
45097 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45099         [BZ #16036]
45100         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45101         signaling NaN arguments.
45102         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45103         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45105         [BZ #14910]
45106         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45107         unordered operands.
45108         * soft-fp/gesf2.c (__gesf2): Likewise.
45109         * soft-fp/getf2.c (__getf2): Likewise.
45110         * soft-fp/ledf2.c (__ledf2): Likewise.
45111         * soft-fp/lesf2.c (__lesf2): Likewise.
45112         * soft-fp/letf2.c (__letf2): Likewise.
45114         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45115         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45116         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45117         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45118         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45119         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45120         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45121         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45122         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45123         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45124         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45125         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45126         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45127         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45128         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45129         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45130         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45131         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45132         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45133         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45134         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45135         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45136         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45137         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45138         * soft-fp/floattidf.c (__floattidf): Likewise.
45139         * soft-fp/floattisf.c (__floattisf): Likewise.
45140         * soft-fp/floattitf.c (__floattitf): Likewise.
45141         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45142         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45143         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45144         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45145         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45146         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45147         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45148         * soft-fp/gesf2.c (__gesf2): Likewise.
45149         * soft-fp/getf2.c (__getf2): Likewise.
45150         * soft-fp/ledf2.c (__ledf2): Likewise.
45151         * soft-fp/lesf2.c (__lesf2): Likewise.
45152         * soft-fp/letf2.c (__letf2): Likewise.
45154         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45155         Undefine and redefine.
45156         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45157         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45158         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45159         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45160         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45161         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45162         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45163         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45164         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45165         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45166         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45167         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45168         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45169         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45170         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45172         [BZ #16032]
45173         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45174         without decrementing exponent if mantissa >= that for the
45175         denominator, not >.
45176         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45177         denominator, not >.  Decrement exponent in < case instead of
45178         incrementing in >= case.
45179         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45180         without decrementing exponent if mantissa >= that for the
45181         denominator, not >.
45183         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45184         computing saturated result for unsigned overflow.
45186 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45187             Jeff Law  <law@redhat.com>
45189         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45190         (atan2Mp): Add systemtap probe marker.
45191         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45192         (__ieee754_log): Add systemtap probe marker.
45193         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45194         (atanMp): Add systemtap probe marker.
45195         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45196         (tanMp): Add systemtap probe marker.
45197         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45198         (__slowexp): Add systemtap probe marker.
45199         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45200         (__slowpow): Add systemtap probe marker.
45201         * manual/probes.texi: Document probes.
45203 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45205         [BZ #15362]
45206         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45207         written.
45208         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45209         written.
45210         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45211         written to buffer but not flushed.
45212         * libio/iofwrite_u.c:  Likewise.
45213         * libio/iopadn.c:  Return bytes returned even if EOF was
45214         encountered.
45215         * libio/iowpadn.c:  Likewise.
45216         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45217         if _IO_padn does not write the whole buffer.
45218         [!COMPILE_WPRINTF] (PAD): Likewise.
45220 2013-10-10  David S. Miller  <davem@davemloft.net>
45222         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45223         directory block.
45225 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45227         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45228         instead of FSF address.
45229         * soft-fp/fixdfti.c: Likewise.
45230         * soft-fp/fixsfti.c: Likewise.
45231         * soft-fp/fixtfti.c: Likewise.
45232         * soft-fp/fixunsdfti.c: Likewise.
45233         * soft-fp/fixunssfti.c: Likewise.
45234         * soft-fp/fixunstfti.c: Likewise.
45235         * soft-fp/floattidf.c: Likewise.
45236         * soft-fp/floattisf.c: Likewise.
45237         * soft-fp/floattitf.c: Likewise.
45238         * soft-fp/floatuntidf.c: Likewise.
45239         * soft-fp/floatuntisf.c: Likewise.
45240         * soft-fp/floatuntitf.c: Likewise.
45241         * soft-fp/trunctfxf2.c: Likewise.
45243         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45244         * soft-fp/fixdfti.c: Likewise.
45245         * soft-fp/fixsfti.c: Likewise.
45246         * soft-fp/fixtfti.c: Likewise.
45247         * soft-fp/fixunsdfti.c: Likewise.
45248         * soft-fp/fixunssfti.c: Likewise.
45249         * soft-fp/fixunstfti.c: Likewise.
45250         * soft-fp/floattidf.c: Likewise.
45251         * soft-fp/floattisf.c: Likewise.
45252         * soft-fp/floattitf.c: Likewise.
45253         * soft-fp/floatuntidf.c: Likewise.
45254         * soft-fp/floatuntisf.c: Likewise.
45255         * soft-fp/floatuntitf.c: Likewise.
45256         * soft-fp/trunctfxf2.c: Likewise.
45258 2013-10-10  David S. Miller  <davem@davemloft.net>
45260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45262 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45264         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45265         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45266         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45267         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45268         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45269         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45270         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45272         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45273         for NaNs before doing comparisons on argument.
45274         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45275         Likewise.
45277 2013-10-10  Will Newton  <will.newton@linaro.org>
45279         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45280         passed to _int_memalign does not overflow.
45282 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45284         * scripts/bench.pl: Add include-sources directive.
45285         * benchtests/README: Update documentation.
45287 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45289         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45290         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45291         instead of FP_INIT_ROUNDMODE.
45292         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45293         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45295         [BZ #16034]
45296         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45297         copy class of input value.
45298         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45299         not handle exceptions.
45300         * soft-fp/negsf2.c (__negsf2): Likewise.
45301         * soft-fp/negtf2.c (__negtf2): Likewise.
45302         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45304 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45306         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45307         semicolon.  From Linux kernel.
45309 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45311         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45313 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45315         [BZ #156]
45316         * manual/socket.texi: Added statement about buffer
45317         for gethostbyname2_r.
45319 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45321         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45322         Use .p2align directive instead, throughout.
45323         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45324         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45325         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45326         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45327         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45328         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45329         * sysdeps/x86_64/strchr.S: Likewise.
45330         * sysdeps/x86_64/strrchr.S: Likewise.
45332 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45334         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45336         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45338         * sysdeps/generic/math_private.h (__mpsin1): Remove
45339         declaration.
45340         (__mpcos1): Likewise.
45341         (__mpsin): New argument __range_reduce.
45342         (__mpcos): Likewise.
45343         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45344         (slow): Use __mpsin and __mpcos.
45345         (slow1): Likewise.
45346         (slow2): Likewise.
45347         (sloww): Likewise.
45348         (sloww1): Likewise.
45349         (sloww2): Likewise.
45350         (bsloww): Likewise.
45351         (bsloww1): Likewise.
45352         (bsloww2): Likewise.
45353         (cslow2): Likewise.
45354         (csloww): Likewise.
45355         (csloww1): Likewise.
45356         (csloww2): Likewise.
45357         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45358         range_reduce.  Merge in __mpsin1.
45359         (__mpcos): Likewise.
45360         (__mpsin1): Remove.
45361         (__mpcos1): Likewise.
45363 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45365         * locale/loadlocale.c (_nl_intern_locale_data): Use
45366         LOCFILE_ALIGNED_P.
45367         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45368         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45369         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45370         obstack data is appropriately aligned.
45371         (obstack_int32_grow_fast): Likewise.
45372         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45373         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45374         (add_locale_uint32_array): Likewise.
45376 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45378         * benchtests/Makefile: Remove ARGLIST and RET variables.
45379         ($(objpfx)bench-%.c): Pass only function name to the script.
45380         * benchtests/README: Update documentation.
45381         * benchtests/acos-inputs: Add new directives.
45382         * benchtests/acosh-inputs: Likewise.
45383         * benchtests/asin-inputs: Likewise.
45384         * benchtests/asinh-inputs: Likewise.
45385         * benchtests/atan-inputs: Likewise.
45386         * benchtests/atanh-inputs: Likewise.
45387         * benchtests/cos-inputs: Likewise.
45388         * benchtests/cosh-inputs: Likewise.
45389         * benchtests/exp-inputs: Likewise.
45390         * benchtests/log-inputs: Likewise.
45391         * benchtests/pow-inputs: Likewise.
45392         * benchtests/rint-inputs: Likewise.
45393         * benchtests/sin-inputs: Likewise.
45394         * benchtests/sinh-inputs: Likewise.
45395         * benchtests/tan-inputs: Likewise.
45396         * benchtests/tanh-inputs: Likewise.
45397         * scripts/bench.pl: Add support for new directives.
45399 2013-10-07  Alan Modra  <amodra@gmail.com>
45401         * README: Fix careless merge.
45403 2013-10-05  Alan Modra  <amodra@gmail.com>
45405         * NEWS: Mention powerpc64le support and bugs fixed.
45406         * README: Both big-endian and little-endian powerpc64 supported.
45408 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45410         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45411         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45412         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45413         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45415 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45417         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45418         match prototype.
45420 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45422         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45423         Move -mhard-float appending from
45424         ports/sysdeps/powerpc/powerpc32/Makefile.
45425         [$(with-fp) = yes] (ASFLAGS): Likewise.
45426         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45427         * sysdeps/powerpc/nofpu: Move directory from
45428         ports/sysdeps/powerpc/nofpu.
45429         * sysdeps/powerpc/soft-fp: Move directory from
45430         ports/sysdeps/powerpc/soft-fp.
45431         * sysdeps/powerpc/powerpc32/405: Move directory from
45432         ports/sysdeps/powerpc/powerpc32/405.
45433         * sysdeps/powerpc/powerpc32/440: Move directory from
45434         ports/sysdeps/powerpc/powerpc32/440.
45435         * sysdeps/powerpc/powerpc32/464: Move directory from
45436         ports/sysdeps/powerpc/powerpc32/464.
45437         * sysdeps/powerpc/powerpc32/476: Move directory from
45438         ports/sysdeps/powerpc/powerpc32/476.
45439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45440         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45442         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45444         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45446         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45448         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45449         * README: Update for powerpc-*-linux-gnu software floating point
45450         support in libc.
45452         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45453         case to powerpc/powerpc32*.
45454         * sysdeps/unix/sysv/linux/configure: Regenerated.
45456         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45457         (_FPU_MASK_OM): Define as 0x04.
45458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45460         0x00c10080.
45461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45462         0x0000003c.
45463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45466         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45467         getcontext_e500.
45468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45469         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45470         setcontext_e500.
45471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45472         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45473         and setcontext_e500.
45475 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45477         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45479 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45481         * manual/threads.texi (Default Thread Attributes): Fix typo.
45483 2013-10-04  Will Newton  <will.newton@linaro.org>
45485         * malloc/Makefile: Add tst-memalign.
45486         * malloc/tst-memalign.c: New file.
45488         * malloc/tst-posix_memalign.c: Add comments.
45489         (do_test): Add comments and call free on all potentially
45490         allocated pointers. Add space after cast.
45492         * malloc/tst-pvalloc.c: Add comments.
45493         (do_test): Add comments and call free on all potentially
45494         allocated pointers. Remove duplicate check for NULL pointer.
45495         Add space after cast.
45497         * malloc/tst-valloc.c: Add comments.
45498         (do_test): Add comments and call free on all potentially
45499         allocated pointers. Remove duplicate check for NULL pointer.
45500         Add space after cast.
45502 2013-10-04  Alan Modra  <amodra@gmail.com>
45504         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45505         Use stdint types in rather than __attribute__((mode())).
45506         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45508 2013-10-04  Alan Modra  <amodra@gmail.com>
45510         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45511         Correct handling of unaligned relocs for little-endian.
45512         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45514 2013-10-04  Alan Modra  <amodra@gmail.com>
45516         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45517         * configure: Regenerate.
45518         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45519         * shlib-versions: Likewise.
45521 2013-10-04  Alan Modra  <amodra@gmail.com>
45523         * string/tester.c (test_memrchr): Increment reported test cycle.
45525 2013-10-04  Alan Modra  <amodra@gmail.com>
45527         * string/test-memcpy.c (do_one_test): When reporting errors, print
45528         string address and don't overrun end of string.
45530 2013-10-04  Alan Modra  <amodra@gmail.com>
45532         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45533         insrdi.  Make better use of reg selection to speed exit slightly.
45534         Schedule entry path a little better.  Remove useless "are we done"
45535         checks on entry to main loop.  Handle wrapping around zero address.
45536         Correct main loop count.  Handle single left-over word from main
45537         loop inline rather than by using loop_small.  Remove extra word
45538         case in loop_small caused by wrong loop count.  Add little-endian
45539         support.
45540         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45541         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45542         cache hint.
45543         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45544         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45545         support.  Avoid rlwimi.
45546         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45548 2013-10-04  Alan Modra  <amodra@gmail.com>
45550         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45551         insrdi.  Formatting.
45552         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45553         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45554         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45555         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45556         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45557         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45559 2013-10-04  Alan Modra  <amodra@gmail.com>
45561         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45562         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45563         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45564         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45565         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45566         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45567         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45568         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45569         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45570         use of regs.  Use power7 mtocrf.  Tidy function tails.
45572 2013-10-04  Alan Modra  <amodra@gmail.com>
45574         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45575         Formatting.  Consistently use rXXX register defines or rN defines.
45576         Use early exit labels that avoid restoring unused non-volatile regs.
45577         Make cr field use more consistent with rWORDn compares.  Rename
45578         regs used as shift registers for unaligned loop, using rN defines
45579         for short lifetime/multiple use regs.
45580         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45581         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45582         addi 1,1,64 to pop stack frame.  Simplify return value code.
45583         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45585 2013-10-04  Alan Modra  <amodra@gmail.com>
45587         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45588         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45589         rather than rlwimi.
45590         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45591         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45592         little-endian support.  Correct typos.
45593         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45594         rather than rlwimi.
45595         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45596         in loop and entry code to keep "and." results.
45597         (strchr): Add little-endian support.  Comment.  Move cntlzd
45598         earlier in tail.
45599         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45601 2013-10-04  Alan Modra  <amodra@gmail.com>
45603         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45604         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45605         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45606         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45608 2013-10-04  Alan Modra  <amodra@gmail.com>
45610         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45611         (rTMP): Define as r11.
45612         (strcmp): Add little-endian support.  Optimise tail.
45613         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45614         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45615         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45616         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45617         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45618         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45619         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45621 2013-10-04  Alan Modra  <amodra@gmail.com>
45623         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45624         little-endian support.  Remove unnecessary "are we done" tests.
45625         Handle "s" wrapping around zero and extremely large "size".
45626         Correct main loop count.  Handle single left-over word from main
45627         loop inline rather than by using small_loop.  Correct comments.
45628         Delete "zero" tail, use "end_max" instead.
45629         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45631 2013-10-04  Alan Modra  <amodra@gmail.com>
45633         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45634         support.  Don't branch over align.
45635         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45636         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45637         support.  Rearrange tmp reg use to suit.  Comment.
45638         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45640 2013-10-04  Alan Modra  <amodra@gmail.com>
45642         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45644 2013-10-04  Alan Modra  <amodra@gmail.com>
45646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45647         conditional form of branch and link when obtaining pc.
45648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45650 2013-10-04  Alan Modra  <amodra@gmail.com>
45652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45653         HIWORD/LOWORD.
45654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45657 2013-10-04  Alan Modra  <amodra@gmail.com>
45659         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45660         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45661         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45662         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45663         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45664         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45665         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45666         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45667         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45668         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45670 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45671             Alistair Popple <alistair@ozlabs.au.ibm.com>
45672             Alan Modra <amodra@gmail.com>
45674         [BZ #15723]
45675         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45676         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45677         _dl_hwcap access for little-endian.
45678         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45679         destroy vmx regs when saving unaligned.
45680         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45681         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45682         destroy vmx regs when saving unaligned.
45684 2013-10-04  Alan Modra  <amodra@gmail.com>
45686         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45687         Don't use a union to pack hi/low value.
45689 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45691         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45692         for little-endian.
45693         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45694         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45695         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45696         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45697         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45699 2013-10-04  Alan Modra  <amodra@gmail.com>
45701         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45702         constants to usual value for .cst8 section, and remove redundant
45703         high address load.
45704         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45705         constant for 0x1p52.  Load little-endian words of double from
45706         correct stack offsets.
45708 2013-10-04  Alan Modra  <amodra@gmail.com>
45710         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45711         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45712         words of double from correct stack offsets.
45713         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45714         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45715         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45716         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45717         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45718         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45719         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45720         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45721         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45722         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45723         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45724         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45725         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45726         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45727         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45728         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45729         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45731 2013-10-04  Alan Modra  <amodra@gmail.com>
45733         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45734         64-bit int/double union.
45735         (_FPU_SETCW): Likewise.
45736         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45737         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45739 2013-10-04  Alan Modra  <amodra@gmail.com>
45741         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45742         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45744 2013-10-04  Alan Modra  <amodra@gmail.com>
45746         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45747         use vector int constants.
45748         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45750 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45752         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45753         array with long long.
45754         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45755         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45756         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45757         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45758         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45759         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45760         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45761         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45762         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45763         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45764         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45765         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45766         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45768 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45770         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45771         (__signbit): Likewise.  Correct for little-endian.
45772         (__signbitl): Call __signbit.
45773         (lrint): Correct for little-endian.
45774         (lrintf): Call lrint.
45776 2013-10-04  Alan Modra  <amodra@gmail.com>
45778         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45779         union 32-bit int array member with 64-bit int array.
45780         (t515, tm256): Double rather than long double.
45781         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45783 2013-10-04  Alan Modra  <amodra@gmail.com>
45785         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45786         Delete.
45787         (IEEE854_LONG_DOUBLE_BIAS): Delete.
45788         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45789         version of math_ldbl.h.
45791 2013-10-04  Alan Modra  <amodra@gmail.com>
45793         [BZ #15734], [BZ #15735]
45794         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45795         all uses of ieee875 long double macros and unions.  Simplify test
45796         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
45797         ldbl_extract_mantissa value for ix,iy exponents.  Properly
45798         normalize after ldbl_extract_mantissa, and don't add hidden bit
45799         already handled.  Don't treat low word of ieee854 mantissa like
45800         low word of IBM long double and mask off bit when testing for
45801         zero.
45802         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45803         all uses of ieee875 long double macros and unions.  Simplify tests
45804         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
45805         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
45806         two1022, instead use their values.  Recognise that tests for large
45807         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
45808         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45809         Rewrite all uses of ieee875 long double macros and unions.  Simplify
45810         test for 0.0L and nan.  Correct negation.
45811         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45812         ieee875 long double macros and unions.  Correct output for large
45813         magnitude x.  Correct absolute value calculation.
45814         (__erfcl): Likewise.
45815         * math/libm-test.inc: Add tests for errors discovered in IBM long
45816         double versions of fmodl, remainderl, erfl and erfcl.
45818 2013-10-04  Alan Modra  <amodra@gmail.com>
45820         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45821         all uses of ieee854 long double macros and unions.  Simplify tests
45822         for long doubles that are fully specified by the high double.
45823         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45824         Likewise.
45825         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45826         Remove dead code too.
45827         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45828         (__ieee754_ynl): Likewise.
45829         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45830         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45832         Remove dead code too.
45833         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45834         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45835         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45836         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45837         Simplify.
45838         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45839         Simplify.
45840         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45841         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45842         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45843         Comment on variable precision.
45844         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45845         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45846         Likewise.
45847         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45848         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45849         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45850         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45851         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45853 2013-10-04  Alan Modra  <amodra@gmail.com>
45855         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45856         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45857         all uses of ieee854 long double macros and unions.
45858         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45859         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45860         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45861         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45862         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45863         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45864         Likewise.
45865         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45866         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45867         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45868         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45869         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45870         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45871         Simplify sign and nan test too.
45872         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45873         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45874         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45875         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45876         Likewise.
45877         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45878         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45879         Likewise.
45880         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45881         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45882         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45883         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45884         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45885         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45887 2013-10-04  Alan Modra  <amodra@gmail.com>
45889         * stdio-common/printf_size.c (__printf_size): Don't use
45890         union ieee854_long_double in fpnum union.
45891         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45892         signbit macro to retrieve sign from long double.
45893         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45894         retrieve sign from long double.
45895         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45896         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45897         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45898         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45899         * math/test-misc.c (main): Don't use union ieee854_long_double.
45901 2013-10-04  Alan Modra  <amodra@gmail.com>
45903         [BZ #15680]
45904         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45905         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45906         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45907         calculation.  Remove unnecessary test for denormal exponent.
45908         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45909         Correct handling of denormals.  Avoid undefined shift behaviour.
45910         Correct normalisation of low mantissa when low double is denormal.
45911         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45912         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45913         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45914         Correct normalisation of low mantissa.  Test for overflow of high
45915         mantissa and normalise.
45916         (ldbl_nearbyint): Use more readable constant for two52.
45917         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45918         (__mpn_construct_long_double): Fix test for overflow of high
45919         mantissa and correct normalisation.  Avoid undefined shift.
45921 2013-10-04  Alan Modra  <amodra@gmail.com>
45923         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45924         (union ibm_extended_long_double): Define as an array of ieee754_double.
45925         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45926         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45927         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45928         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45929         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45930         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45932         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45933         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45934         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45935         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45937 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45939         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45940         page size instead of calling getpagesize.
45942         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45943         (LOCFILE_ALIGN_MASK): Likewise.
45944         (LOCFILE_ALIGN_UP): Likewise.
45945         (LOCFILE_ALIGNED_P): Likewise.
45946         * locale/programs/ld-collate.c (collate_output): Use the new
45947         macros instead of __alignof__ (int32_t).
45948         * locale/weight.h (findidx): Likewise.
45950 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45952         [BZ #431]
45953         * manual/string.texi: Fix strncat and wcsncat.
45955 2013-10-03  Brooks Moses  <bmoses@google.com>
45957         [BZ #15915]
45958         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45959         * Makerules: ...here, and adjust associated comments.
45961 2013-10-02  Will Newton  <will.newton@linaro.org>
45963         * malloc/Makefile: Add tst-pvalloc.
45964         * malloc/tst-pvalloc.c: New file.
45966 2013-10-02  Will Newton  <will.newton@linaro.org>
45968         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45969         improve test coverage.
45971 2013-10-02  Will Newton  <will.newton@linaro.org>
45973         * malloc/Makefile: Add tst-posix_memalign.
45974         * malloc/tst-posix_memalign.c: New file.
45976 2013-10-01  Eric Blake  <eblake@redhat.com>
45978         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45979         Use __THROWNL rather than __THROW on static functions.
45981 2013-09-30  Petr Machata  <pmachata@redhat.com>
45983         * elf/elf.h (R_AARCH64_ABS16): New macro.
45984         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45985         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45986         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45987         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45988         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45989         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45990         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45991         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45992         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45993         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45994         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45995         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45996         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45997         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45998         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45999         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46000         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46001         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46002         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46003         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46004         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46005         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46006         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46007         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46008         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46009         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46010         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46011         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46012         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46013         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46014         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46015         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46016         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46017         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46018         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46019         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46020         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46021         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46022         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46023         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46024         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46025         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46026         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46027         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46028         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46029         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46030         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46031         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46032         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46033         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46034         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46035         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46036         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46037         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46038         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46039         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46040         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46041         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46042         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46043         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46044         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46045         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46046         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46047         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46048         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46049         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46050         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46051         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46052         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46053         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46054         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46055         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46056         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46057         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46058         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46059         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46060         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46061         (R_AARCH64_TLSDESC_LDR): Likewise.
46062         (R_AARCH64_TLSDESC_ADD): Likewise.
46063         (R_AARCH64_TLSDESC_CALL): Likewise.
46065 2013-09-30  Andreas Schwab  <schwab@suse.de>
46067         [BZ #15048]
46068         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46069         the nss database lookup.
46070         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46073 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46075         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46077 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46079         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46080         ${Bash-specific parameter/pattern/string} parameter expansion.
46081         * sysdeps/unix/make-syscalls.sh: Likewise.
46083 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46085         * sysdeps/sh/stackguard-macros.h: New file.
46087 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46089         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46090         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46091         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46092         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46093         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46094         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46096 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46098         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46099         Fix thread ID register.
46101 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46103         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46104         [POSIX || UNIX98]: Require rather than permitting all symbols from
46105         <time.h>.
46106         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46107         element of struct sched_param.
46108         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46109         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46110         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46111         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46112         constant.
46114 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46116         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46117         argument calculation.
46119 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46121         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46122         Expect macro.
46123         [POSIX] (pthread_attr_t): Do not require type.
46124         [POSIX] (pthread_cond_t): Likewise.
46125         [POSIX] (pthread_condattr_t): Likewise.
46126         [POSIX] (pthread_key_t): Likewise.
46127         [POSIX] (pthread_mutex_t): Likewise.
46128         [POSIX] (pthread_mutexattr_t): Likewise.
46129         [POSIX] (pthread_once_t): Likewise.
46130         [POSIX] (pthread_t): Likewise.
46131         [POSIX-based standards] (pthread_atfork): Expect function.
46133 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46134             Richard Sandiford  <richard@codesourcery.com>
46136         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46137         (swap_endianness_p): New extern variable.
46138         (set_big_endian): New inline function.
46139         (maybe_swap_uint32): Likewise.
46140         (maybe_swap_uint32_array): Likewise.
46141         (maybe_swap_uint32_obstack): Likewise.
46142         * locale/programs/locfile.c: Include <stdbool.h>.
46143         (swap_endianness_p): New variable.
46144         (add_locale_uint32): Call maybe_swap_uint32.
46145         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46146         (write_locale_data): Call maybe_swap_uint32_array.
46147         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46148         maybe_swap_uint32.
46149         (obstack_int32_grow_fast): Likewise.
46150         (output_weightwc): Call maybe_swap_uint32_obstack.
46151         (collate_output): Likewise.
46152         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46153         (OPT_LITTLE_ENDIAN): Likewise.
46154         (options): Add --little-endian and --big-endian options.
46155         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46156         * locale/programs/locarchive.c: Include "locfile.h".
46157         (GET): New macro.
46158         (SET): Likewise.
46159         (INC): Likewise.
46160         (create_archive): Use the new macros to access fields of
46161         structures directly mapped from or written to locale archives.
46162         (oldlocrecentcmp): Likewise.
46163         (enlarge_archive): Likewise.
46164         (insert_name): Likewise.
46165         (add_alias): Likewise.
46166         (add_locale): Likewise.
46167         (delete_locales_from_archive): Likewise.
46168         (show_archive_content): Likewise.
46169         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46170         locale data.
46172 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46174         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46175         http://www.gnu.org/doc/freemanuals.texi.
46176         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46178 2013-09-24  Will Newton  <will.newton@linaro.org>
46180         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46181         macro.
46183 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46185         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46186         unsigned char.
46188 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46190         * manual/threads.texi (POSIX Threads): Fix a typo.
46192 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46194         [BZ #14547]
46195         * string/tst-strcoll-overflow.c: New test case.
46196         * string/Makefile (xtests): Add tst-strcoll-overflow.
46197         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46198         cache if string sizes may cause integer overflow.
46200         [BZ #14547]
46201         * string/strcoll_l.c (coll_seq): New members rule, idx,
46202         save_idx and back_us.
46203         (get_next_seq_nocache): New function.
46204         (do_compare_nocache): New function.
46205         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46206         when malloc fails.
46208 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46210         [BZ #15754]
46211         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46212         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46213         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46215         [BZ #15754]
46216         * elf/Makefile (tests): Add tst-ptrguard1.
46217         (tests-static): Add tst-ptrguard1-static.
46218         (tst-ptrguard1-ARGS): Define.
46219         (tst-ptrguard1-static-ARGS): Define.
46220         * elf/tst-ptrguard1.c: New file.
46221         * elf/tst-ptrguard1-static.c: New file.
46222         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46223         * sysdeps/i386/stackguard-macros.h: Likewise.
46224         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46225         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46226         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46227         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46228         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46229         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46231 2013-09-23  Hector Marco  <hecmargi@upv.es>
46232             Ismael Ripoll  <iripoll@disca.upv.es>
46233             Carlos O'Donell  <carlos@redhat.com>
46235         [BZ #15754]
46236         * sysdeps/generic/stackguard-macros.h: Define
46237         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46238         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46239         Define __pointer_chk_guard_local.
46240         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46241         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46243 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46245         [BZ #15859]
46246         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46248 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46250         * include/string.h (__ffs): Declare as hidden.
46251         * string/ffs.c (__ffs): Define as hidden.
46252         * sysdeps/i386/ffs.c (__ffs): Likewise.
46253         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46254         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46255         * sysdeps/s390/ffs.c (__ffs): Likewise.
46256         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46258 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46260         * NEWS: Mention malloc probes.
46262         * malloc/arena.c (new_heap): New memory_heap_new probe.
46263         (grow_heap): New memory_heap_more probe.
46264         (shrink_heap): New memory_heap_less probe.
46265         (heap_trim): New memory_heap_free probe.
46266         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46267         (systrim): New memory_sbrk_less probe.
46268         * manual/probes.texi: Document them.
46270         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46271         * manual/probes.texi: Document it.
46273         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46274         (__libc_realloc): Add memory_realloc_retry probe.
46275         (__libc_memalign): Add memory_memalign_retry probe.
46276         (__libc_valloc): Add memory_valloc_retry probe.
46277         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46278         (__libc_calloc): Add memory_calloc_retry probe.
46279         * manual/probes.texi: Document them.
46281         * malloc/arena.c (get_free_list): Add probe
46282         memory_arena_reuse_free_list.
46283         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46284         and memory_arena_reuse.
46285         (arena_get2) [!PER_THREAD]: Likewise.
46286         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46287         memory_arena_reuse_realloc.
46288         * manual/probes.texi: Document them.
46290         * malloc/malloc.c (__libc_free): Add
46291         memory_mallopt_free_dyn_thresholds probe.
46292         (__libc_mallopt): Add multiple memory_mallopt probes.
46293         * manual/probes.texi: Document them.
46295         * malloc/malloc.c: Include stap-probe.h.
46296         (__libc_mallopt): Add memory_mallopt probe.
46297         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46298         * manual/probes.texi: New.
46299         * manual/Makefile (chapters): Add probes.
46300         * manual/threads.texi: Set next node.
46302 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46304         [BZ #15963, #13985]
46305         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46306         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46307         Add `Chinese' to `nan' entry name.
46309 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46311         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46312         (POLYNOMIAL): Likewise.
46313         (TAYLOR_SINCOS): Likewise.
46314         (TAYLOR_SLOW): Likewise.
46315         (__sin): Use TAYLOR_SINCOS.
46316         (__cos): Likewise.
46317         (slow): Use TAYLOR_SLOW.
46318         (sloww): Likewise.
46319         (bsloww): Likewise.
46320         (csloww): Likewise.
46322 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46324         * stdlib/strtod_l.c: Fix buffer overrun.
46326 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46328         * benchtests/Makefile (bench): Add sincos.
46329         * benchtests/bench-sincos.c: New file.
46331         * math/libm-test.inc (cos_test_data): New test inputs.
46332         (sin_test_data): Likewise.
46334         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46335         macro.
46336         (__sin): Use it.
46337         (__cos): Likewise.
46338         (slow1): Likewise.
46339         (slow2): Likewise.
46340         (sloww1): Likewise.
46341         (sloww2): Likewise.
46342         (bsloww1): Likewise.
46343         (bsloww2): Likewise.
46344         (cslow2): Likewise.
46345         (csloww1): Likewise.
46346         (csloww2): Likewise.
46348         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46349         function.
46350         (__sin): Use it.
46351         (__cos): Likewise.
46353         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46354         gotos.
46355         (__cos): Likewise.
46357 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46359         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46360         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46361         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46362         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46363         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46364         * elf/cache.c (print_entry): Handle the new cache flags.
46366 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46367             Aldy Hernandez  <aldyh@redhat.com>
46369         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46370         Change condition to [_SOFT_FLOAT].
46371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46376         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46380         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46382         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46383         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46384         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46386         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46387         declaration.
46389 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46391         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46392         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46393         (__longjmp): Use LOAD_GP to load saved GPRs.
46394         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46395         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46396         (__sigsetjmp): Use SAVE_GP to save GPRs.
46398         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46399         Do not append -msoft-float.
46400         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46402 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46404         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46406 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46408         [BZ #15966]
46409         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46410         (_FPU_GETCW): Use initial "__" on variable and field names but not
46411         on macro parameter name.
46412         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46413         parentheses around reference to macro parameter.
46415 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46417         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46418         prototype.
46419         (ctype_startup): Use uint32_t in cast and sizeof for
46420         ctype->charnames.
46422 2013-09-11  Jia Liu  <proljc@gmail.com>
46424         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46425         __daddr_t_defined.
46426         [__FreeBSD__]: Likewise.
46428 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46431         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46432         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46433         (strchr): Remove __strchr_sse42 ifunc selection.
46434         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46435         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46437 2013-09-11  Will Newton  <will.newton@linaro.org>
46439         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46440         parameter to RES. Remove hardcoded 1000 value.
46441         * benchtests/bench-skeleton.c (main): Pass RES parameter
46442         to TIMING_INIT and multiply result by 1000.
46444 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46448 2013-09-11  Andreas Schwab  <schwab@suse.de>
46450         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46451         if not defined.
46452         (O_TMPFILE) [__USE_GNU]: Define.
46453         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46454         Define.
46456 2013-09-11  Will Newton  <will.newton@linaro.org>
46458         [BZ #15857]
46459         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46460         does not overflow.
46462 2013-09-11  Will Newton  <will.newton@linaro.org>
46464         [BZ #15856]
46465         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46466         does not overflow.
46468 2013-09-11  Will Newton  <will.newton@linaro.org>
46470         [BZ #15855]
46471         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46472         does not overflow.
46474 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46476         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46477         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46478         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46479         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46480         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46482 2013-09-10  Allan McRae  <allan@archlinux.org>
46484         [BZ #15748]
46485         * manual/arith.texi (Parsing of Floats): Clarify
46486         cross-reference.
46488         [BZ #15849]
46489         * manual/install.texi (Running make install): Mention
46490         --enable-pt-chown.
46491         * INSTALL: Regenerated.
46493 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46495         * csu/init-first.c (_init): Remove the !SHARED condition around
46496         FPU control word initialization.
46497         * elf/dl-support.c (_dl_fpu_control): New variable.
46498         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46499         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46500         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46501         * math/test-fpucw-static.c: New file.
46502         * math/test-fpucw-ieee.c: New file.
46503         * math/test-fpucw-ieee-static.c: New file.
46504         * math/Makefile (tests): Add `test-fpucw-ieee' and
46505         `$(tests-static)'.
46506         (tests-static): New variable.
46507         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46508         dependency to...
46509         [($(build-shared),yes)]
46510         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46511         ... this.
46512         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46513         New dependency.
46515 2013-09-09  Allan McRae  <allan@archlinux.org>
46517         [BZ #15939]
46518         * manual/string.texi (Collation Functions): Fix typo in
46519         strcoll example.
46520         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46522         [BZ #15893]
46523         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46525         [BZ #15892]
46526         * libio/memstream.c (open_memstream): Fix memory leak.
46527         * libio/wmemstream.c (open_wmemstream): Likewise.
46529         [BZ #15895]
46530         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46532 2013-09-09  Will Newton  <will.newton@linaro.org>
46534         * malloc/Makefile: Add tst-realloc to tests.
46535         * malloc/tst-realloc.c: New file.
46537 2013-09-09  Allan McRae  <allan@archlinux.org>
46539         [BZ #15844]
46540         * COPYING: Update from GNU website to fix FSF address.
46541         * COPYING.LIB: Likewise.
46543 2013-09-06  David S. Miller  <davem@davemloft.net>
46545         * po/zh_TW.po: Update Chinese (traditional) translation from
46546         translation project.
46548 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46549             Joseph Myers  <joseph@codesourcery.com>
46551         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46552         "localeinfo.h".
46553         (obstack_chunk_alloc): New macro.
46554         (obstack_chunk_free): Likewise.
46555         (record_offset): New function.
46556         (init_locale_data): Likewise.
46557         (align_locale_data): Likewise.
46558         (add_locale_empty): Likewise.
46559         (add_locale_raw_data): Likewise.
46560         (add_locale_raw_obstack): Likewise.
46561         (add_locale_string): Likewise.
46562         (add_locale_wstring): Likewise.
46563         (add_locale_uint32): Likewise.
46564         (add_locale_uint32_array): Likewise.
46565         (add_locale_char): Likewise.
46566         (start_locale_structure): Likewise.
46567         (end_locale_structure): Likewise.
46568         (start_locale_prelude): Likewise.
46569         (end_locale_prelude): Likewise.
46570         (write_locale_data): Take locale_file structure rather than an
46571         iovec.
46572         * locale/programs/locfile.h: Include "obstack.h".
46573         (struct locale_file): Change to store locale file contents instead
46574         of header.
46575         (init_locale_data): New prototype.
46576         (align_locale_data): Likewise.
46577         (add_locale_empty): Likewise.
46578         (add_locale_raw_data): Likewise.
46579         (add_locale_raw_obstack): Likewise.
46580         (add_locale_string): Likewise.
46581         (add_locale_wstring): Likewise.
46582         (add_locale_uint32): Likewise.
46583         (add_locale_uint32_array): Likewise.
46584         (add_locale_char): Likewise.
46585         (start_locale_structure): Likewise.
46586         (end_locale_structure): Likewise.
46587         (start_locale_prelude): Likewise.
46588         (end_locale_prelude): Likewise.
46589         (write_locale_data): Update prototype.
46590         * locale/programs/3level.h (struct TABLE): Remove result field.
46591         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46592         Use new locale_file interface.
46593         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46594         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46595         * locale/programs/ld-address.c (address_output): Use new
46596         locale_file interface.
46597         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46598         NO_ADD_LOCALE.
46599         (collate_finish): Don't call collseq_table_finalize.
46600         (collate_output): Use new locale_file interface.
46601         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46602         in file.
46603         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46604         (TABLE): Move defines earlier in file.
46605         (ELEMENT): Likewise.
46606         (DEFAULT): Likewise.
46607         (wctrans_table_add): Move macro and inline function earlier in
46608         file.
46609         (struct wctype_table): Move type earlier in file.
46610         (add_locale_wctype_table): New static prototype.
46611         (struct locale_ctype_t): Use logical types instead of struct iovec
46612         pointers for members.
46613         (ctype_output): Use new locale_file interface.
46614         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46615         new locale_file interface.
46616         (allocate_arrays): Update for use of new locale_file interface.
46617         * locale/programs/ld-identification.c (identification_output): Use
46618         new locale_file interface.
46619         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46620         * locale/programs/ld-messages.c (messages_output): Likewise.
46621         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46622         * locale/programs/ld-name.c (name_output): Likewise.
46623         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46624         * locale/programs/ld-paper.c (paper_output): Likewise.
46625         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46626         * locale/programs/ld-time.c (time_output): Likewise.
46628 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46630         * benchtests/Makefile: Add memrchr benchmark.
46631         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46632         benchmark as memrchr.
46633         * benchtests/bench-memrchr-ifunc.c: New file.
46634         * benchtests/bench-memrchr.c: New file.
46636 2013-09-06   Will Newton  <will.newton@linaro.org>
46638         * benchtests/Makefile (string-bench): Add memcpy.
46640 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46641             Cong Wang  <amwang@redhat.com>
46643         [BZ #15850]
46644         * sysdeps/unix/sysv/linux/bits/in.h
46645         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46646         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46647         before __USE_KERNEL_IPV6_DEFS uses.
46648         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46649         IPPROTO_BEETPH.
46650         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46651         sockaddr_in6, or ipv6_mreq.
46653 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46655         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46656         memory access for final bytes in some large inputs.
46657         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46659 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46661         * string/test-memrchr.c: New file.
46662         * string/test-memrchr-ifunc.c: New file.
46663         * string/Makefile: Add new memrchr testcase.
46665 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46667         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46668         fanotify_init returns EPERM.
46670 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46672         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46673         errors.
46674         (top level): Treat second token from macro or constant entries for
46675         allowed headers as allowed.
46676         * include/complex.h: Condition internal declarations on
46677         [!_ISOMAC].
46678         * include/fenv.h: Condition include of <stdbool.h> and internal
46679         declarations on [!_ISOMAC].
46681 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46683         [BZ #15923]
46684         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46686 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46688         * configure.in (--enable-versioning): Remove configure option.
46689         (libc_cv_asm_symver_directive): Remove configure test.
46690         (libc_cv_ld_version_script_option): Likewise.
46691         (VERSIONING): Remove variable and AC_SUBST.
46692         (DO_VERSIONING): Remove AC_DEFINE.
46693         * configure: Regenerated.
46694         * config.h.in (DO_VERSIONING): Remove macro.
46695         * Makerules [$(versioning) = yes]: Change conditionals to
46696         [$(build-shared) = yes].
46697         * config.make.in (versioning): Remove variable.
46698         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46699         [$(build-shared) = yes].
46700         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46701         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46702         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46703         [$(build-shared) = yes].
46704         * extra-lib.mk [$(versioning) = yes]: Likewise.
46705         * hurd/Makefile [$(versioning) = yes]: Likewise.
46706         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46707         [SHARED].
46708         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46709         [SHARED].
46710         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46711         [SHARED && !NO_HIDDEN].
46712         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46713         [SHARED].
46714         [SHARED && DO_VERSIONING]: Likewise..
46715         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46716         [$(build-shared) = yes].
46717         * manual/install.texi (--disable-versioning): Remove
46718         documentation.
46719         * INSTALL: Regenerated.
46720         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46721         to [SHARED].
46722         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46723         [$(build-shared) = yes].
46724         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46725         * sysdeps/i386/i686/multiarch/strstr-c.c
46726         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46727         [SHARED && !NO_HIDDEN].
46728         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46729         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46730         * sysdeps/powerpc/powerpc32/dl-machine.c
46731         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46732         * sysdeps/powerpc/powerpc32/sysdep.h
46733         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46734         to [SHARED && PIC && !NO_HIDDEN].
46735         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46736         conditional to [SHARED].
46738 2013-09-04   Will Newton  <will.newton@linaro.org>
46740         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46741         * benchtests/bench-string.h: Include bench-timing.h instead
46742         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46743         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46744         call to HP_TIMING_DIFF_INIT.
46745         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46746         instead of hp-timing.h macros.
46747         * benchtests/bench-memchr.c: Likewise.
46748         * benchtests/bench-memcmp.c: Likewise.
46749         * benchtests/bench-memcpy.c: Likewise.
46750         * benchtests/bench-memmem.c: Likewise.
46751         * benchtests/bench-memmove.c: Likewise.
46752         * benchtests/bench-memset.c: Likewise.
46753         * benchtests/bench-rawmemchr.c: Likewise.
46754         * benchtests/bench-strcasecmp.c: Likewise.
46755         * benchtests/bench-strcasestr.c: Likewise.
46756         * benchtests/bench-strcat.c: Likewise.
46757         * benchtests/bench-strchr.c: Likewise.
46758         * benchtests/bench-strcmp.c: Likewise.
46759         * benchtests/bench-strcpy.c: Likewise.
46760         * benchtests/bench-strcpy_chk.c: Likewise.
46761         * benchtests/bench-strlen.c: Likewise.
46762         * benchtests/bench-strncasecmp.c: Likewise.
46763         * benchtests/bench-strncat.c: Likewise.
46764         * benchtests/bench-strncmp.c: Likewise.
46765         * benchtests/bench-strncpy.c: Likewise.
46766         * benchtests/bench-strnlen.c: Likewise.
46767         * benchtests/bench-strpbrk.c: Likewise.
46768         * benchtests/bench-strrchr.c: Likewise.
46769         * benchtests/bench-strspn.c: Likewise.
46770         * benchtests/bench-strstr.c: Likewise.
46772 2013-09-04  Will Newton  <will.newton@linaro.org>
46774         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46776 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46778         [BZ #15427]
46779         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46780         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46781         * math/libm-test.inc (lgamma_test_data): Add more tests.
46782         * sysdeps/i386/fpu/libm-test-ulps: Update.
46783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46785 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
46787         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46788         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46789         Add ifunc.
46790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46791         Add strcmp-sse2-unaligned
46792         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46794 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46796         * Versions.def (libc): Add GLIBC_2.19.
46798 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46800         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46801         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46803 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
46805         [BZ #14155]
46806         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46807         intermediate calculations in recurrence.
46808         (__ieee754_ynf): Likewise.
46809         * math/libm-test.inc (jn_test_data): Do not allow spurious
46810         underflow exception.  Add more tests.
46811         (yn_test_data): Add more tests.
46812         * sysdeps/i386/fpu/libm-test-ulps: Update.
46813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46815 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
46817         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46819 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46821         * csu/init-first.c: Fix then/than typos.
46822         * locale/programs/ld-collate.c: Likewise.
46823         * locale/programs/linereader.h: Likewise.
46824         * manual/charset.texi: Likewise.
46825         * manual/filesys.texi: Likewise.
46826         * manual/stdio.texi: Likewise.
46827         * manual/string.texi: Likewise.
46828         * stdlib/fmtmsg.c: Likewise.
46829         * sysdeps/i386/stpncpy.S: Likewise.
46830         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46831         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46832         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46833         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46835 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46837         * elf/dl-open.c: Fix typos.
46838         * iconvdata/gbbig5.c: Likewise.
46839         * iconvdata/iso-2022-jp.c: Likewise.
46840         * iconv/gconv_int.h: Likewise.
46841         * iconv/loop.c: Likewise.
46842         * nis/rpcsvc/nis.h: Likewise.
46843         * resolv/ns_name.c: Likewise.
46844         * stdio-common/vfscanf.c: Likewise.
46845         * streams/stropts.h: Likewise.
46846         * sunrpc/rpc_thread.c: Likewise.
46847         * sysdeps/i386/strpbrk.S: Likewise.
46848         * sysdeps/ieee754/k_standard.c: Likewise.
46849         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46850         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46851         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46852         * sysdeps/mach/hurd/profil.c: Likewise.
46853         * sysdeps/s390/dl-procinfo.h: Likewise.
46854         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46855         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46856         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46857         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46858         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46860 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46862         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46865 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46867         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46868         aix specific files.
46869         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46870         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46871         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46872         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46873         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46874         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46875         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46876         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46878 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46879             Roland McGrath  <roland@hack.frob.com>
46881         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46882         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46884 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46886         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46887         __executable_start symbol instead of _start.
46889 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46891         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46892         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46893         Move macros to...
46894         * sysdeps/gnu/ldsodefs.h: ... this new file.
46896         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46897         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46898         instead of ELFOSABI_LINUX.
46900         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46901         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46902         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46903         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46904         Likewise.
46905         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46906         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46907         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46908         Likewise.
46909         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46910         (ibm_extended_long_double): Add ieee_nan member.
46911         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46912         (do_test): New function.
46914         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46915         TEST_TRUNC.
46916         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46917         functions, renamed from truncdfsf_test, trunctfsf_test,
46918         trunctfdf_test.
46919         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46920         functions.
46921         (do_test): Run all these.
46923 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46925         * argp/argp-help.c: Fix typos.
46926         * argp/argp-parse.c: Likewise.
46927         * debug/backtracesyms.c: Likewise.
46928         * elf/elf.h: Likewise.
46929         * malloc/malloc.c: Likewise.
46930         * nis/nis_print.c: Likewise.
46931         * resolv/res_comp.c: Likewise.
46932         * stdlib/stdlib.h: Likewise.
46933         * sunrpc/clnt_tcp.c: Likewise.
46934         * sunrpc/clnt_udp.c: Likewise.
46935         * sunrpc/clnt_unix.c: Likewise.
46936         * sysdeps/unix/bsd/ptsname.c: Likewise.
46937         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46938         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46940         Likewise.
46941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46942         Likewise.
46943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46944         Likewise.
46945         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46947 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46949         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46952 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46954         [BZ #15897]
46955         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46956         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46957         ($(objpfx)bug-dl-leaf): New rule.
46958         ($(objpfx)bug-dl-leaf.so): Likewise.
46959         ($(objpfx)bug-dl-leaf.out): Likewise.
46960         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46961         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46962         * dlfcn/bug-dl-leaf.c: New test.
46963         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46964         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46965         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46966         (dlclose): Likewise.
46967         (dlmopen): Likewise.
46969 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46971         * include/netdb.h [!_ISOMAC]:
46972         Don't include <tls.h>.
46973         (h_errno, __libc_h_errno): Move declaration and macros out of
46974         [_LIBC_REENTRANT].
46976         * include/resolv.h [_RESOLV_H_]:
46977         Don't include <tls.h>.
46978         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46979         * resolv/res_libc.c: Don't include <tls.h>.
46980         (_res): Use __attribute__ ((nocommon)) in place of
46981         __attribute__ ((section (".bss"))).
46983         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46984         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46986         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46988         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46989         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46991         * resolv/res_mkquery.c: Include <sys/time.h>.
46993         * inet/ifreq.c: Moved to ...
46994         * sysdeps/unix/ifreq.c: ... here.
46995         * inet/ifreq.c: New file, true stub version.
46997         * socket/sa_len.c: New file.
46998         * socket/Makefile (aux): Add it.
46999         * sysdeps/unix/sysv/linux/Makefile
47000         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47001         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47002         and #include <socket/sa_len.c>.
47003         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47004         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47006         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47007         * bits/socket.h: ... here.
47009         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47010         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47011         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47013 2013-08-27  Andreas Schwab  <schwab@suse.de>
47015         [BZ #15736]
47016         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47017         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47018         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47019         * string/test-strcasecmp.c (test_main): Run tests in several
47020         locales.
47021         * string/test-strncasecmp.c (test_main): Likewise.
47023         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47024         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47025         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47027         (__strncasecmp_ssse3) [PIC]: Likewise.
47029 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47031         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47033         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47034         instead of explicitly declaring xdecrypt.
47035         * nis/nss_nis/nis-publickey.c: Likewise.
47037 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47039         [BZ #15890]
47040         * nscd/aicache.c: Include res_hconf.h.
47041         (addhstaiX): Initialize res_hconf.
47043 2013-08-26  Andreas Schwab  <schwab@suse.de>
47045         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47046         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47048 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47050         * nscd/aicache.c (addhstaiX): Fix indentation.
47052 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47054         * configure.ac: Quote $build_pt_chown test.
47055         * configure: Regenerated.
47057 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47059         [BZ #15532]
47060         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47061         * math/s_cexpf.c (__cexpf): Likewise.
47062         * math/s_cexpl.c (__cexpl): Likewise.
47063         * math/libm-test.inc (cexp_test_data): Correct expected return
47064         value for NaN + i0.  Add another test.
47066 2013-08-22  David S. Miller  <davem@davemloft.net>
47068         * po/ca.po: Update Catalan translation from translation project.
47069         * po/uk.po: Add Ukrainian translations from translation project.
47071 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47073         [BZ #15797]
47074         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47075         is infinite, not alongside NaN test.
47076         * math/s_fdimf.c (__fdimf): Likewise.
47077         * math/s_fdiml.c (__fdiml): Likewise.
47078         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47079         errno is unchanged.
47081 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47083         * argp/argp-help.c: Fix typos.
47084         * crypt/speeds.c: Likewise.
47085         * csu/check_fds.c: Likewise.
47086         * elf/dl-load.c: Likewise.
47087         * elf/dl-open.c: Likewise.
47088         * elf/reldep3.c: Likewise.
47089         * elf/reldep.c: Likewise.
47090         * elf/sprof.c: Likewise.
47091         * iconv/iconv_charmap.c: Likewise.
47092         * iconv/skeleton.c: Likewise.
47093         * iconv/strtab.c: Likewise.
47094         * io/lockf64.c: Likewise.
47095         * libio/libioP.h: Likewise.
47096         * resolv/gai_notify.c: Likewise.
47097         * resolv/ns_name.c: Likewise.
47098         * resolv/ns_samedomain.c: Likewise.
47099         * resolv/res_send.c: Likewise.
47100         * stdlib/random.c: Likewise.
47101         * sunrpc/rpc/xdr.h: Likewise.
47102         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47103         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47104         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47105         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47106         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47107         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47108         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47109         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47110         * sysdeps/mach/hurd/check_fds.c: Likewise.
47111         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47112         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47113         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47114         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47115         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47116         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47117         * sysdeps/pthread/aio_notify.c: Likewise.
47118         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47119         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47120         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47121         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47122         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47124 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47126         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47127         version if bit_Slow_SSE4_2 is set.
47128         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47129         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47131 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47133         [BZ #15867]
47134         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47135         trampoline stack frame information.
47136         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47137         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47138         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47139         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47140         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47141         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47142         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47143         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47144         sa_flags value.
47145         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47146         interrupting a syscall and set with option SA_SIGINFO.
47148 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47150         [BZ #15531]
47151         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47152         argument is infinite.
47153         * math/s_cprojf.c (__cprojf): Likewise.
47154         * math/s_cprojl.c (__cprojl): Likewise.
47155         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47156         * math/libm-test.inc (cproj_test_data): Add more tests.
47158         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47160         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47161         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47162         size.  Use __ffs to determine corresponding shift.
47164 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47165             Roland McGrath  <roland@hack.frob.com>
47167         * Makefile (INSTALL): Remove trailing blank lines from output of
47168         makeinfo.
47170 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47172         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47173         Align 32 bit compat elf_greg to 8 bytes.
47175 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47177         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47179 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47181         * string/strcoll_l.c (coll_seq): New structure.
47182         (get_next_seq_cached): New function.
47183         (get_next_seq): New function.
47184         (do_compare): New function.
47185         (STRCOLL): Use GNU style definition.  Simplify implementation
47186         by using get_next_seq, get_next_seq_cached and do_compare.
47188 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47190         [BZ #14699]
47191         CVE-2013-4237
47192         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47193         member.
47194         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47195         member.
47196         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47197         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47198         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47199         conditional.
47200         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47201         GETDENTS_64BIT_ALIGNED.
47202         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47203         * manual/filesys.texi (Reading/Closing Directory): Document
47204         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47205         strongly.
47206         * manual/conf.texi (Limits for Files): Add portability note to
47207         NAME_MAX, PATH_MAX.
47208         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47210 2013-08-13  Andreas Schwab  <schwab@suse.de>
47212         [BZ #15749]
47213         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47214         of fabs.
47215         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47216         LDBL_MAX_EXP >= 16384]: Add tests for it.
47218 2013-08-12  David S. Miller  <davem@davemloft.net>
47220         * version.h (RELEASE): Set to "development".
47221         (VERSION): Set to "2.18.90".
47222         * NEWS: Add 2.19 section.
47224 2013-08-03  David S. Miller  <davem@davemloft.net>
47226         * po/ko.po: Update Korean translation from translation project.
47228 2013-08-01  David S. Miller  <davem@davemloft.net>
47230         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47231         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47232         Bilka.
47234 2013-07-30  David S. Miller  <davem@davemloft.net>
47236         * po/fr.po: Update French translation from translation project.
47238 2013-07-28  David S. Miller  <davem@davemloft.net>
47240         * po/cs.po: Update Czech translation from translation project.
47242         * po/sv.po: Update Swedish translation from translation project.
47244 2013-07-27  David S. Miller  <davem@davemloft.net>
47246         * po/eo.po: Update Esperanto translation from translation project.
47248         * po/vi.po: Update Vietnamese translation from translation project.
47250         * po/de.po: Update German translation from translation project.
47252 2013-07-26  David S. Miller  <davem@davemloft.net>
47254         * po/bg.po: Update Bulgarian translation from translation project.
47256         * po/nl.po: Update Dutch translation from translation project.
47257         * po/pl.po: Update Polish translation from translation project.
47258         * po/ru.po: Update Russian translation from translation project.
47260 2013-07-24  David S. Miller  <davem@davemloft.net>
47262         * po/libc.pot: Update.
47264 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47266         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47267         variable page size.
47268         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47269         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47270         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47272 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47274         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47276 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47277             Andreas Schwab  <schwab@suse.de>
47278             Roland McGrath  <roland@hack.frob.com>
47279             Joseph Myers  <joseph@codesourcery.com>
47280             Carlos O'Donell  <carlos@redhat.com>
47282         [BZ #15755]
47283         * config.h.in: Define HAVE_PT_CHOWN.
47284         * config.make.in (build-pt-chown): New variable.
47285         * configure.in (--enable-pt_chown): New configure option.
47286         * configure: Regenerate.
47287         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47288         build-pt-chown is enabled.
47289         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47290         pt_chown to fix pty ownership.
47291         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47292         CLOSE_ALL_FDS.
47293         * manual/install.texi (Configuring and compiling): Mention
47294         --enable-pt_chown. Add @findex for grantpt.
47295         * INSTALL: Regenerate.
47297 2013-07-20  David S. Miller  <davem@davemloft.net>
47299         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47300         difference between 32-bit and 64-bit.
47302 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47304         [BZ #15711]
47305         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47306         Avoid system header dependency with -ffreestanding.
47307         ($(objpfx)bits/syscall%d): Likewise.
47309 2013-07-13  David S. Miller  <davem@davemloft.net>
47311         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47312         underflows from atanl/atan2l due to bug 15319.
47313         (casinh_test_data): Likewise.
47315 2013-07-07  David S. Miller  <davem@davemloft.net>
47317         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47319 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47321         * sysdeps/i386/fpu/libm-test-ulps: Update.
47322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47324 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47326         * configure.in (--enable-lock-elision): Fix message text.
47327         * INSTALL: Regenerate.
47328         * configure: Regenerate.
47330 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47334 2013-07-03  Andreas Jaeger  <aj@suse.de>
47336         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47337         define.
47338         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47339         (ptrace_peeksiginfo_args): Add.
47340         (__ptrace_peeksiginfo_flags): Add.
47341         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47342         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47343         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47345 2013-07-03  Allan McRae  <allan@archlinux.org>
47347         * sysdeps/i386/fpu/libm-test-ulps: Update.
47349 2013-07-02  David S. Miller  <davem@davemloft.net>
47351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47353 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47355         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47357 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47359         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47362 2013-07-02  Andi Kleen <ak@linux.intel.com>
47364         * config.h.in (ENABLE_LOCK_ELISION): Add.
47365         * configure.in (--enable-lock-elision): Add option.
47366         * manual/install.texi: Document --enable lock elision.
47367         * configure: Regenerate
47368         * INSTALL: Regenerate.
47370 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47372         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47373         SSE4.2 strcasecmp for libc.a.
47374         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47376 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47378         [BZ #13304]
47379         * soft-fp/op-common.h (_FP_FMA): New macro.
47380         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47381         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47382         (_FP_MUL_MEAT_1_imm): ... here.
47383         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47384         (_FP_MUL_MEAT_1_wide): ... here.
47385         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47386         (_FP_MUL_MEAT_1_hard): ... here.
47387         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47388         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47389         (_FP_MUL_MEAT_2_wide): ... here.
47390         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47391         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47392         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47393         (_FP_MUL_MEAT_2_gmp): ... here.
47394         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47395         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47396         (_FP_MUL_MEAT_4_wide): ... here.
47397         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47398         (_FP_MUL_MEAT_4_gmp): ... here.
47399         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47400         (_FP_WFRACBITS_DW_S): Likewise.
47401         (_FP_WFRACXBITS_DW_S): Likewise.
47402         (_FP_HIGHBIT_DW_S): Likewise.
47403         (FP_FMA_S): Likewise.
47404         (_FP_FRAC_HIGH_DW_S): Likewise.
47405         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47406         (_FP_WFRACBITS_DW_D): Likewise.
47407         (_FP_WFRACXBITS_DW_D): Likewise.
47408         (_FP_HIGHBIT_DW_D): Likewise.
47409         (FP_FMA_D): Likewise.
47410         (_FP_FRAC_HIGH_DW_D): Likewise.
47411         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47412         (_FP_WFRACBITS_DW_E): Likewise.
47413         (_FP_WFRACXBITS_DW_E): Likewise.
47414         (_FP_HIGHBIT_DW_E): Likewise.
47415         (FP_FMA_E): Likewise.
47416         (_FP_FRAC_HIGH_DW_E): Likewise.
47417         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47418         (_FP_WFRACBITS_DW_Q): Likewise.
47419         (_FP_WFRACXBITS_DW_Q): Likewise.
47420         (_FP_HIGHBIT_DW_Q): Likewise.
47421         (FP_FMA_Q): Likewise.
47422         (_FP_FRAC_HIGH_DW_Q): Likewise.
47423         * soft-fp/fmasf4.c: New file.
47424         * soft-fp/fmadf4.c: Likewise.
47425         * soft-fp/fmatf4.c: Likewise.
47427 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47430         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47431         Silvermont.
47432         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47433         macro.
47434         (index_Slow_SSE4_2): Likewise.
47435         (index_Prefer_PMINUB_for_stringop): Likewise.
47436         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47437         bit_Slow_SSE4_2 is set.
47438         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47439         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47441 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47443         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47444         rtld_global._dl_hwcap2.
47445         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47446         POWER8.
47447         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47448         POWER8 feature descriptions defined in _dl_hwcap2.
47449         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47450         string handling for POWER8 feature bits.
47451         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47452         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47453         _dl_powerpc_cap_flags.
47454         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47455         * sysdeps/powerpc/rtld-global-offsets.sym
47456         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47457         _dl_hwcap2 in the rtld_global_ro structure.
47459 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47461         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47462         hardware capabilities in support of AT_HWCAP2.
47463         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47464         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47465         GLRO(dl_hwcap2).
47466         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47467         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47468         explicitly the unknown a_type display mechanism is used.
47469         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47470         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47471         struct member.
47472         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47473         to macro prototype for AT_HWCAP2 support.
47474         * sysdeps/i386/dl-procinfo.h: Likewise.
47475         * sysdeps/s390/dl-procinfo.h: Likewise.
47476         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47477         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47478         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47479         return -1 for unknown a_type display fallback.
47480         * sysdeps/sparc/dl-procinfo.h: Likewise.
47481         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47482         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47484 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47486         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47487         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47489 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47491         [BZ #12492]
47492         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47493         mprotect making __stack_prot writable.
47495 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47496             Joseph Myers  <joseph@codesourcery.com>
47498         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47499         as being properly aligned.
47501 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47503         * dlfcn/modstatic5.c: New file.
47504         * dlfcn/tststatic5.c: New file.
47505         * dlfcn/Makefile (tests): Add tststatic5.
47506         (tests-static): Likewise.
47507         (modules-names): Add modstatic5.
47508         (tststatic5-ENV): New variable.
47509         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47511         [BZ #15022]
47512         * elf/dl-support.c (_dl_main_map): New variable.
47513         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47514         (_dl_nns, _dl_load_adds): Set to 1.
47515         (_dl_initial_searchlist): Refer to _dl_main_map.
47516         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47517         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47518         call to _dl_get_origin.
47519         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47520         around call_map.
47521         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47522         * dlfcn/modstatic3.c: New file.
47523         * dlfcn/tststatic3.c: New file.
47524         * dlfcn/tststatic4.c: New file.
47525         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47526         (tests-static): Likewise.
47527         (modules-names): Add modstatic3.
47528         (tststatic3-ENV, tststatic4-ENV): New variables.
47529         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47530         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47532 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47534         * configure.in (CC): Require GCC version 4.4 or later.
47535         * configure: Regenerated.
47536         * manual/install.texi (Tools for Compilation): Update GCC version
47537         requirement.
47538         * INSTALL: Regenerated.
47540 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47542         [BZ #15674]
47543         * string/test-memcmp.c (check2): New.
47544         (main): Call check2.
47546         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47548 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47550         [BZ #15022]
47551         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47552         over to...
47553         (dl_open_worker) [!SHARED]: ... here.
47555 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47557         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47559 2013-06-25  Richard Henderson  <rth@redhat.com>
47561         * locale/programs/locarchive.c: Include <libc-internal.h>
47563 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47565         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47566         trailing whitespace removed.
47568 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47570         [BZ #10283]
47571         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47572         * locale/programs/locarchive.c: Include libc-mmap.h.
47573         (prepare_address_space): Take two new outputs (the mmap base and len).
47574         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47575         values.
47576         (create_archive): Declare new mmap base and len values for
47577         prepare_address_space, and store the result in ah.
47578         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47579         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47580         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47581         Declare new mmap base and len values for
47582         prepare_address_space, and store the result in new_ah.
47583         (open_archive): Declare new mmap base and len values for
47584         prepare_address_space, and store the result in ah.
47585         (close_archive): If ah->mmap_base is not NULL, use that and
47586         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47587         * sysdeps/generic/libc-mmap.h: New file.
47589 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47591         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47592         (ALIGN_UP): Likewise.
47593         (PTR_ALIGN_DOWN): Likewise.
47594         (PTR_ALIGN_UP): Likewise.
47596 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47598         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47599         entry mapped to PPC_PLATFORM_POWER8.
47600         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47601         POWER8.
47602         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47603         (_dl_string_platform): Add case for exporting platform position for
47604         POWER8.
47605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47606         search path to sysdeps/powerpc/powerpc32/power8 directory.
47607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47608         search path to sysdeps/powerpc/powerpc64/power8 directory.
47609         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47610         power7 directories.
47611         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47612         power7 directories.
47614 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47616         * INSTALL: Regenerate.
47618         * nscd/connections.c (nscd_init): Fix comment.
47620 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47622         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47624         [BZ #15667]
47625         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47626         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47628 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47630         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47631         DL_DST_REQ_STATIC.
47632         (DL_DST_REQ_STATIC): Remove macro.
47634 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47636         [BZ #7006]
47637         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47638         with a shift of 0 bits.
47640 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47642         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47643         $(tststatic-ENV).
47645 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47647         [BZ #15655]
47648         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47650 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47652         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47653         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47654         accepts -fno-tree-loop-distribute-patterns.
47655         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47656         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47657         recursive call.
47658         * string/memset.c (memset): Likewise.
47659         * string/test-memmove.c (simple_memmove): Disable loop transformation
47660         to library calls.
47661         * string/test-memset.c (simple_memset): Likewise.
47662         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47663         * benchtests/bench-memset.c (simple_memset): Likewise.
47664         * configure: Regenerated.
47666 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47668         * math/test-misc.c (main): Ignore fesetround failure when failures
47669         of subsequent rounding tests would be ignored.
47671         [BZ #15654]
47672         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47673         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47674         * math/fegetenv.c (__fegetenv): Return 0.
47675         * math/fegetexcept.c (fegetexcept): Return 0.
47676         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47677         FE_TONEAREST.
47678         * math/feholdexcpt.c (feholdexcept): Return 0.
47679         * math/fesetenv.c (__fesetenv): Return 0.
47680         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47681         argument FE_TONEAREST.
47682         * math/feupdateenv.c (__feupdateenv): Return 0.
47683         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47685 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47687         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47688         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47689         ($(objpfx)rtld-%.os rules): Use them.
47691 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47693         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47694         fields.
47696 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47698         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47699         length of target pattern, then descending length of dependency pattern.
47700         * configure.in (AWK): Require gawk 3.1.2 or newer.
47701         * manual/install.texi (Tools for Compilation): Say that we do.
47702         * configure: Regenerated.
47704         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47705         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47706         * scripts/sysd-rules.awk: ... this new script.
47707         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47708         than a glob-style pattern.
47710 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47712         * math/test-misc.c (main): Do not treat incorrectly rounded
47713         conversions as failure unless ROUNDING_TESTS passes.
47715 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47717         [BZ #15631]
47718         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47719         restore exception state around main square root computation, then
47720         check for inexactness explicitly.
47722         * math/libm-test.inc (fma_test_data): Add another test.
47724 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47726         * manual/threads.texi (Non-POSIX Extensions): New document
47727         node.  Document pthread_getattr_default_np and
47728         pthread_setattr_default_np.
47730         * Versions.def (libpthread): Add GLIBC_2.18.
47731         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47733         Likewise.
47734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47735         Likewise.
47736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47737         Likewise.
47738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47739         Likewise.
47740         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47741         Likewise.
47742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47743         Likewise.
47744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47745         Likewise.
47746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47747         Likewise.
47748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47749         Likewise.
47751 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47753         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47754         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47756 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47757             H.J. Lu  <hjl.tools@gmail.com>
47759         [BZ #15627]
47760         * sysdeps/x86_64/rtld-memset.c: Remove file.
47761         * sysdeps/x86_64/rtld-memset.S: New file.
47763 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47765         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47766         (test_in_one_mode): Take arguments for whether the rounding mode
47767         is supported for each floating-point type.
47768         (do_test): Pass new arguments to test_in_one_mode using
47769         ROUNDING_TESTS.
47771 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47773         * posix/tst-waitid.c (do_test): Distinguish different instances of
47774         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47775         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47776         before entering the kernel for waitpid.
47778 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47780         * NEWS: Fix note on clock function precision.  Text by Roland
47781         McGrath.
47783 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47785         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47786         it into place only when and if the sanity check passes.
47788 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
47790         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47791         output for whether conversion result is exact.  Take argument
47792         indicating whether type is IBM long double.
47793         (round_for_all): Change need_exact field to ibm_ld.
47794         * stdlib/tst-strtod-round.c (struct exactness): New type.
47795         (struct test): Change bool ld_ok field to struct exactness exact.
47796         (TEST): Update all definitions for change to field.
47797         (tests): Regenerate array contents.
47798         (test_in_one_mode): Take pointer to new field instead of old ld_ok
47799         field value.  Check for IBM long double here.
47800         (do_test): Update calls to test_in_one_mode.
47802 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47804         [BZ #12515]
47805         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47806         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47808 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47810         [BZ #15605]
47811         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47812         generated by the compiler on loop optimizations.
47813         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47814         general definitions.
47816 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
47818         * math/bug-nextafter.c: Include <math-tests.h>.
47819         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47820         the relevant type.
47821         * math/bug-nexttoward.c: Include <math-tests.h>.
47822         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47823         the relevant type.
47824         * math/test-misc.c: Include <math-tests.h>.
47825         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47826         the relevant type.
47828 2013-06-12  Andreas Jaeger  <aj@suse.de>
47830         * po/ia.po: Update Interlingua translation from translation
47831         project.
47833 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47835         * include/fenv.h: Include stdbool.h.
47836         (struct rm_ctx): New structure.
47837         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47838         Define macro.
47839         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47840         (SET_RESTORE_ROUNDF): Likewise.
47841         (SET_RESTORE_ROUNDL): Likewise.
47842         (SET_RESTORE_ROUND_NOEX): Likewise.
47843         (SET_RESTORE_ROUND_NOEXF): Likewise.
47844         (SET_RESTORE_ROUND_NOEXL): Likewise.
47845         (SET_RESTORE_ROUND_53BIT): Likewise.
47846         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47847         (libc_feresetround_noexf_ctx): Likewise.
47848         (libc_feresetround_noexl_ctx): Likewise.
47849         (libc_feholdsetround_53bit_ctx): Likewise.
47850         (libc_feresetround_53bit_ctx): Likewise.
47851         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47852         (libc_feholdexcept_setround_sse_ctx): New function.
47853         (libc_fesetenv_sse_ctx): Likewise.
47854         (libc_feupdateenv_sse_ctx): Likewise.
47855         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47856         (libc_feholdexcept_setround_387_ctx): Likewise.
47857         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47858         (libc_feholdsetround_387_prec_ctx): Likewise.
47859         (libc_feholdsetround_387_ctx): Likewise.
47860         (libc_feholdsetround_387_53bit_ctx): Likewise.
47861         (libc_feholdsetround_sse_ctx): Likewise.
47862         (libc_feresetround_sse_ctx): Likewise.
47863         (libc_feresetround_387_ctx): Likewise.
47864         (libc_feupdateenv_387_ctx): Likewise.
47865         (libc_feholdexcept_setroundf_ctx): Define macro.
47866         (libc_fesetenvf_ctx): Likewise.
47867         (libc_feupdateenvf_ctx): Likewise.
47868         (libc_feholdsetroundf_ctx): Likewise.
47869         (libc_feresetroundf_ctx): Likewise.
47870         (libc_feholdexcept_setround_ctx): Likewise.
47871         (libc_fesetenv_ctx): Likewise.
47872         (libc_feupdateenv_ctx): Likewise.
47873         (libc_feholdsetround_ctx): Likewise.
47874         (libc_feresetround_ctx): Likewise.
47875         (libc_feholdexcept_setroundl_ctx): Likewise.
47876         (libc_feupdateenvl_ctx): Likewise.
47877         (libc_feholdsetroundl_ctx): Likewise.
47878         (libc_feresetroundl_ctx): Likewise.
47879         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47880         (libc_feresetround_53bit_ctx): Likewise.
47882 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47884         * locale/iso-639.def: Convert to UTF-8.
47886 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47888         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47889         (EXCEPTION_TESTS_double): Likewise.
47890         (EXCEPTION_TESTS_long_double): Likewise.
47891         (EXCEPTION_TESTS): Likewise.
47892         * math/libm-test.inc (test_exceptions): Only test exceptions if
47893         EXCEPTION_TESTS (FLOAT).
47895 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47897         * benchtests/Makefile (string-bench): Add strcpy_chk and
47898         stpcpy_chk.
47899         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47900         * benchtests/bench-stpcpy_chk.c: New file.
47901         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47902         * benchtests/bench-strcpy_chk.c: New file.
47903         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47904         code.
47905         (do_test): Likewise.
47907 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47909         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47910         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47911         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47912         with tabs where appropriate.
47913         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47914         dl-procinfo.h.
47915         [PPC_PLATFORM_PPC440]: Likewise.
47916         [PPC_PLATFORM_PPC464]: Likewise.
47917         [PPC_PLATFORM_PPC476]: Likewise.
47918         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47919         ppc464, and ppc476 platform strings merging from ports/
47920         dl-procinfo.h.
47922 2013-06-11  Andreas Schwab  <schwab@suse.de>
47924         [BZ #14991]
47925         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47926         (from_ucs4_idx): Regenerate.
47927         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47928         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47929         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47930         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47931         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47932         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47933         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47934         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47935         from FROM_LOOP and TO_LOOP specific macros.
47936         (BODY): Handle combining characters.
47937         * iconvdata/BIG5HKSCS.irreversible: Update.
47938         * iconvdata/BIG5HKSCS.precomposed: New file.
47939         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47940         characters.
47941         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47943 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47945         * include/sys/time.h: Fix indentation and add copyright header.
47947         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47948         (do_test): Likewise.
47949         * string/test-memchr.c (do_one_test): Likewise.
47950         (do_test): Likewise.
47951         * string/test-memcmp.c (do_one_test): Likewise.
47952         (do_test): Likewise.
47953         * string/test-memcpy.c (do_one_test): Likewise.
47954         (do_test): Likewise.
47955         * string/test-memmem.c (do_one_test): Likewise.
47956         (do_test): Likewise.
47957         (do_random_tests): Likewise.
47958         * string/test-memmove.c (do_one_test): Likewise.
47959         (do_test): Likewise.
47960         * string/test-memset.c (do_one_test): Likewise.
47961         (do_test): Likewise.
47962         * string/test-rawmemchr.c (do_one_test): Likewise.
47963         (do_test): Likewise.
47964         * string/test-strcasecmp.c (do_one_test): Likewise.
47965         (do_test): Likewise.
47966         * string/test-strcasestr.c (do_one_test): Likewise.
47967         (do_test): Likewise.
47968         * string/test-strcat.c (do_one_test): Likewise.
47969         (do_test): Likewise.
47970         * string/test-strchr.c (do_one_test): Likewise.
47971         (do_test): Likewise.
47972         * string/test-strcmp.c (do_one_test): Likewise.
47973         (do_test): Likewise.
47974         * string/test-strcpy.c (do_one_test): Likewise.
47975         (do_test): Likewise.
47976         * string/test-string.h: Likewise.
47977         (test_init): Likewise.
47978         * string/test-strlen.c (do_one_test): Likewise.
47979         (do_test): Likewise.
47980         * string/test-strncasecmp.c (do_one_test): Likewise.
47981         (do_test): Likewise.
47982         * string/test-strncat.c (do_one_test): Likewise.
47983         (do_test): Likewise.
47984         * string/test-strncmp.c (do_one_test): Likewise.
47985         (do_test_limit): Likewise.
47986         (do_test): Likewise.
47987         * string/test-strncpy.c (do_one_test): Likewise.
47988         (do_test): Likewise.
47989         * string/test-strnlen.c (do_one_test): Likewise.
47990         (do_test): Likewise.
47991         * string/test-strpbrk.c (do_one_test): Likewise.
47992         (do_test): Likewise.
47993         * string/test-strrchr.c (do_one_test): Likewise.
47994         (do_test): Likewise.
47995         * string/test-strspn.c (do_one_test): Likewise.
47996         (do_test): Likewise.
47997         * string/test-strstr.c (do_one_test): Likewise.
47998         (do_test): Likewise.
48000         * benchtests/Makefile (string-bench): Add string benchmarks.
48001         * benchtests/bench-bcopy-ifunc.c: New file.
48002         * benchtests/bench-bcopy.c: New file.
48003         * benchtests/bench-bzero-ifunc.c: New file.
48004         * benchtests/bench-bzero.c: New file.
48005         * benchtests/bench-memccpy-ifunc.c: New file.
48006         * benchtests/bench-memccpy.c: New file.
48007         * benchtests/bench-memchr-ifunc.c: New file.
48008         * benchtests/bench-memchr.c: New file.
48009         * benchtests/bench-memcmp-ifunc.c: New file.
48010         * benchtests/bench-memcmp.c: New file.
48011         * benchtests/bench-memmem-ifunc.c: New file.
48012         * benchtests/bench-memmem.c: New file.
48013         * benchtests/bench-memmove-ifunc.c: New file.
48014         * benchtests/bench-memmove.c: New file.
48015         * benchtests/bench-mempcpy-ifunc.c: New file.
48016         * benchtests/bench-mempcpy.c: New file.
48017         * benchtests/bench-memset-ifunc.c: New file.
48018         * benchtests/bench-memset.c: New file.
48019         * benchtests/bench-rawmemchr-ifunc.c: New file.
48020         * benchtests/bench-rawmemchr.c: New file.
48021         * benchtests/bench-stpcpy-ifunc.c: New file.
48022         * benchtests/bench-stpcpy.c: New file.
48023         * benchtests/bench-stpncpy-ifunc.c: New file.
48024         * benchtests/bench-stpncpy.c: New file.
48025         * benchtests/bench-strcasecmp-ifunc.c: New file.
48026         * benchtests/bench-strcasecmp.c: New file.
48027         * benchtests/bench-strcasestr-ifunc.c: New file.
48028         * benchtests/bench-strcasestr.c: New file.
48029         * benchtests/bench-strcat-ifunc.c: New file.
48030         * benchtests/bench-strcat.c: New file.
48031         * benchtests/bench-strchr-ifunc.c: New file.
48032         * benchtests/bench-strchr.c: New file.
48033         * benchtests/bench-strchrnul-ifunc.c: New file.
48034         * benchtests/bench-strchrnul.c: New file.
48035         * benchtests/bench-strcmp-ifunc.c: New file.
48036         * benchtests/bench-strcmp.c: New file.
48037         * benchtests/bench-strcpy-ifunc.c: New file.
48038         * benchtests/bench-strcpy.c: New file.
48039         * benchtests/bench-strcspn-ifunc.c: New file.
48040         * benchtests/bench-strcspn.c: New file.
48041         * benchtests/bench-strlen-ifunc.c: New file.
48042         * benchtests/bench-strlen.c: New file.
48043         * benchtests/bench-strncasecmp-ifunc.c: New file.
48044         * benchtests/bench-strncasecmp.c: New file.
48045         * benchtests/bench-strncat-ifunc.c: New file.
48046         * benchtests/bench-strncat.c: New file.
48047         * benchtests/bench-strncmp-ifunc.c: New file.
48048         * benchtests/bench-strncmp.c: New file.
48049         * benchtests/bench-strncpy-ifunc.c: New file.
48050         * benchtests/bench-strncpy.c: New file.
48051         * benchtests/bench-strnlen-ifunc.c: New file.
48052         * benchtests/bench-strnlen.c: New file.
48053         * benchtests/bench-strpbrk-ifunc.c: New file.
48054         * benchtests/bench-strpbrk.c: New file.
48055         * benchtests/bench-strrchr-ifunc.c: New file.
48056         * benchtests/bench-strrchr.c: New file.
48057         * benchtests/bench-strspn-ifunc.c: New file.
48058         * benchtests/bench-strspn.c: New file.
48059         * benchtests/bench-strstr-ifunc.c: New file.
48060         * benchtests/bench-strstr.c: New file.
48062         * benchtests/Makefile: Disable parallel execution of targets.
48063         (string-bench): Add memcpy.
48064         (benchset): New variable to store a list of benchmark sets.
48065         (bench-func): Renamed from bench.
48066         (bench-set): New target.
48067         (bench): Depend on bench-func and bench-set.
48068         * benchtests/README: Add section on benchmark sets.
48069         * benchtests/bench-memcpy-ifunc.c: New file.
48070         * benchtests/bench-memcpy.c: New file.
48071         * benchtests/bench-string.h: New file.
48073 2013-06-11  Andreas Schwab  <schwab@suse.de>
48075         [BZ #15577]
48076         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48077         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48078         values in the triple.
48079         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48080         terminator in the group key.
48082 2013-06-11  Andreas Jaeger  <aj@suse.de>
48084         * po/zh_TW.po: Update Chinese (traditional) translation from
48085         translation project.
48087 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48089         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48090         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48091         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48092         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48093         (clock_getcpuclockid): Likewise.
48094         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48095         Add weak_alias and libc_hidden_def.
48096         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48097         * rt/clock_gettime.c (clock_gettime): Rename to
48098         __clock_gettime.  Add weak_alias and libc_hidden_def.
48099         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48100         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48101         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48102         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48103         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48104         Likewise.
48105         * rt/clock_settime.c (clock_settime): Rename to
48106         __clock_settime.  Add weak_alias and libc_hidden_def.
48107         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48109 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48111         * mach/err_boot.sub: Remove trailing whitespace.
48112         * mach/err_ipc.sub: Likewise.
48113         * mach/err_mach.sub: Likewise.
48115         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48116         (ROUNDING_TESTS_double): Likewise.
48117         (ROUNDING_TESTS_long_double): Likewise.
48118         (ROUNDING_TESTS): Likewise.
48119         * math/libm-test.inc: Include <math-tests.h>.
48120         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48121         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48122         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48123         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48125 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48127         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48128         of assigning.
48130 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48132         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48133         otherwise empty TRANS lines.
48134         * sysdeps/gnu/errlist.c: Regenerated.
48136         * catgets/gencat.c (error_print): Use (void) in function
48137         definition.
48138         * crypt/crypt_util.c (__init_des): Likewise.
48139         * crypt/speeds.c (Stop): Likewise.
48140         (main): Likewise.
48141         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48142         * inet/ruserpass.c (token): Likewise.
48143         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48144         * intl/localealias.c (extend_alias_table): Likewise.
48145         * intl/plural-exp.c (init_germanic_plural): Likewise.
48146         * libio/fcloseall.c (__fcloseall): Likewise.
48147         * libio/genops.c (_IO_flush_all): Likewise.
48148         (_IO_flush_all_linebuffered): Likewise.
48149         (_IO_cleanup): Likewise.
48150         (_IO_iter_begin): Likewise.
48151         (_IO_iter_end): Likewise.
48152         (_IO_list_lock): Likewise.
48153         (_IO_list_unlock): Likewise.
48154         (_IO_list_resetlock): Likewise.
48155         * libio/getchar.c (getchar): Likewise.
48156         * libio/getchar_u.c (getchar_unlocked): Likewise.
48157         * libio/getwchar.c (getwchar): Likewise.
48158         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48159         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48160         * login/getpt.c (__getpt): Likewise.
48161         * login/tst-utmp.c (main): Likewise.
48162         * malloc/hooks.c (__malloc_check_init): Likewise.
48163         * malloc/malloc.c (__malloc_stats): Likewise.
48164         * malloc/mtrace.c (tr_break): Likewise.
48165         (mtrace): Likewise.
48166         (muntrace): Likewise.
48167         * misc/fstab.c (endfsent): Likewise.
48168         * misc/getclktck.c (__getclktck): Likewise.
48169         * misc/getdtsz.c (__getdtablesize): Likewise.
48170         * misc/gethostid.c (gethostid): Likewise.
48171         * misc/getpagesize.c (__getpagesize): Likewise.
48172         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48173         (__get_nprocs): Likewise.
48174         (__get_phys_pages): Likewise.
48175         (__get_avphys_pages): Likewise.
48176         * misc/getttyent.c (getttyent): Likewise.
48177         (setttyent): Likewise.
48178         (endttyent): Likewise.
48179         * misc/getusershell.c (getusershell): Likewise.
48180         (endusershell): Likewise.
48181         (setusershell): Likewise.
48182         (initshells): Likewise.
48183         * misc/hsearch.c (__hdestroy): Likewise.
48184         * misc/sync.c (sync): Likewise.
48185         * misc/syslog.c (closelog_internal): Likewise.
48186         (closelog): Likewise.
48187         * misc/ttyslot.c (ttyslot): Likewise.
48188         * misc/vhangup.c (vhangup): Likewise.
48189         * posix/fork.c (__fork): Likewise.
48190         * posix/getegid.c (__getegid): Likewise.
48191         * posix/geteuid.c (__geteuid): Likewise.
48192         * posix/getgid.c (__getgid): Likewise.
48193         * posix/getpid.c (__getpid): Likewise.
48194         * posix/getppid.c (__getppid): Likewise.
48195         * posix/getuid.c (__getuid): Likewise.
48196         * posix/pause.c (pause): Likewise.
48197         * posix/setpgrp.c (setpgrp): Likewise.
48198         * posix/setsid.c (__setsid): Likewise.
48199         * posix/test-vfork.c (noop): Likewise.
48200         * resolv/gethnamaddr.c (_endhtent): Likewise.
48201         (_gethtent): Likewise.
48202         (ht_endhostent): Likewise.
48203         (gethostent): Likewise.
48204         (dns_service): Likewise.
48205         * stdlib/drand48.c (drand48): Likewise.
48206         * stdlib/lrand48.c (lrand48): Likewise.
48207         * stdlib/mrand48.c (mrand48): Likewise.
48208         * stdlib/rand.c (rand): Likewise.
48209         * stdlib/random.c (__random): Likewise.
48210         * stdlib/setenv.c (clearenv): Likewise.
48211         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48212         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48213         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48214         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48215         (__get_nprocs): Likewise.
48216         (__get_phys_pages): Likewise.
48217         (__get_avphys_pages): Likewise.
48218         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48219         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48220         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48221         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48222         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48223         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48224         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48225         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48226         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48227         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48228         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48229         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48230         * sysdeps/posix/clock.c (clock): Likewise.
48231         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48232         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48233         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48234         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48235         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48236         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48237         (__get_nprocs_conf): Likewise.
48238         (__get_phys_pages): Likewise.
48239         (__get_avphys_pages): Likewise.
48240         * time/clock.c (clock): Likewise.
48241         * time/tzset.c (__tzname_max): Likewise.
48243 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48245         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48246         (__bswap_32): Do not use "register".
48247         * crypt/crypt.c (_ufc_doit_r): Likewise.
48248         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48249         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48250         * gmon/gmon.c (__monstartup): Likewise.
48251         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48252         * hurd/hurdmalloc.c (more_memory): Likewise.
48253         (malloc): Likewise.
48254         (free): Likewise.
48255         (realloc): Likewise.
48256         (malloc_fork_prepare): Likewise.
48257         (malloc_fork_parent): Likewise.
48258         (malloc_fork_child): Likewise.
48259         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48260         (_svcauth_des): Likewise.
48261         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48262         * inet/inet_net.c (inet_network): Likewise.
48263         * inet/inet_netof.c (inet_netof): Likewise.
48264         * inet/rcmd.c (__validuser2_sa): Likewise.
48265         * io/fts.c (fts_open): Likewise.
48266         (fts_load): Likewise.
48267         (fts_close): Likewise.
48268         (fts_read): Likewise.
48269         (fts_children): Likewise.
48270         (fts_build): Likewise.
48271         (fts_stat): Likewise.
48272         (fts_sort): Likewise.
48273         (fts_alloc): Likewise.
48274         (fts_lfree): Likewise.
48275         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48276         (_IO_file_xsgetn): Likewise.
48277         (_IO_file_xsgetn_mmap): Likewise.
48278         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48279         (_IO_cookie_write): Likewise.
48280         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48281         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48282         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48283         * malloc/obstack.c (_obstack_begin): Likewise.
48284         (_obstack_begin_1): Likewise.
48285         (_obstack_newchunk): Likewise.
48286         (_obstack_allocated_p): Likewise.
48287         (obstack_free): Likewise.
48288         (_obstack_memory_used): Likewise.
48289         * misc/getttyent.c (getttynam): Likewise.
48290         (getttyent): Likewise.
48291         (skip): Likewise.
48292         (value): Likewise.
48293         * misc/getusershell.c (initshells): Likewise.
48294         * misc/syslog.c (__vsyslog_chk): Likewise.
48295         * misc/ttyslot.c (ttyslot): Likewise.
48296         * nis/nis_hash.c (__nis_hash): Likewise.
48297         * posix/fnmatch_loop.c (FCT): Likewise.
48298         * posix/getconf.c (print_all): Likewise.
48299         (main): Likewise.
48300         * posix/getopt.c (exchange): Likewise.
48301         * posix/glob.c (globfree): Likewise.
48302         (prefix_array): Likewise.
48303         (__glob_pattern_type): Likewise.
48304         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48305         (NS_GET32): Likewise.
48306         (NS_PUT16): Likewise.
48307         (NS_PUT32): Likewise.
48308         * resolv/gethnamaddr.c (getanswer): Likewise.
48309         (gethostbyname2): Likewise.
48310         (gethostbyaddr): Likewise.
48311         (_gethtent): Likewise.
48312         (_gethtbyname2): Likewise.
48313         (_gethtbyaddr): Likewise.
48314         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48315         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48316         * resolv/res_init.c (__res_vinit): Likewise.
48317         (net_mask): Likewise.
48318         * resolv/res_mkquery.c (outchar): Likewise.
48319         (PRINT): Likewise.
48320         * stdio-common/printf_fp.c (outchar): Likewise.
48321         (PRINT): Likewise.
48322         * stdio-common/printf_fphex.c (outchar): Likewise.
48323         (PRINT): Likewise.
48324         * stdio-common/printf_size.c (outchar): Likewise.
48325         (PRINT): Likewise.
48326         * stdio-common/test_rdwr.c (main): Likewise.
48327         * stdio-common/tfformat.c (matches): Likewise.
48328         * stdio-common/vfprintf.c (outchar): Likewise.
48329         (printf_unknown): Likewise.
48330         (buffered_vfprintf): Likewise.
48331         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48332         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48333         (ReadFile): Likewise.
48334         * stdlib/qsort.c (SWAP): Likewise.
48335         (_quicksort): Likewise.
48336         * stdlib/setenv.c (__add_to_environ): Likewise.
48337         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48338         * stdlib/strtol_l.c (__strtol_l): Likewise.
48339         * stdlib/tst-strtod.c (main): Likewise.
48340         * stdlib/tst-strtol.c (main): Likewise.
48341         * stdlib/tst-strtoll.c (main): Likewise.
48342         * string/bits/string2.h (__strcmp_cc): Likewise.
48343         (__strcmp_cg): Likewise.
48344         (__strcspn_c1): Likewise.
48345         (__strcspn_c2): Likewise.
48346         (__strcspn_c3): Likewise.
48347         (__strspn_c1): Likewise.
48348         (__strspn_c2): Likewise.
48349         (__strspn_c3): Likewise.
48350         (__strsep_1c): Likewise.
48351         (__strsep_2c): Likewise.
48352         (__strsep_3c): Likewise.
48353         * string/memccpy.c (__memccpy): Likewise.
48354         * string/stpcpy.c (__stpcpy): Likewise.
48355         * string/strcmp.c (strcmp): Likewise.
48356         * string/strrchr.c (strrchr): Likewise.
48357         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48358         Likewise.
48359         * sysdeps/mach/hurd/getcwd.c
48360         (_hurd_canonicalize_directory_name_internal): Likewise.
48361         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48362         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48363         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48364         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48365         Likewise, in both definitions.
48366         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48367         definitions.
48368         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48369         64] (__bswap_64): Likewise.
48370         * time/test_time.c (main): Likewise.
48371         * time/tzfile.c (__tzfile_read): Likewise.
48372         (__tzfile_compute): Likewise.
48373         * time/tzset.c (__tzset_parse_tz): Likewise.
48374         (tzset_internal): Likewise.
48375         (compute_change): Likewise.
48376         * wcsmbs/wcscat.c (__wcscat): Likewise.
48377         * wcsmbs/wcschr.c (wcschr): Likewise.
48378         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48379         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48380         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48381         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48382         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48383         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48384         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48385         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48386         * wcsmbs/wmemset.c (wmemset): Likewise.
48388 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48390         * scripts/config.guess: Update to version 2013-05-16.
48391         * scripts/config.sub: Update to version 2013-04-24.
48392         * scripts/install-sh: Update to version 2011-11-20.07.
48393         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48394         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48396 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48398         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48399         * elf/sln.c: Likewise.
48400         * hurd/hurd/ioctl.h: Likewise.
48401         * hurd/hurdmalloc.c: Likewise.
48402         * hurd/xattr.c: Likewise.
48403         * include/shlib-compat.h: Likewise.
48404         * inet/ruserpass.c: Likewise.
48405         * libio/iofgets_u.c: Likewise.
48406         * libio/iofgetws_u.c: Likewise.
48407         * locale/programs/ld-identification.c: Likewise.
48408         * locale/programs/ld-time.c: Likewise.
48409         * mach/msg-destroy.c: Likewise.
48410         * nss/nss_files/files-netgrp.c: Likewise.
48411         * resolv/res_data.c: Likewise.
48412         * soft-fp/op-1.h: Likewise.
48413         * soft-fp/op-2.h: Likewise.
48414         * soft-fp/op-4.h: Likewise.
48415         * soft-fp/op-common.h: Likewise.
48416         * stdio-common/printf_fphex.c: Likewise.
48417         * stdlib/strtod_l.c: Likewise.
48418         * sunrpc/rpc/clnt.h: Likewise.
48419         * sysdeps/generic/framestate.c: Likewise.
48420         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48421         * sysdeps/i386/bsd-setjmp.S: Likewise.
48422         * sysdeps/i386/__longjmp.S: Likewise.
48423         * sysdeps/i386/setjmp.S: Likewise.
48424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48425         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48426         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48427         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48428         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48429         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48430         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48431         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48432         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48433         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48434         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48435         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48436         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48437         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48438         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48439         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48440         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48441         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48442         * sysdeps/ieee754/support.c: Likewise.
48443         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48444         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48445         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48446         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48447         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48448         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48449         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48450         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48451         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48452         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48453         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48454         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48455         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48456         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48457         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48458         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48459         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48462 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48464         * posix/transbug.c: Remove executable mode.
48466 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48468         * crypt/speeds.c: Remove trailing whitespace.
48469         * dlfcn/default.c: Likewise.
48470         * elf/ifuncdep2.c: Likewise.
48471         * elf/ifuncmain1.c: Likewise.
48472         * elf/ifuncmain1vis.c: Likewise.
48473         * elf/testobj.h: Likewise.
48474         * elf/tst-stackguard1.c: Likewise.
48475         * gmon/sys/gmon.h: Likewise.
48476         * hurd/hurdmsg.c: Likewise.
48477         * hurd/new-fd.c: Likewise.
48478         * hurd/ports-get.c: Likewise.
48479         * iconvdata/ibm1008_420.c: Likewise.
48480         * inet/tst-getni1.c: Likewise.
48481         * inet/tst-getni2.c: Likewise.
48482         * libio/ioungetc.c: Likewise.
48483         * libio/wfiledoalloc.c: Likewise.
48484         * manual/libm-err-tab.pl: Likewise.
48485         * math/w_dremf.c: Likewise.
48486         * misc/ftruncate.c: Likewise.
48487         * posix/bug-glob2.c: Likewise.
48488         * posix/tst-pcre.c: Likewise.
48489         * posix/wait4.c: Likewise.
48490         * resolv/README: Likewise.
48491         * resolv/res_debug.h: Likewise.
48492         * resolv/tst-inet_ntop.c: Likewise.
48493         * setjmp/bug269-setjmp.c: Likewise.
48494         * soft-fp/extended.h: Likewise.
48495         * soft-fp/op-1.h: Likewise.
48496         * soft-fp/op-2.h: Likewise.
48497         * soft-fp/op-4.h: Likewise.
48498         * soft-fp/op-8.h: Likewise.
48499         * soft-fp/testit.c: Likewise.
48500         * stdio-common/bug16.c: Likewise.
48501         * stdlib/random.c: Likewise.
48502         * sunrpc/rpcsvc/rquota.x: Likewise.
48503         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48504         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48505         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48506         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48507         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48508         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48509         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48510         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48511         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48512         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48513         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48514         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48515         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48516         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48517         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48518         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48519         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48520         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48521         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48522         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48523         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48524         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48525         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48526         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48527         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48528         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48529         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48530         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48531         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48532         * sysdeps/ieee754/s_lib_version.c: Likewise.
48533         * sysdeps/mach/hurd/check_fds.c: Likewise.
48534         * sysdeps/mach/hurd/getsockname.c: Likewise.
48535         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48536         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48537         * sysdeps/powerpc/bits/link.h: Likewise.
48538         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48539         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48540         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48541         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48542         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48543         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48544         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48545         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48546         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48547         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48548         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48549         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48550         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48551         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48552         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48553         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48554         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48555         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48556         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48557         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48558         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48559         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48560         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48561         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48562         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48563         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48564         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48565         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48566         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48567         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48568         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48569         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48570         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48571         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48572         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48573         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48574         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48575         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48576         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48577         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48578         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48579         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48580         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48581         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48582         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48583         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48584         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48585         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48586         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48587         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48588         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48589         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48590         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48591         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48592         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48593         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48594         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48595         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48596         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48597         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48598         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48599         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48600         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48601         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48602         * sysdeps/powerpc/sysdep.h: Likewise.
48603         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48604         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48605         * sysdeps/sh/dl-trampoline.S: Likewise.
48606         * sysdeps/sh/memset.S: Likewise.
48607         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48608         * sysdeps/sh/strlen.S: Likewise.
48609         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48610         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48611         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48612         * sysdeps/sparc/sparc32/rem.S: Likewise.
48613         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48614         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48615         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48616         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48617         * sysdeps/sparc/sparc32/urem.S: Likewise.
48618         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48619         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48620         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48621         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48622         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48623         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48624         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48625         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48626         * sysdeps/unix/bsd/times.c: Likewise.
48627         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48628         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48632         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48633         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48634         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48635         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48636         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48637         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48638         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48639         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48640         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48641         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48642         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48643         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48644         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48645         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48646         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48647         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48648         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48649         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48650         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48651         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48652         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48653         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48654         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48655         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48656         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48657         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48658         * sysdeps/x86_64/strcspn.S: Likewise.
48660 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48662         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48663         generated file.  Regenerate properly from gen-translit.pl.
48664         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48665         locale/C-translit.h.
48667 2013-06-05  Andreas Schwab  <schwab@suse.de>
48669         [BZ #15100]
48670         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48671         week as 6 instead of -1.
48672         * time/tst-strptime.c (day_tests): Add test case.
48674 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48676         * sysdeps/generic/math_private.h
48677         (libc_feholdexcept_setround_53bit): Replace with
48678         libc_feholdsetround_53bit.
48679         (libc_feupdateenv_53bit): Replace with
48680         libc_feresetround_53bit.
48681         (SET_RESTORE_ROUND_53BIT): Adjust.
48683 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48685         * string/test-strchrnul.c: Add copyright header.
48687         * posix/tst-getaddrinfo4.c: Increase test timeout.
48689 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48691         [BZ #15536]
48692         * math/libm-test.inc (MAX_EXP): Remove
48693         (MIN_EXP): Define.
48694         (ulp): Use MIN_EXP - MANT_DIG.
48695         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48697 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48699         * po/be.po: Revert last change.
48700         * po/zh_CN.po: Likewise.
48701         * po/header.pot: Likewise.
48703 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48705         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48706         link-libc-deps to empty as target-specific variable.
48707         * Makerules (link-libc-args): New variable.
48708         (libc-for-link): Likewise.
48709         (link-libc-deps): Likewise.
48710         (lib%.so): Depend on $(link-libc-deps).  Link with
48711         $(link-libc-args).
48712         (build-module): Link with $(link-libc-args).
48713         (build-module-asneeded): Likewise.
48714         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48715         list of objects.
48716         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48717         target-specific variable.
48718         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48719         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48720         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48721         libc.
48722         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48723         libc and ld.so.
48724         ($(objpfx)libpcprofile.so): Likewise.
48725         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48726         libc_nonshared.a.
48727         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48728         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48729         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48730         $(link-libc-deps).
48731         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48732         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48733         * login/Makefile ($(objpfx)libutil.so): Likewise.
48734         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48735         * math/Makefile ($(objpfx)libm.so): Likewise.
48736         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48737         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48738         variable instead of depending directly on libc.
48739         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48740         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48741         $(link-libc-deps).
48742         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48743         libc.
48744         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48745         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48746         ($(objpfx)libanl.so): Likewise.
48747         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48748         ld.so.
48749         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48750         $(link-libc-deps).
48751         * sysdeps/i386/fpu/Makefile: Remove file.
48752         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48753         ($(objpfx)libm.so): Remove dependency on ld.so.
48755 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48757         [BZ # 15553]
48758         * nis/yp_xdr.c (XDRMAXNAME): Define.
48759         (XDRMAXRECORD): Define.
48760         (xdr_domainname): Use XDRMAXNAME.
48761         (xdr_mapname): Likewise.
48762         (xdr_peername): Likewise.
48763         (xdr_keydat): Use XDRMAXRECORD.
48764         (xdr_valdat): Likewise.
48766 2013-05-30  Jeff Law  <law@redhat.com>
48768         [BZ #14256]
48769         * manual/errno.texi (ESTALE): Update to account for more than
48770         just NFS file systems.
48771         * sysdeps/gnu/errlist.c: Regenerated.
48773 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48775         [BZ #15465]
48776         * elf/Makefile (tests): Add tst-null-argv.
48777         (modules-names):  Add tst-null-argv-lib.
48778         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48779         (tst-null-argv-ENV): Set environment for tst-null-argv.
48780         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48781         (RTLD_PROGNAME): New macro.
48782         * elf/tst-null-argv.c: New test case.
48783         * elf/tst-null-argv-lib.c: Library for test case.
48784         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48785         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48786         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48787         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48788         * elf/dl-init.c (call_init): Likewise.
48789         (_dl_init): Likewise.
48790         * elf/dl-load.c (print_search_path): Likewise.
48791         (_dl_map_object): Likewise.
48792         * elf/dl-lookup.c (do_lookup_x): Likewise.
48793         (add_dependency): Likewise.
48794         (_dl_lookup_symbol_x): Likewise.
48795         (_dl_debug_bindings): Likewise.
48796         * elf/dl-open.c (_dl_show_scope): Likewise.
48797         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48798         * elf/dl-version.c (match_symbol): Likewise.
48799         (_dl_check_map_versions): Likewise.
48800         * elf/rtld.c (dl_main): Likewise.
48801         (print_unresolved): Use RTLD_PROGNAME.
48802         (print_missing_version): Likewise.
48803         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48804         (elf_machine_rela): Likewise.
48805         * sysdeps/powerpc/powerpc32/dl-machine.c
48806         (__process_machine_rela): Likewise.
48807         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48808         Likewise.
48809         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48810         Likewise.
48811         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48812         Likewise.
48813         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48814         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48815         Likewise.
48816         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48817         Likewise.
48818         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48820 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
48822         * po/be.po: Add descriptive title.
48823         * po/zh_CN.po: Likewise.
48824         * po/header.pot: Likewise.
48826 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
48828         * locale/programs/locarchive.c (create_archive): Inlucde fname in
48829         error message.
48830         (enlarge_archive): Likewise.
48832 2013-05-28  Ben North  <ben@redfrontdoor.org>
48834         * manual/arith.texi (frexp): It is the magnitude of the return
48835         value which lies in [0.5, 1), not the return value itself.
48837 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48841 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
48843         * stdio-common/bug26.c (main): Correct fscanf template.
48845         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48846         declare _dl_skip_args.
48848         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48849         Don't declare.
48851         * manual/platform.texi: Add missing @end deftypefun.
48853 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48855         [BZ #15529]
48856         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48857         bit of mantissa of 2^16382.
48858         * math/libm-test.inc (hypot_test_data): Add more tests.
48860         * math/libm-test.inc: Add drem and pow10 to list of tested
48861         functions.
48862         (pow10_test): New function.
48863         (drem_test): Likewise.
48864         (drem_test_tonearest): Likewise.
48865         (drem_test_towardzero): Likewise.
48866         (drem_test_downward): Likewise.
48867         (drem_test_upward): Likewise.
48868         (main): Call the new functions.
48870         * math/libm-test.inc (finite_test_data): Remove.
48871         (finite_test): Run tests from isfinite_test_data.
48872         (gamma_test_data): Remove.
48873         (gamma_test): Run tests from lgamma_test_data.
48874         * sysdeps/i386/fpu/libm-test-ulps: Update.
48875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48877 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48879         * manual/platform.texi: Add PowerPC PPR function set documentation.
48880         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48881         implementation.
48883 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48885         * math/libm-test.inc (MAX_EXP): Define.
48886         (ULPDIFF): Define.
48887         (ulp): New function.
48888         (check_float_internal): Use ULPDIFF.
48889         (cpow_test): Disable failing test.
48890         (check_ulp): Test ulp() implemetnation.
48891         (main): Call check_ulp before starting tests.
48893 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48895         * math/gen-libm-test.pl (generate_testfile): Do not handle
48896         START_DATA and END_DATA.
48897         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48898         END_DATA.
48899         (acos_tonearest_test_data): Likewise.
48900         (acos_towardzero_test_data): Likewise.
48901         (acos_downward_test_data): Likewise.
48902         (acos_upward_test_data): Likewise.
48903         (acosh_test_data): Likewise.
48904         (asin_test_data): Likewise.
48905         (asin_tonearest_test_data): Likewise.
48906         (asin_towardzero_test_data): Likewise.
48907         (asin_downward_test_data): Likewise.
48908         (asin_upward_test_data): Likewise.
48909         (asinh_test_data): Likewise.
48910         (atan_test_data): Likewise.
48911         (atanh_test_data): Likewise.
48912         (atan2_test_data): Likewise.
48913         (cabs_test_data): Likewise.
48914         (cacos_test_data): Likewise.
48915         (cacosh_test_data): Likewise.
48916         (carg_test_data): Likewise.
48917         (casin_test_data): Likewise.
48918         (casinh_test_data): Likewise.
48919         (catan_test_data): Likewise.
48920         (catanh_test_data): Likewise.
48921         (cbrt_test_data): Likewise.
48922         (ccos_test_data): Likewise.
48923         (ccosh_test_data): Likewise.
48924         (ceil_test_data): Likewise.
48925         (cexp_test_data): Likewise.
48926         (cimag_test_data): Likewise.
48927         (clog_test_data): Likewise.
48928         (clog10_test_data): Likewise.
48929         (conj_test_data): Likewise.
48930         (copysign_test_data): Likewise.
48931         (cos_test_data): Likewise.
48932         (cos_tonearest_test_data): Likewise.
48933         (cos_towardzero_test_data): Likewise.
48934         (cos_downward_test_data): Likewise.
48935         (cos_upward_test_data): Likewise.
48936         (cosh_test_data): Likewise.
48937         (cosh_tonearest_test_data): Likewise.
48938         (cosh_towardzero_test_data): Likewise.
48939         (cosh_downward_test_data): Likewise.
48940         (cosh_upward_test_data): Likewise.
48941         (cpow_test_data): Likewise.
48942         (cproj_test_data): Likewise.
48943         (creal_test_data): Likewise.
48944         (csin_test_data): Likewise.
48945         (csinh_test_data): Likewise.
48946         (csqrt_test_data): Likewise.
48947         (ctan_test_data): Likewise.
48948         (ctan_tonearest_test_data): Likewise.
48949         (ctan_towardzero_test_data): Likewise.
48950         (ctan_downward_test_data): Likewise.
48951         (ctan_upward_test_data): Likewise.
48952         (ctanh_test_data): Likewise.
48953         (ctanh_tonearest_test_data): Likewise.
48954         (ctanh_towardzero_test_data): Likewise.
48955         (ctanh_downward_test_data): Likewise.
48956         (ctanh_upward_test_data): Likewise.
48957         (erf_test_data): Likewise.
48958         (erfc_test_data): Likewise.
48959         (exp_test_data): Likewise.
48960         (exp_tonearest_test_data): Likewise.
48961         (exp_towardzero_test_data): Likewise.
48962         (exp_downward_test_data): Likewise.
48963         (exp_upward_test_data): Likewise.
48964         (exp10_test_data): Likewise.
48965         (exp2_test_data): Likewise.
48966         (expm1_test_data): Likewise.
48967         (fabs_test_data): Likewise.
48968         (fdim_test_data): Likewise.
48969         (finite_test_data): Likewise.
48970         (floor_test_data): Likewise.
48971         (fma_test_data): Likewise.
48972         (fma_towardzero_test_data): Likewise.
48973         (fma_downward_test_data): Likewise.
48974         (fma_upward_test_data): Likewise.
48975         (fmax_test_data): Likewise.
48976         (fmin_test_data): Likewise.
48977         (fmod_test_data): Likewise.
48978         (fpclassify_test_data): Likewise.
48979         (frexp_test_data): Likewise.
48980         (gamma_test_data): Likewise.
48981         (hypot_test_data): Likewise.
48982         (ilogb_test_data): Likewise.
48983         (isfinite_test_data): Likewise.
48984         (isgreater_test_data): Likewise.
48985         (isgreaterequal_test_data): Likewise.
48986         (isinf_test_data): Likewise.
48987         (isless_test_data): Likewise.
48988         (islessequal_test_data): Likewise.
48989         (islessgreater_test_data): Likewise.
48990         (isnan_test_data): Likewise.
48991         (isnormal_test_data): Likewise.
48992         (issignaling_test_data): Likewise.
48993         (isunordered_test_data): Likewise.
48994         (j0_test_data): Likewise.
48995         (j1_test_data): Likewise.
48996         (jn_test_data): Likewise.
48997         (ldexp_test_data): Likewise.
48998         (lgamma_test_data): Likewise.
48999         (lrint_test_data): Likewise.
49000         (lrint_tonearest_test_data): Likewise.
49001         (lrint_towardzero_test_data): Likewise.
49002         (lrint_downward_test_data): Likewise.
49003         (lrint_upward_test_data): Likewise.
49004         (llrint_test_data): Likewise.
49005         (llrint_tonearest_test_data): Likewise.
49006         (llrint_towardzero_test_data): Likewise.
49007         (llrint_downward_test_data): Likewise.
49008         (llrint_upward_test_data): Likewise.
49009         (log_test_data): Likewise.
49010         (log10_test_data): Likewise.
49011         (log1p_test_data): Likewise.
49012         (log2_test_data): Likewise.
49013         (logb_test_data): Likewise.
49014         (logb_downward_test_data): Likewise.
49015         (lround_test_data): Likewise.
49016         (llround_test_data): Likewise.
49017         (modf_test_data): Likewise.
49018         (nearbyint_test_data): Likewise.
49019         (nextafter_test_data): Likewise.
49020         (nexttoward_test_data): Likewise.
49021         (pow_test_data): Likewise.
49022         (pow_tonearest_test_data): Likewise.
49023         (pow_towardzero_test_data): Likewise.
49024         (pow_downward_test_data): Likewise.
49025         (pow_upward_test_data): Likewise.
49026         (remainder_test_data): Likewise.
49027         (remainder_tonearest_test_data): Likewise.
49028         (remainder_towardzero_test_data): Likewise.
49029         (remainder_downward_test_data): Likewise.
49030         (remainder_upward_test_data): Likewise.
49031         (remquo_test_data): Likewise.
49032         (rint_test_data): Likewise.
49033         (rint_tonearest_test_data): Likewise.
49034         (rint_towardzero_test_data): Likewise.
49035         (rint_downward_test_data): Likewise.
49036         (rint_upward_test_data): Likewise.
49037         (round_test_data): Likewise.
49038         (scalb_test_data): Likewise.
49039         (scalbn_test_data): Likewise.
49040         (scalbln_test_data): Likewise.
49041         (signbit_test_data): Likewise.
49042         (sin_test_data): Likewise.
49043         (sin_tonearest_test_data): Likewise.
49044         (sin_towardzero_test_data): Likewise.
49045         (sin_downward_test_data): Likewise.
49046         (sin_upward_test_data): Likewise.
49047         (sincos_test_data): Likewise.
49048         (sinh_test_data): Likewise.
49049         (sinh_tonearest_test_data): Likewise.
49050         (sinh_towardzero_test_data): Likewise.
49051         (sinh_downward_test_data): Likewise.
49052         (sinh_upward_test_data): Likewise.
49053         (sqrt_test_data): Likewise.
49054         (tan_test_data): Likewise.
49055         (tan_tonearest_test_data): Likewise.
49056         (tan_towardzero_test_data): Likewise.
49057         (tan_downward_test_data): Likewise.
49058         (tan_upward_test_data): Likewise.
49059         (tanh_test_data): Likewise.
49060         (tgamma_test_data): Likewise.
49061         (trunc_test_data): Likewise.
49062         (y0_test_data): Likewise.
49063         (y1_test_data): Likewise.
49064         (yn_test_data): Likewise.
49065         (significand_test_data): Likewise.
49067         * math/gen-libm-test.pl (@functions): Remove variable.
49068         (generate_testfile): Don't handle START and END lines.
49069         * math/libm-test.inc (START): New macro.
49070         (END): Likewise.
49071         (END_COMPLEX): Likewise.
49072         (acos_test): Use END macro without arguments.
49073         (acos_test_tonearest): Likewise.
49074         (acos_test_towardzero): Likewise.
49075         (acos_test_downward): Likewise.
49076         (acos_test_upward): Likewise.
49077         (acosh_test): Likewise.
49078         (asin_test): Likewise.
49079         (asin_test_tonearest): Likewise.
49080         (asin_test_towardzero): Likewise.
49081         (asin_test_downward): Likewise.
49082         (asin_test_upward): Likewise.
49083         (asinh_test): Likewise.
49084         (atan_test): Likewise.
49085         (atanh_test): Likewise.
49086         (atan2_test): Likewise.
49087         (cabs_test): Likewise.
49088         (cacos_test): Use END_COMPLEX macro without arguments.
49089         (cacosh_test): Likewise.
49090         (carg_test): Use END macro without arguments.
49091         (casin_test): Use END_COMPLEX macro without arguments.
49092         (casinh_test): Likewise.
49093         (catan_test): Likewise.
49094         (catanh_test): Likewise.
49095         (cbrt_test): Use END macro without arguments.
49096         (ccos_test): Use END_COMPLEX macro without arguments.
49097         (ccosh_test): Likewise.
49098         (ceil_test): Use END macro without arguments.
49099         (cexp_test): Use END_COMPLEX macro without arguments.
49100         (cimag_test): Use END macro without arguments.
49101         (clog_test): Use END_COMPLEX macro without arguments.
49102         (clog10_test): Likewise.
49103         (conj_test): Likewise.
49104         (copysign_test): Use END macro without arguments.
49105         (cos_test): Likewise.
49106         (cos_test_tonearest): Likewise.
49107         (cos_test_towardzero): Likewise.
49108         (cos_test_downward): Likewise.
49109         (cos_test_upward): Likewise.
49110         (cosh_test): Likewise.
49111         (cosh_test_tonearest): Likewise.
49112         (cosh_test_towardzero): Likewise.
49113         (cosh_test_downward): Likewise.
49114         (cosh_test_upward): Likewise.
49115         (cpow_test): Use END_COMPLEX macro without arguments.
49116         (cproj_test): Likewise.
49117         (creal_test): Use END macro without arguments.
49118         (csin_test): Use END_COMPLEX macro without arguments.
49119         (csinh_test): Likewise.
49120         (csqrt_test): Likewise.
49121         (ctan_test): Likewise.
49122         (ctan_test_tonearest): Likewise.
49123         (ctan_test_towardzero): Likewise.
49124         (ctan_test_downward): Likewise.
49125         (ctan_test_upward): Likewise.
49126         (ctanh_test): Likewise.
49127         (ctanh_test_tonearest): Likewise.
49128         (ctanh_test_towardzero): Likewise.
49129         (ctanh_test_downward): Likewise.
49130         (ctanh_test_upward): Likewise.
49131         (erf_test): Use END macro without arguments.
49132         (erfc_test): Likewise.
49133         (exp_test): Likewise.
49134         (exp_test_tonearest): Likewise.
49135         (exp_test_towardzero): Likewise.
49136         (exp_test_downward): Likewise.
49137         (exp_test_upward): Likewise.
49138         (exp10_test): Likewise.
49139         (exp2_test): Likewise.
49140         (expm1_test): Likewise.
49141         (fabs_test): Likewise.
49142         (fdim_test): Likewise.
49143         (finite_test): Likewise.
49144         (floor_test): Likewise.
49145         (fma_test): Likewise.
49146         (fma_test_towardzero): Likewise.
49147         (fma_test_downward): Likewise.
49148         (fma_test_upward): Likewise.
49149         (fmax_test): Likewise.
49150         (fmin_test): Likewise.
49151         (fmod_test): Likewise.
49152         (fpclassify_test): Likewise.
49153         (frexp_test): Likewise.
49154         (gamma_test): Likewise.
49155         (hypot_test): Likewise.
49156         (ilogb_test): Likewise.
49157         (isfinite_test): Likewise.
49158         (isgreater_test): Likewise.
49159         (isgreaterequal_test): Likewise.
49160         (isinf_test): Likewise.
49161         (isless_test): Likewise.
49162         (islessequal_test): Likewise.
49163         (islessgreater_test): Likewise.
49164         (isnan_test): Likewise.
49165         (isnormal_test): Likewise.
49166         (issignaling_test): Likewise.
49167         (isunordered_test): Likewise.
49168         (j0_test): Likewise.
49169         (j1_test): Likewise.
49170         (jn_test): Likewise.
49171         (ldexp_test): Likewise.
49172         (lgamma_test): Likewise.
49173         (lrint_test): Likewise.
49174         (lrint_test_tonearest): Likewise.
49175         (lrint_test_towardzero): Likewise.
49176         (lrint_test_downward): Likewise.
49177         (lrint_test_upward): Likewise.
49178         (llrint_test): Likewise.
49179         (llrint_test_tonearest): Likewise.
49180         (llrint_test_towardzero): Likewise.
49181         (llrint_test_downward): Likewise.
49182         (llrint_test_upward): Likewise.
49183         (log_test): Likewise.
49184         (log10_test): Likewise.
49185         (log1p_test): Likewise.
49186         (log2_test): Likewise.
49187         (logb_test): Likewise.
49188         (logb_test_downward): Likewise.
49189         (lround_test): Likewise.
49190         (llround_test): Likewise.
49191         (modf_test): Likewise.
49192         (nearbyint_test): Likewise.
49193         (nextafter_test): Likewise.
49194         (nexttoward_test): Likewise.
49195         (pow_test): Likewise.
49196         (pow_test_tonearest): Likewise.
49197         (pow_test_towardzero): Likewise.
49198         (pow_test_downward): Likewise.
49199         (pow_test_upward): Likewise.
49200         (remainder_test): Likewise.
49201         (remainder_test_tonearest): Likewise.
49202         (remainder_test_towardzero): Likewise.
49203         (remainder_test_downward): Likewise.
49204         (remainder_test_upward): Likewise.
49205         (remquo_test): Likewise.
49206         (rint_test): Likewise.
49207         (rint_test_tonearest): Likewise.
49208         (rint_test_towardzero): Likewise.
49209         (rint_test_downward): Likewise.
49210         (rint_test_upward): Likewise.
49211         (round_test): Likewise.
49212         (scalb_test): Likewise.
49213         (scalbn_test): Likewise.
49214         (scalbln_test): Likewise.
49215         (signbit_test): Likewise.
49216         (sin_test): Likewise.
49217         (sin_test_tonearest): Likewise.
49218         (sin_test_towardzero): Likewise.
49219         (sin_test_downward): Likewise.
49220         (sin_test_upward): Likewise.
49221         (sincos_test): Likewise.
49222         (sinh_test): Likewise.
49223         (sinh_test_tonearest): Likewise.
49224         (sinh_test_towardzero): Likewise.
49225         (sinh_test_downward): Likewise.
49226         (sinh_test_upward): Likewise.
49227         (sqrt_test): Likewise.
49228         (tan_test): Likewise.
49229         (tan_test_tonearest): Likewise.
49230         (tan_test_towardzero): Likewise.
49231         (tan_test_downward): Likewise.
49232         (tan_test_upward): Likewise.
49233         (tanh_test): Likewise.
49234         (tgamma_test): Likewise.
49235         (trunc_test): Likewise.
49236         (y0_test): Likewise.
49237         (y1_test): Likewise.
49238         (yn_test): Likewise.
49239         (significand_test): Likewise.
49241 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49243         [BZ #15381]
49244         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49246 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49248         [BZ #14894]
49249         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49250         __ppc_mdoio and __ppc_mdoom.
49251         * manual/platform.texi: Document new functions __ppc_yield,
49252         __ppc_mdoio and __ppc_mdoom.
49254 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49256         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49257         (main): Mention "tls" pseudo-hwcap is legacy.
49258         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49260 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49262         * math/gen-libm-test.pl (parse_args): Output only string of
49263         arguments as text for test name, not full call or descriptions of
49264         tests for extra outputs.
49265         (generate_testfile): Do not pass function name to parse_args.
49266         Generate this_func variable from START.
49267         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49268         field to arg_str.
49269         (struct test_ff_f_data): Likewise.
49270         (test_ff_f_data_nexttoward): Likewise.
49271         (struct test_fi_f_data): Likewise.
49272         (struct test_fl_f_data): Likewise.
49273         (struct test_if_f_data): Likewise.
49274         (struct test_fff_f_data): Likewise.
49275         (struct test_c_f_data): Likewise.
49276         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49277         (struct test_fF_f1_data): Likewise.
49278         (struct test_ffI_f1_data): Likewise.
49279         (struct test_c_c_data): Rename test_name field to arg_str.
49280         (struct test_cc_c_data): Likewise.
49281         (struct test_f_i_data): Likewise.
49282         (struct test_ff_i_data): Likewise.
49283         (struct test_f_l_data): Likewise.
49284         (struct test_f_L_data): Likewise.
49285         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49286         and extra2_name.
49287         (COMMON_TEST_SETUP): New macro.
49288         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49289         (COMMON_TEST_CLEANUP): Likewise.
49290         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49291         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49292         macros.
49293         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49294         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49295         macros.
49296         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49297         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49298         cleanup macros.
49299         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49300         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49301         macros.
49302         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49303         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49304         macros.
49305         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49306         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49307         cleanup macros.
49308         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49309         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49310         cleanup macros.
49311         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49312         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49313         cleanup macros.
49314         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49315         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49316         macros.
49317         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49318         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49319         macros.
49320         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49321         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49322         macros.
49323         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49324         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49325         cleanup macros.
49326         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49327         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49328         cleanup macros.
49329         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49330         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49331         macros.
49332         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49333         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49334         cleanup macros.
49335         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49336         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49337         macros.
49338         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49339         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49340         macros.
49341         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49342         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49343         cleanup macros.
49344         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49346 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49348         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49349         to _sifields.sigfault.
49350         (si_addr_lsb): Define new macro.
49351         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49352         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49353         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49355 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49357         [BZ #15441]
49358         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49359         returns -1.
49360         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49361         null return -1.
49362         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49363         loading the domain.
49365 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49367         * math/gen-libm-test.pl (parse_args): Do not include expected
49368         result in test name.
49369         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49370         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49371         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49372         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49373         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49376 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49378         * benchtests/Makefile: Sort function entries.
49380         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49381         tanh, asinh, acosh, atanh.
49382         * benchtests/acos-inputs: New file.
49383         * benchtests/acosh-inputs: New file.
49384         * benchtests/asin-inputs: New file.
49385         * benchtests/asinh-inputs: New file.
49386         * benchtests/atanh-inputs: New file.
49387         * benchtests/cosh-inputs: New file.
49388         * benchtests/log-inputs: New file.
49389         * benchtests/sinh-inputs: New file.
49390         * benchtests/tanh-inputs: New file.
49392 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49394         [BZ #15339]
49395         * posix/tst-getaddrinfo4.c: New test.
49396         * posix/Makefile (tests): Add it.
49398 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49400         [BZ #15339]
49401         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49402         when no services were used.
49403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49404         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49406 2013-05-21  Andreas Schwab  <schwab@suse.de>
49408         [BZ #15014]
49409         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49410         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49411         successful.
49412         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49413         redundant variable declarations and reallocation of buffer when
49414         parsing as IPv6 address.  Always set NSS status when called from
49415         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49416         buffer too small.  Correct computation of needed size.
49417         * nss/Makefile (tests): Add test-digits-dots.
49418         * nss/test-digits-dots.c: New test.
49420 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49422         * benchtests/Makefile: Remove instructions for adding
49423         benchmark tests.
49424         * benchtests/README: New file to explain how to execute and
49425         enhance the benchmark tests.
49427 2013-05-21  Andreas Schwab  <schwab@suse.de>
49429         [BZ #15493]
49430         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49431         * setjmp/tst-sigsetjmp.c: New test.
49433 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49435         * sysdeps/x86_64/memset.S (memset): New implementation.
49436         (__bzero): Likewise.
49437         (__memset_tail): New function.
49439 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49441         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49442         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49443         __memcpy_sse2_unaligned ifunc selection.
49444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49445         Add memcpy-sse2-unaligned.S.
49446         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49447         Add: __memcpy_sse2_unaligned.
49449 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49451         [BZ #15490]
49452         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49453         math_force_eval before restoring floating-point envrionment.
49454         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49455         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49456         Likewise.
49457         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49458         <math_private.h>.
49459         (__nearbyintl): Use math_force_eval before restoring
49460         floating-point environment.
49461         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49463         * math/gen-libm-test.pl (special_functions): Remove.
49464         (parse_args): Don't handle TEST_extra.  Handle functions with no
49465         return value.
49466         * math/libm-test.inc (struct test_sincos_data): Replace with
49467         struct test_fFF_11_data.
49468         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49469         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49470         (sincos_test_data): Change element type to struct
49471         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49472         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49473         RUN_TEST_LOOP_sincos.
49474         * math/README.libm-test: Don't mention special handling of
49475         individual functions.
49476         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49477         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49478         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49479         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49480         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49483         * math/gen-libm-test.pl (get_variable): Remove function.
49484         (parse_args): Don't show pointer parameters to call in test
49485         names.  Use "extra output N" in test names for extra outputs
49486         rather than naming variables.
49488 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49490         [BZ #15488]
49491         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49492         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49493         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49494         double tests.
49495         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49496         disable.
49497         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49498         check_long_double.
49500         * math/gen-libm-test.pl (@tests): Remove variable.
49501         ($count): Likewise.
49502         (new_test): Remove function.
49503         (show_exceptions): New function.
49504         (special_functions): Use show_exceptions instead of new_test.
49505         (parse_args): Likewise.
49506         (generate_testfile): Pass only function name in generated call to
49507         print_max_error or print_complex_max_error.
49508         (get_ulps): Do not handle complex tests specially.
49509         (output_test): Rename to ...
49510         (get_all_ulps_for_test): ... this.  Return a string rather than
49511         printing to a file.  Require ulps to be present.
49512         (output_ulps): Generate arrays rather than #defines.
49513         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49514         (struct ulp_data): New type.
49515         (BUILD_COMPLEX_ULP): Remove macro.
49516         (compare_ulp_data): New function.
49517         (find_ulps): Likewise.
49518         (find_test_ulps): Likewise.
49519         (find_function_ulps): Likewise.
49520         (find_complex_function_ulps): Likewise.
49521         (print_max_error): Determine allowed ulps using
49522         find_function_ulps.
49523         (print_complex_max_error): Determine allowed ulps using
49524         find_complex_function_ulps.
49525         (check_float_internal): Determine max ulps using find_test_ulps.
49526         (check_float): Do not take max_ulp parameter.  Update call to
49527         check_float_internal.
49528         (check_complex): Likewise.
49529         (check_int): Do not take max_ulp parameter.
49530         (check_long): Likewise.
49531         (check_bool): Likewise.
49532         (check_longlong): Likewise.
49533         (struct test_f_f_data): Remove max_ulp field.
49534         (struct test_ff_f_data): Likewise.
49535         (struct test_ff_f_data_nexttoward): Likewise.
49536         (struct test_fi_f_data): Likewise.
49537         (struct test_fl_f_data): Likewise.
49538         (struct test_if_f_data): Likewise.
49539         (struct test_fff_f_data): Likewise.
49540         (struct test_c_f_data): Likewise.
49541         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49542         (struct test_fF_f1_data): Likewise.
49543         (struct test_ffI_f1_data): Likewise.
49544         (struct test_c_c_data): Remove max_ulp field.
49545         (struct test_cc_c_data): Likewise.
49546         (struct test_f_i_data): Likewise.
49547         (struct test_ff_i_data): Likewise.
49548         (struct test_f_l_data): Likewise.
49549         (struct test_f_L_data): Likewise.
49550         (struct test_sincos_data): Likewise.
49551         (RUN_TEST_f_f): Do not handle ulps.
49552         (RUN_TEST_LOOP_f_f): Likewise.
49553         (RUN_TEST_2_f): Likewise.
49554         (RUN_TEST_LOOP_2_f): Likewise.
49555         (RUN_TEST_fff_f): Likewise.
49556         (RUN_TEST_LOOP_fff_f): Likewise.
49557         (RUN_TEST_c_f): Likewise.
49558         (RUN_TEST_LOOP_c_f): Likewise.
49559         (RUN_TEST_f_f1): Likewise.
49560         (RUN_TEST_LOOP_f_f1): Likewise.
49561         (RUN_TEST_fF_f1): Likewise.
49562         (RUN_TEST_LOOP_fF_f1): Likewise.
49563         (RUN_TEST_fI_f1): Likewise.
49564         (RUN_TEST_LOOP_fI_f1): Likewise.
49565         (RUN_TEST_ffI_f1): Likewise.
49566         (RUN_TEST_LOOP_ffI_f1): Likewise.
49567         (RUN_TEST_c_c): Likewise.
49568         (RUN_TEST_LOOP_c_c): Likewise.
49569         (RUN_TEST_cc_c): Likewise.
49570         (RUN_TEST_LOOP_cc_c): Likewise.
49571         (RUN_TEST_f_i): Likewise.
49572         (RUN_TEST_LOOP_f_i): Likewise.
49573         (RUN_TEST_f_i_tg): Likewise.
49574         (RUN_TEST_LOOP_f_i_tg): Likewise.
49575         (RUN_TEST_ff_i_tg): Likewise.
49576         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49577         (RUN_TEST_f_b): Likewise.
49578         (RUN_TEST_LOOP_f_b): Likewise.
49579         (RUN_TEST_f_b_tg): Likewise.
49580         (RUN_TEST_LOOP_f_b_tg): Likewise.
49581         (RUN_TEST_f_l): Likewise.
49582         (RUN_TEST_LOOP_f_l): Likewise.
49583         (RUN_TEST_f_L): Likewise.
49584         (RUN_TEST_LOOP_f_L): Likewise.
49585         (RUN_TEST_sincos): Likewise.
49586         (RUN_TEST_LOOP_sincos): Likewise.
49588 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49590         [BZ #15480]
49591         [BZ #15485]
49592         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49593         main case of finite arguments, set rounding mode to FE_TONEAREST
49594         and discard exceptions.
49595         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49596         exceptions.
49597         (remainder_tonearest_test_data): New variable.
49598         (remainder_test_tonearest): New function.
49599         (remainder_towardzero_test_data): New variable.
49600         (remainder_test_towardzero): New function.
49601         (remainder_downward_test_data): New variable.
49602         (remainder_test_downward): New function.
49603         (remainder_upward_test_data): New variable.
49604         (remainder_test_upward): New function.
49605         (main): Call the new test functions.
49607         * math/libm-test.inc (struct test_f_f1_data): Remove field
49608         extra_init.
49609         (struct test_fF_f1_data): Likewise.
49610         (struct test_ffI_f1_data): Likewise.
49611         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49612         based on value of EXTRA_EXPECTED.
49613         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49614         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49615         EXTRA_VAR based on value of EXTRA_EXPECTED.
49616         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49617         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49618         EXTRA_VAR based on value of EXTRA_EXPECTED.
49619         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49620         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49621         EXTRA_VAR based on value of EXTRA_EXPECTED.
49622         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49623         * math/gen-libm-test.pl (parse_args): Don't output initializers
49624         for extra output values.
49626         * math/libm-test.inc (check_int): Expect result to be exactly
49627         equal to expected value and do not handle ulps.
49628         (check_long): Likewise.
49629         (check_longlong): Likewise.
49631         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49632         exceptions.
49633         (cimag_test_data): Likewise.
49634         (conj_test_data): Likewise.
49635         (copysign_test_data): Likewise.
49636         (cproj_test_data): Likewise.
49637         (creal_test_data): Likewise.
49638         (fabs_test_data): Likewise.
49639         (fdim_test_data): Likewise.
49640         (finite_test_data): Likewise.
49641         (floor_test_data): Likewise.
49642         (fmax_test_data): Likewise.
49643         (fmin_test_data): Likewise.
49644         (fmod_test_data): Likewise.
49645         (fpclassify_test_data): Likewise.
49646         (frexp_test_data): Likewise.
49647         (ilogb_test_data): Likewise.
49648         (isfinite_test_data): Likewise.
49649         (isgreater_test_data): Likewise.
49650         (isgreaterequal_test_data): Likewise.
49651         (isinf_test_data): Likewise.
49652         (isless_test_data): Likewise.
49653         (islessequal_test_data): Likewise.
49654         (islessgreater_test_data): Likewise.
49655         (isnan_test_data): Likewise.
49656         (isnormal_test_data): Likewise.
49657         (issignaling_test_data): Likewise.
49658         (isunordered_test_data): Likewise.
49659         (ldexp_test_data): Likewise.
49660         (lrint_test_data): Likewise.
49661         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49662         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49663         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49664         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49665         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49666         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49667         test input.
49668         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49669         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49670         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49671         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49672         that test input.
49673         (lrint_downward_test_data): Test for "inexact" exceptions.
49674         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49675         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49676         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49677         test input.
49678         (lrint_upward_test_data): Test for "inexact" exceptions.
49679         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49680         test input.
49681         (llrint_test_data): Test for "inexact" exceptions.
49682         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49683         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49684         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49685         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49686         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49687         (llrint_downward_test_data): Test for "inexact" exceptions.
49688         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49689         (llrint_upward_test_data): Test for "inexact" exceptions.
49690         (logb_test_data): Likewise.
49691         (logb_downward_test_data): Likewise.
49692         (nextafter_test_data): Likewise.
49693         (nexttoward_test_data): Likewise.
49694         (remainder_test_data): Likewise.
49695         (remquo_test_data): Likewise.
49696         (scalbn_test_data): Likewise.
49697         (scalbln_test_data): Likewise.
49698         (signbit_test_data): Likewise.
49699         (sqrt_test_data): Likewise.
49700         (significand_test_data): Likewise.
49702 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49704         [BZ #15424]
49705         * benchtests/bench-modf.c (struct args): Mark arg0 as
49706         volatile.
49707         * scripts/bench.pl: Mark members of struct args as volatile.
49709 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49711         [BZ # 15497]
49712         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49713         negative infinity on POWER6 or lower.
49714         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49716 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49718         [BZ #15442]
49719         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49720         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49721         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49722         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49723         (_FP_SETQNAN): New macro.
49724         (_FP_SETQNAN_SEMIRAW): Likewise.
49725         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49726         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49727         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49728         (FP_EXTEND): Use _FP_FRAC_SNANP.
49729         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49730         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49731         into account.
49732         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49733         New macro.
49734         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49735         Likewise.
49737 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49739         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49740         with DIVIDE_BY_ZERO_EXCEPTION.
49741         (gamma_test_data): Likewise.
49742         (lgamma_test_data): Likewise.
49743         (log_test_data): Likewise.
49744         (log10_test_data): Likewise.
49745         (log2_test_data): Likewise.
49746         (tgamma_test_data): Likewise.
49748         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49749         (acos_test_tonearest): Likewise.
49750         (acos_test_towardzero): Likewise.
49751         (acos_test_downward): Likewise.
49752         (acos_test_upward): Likewise.
49753         (acosh_test): Likewise.
49754         (asin_test): Likewise.
49755         (asin_test_tonearest): Likewise.
49756         (asin_test_towardzero): Likewise.
49757         (asin_test_downward): Likewise.
49758         (asin_test_upward): Likewise.
49759         (asinh_test): Likewise.
49760         (atan_test): Likewise.
49761         (atanh_test): Likewise.
49762         (atan2_test): Likewise.
49763         (cabs_test): Likewise.
49764         (cacos_test): Likewise.
49765         (cacosh_test): Likewise.
49766         (casin_test): Likewise.
49767         (casinh_test): Likewise.
49768         (catan_test): Likewise.
49769         (catanh_test): Likewise.
49770         (cbrt_test): Likewise.
49771         (ccos_test): Likewise.
49772         (ccosh_test): Likewise.
49773         (cexp_test): Likewise.
49774         (clog_test): Likewise.
49775         (clog10_test): Likewise.
49776         (cos_test): Likewise.
49777         (cos_test_tonearest): Likewise.
49778         (cos_test_towardzero): Likewise.
49779         (cos_test_downward): Likewise.
49780         (cos_test_upward): Likewise.
49781         (cosh_test): Likewise.
49782         (cosh_test_tonearest): Likewise.
49783         (cosh_test_towardzero): Likewise.
49784         (cosh_test_downward): Likewise.
49785         (cosh_test_upward): Likewise.
49786         (cpow_test): Likewise.
49787         (csin_test): Likewise.
49788         (csinh_test): Likewise.
49789         (csqrt_test): Likewise.
49790         (ctan_test): Likewise.
49791         (ctan_test_tonearest): Likewise.
49792         (ctan_test_towardzero): Likewise.
49793         (ctan_test_downward): Likewise.
49794         (ctan_test_upward): Likewise.
49795         (ctanh_test): Likewise.
49796         (ctanh_test_tonearest): Likewise.
49797         (ctanh_test_towardzero): Likewise.
49798         (ctanh_test_downward): Likewise.
49799         (ctanh_test_upward): Likewise.
49800         (erf_test): Likewise.
49801         (erfc_test): Likewise.
49802         (exp_test): Likewise.
49803         (exp_test_tonearest): Likewise.
49804         (exp_test_towardzero): Likewise.
49805         (exp_test_downward): Likewise.
49806         (exp_test_upward): Likewise.
49807         (exp10_test): Likewise.
49808         (exp2_test): Likewise.
49809         (expm1_test): Likewise.
49810         (fmod_test): Likewise.
49811         (gamma_test): Likewise.
49812         (hypot_test): Likewise.
49813         (j0_test): Likewise.
49814         (j1_test): Likewise.
49815         (jn_test): Likewise.
49816         (lgamma_test): Likewise.
49817         (log_test): Likewise.
49818         (log10_test): Likewise.
49819         (log1p_test): Likewise.
49820         (log2_test): Likewise.
49821         (logb_test_downward): Likewise.
49822         (pow_test): Likewise.
49823         (pow_test_tonearest): Likewise.
49824         (pow_test_towardzero): Likewise.
49825         (pow_test_downward): Likewise.
49826         (pow_test_upward): Likewise.
49827         (remainder_test): Likewise.
49828         (remquo_test): Likewise.
49829         (sin_test): Likewise.
49830         (sin_test_tonearest): Likewise.
49831         (sin_test_towardzero): Likewise.
49832         (sin_test_downward): Likewise.
49833         (sin_test_upward): Likewise.
49834         (sincos_test): Likewise.
49835         (sinh_test): Likewise.
49836         (sinh_test_tonearest): Likewise.
49837         (sinh_test_towardzero): Likewise.
49838         (sinh_test_downward): Likewise.
49839         (sinh_test_upward): Likewise.
49840         (sqrt_test): Likewise.
49841         (tan_test): Likewise.
49842         (tan_test_tonearest): Likewise.
49843         (tan_test_towardzero): Likewise.
49844         (tan_test_downward): Likewise.
49845         (tan_test_upward): Likewise.
49846         (tanh_test): Likewise.
49847         (tgamma_test): Likewise.
49848         (y0_test): Likewise.
49849         (y1_test): Likewise.
49850         (yn_test): Likewise.
49852         * math/gen-libm-test.pl (adjust_arg): Remove function.
49853         (special_function): Remove argument $in_func.  Only handle
49854         generating output for tables of tests, not inside functions.
49855         (parse_args): Likewise.
49856         (generate_testfile): Remove variable $in_func.  Update call to
49857         parse_args.
49858         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49859         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49860         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49861         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49862         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49863         (MAX_VALUE_INIT): Rename macro to max_value.
49864         (MIN_VALUE_INIT): Rename macro to min_value.
49865         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49866         (plus_zero): Remove variable.
49867         (minus_zero): Likewise.
49868         (plus_infty): Likewise.
49869         (minus_infty): Likewise.
49870         (qnan_value): Likewise.
49871         (max_value): Likewise.
49872         (min_value): Likewise.
49873         (min_subnorm_value): Likewise.
49875 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49877         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49878         uint64_t or uint32_t usage.
49879         * crypt/sha256-block.c: Likewise.
49880         * crypt/sha256-crypt.c: Likewise.
49881         * crypt/sha256.c: Likewise.
49882         * crypt/sha512-block.c: Likewise.
49883         * crypt/sha512-crypt.c: Likewise.
49884         * crypt/sha512.c: Likewise.
49885         * debug/backtrace-tst.c: Likewise.
49886         * debug/pcprofiledump.c: Likewise.
49887         * elf/cache.c: Likewise.
49888         * elf/dl-cache.c: Likewise.
49889         * elf/dl-misc.c: Likewise.
49890         * elf/dl-profile.c: Likewise.
49891         * elf/dl-support.c: Likewise.
49892         * elf/ldconfig.c: Likewise.
49893         * elf/sprof.c: Likewise.
49894         * iconv/dummy-repertoire.c: Likewise.
49895         * iconv/iconv_charmap.c: Likewise.
49896         * iconv/skeleton.c: Likewise.
49897         * iconvdata/8bit-generic.c: Likewise.
49898         * iconvdata/cp737.h: Likewise.
49899         * iconvdata/cp775.h: Likewise.
49900         * iconvdata/ibm1008.h: Likewise.
49901         * iconvdata/ibm1025.h: Likewise.
49902         * iconvdata/ibm1046.h: Likewise.
49903         * iconvdata/ibm1097.h: Likewise.
49904         * iconvdata/ibm1112.h: Likewise.
49905         * iconvdata/ibm1122.h: Likewise.
49906         * iconvdata/ibm1123.h: Likewise.
49907         * iconvdata/ibm1124.h: Likewise.
49908         * iconvdata/ibm1129.h: Likewise.
49909         * iconvdata/ibm1130.h: Likewise.
49910         * iconvdata/ibm1132.h: Likewise.
49911         * iconvdata/ibm1133.h: Likewise.
49912         * iconvdata/ibm1137.h: Likewise.
49913         * iconvdata/ibm1140.h: Likewise.
49914         * iconvdata/ibm1141.h: Likewise.
49915         * iconvdata/ibm1142.h: Likewise.
49916         * iconvdata/ibm1143.h: Likewise.
49917         * iconvdata/ibm1144.h: Likewise.
49918         * iconvdata/ibm1145.h: Likewise.
49919         * iconvdata/ibm1146.h: Likewise.
49920         * iconvdata/ibm1147.h: Likewise.
49921         * iconvdata/ibm1148.h: Likewise.
49922         * iconvdata/ibm1149.h: Likewise.
49923         * iconvdata/ibm1153.h: Likewise.
49924         * iconvdata/ibm1154.h: Likewise.
49925         * iconvdata/ibm1155.h: Likewise.
49926         * iconvdata/ibm1156.h: Likewise.
49927         * iconvdata/ibm1157.h: Likewise.
49928         * iconvdata/ibm1158.h: Likewise.
49929         * iconvdata/ibm1160.h: Likewise.
49930         * iconvdata/ibm1161.h: Likewise.
49931         * iconvdata/ibm1162.h: Likewise.
49932         * iconvdata/ibm1163.h: Likewise.
49933         * iconvdata/ibm1164.h: Likewise.
49934         * iconvdata/ibm1166.h: Likewise.
49935         * iconvdata/ibm1167.h: Likewise.
49936         * iconvdata/ibm12712.h: Likewise.
49937         * iconvdata/ibm1390.h: Likewise.
49938         * iconvdata/ibm1399.h: Likewise.
49939         * iconvdata/ibm16804.h: Likewise.
49940         * iconvdata/ibm4517.h: Likewise.
49941         * iconvdata/ibm4899.h: Likewise.
49942         * iconvdata/ibm4909.h: Likewise.
49943         * iconvdata/ibm4971.h: Likewise.
49944         * iconvdata/ibm5347.h: Likewise.
49945         * iconvdata/ibm803.h: Likewise.
49946         * iconvdata/ibm856.h: Likewise.
49947         * iconvdata/ibm901.h: Likewise.
49948         * iconvdata/ibm902.h: Likewise.
49949         * iconvdata/ibm9030.h: Likewise.
49950         * iconvdata/ibm9066.h: Likewise.
49951         * iconvdata/ibm921.h: Likewise.
49952         * iconvdata/ibm922.h: Likewise.
49953         * iconvdata/ibm9448.h: Likewise.
49954         * iconvdata/isiri-3342.h: Likewise.
49955         * iconvdata/jis0201.h: Likewise.
49956         * include/link.h: Likewise.
49957         * include/netdb.h: Likewise.
49958         * inet/check_native.c: Likewise.
49959         * inet/check_pf.c: Likewise.
49960         * inet/getipv4sourcefilter.c: Likewise.
49961         * inet/getnameinfo.c: Likewise.
49962         * inet/getsourcefilter.c: Likewise.
49963         * inet/htonl.c: Likewise.
49964         * inet/setipv4sourcefilter.c: Likewise.
49965         * inet/setsourcefilter.c: Likewise.
49966         * inet/test-inet6_opt.c: Likewise.
49967         * inet/tst-network.c: Likewise.
49968         * locale/C-collate.c: Likewise.
49969         * locale/C-ctype.c: Likewise.
49970         * locale/C-time.c: Likewise.
49971         * locale/C-translit.h: Likewise.
49972         * locale/loadarchive.c: Likewise.
49973         * locale/programs/3level.h: Likewise.
49974         * locale/programs/charmap.c: Likewise.
49975         * locale/programs/charmap.h: Likewise.
49976         * locale/programs/ld-address.c: Likewise.
49977         * locale/programs/ld-collate.c: Likewise.
49978         * locale/programs/ld-ctype.c: Likewise.
49979         * locale/programs/ld-identification.c: Likewise.
49980         * locale/programs/ld-measurement.c: Likewise.
49981         * locale/programs/ld-messages.c: Likewise.
49982         * locale/programs/ld-monetary.c: Likewise.
49983         * locale/programs/ld-name.c: Likewise.
49984         * locale/programs/ld-numeric.c: Likewise.
49985         * locale/programs/ld-paper.c: Likewise.
49986         * locale/programs/ld-telephone.c: Likewise.
49987         * locale/programs/ld-time.c: Likewise.
49988         * locale/programs/linereader.c: Likewise.
49989         * locale/programs/locale.c: Likewise.
49990         * locale/programs/locarchive.c: Likewise.
49991         * locale/programs/locfile.h: Likewise.
49992         * locale/programs/repertoire.c: Likewise.
49993         * locale/programs/simple-hash.c: Likewise.
49994         * locale/programs/simple-hash.h: Likewise.
49995         * malloc/memusage.c: Likewise.
49996         * malloc/memusagestat.c: Likewise.
49997         * nis/nis_defaults.c: Likewise.
49998         * nis/nis_hash.c: Likewise.
49999         * nis/nis_print.c: Likewise.
50000         * nis/nis_xdr.c: Likewise.
50001         * nscd/connections.c: Likewise.
50002         * nscd/hstcache.c: Likewise.
50003         * nscd/nscd_gethst_r.c: Likewise.
50004         * nscd/nscd_getserv_r.c: Likewise.
50005         * nscd/nscd_helper.c: Likewise.
50006         * nscd/servicescache.c: Likewise.
50007         * nss/makedb.c: Likewise.
50008         * nss/nss_db/db-XXX.c: Likewise.
50009         * nss/nss_db/db-initgroups.c: Likewise.
50010         * nss/nss_db/db-netgrp.c: Likewise.
50011         * nss/nss_files/files-network.c: Likewise.
50012         * nss/nss_files/files-parse.c: Likewise.
50013         * posix/bug-regex5.c: Likewise.
50014         * posix/fnmatch_loop.c: Likewise.
50015         * posix/regcomp.c: Likewise.
50016         * posix/regexec.c: Likewise.
50017         * posix/tst-rfc3484-2.c: Likewise.
50018         * posix/tst-rfc3484-3.c: Likewise.
50019         * posix/tst-rfc3484.c: Likewise.
50020         * resolv/nss_dns/dns-canon.c: Likewise.
50021         * resolv/nss_dns/dns-network.c: Likewise.
50022         * resolv/res_init.c: Likewise.
50023         * resolv/res_mkquery.c: Likewise.
50024         * resolv/tst-aton.c: Likewise.
50025         * stdlib/cxa_atexit.c: Likewise.
50026         * stdlib/cxa_finalize.c: Likewise.
50027         * stdlib/gen-fpioconst.c: Likewise.
50028         * stdlib/strtol_l.c: Likewise.
50029         * string/tst-endian.c: Likewise.
50030         * sunrpc/auth_des.c: Likewise.
50031         * sunrpc/clnt_udp.c: Likewise.
50032         * sunrpc/rtime.c: Likewise.
50033         * sunrpc/svcauth_des.c: Likewise.
50034         * sunrpc/xdr.c: Likewise.
50035         * sunrpc/xdr_intXX_t.c: Likewise.
50036         * sunrpc/xdr_rec.c: Likewise.
50037         * sysdeps/generic/ldconfig.h: Likewise.
50038         * sysdeps/generic/ldsodefs.h: Likewise.
50039         * sysdeps/generic/memusage.h: Likewise.
50040         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50041         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50042         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50043         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50044         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50045         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50046         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50047         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50048         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50049         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50050         * sysdeps/posix/getaddrinfo.c: Likewise.
50051         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50052         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50053         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50054         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50055         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50056         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50057         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50058         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50059         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50060         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50061         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50062         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50063         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50064         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50065         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50066         * sysdeps/x86_64/dl-tls.h: Likewise.
50067         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50068         * time/alt_digit.c: Likewise.
50069         * time/era.c: Likewise.
50070         * wcsmbs/tst-c16c32-1.c: Likewise.
50072 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50074         * math/libm-test.inc (struct test_sincos_data): New type.
50075         (RUN_TEST_LOOP_sincos): New macro.
50076         (sincos_test_data): New variable.
50077         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50079 2013-05-16  Richard Henderson  <rth@redhat.com>
50081         * math/atest-exp2.c (LIMB64): New macro.
50082         (CONSTSZ): New macro.
50083         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50084         (hexdig): Move ...
50085         (print_mpn_fp): ... to function scope.
50086         (read_mpn_hex): Remove.
50087         (get_log2): Remove.
50088         (exp2_mpn): Use mp_log2.
50089         (main): Use mp_exp1.
50091 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50093         * math/libm-test.inc: Remove comment about not testing "inexact"
50094         exceptions.
50095         (INEXACT_EXCEPTION): New macro.
50096         (NO_INEXACT_EXCEPTION): Likewise.
50097         (INVALID_EXCEPTION_OK): Update value.
50098         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50099         (OVERFLOW_EXCEPTION_OK): Likewise.
50100         (UNDERFLOW_EXCEPTION_OK): Likewise.
50101         (IGNORE_ZERO_INF_SIGN): Likewise.
50102         (ERRNO_UNCHANGED): Likewise.
50103         (ERRNO_EDOM): Likewise.
50104         (ERRNO_ERANGE): Likewise.
50105         (test_exceptions): Handle testing "inexact" exceptions.
50106         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50107         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50108         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50109         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50110         INEXACT_EXCEPTION.
50111         (rint_towardzero_test_data): Likewise.
50112         (rint_downward_test_data): Likewise.
50113         (rint_upward_test_data): Likewise.
50115         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50116         with OVERFLOW_EXCEPTION.
50117         (exp10_test_data): Likewise.
50118         (exp2_test_data): Likewise.
50119         (expm1_test_data): Likewise.
50120         (lgamma_test_data): Likewise.
50121         (pow_test_data): Likewise.
50122         (tgamma_test_data): Likewise.
50123         (yn_test_data): Remove duplicate test of overflow.
50125         * math/libm-test.inc (struct test_cc_c_data): New type.
50126         (RUN_TEST_LOOP_cc_c): New macro.
50127         (cpow_test_data): New variable.
50128         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50130         * math/libm-test.inc (struct test_f_L_data): New type.
50131         (RUN_TEST_LOOP_f_L): New macro.
50132         (llrint_test_data): New variable.
50133         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50134         (llrint_tonearest_test_data): New variable.
50135         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50136         (llrint_towardzero_test_data): New variable.
50137         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50138         (llrint_downward_test_data): New variable.
50139         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50140         (llrint_upward_test_data): New variable.
50141         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50142         (llround_test_data): New variable.
50143         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50145 2013-05-13  Peter Collingbourne  <pcc@google.com>
50147         * math/atest-exp2.c (get_log2): Remove const attribute.
50149 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50151         * math/libm-test.inc (struct test_f_l_data): New type.
50152         (RUN_TEST_LOOP_f_l): New macro.
50153         (lrint_test_data): New variable.
50154         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50155         (lrint_tonearest_test_data): New variable.
50156         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50157         (lrint_towardzero_test_data): New variable.
50158         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50159         (lrint_downward_test_data): New variable.
50160         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50161         (lrint_upward_test_data): New variable.
50162         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50163         (lround_test_data): New variable.
50164         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50166 2013-05-15  Peter Collingbourne  <pcc@google.com>
50168         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50169         (EXTRACT_WORDS64) Use where appropriate.
50170         (INSERT_WORDS64) Likewise.
50172         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50173         constraints with x constraints.
50174         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50176         * malloc/obstack.c (_obstack_compat): Add initializer.
50178 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50180         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50181         si_trapno and add si_addr_lsb to _sifields.sigfault.
50182         (si_trapno): Remove macro.
50183         (si_addr_lsb): Define new macro.
50184         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50186 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50188         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50189         instead of TEST_f_l.
50190         (llrint_test_tonearest): Likewise.
50191         (llrint_test_towardzero): Likewise.
50192         (llrint_test_downward): Likewise.
50193         (llrint_test_upward): Likewise.
50194         (llround_test): Likewise.
50196         * math/libm-test.inc (struct test_f_i_data): Add comment.
50197         (RUN_TEST_LOOP_f_b): New macro.
50198         (RUN_TEST_LOOP_f_b_tg): Likewise.
50199         (finite_test_data): New variable.
50200         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50201         (isfinite_test_data): New variable.
50202         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50203         (isinf_test_data): New variable.
50204         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50205         (isnan_test_data): New variable.
50206         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50207         (isnormal_test_data): New variable.
50208         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50209         (issignaling_test_data): New variable.
50210         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50211         (signbit_test_data): New variable.
50212         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50214         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50215         with INVALID_EXCEPTION.
50216         (acosh_test_data): Likewise.
50217         (asin_test_data): Likewise.
50218         (atanh_test_data): Likewise.
50219         (fmod_test_data): Likewise.
50220         (log_test_data): Likewise.
50221         (log10_test_data): Likewise.
50222         (log2_test_data): Likewise.
50223         (pow_test_data): Likewise.
50224         (sqrt_test_data): Likewise.
50225         (y0_test_data): Likewise.
50226         (y1_test_data): Likewise.
50227         (yn_test_data): Likewise.
50229         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50230         function contents.
50232         * math/libm-test.inc (struct test_ff_i_data): New type.
50233         (RUN_TEST_LOOP_ff_i_tg): New macro.
50234         (isgreater_test_data): New variable.
50235         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50236         (isgreaterequal_test_data): New variable.
50237         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50238         (isless_test_data): New variable.
50239         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50240         (islessequal_test_data): New variable.
50241         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50242         (islessgreater_test_data): New variable.
50243         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50244         (isunordered_test_data): New variable.
50245         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50247 2013-05-14  David S. Miller  <davem@davemloft.net>
50249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50251 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50253         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50255         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50256         extra_test to int.
50257         (struct test_f_i_data): Change type of max_ulp to int.
50259         * math/libm-test.inc (test_ffI_f1_data): New type.
50260         (RUN_TEST_LOOP_ffI_f1): New macro.
50261         (remquo_test_data): New variable.
50262         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50264         * setjmp/tst-setjmp-fp.c: New file.
50265         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50266         (link-libm): New variable.
50267         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50269         * math/libm-test.inc (struct test_f_i_data): New type.
50270         (RUN_TEST_LOOP_f_i): New macro.
50271         (RUN_TEST_LOOP_f_i_tg): Likewise.
50272         (fpclassify_test_data): New variable.
50273         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50274         (ilogb_test_data): New variable.
50275         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50277         * math/libm-test.inc (scalbln_test): Correct function name in END
50278         call.
50280         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50281         (RUN_TEST_LOOP_fI_f1): New macro.
50282         (frexp_test_data): New variable.
50283         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50285         * math/libm-test.inc (struct test_fF_f1_data): New type.
50286         (RUN_TEST_LOOP_fF_f1): New macro.
50287         (modf_test_data): New variable.
50288         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50290         * math/libm-test.inc (struct test_f_f1_data): New type.
50291         (RUN_TEST_LOOP_f_f1): New macro.
50292         (gamma_test_data): New variable.
50293         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50294         (lgamma_test_data): New variable.
50295         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50297 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50299         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50300         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50301         (main): Comment "tls" pseudo-hwcap.
50303 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50305         * math/libm-test.inc (struct test_fl_f_data): New type.
50306         (RUN_TEST_LOOP_fl_f): New variable.
50307         (scalbln_test_data): New variable.
50308         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50310         * math/libm-test.inc (struct test_fi_f_data): New type.
50311         (RUN_TEST_LOOP_fi_f): New macro.
50312         (ldexp_test_data): New variable.
50313         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50314         (scalbn_test_data): New variable.
50315         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50317         * math/libm-test.inc (struct test_c_f_data): New type.
50318         (RUN_TEST_LOOP_c_f): New macro.
50319         (cabs_test_data): New variable.
50320         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50321         (carg_test_data): New variable.
50322         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50323         (cimag_test_data): New variable.
50324         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50325         (creal_test_data): New variable.
50326         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50328         * math/libm-test.inc (struct test_if_f_data): New type.
50329         (RUN_TEST_LOOP_if_f): New macro.
50330         (jn_test_data): New variable.
50331         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50332         (yn_test_data): New variable.
50333         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50335         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50337 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50339         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50340         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50342 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50344         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50345         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50346         (bench-deps): Add bench-timing.h.
50347         * benchtests-bench-skeleton.c: Include bench-timing.h.
50348         (main): Use TIMING_* macros instead of clock_gettime.
50349         * benchtests/bench-timing.h: New file.
50351         [BZ #14582]
50352         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50353         Renamed from _LIB_VERSION.
50354         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50356 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50358         * math/libm-test.inc (struct test_fff_f_data): New type.
50359         (RUN_TEST_LOOP_fff_f): New macro.
50360         (fma_test_data): New variable.
50361         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50362         (fma_towardzero_test_data): New variable.
50363         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50364         (fma_downward_test_data): New variable.
50365         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50366         (fma_upward_test_data): New variable.
50367         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50369         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50370         (struct test_c_c_data): New type.
50371         (RUN_TEST_LOOP_c_c): New macro.
50372         (cacos_test_data): New variable.
50373         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50374         (cacosh_test_data): New variable.
50375         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50376         (casin_test_data): New variable.
50377         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50378         (casinh_test_data): New variable.
50379         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50380         (catan_test_data): New variable.
50381         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50382         (catanh_test_data): New variable.
50383         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50384         (ccos_test_data): New variable.
50385         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50386         (ccosh_test_data): New variable.
50387         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50388         (cexp_test_data): New variable.
50389         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50390         (clog_test_data): New variable.
50391         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50392         (clog10_test_data): New variable.
50393         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50394         (conj_test_data): New variable.
50395         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50396         (cproj_test_data): New variable.
50397         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50398         (csin_test_data): New variable.
50399         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50400         (csinh_test_data): New variable.
50401         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50402         (csqrt_test_data): New variable.
50403         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50404         (ctan_test_data): New variable.
50405         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50406         (ctan_tonearest_test_data): New variable.
50407         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50408         (ctan_towardzero_test_data): New variable.
50409         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50410         (ctan_downward_test_data): New variable.
50411         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50412         (ctan_upward_test_data): New variable.
50413         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50414         (ctanh_test_data): New variable.
50415         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50416         (ctanh_tonearest_test_data): New variable.
50417         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50418         (ctanh_towardzero_test_data): New variable.
50419         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50420         (ctanh_downward_test_data): New variable.
50421         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50422         (ctanh_upward_test_data): New variable.
50423         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50424         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50425         of BUILD_COMPLEX.
50427         * math/libm-test.inc (struct test_ff_f_data): New type.
50428         (struct test_ff_f_data_nexttoward): Likewise.
50429         (RUN_TEST_LOOP_2_f): New macro.
50430         (RUN_TEST_LOOP_ff_f): Likewise.
50431         (atan2_test_data): New variable.
50432         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50433         (copysign_test_data): New variable.
50434         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50435         (fdim_test_data): New variable.
50436         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50437         (fmax_test_data): New variable.
50438         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50439         (fmin_test_data): New variable.
50440         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50441         (fmod_test_data): New variable.
50442         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50443         (hypot_test_data): New variable.
50444         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50445         (nextafter_test_data): New variable.
50446         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50447         (nexttoward_test_data): New variable.
50448         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50449         (pow_test_data): New variable.
50450         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50451         (pow_tonearest_test_data): New variable.
50452         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50453         (pow_towardzero_test_data): New variable.
50454         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50455         (pow_downward_test_data): New variable.
50456         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50457         (pow_upward_test_data): New variable.
50458         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50459         (remainder_test_data): New variable.
50460         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50461         (scalb_test_data): New variable.
50462         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50463         * sysdeps/i386/fpu/libm-test-ulps: Update.
50465 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50467         * math/libm-test.inc (fma_test): Use max_value instead of local
50468         variable fltmax.
50469         (nextafter_test): Likewise.
50471         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50472         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50473         (acos_downward_test_data): New variable.
50474         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50475         (acos_upward_test_data): New variable.
50476         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50477         (acosh_test_data): New variable.
50478         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50479         (asin_test_data): New variable.
50480         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50481         (asin_tonearest_test_data): New variable.
50482         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50483         (asin_towardzero_test_data): New variable.
50484         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50485         (asin_downward_test_data): New variable.
50486         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50487         (asin_upward_test_data): New variable.
50488         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50489         (asinh_test_data): New variable.
50490         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50491         (atan_test_data): New variable.
50492         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50493         (atanh_test_data): New variable.
50494         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50495         (cbrt_test_data): New variable.
50496         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50497         (ceil_test_data): New variable.
50498         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50499         (cos_test_data): New variable.
50500         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50501         (cos_tonearest_test_data): New variable.
50502         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50503         (cos_towardzero_test_data): New variable.
50504         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50505         (cos_downward_test_data): New variable.
50506         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50507         (cos_upward_test_data): New variable.
50508         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50509         (cosh_test_data): New variable.
50510         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50511         (cosh_tonearest_test_data): New variable.
50512         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50513         (cosh_towardzero_test_data): New variable.
50514         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50515         (cosh_downward_test_data): New variable.
50516         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50517         (cosh_upward_test_data): New variable.
50518         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50519         (erf_test_data): New variable.
50520         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50521         (erfc_test_data): New variable.
50522         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50523         (exp_test_data): New variable.
50524         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50525         (exp_tonearest_test_data): New variable.
50526         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50527         (exp_towardzero_test_data): New variable.
50528         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50529         (exp_downward_test_data): New variable.
50530         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50531         (exp_upward_test_data): New variable.
50532         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50533         (exp10_test_data): New variable.
50534         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50535         (exp2_test_data): New variable.
50536         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50537         (expm1_test_data): New variable.
50538         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50539         (fabs_test_data): New variable.
50540         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50541         (floor_test_data): New variable.
50542         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50543         (j0_test_data): New variable.
50544         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50545         (j1_test_data): New variable.
50546         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50547         (log_test_data): New variable.
50548         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50549         (log10_test_data): New variable.
50550         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50551         (log1p_test_data): New variable.
50552         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50553         (log2_test_data): New variable.
50554         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50555         (logb_test_data): New variable.
50556         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50557         (logb_downward_test_data): New variable.
50558         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50559         (nearbyint_test_data): New variable.
50560         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50561         (rint_test_data): New variable.
50562         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50563         (rint_tonearest_test_data): New variable.
50564         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50565         (rint_towardzero_test_data): New variable.
50566         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50567         (rint_downward_test_data): New variable.
50568         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50569         (rint_upward_test_data): New variable.
50570         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50571         (round_test_data): New variable.
50572         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50573         (sin_test_data): New variable.
50574         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50575         (sin_tonearest_test_data): New variable.
50576         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50577         (sin_towardzero_test_data): New variable.
50578         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50579         (sin_downward_test_data): New variable.
50580         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50581         (sin_upward_test_data): New variable.
50582         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50583         (sinh_test_data): New variable.
50584         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50585         (sinh_tonearest_test_data): New variable.
50586         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50587         (sinh_towardzero_test_data): New variable.
50588         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50589         (sinh_downward_test_data): New variable.
50590         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50591         (sinh_upward_test_data): New variable.
50592         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50593         (sqrt_test_data): New variable.
50594         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50595         (tan_test_data): New variable.
50596         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50597         (tan_tonearest_test_data): New variable.
50598         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50599         (tan_towardzero_test_data): New variable.
50600         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50601         (tan_downward_test_data): New variable.
50602         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50603         (tan_upward_test_data): New variable.
50604         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50605         (tanh_test_data): New variable.
50606         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50607         (tgamma_test_data): New variable.
50608         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50609         (trunc_test_data): New variable.
50610         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50611         (y0_test_data): New variable.
50612         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50613         (y1_test_data): New variable.
50614         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50615         (significand_test_data): New variable.
50616         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50618 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50620         [BZ #12387]
50621         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50623 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50625         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50627 2013-05-10  Andreas Jaeger  <aj@suse.de>
50629         [BZ #15448]
50630         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50631         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50633 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50635         * math/gen-libm-test.pl (adjust_arg): New function.
50636         (special_functions): Handle generating output in both functions
50637         and arrays.
50638         (parse_args): Likewise.
50639         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50640         $in_func argument to parse_args.
50641         * math/libm-test.inc (struct test_f_f_data): New type.
50642         (IF_ROUND_INIT_): New macro.
50643         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50644         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50645         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50646         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50647         (ROUND_RESTORE_): Likewise.
50648         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50649         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50650         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50651         (ROUND_RESTORE_FE_UPWARD): Likewise.
50652         (RUN_TEST_LOOP_f_f): New macro.
50653         (acos_test_data): New variable.
50654         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50655         (acos_tonearest_test_data): New variable.
50656         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50658 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50660         * benchtests/bench-skeleton.c (startup): Fix coding style.
50662 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50664         [BZ #6809]
50665         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50666         negative infinity argument.
50667         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50668         negative infinity argument.
50669         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50670         negative infinity argument.
50671         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50672         domain errors.
50674 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50676         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50677         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50678         * iconv/iconv_prog.c (main): Likewise.
50679         * locale/programs/charmap-dir.c (charmap_readdir)
50680         (fopen_uncompressed): Likewise.
50681         * locale/programs/locfile.c (siblings_uncached)
50682         (write_locale_data): Use lstat64 instead of lstat.
50683         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50684         stat.
50686 2013-05-10  Andreas Jaeger  <aj@suse.de>
50688         [BZ #15395]
50689         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50690         localization.
50691         Include <locale.h>.
50693 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50695         * elf/dl-close.c (_dl_close_worker): Add comments.
50697 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50699         [BZ #15359]
50700         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50701         high part of pi/2.
50702         (__ieee754_rem_pio2l): Update comments.
50704         [BZ #15429]
50705         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50706         high part of pi/2.
50707         (__ieee754_rem_pio2l): Update comments.
50709         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50710         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50712         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50713         M_PI_4l.
50715         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50716         (M_PI_34_LOG10El): Likewise.
50717         (M_PI2_LOG10El): Likewise.
50718         (M_PI4_LOG10El): Likewise.
50719         (M_PI_LOG10El): Likewise.
50721 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50725 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50727         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50728         (MINUS_ZERO_INIT): Likewise.
50729         (PLUS_INFTY_INIT): Likewise.
50730         (MINUS_INFTY_INIT): Likewise.
50731         (QNAN_VALUE_INIT): Likewise.
50732         (MAX_VALUE_INIT): Likewise.
50733         (MIN_VALUE_INIT): Likewise.
50734         (MIN_SUBNORM_VALUE_INIT): Likewise.
50735         (plus_zero): Initialize with PLUS_ZERO_INIT.
50736         (minus_zero): Initialize with MINUS_ZERO_INIT.
50737         (plus_infty): Initialize with PLUS_INFTY_INIT.
50738         (minus_infty): Initialize with MINUS_INFTY_INIT.
50739         (qnan_value): Initialize with QNAN_VALUE_INIT.
50740         (max_value): Initialize with MAX_VALUE_INIT.
50741         (min_value): Initialize with MIN_VALUE_INIT.
50742         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50744         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50745         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50746         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50747         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50749         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50750         (RUN_TEST_2_f): Likewise.
50751         (RUN_TEST_ff_f): Likewise.
50752         (RUN_TEST_fi_f): Likewise.
50753         (RUN_TEST_fl_f): Likewise.
50754         (RUN_TEST_fff_f): Likewise.
50755         (RUN_TEST_c_f): Likewise.
50756         (RUN_TEST_f_f1): Likewise.
50757         (RUN_TEST_fF_f1): Likewise.
50758         (RUN_TEST_fI_f1): Likewise.
50759         (RUN_TEST_ffI_f1): Likewise.
50760         (RUN_TEST_c_c): Likewise.
50761         (RUN_TEST_cc_c): Likewise.
50762         (RUN_TEST_f_i): Likewise.
50763         (RUN_TEST_f_i_tg): Likewise.
50764         (RUN_TEST_ff_i_tg): Likewise.
50765         (RUN_TEST_f_b): Likewise.
50766         (RUN_TEST_f_b_tg): Likewise.
50767         (RUN_TEST_f_l): Likewise.
50768         (RUN_TEST_f_L): Likewise.
50769         (RUN_TEST_sincos): Likewise.
50770         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50771         whether to show exceptions.  Do not include ");\n" in return
50772         value.
50773         (special_functions): Output call to RUN_TEST_sincos instead of
50774         check_float calls.  Update calls to new_test.
50775         (parse_args): Output call to single RUN_TEST_* macro instead of
50776         check_* calls and other assignments.  Update calls to new_test.
50778         [BZ #2546]
50779         [BZ #2560]
50780         [BZ #5159]
50781         [BZ #15426]
50782         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50783         input to result for tgamma overflow.
50784         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50785         (gamma_coeff): New variable.
50786         (NCOEFF): New macro.
50787         (gamma_positive): New function.
50788         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50789         underflow here.  Use gamma_positive instead of exp (lgamma) for
50790         other arguments.
50791         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50792         (gamma_coeff): New variable.
50793         (NCOEFF): New macro.
50794         (gammaf_positive): New function.
50795         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50796         underflow here.  Use gamma_positive instead of exp (lgamma) for
50797         other arguments.
50798         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50799         (gamma_coeff): New variable.
50800         (NCOEFF): New macro.
50801         (gammal_positive): New function.
50802         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50803         underflow here.  Use gamma_positive instead of exp (lgamma) for
50804         other arguments.
50805         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50806         (gamma_coeff): New variable.
50807         (NCOEFF): New macro.
50808         (gammal_positive): New function.
50809         (__ieee754_gammal_r): Handle positive infinity, overflow and
50810         underflow here.  Handle NaN the same as positive infinity.  Remove
50811         check x < 0xffffffff for negative integers.  Use gamma_positive
50812         instead of exp (lgamma) for other arguments.
50813         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50814         (gamma_coeff): New variable.
50815         (NCOEFF): New macro.
50816         (gammal_positive): New function.
50817         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50818         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50819         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50820         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50821         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50822         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50823         * sysdeps/generic/math_private.h (__gamma_productf): New
50824         prototype.
50825         (__gamma_product): Likewise.
50826         (__gamma_productl): Likewise.
50827         * math/Makefile (libm-calls): Add gamma_product.
50828         * math/libm-test.inc (tgamma_test): Add more tests.
50829         * sysdeps/i386/fpu/libm-test-ulps: Update.
50830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50832 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
50834         * benchtests/bench-skeleton.c (main): Preheat CPU.
50836 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
50838         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50840 2013-05-07  Roland McGrath  <roland@hack.frob.com>
50842         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50843         and _dl_skip_args_internal.
50845 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
50847         * manual/message.texi (Message Translation): Talk about users.
50848         Message to key mapping impacts design.
50850 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50852         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50854         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50856         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50857         * sysdeps/wordsize-64/glob64.c: ... here.
50859         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50860         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50861         New macros.
50863         * debug/getlogin_r_chk.c: Moved to ...
50864         * login/getlogin_r_chk.c: ... here.
50865         * debug/Makefile (routines): Move getlogin_r_chk to ...
50866         * login/Makefile (routines): ... here.
50867         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50868         * login/Versions (libc: GLIBC_2.4): ... here.
50870         * io/poll.c (__poll): Renamed from poll.
50871         Add libc_hidden_def.
50872         (poll): Define as weak alias.
50874         * debug/ptsname_r_chk.c: Moved to ...
50875         * login/ptsname_r_chk.c: ... here.
50876         * debug/Makefile (routines): Move ptsname_r_chk to ...
50877         * login/Makefile (routines): ... here.
50878         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50879         * login/Versions (libc: GLIBC_2.4): ... here.
50881         * posix/getlogin.c: Moved to ...
50882         * login/getlogin.c: ... here.
50883         * posix/getlogin_r.c: Moved to ...
50884         * login/getlogin_r.c: ... here.
50885         * posix/getlogin_r.c: Moved to ...
50886         * login/getlogin_r.c: ... here.
50887         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50888         * login/Makefile (routines): ... here.
50889         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50890         * login/Versions (libc: GLIBC_2.0): ... here.
50892         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50893         (setrlimit): Define as weak alias.
50895         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50896         Call __ names for open, ftruncate, and close.
50897         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50898         (truncate): Define as weak alias.
50900 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50902         * math/gen-libm-test.pl (parse_args): Initialize x before each
50903         test of frexp, modf and remquo.
50905         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50906         test signgam value.
50908 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50910         [BZ #15418]
50911         [BZ #15419]
50912         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50913         internal tests.
50914         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50916 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50918         * elf/dl-writev.h: New file.
50919         * elf/dl-misc.c: Include it.
50920         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50921         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50923 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50925         * math/libm-test.inc (noXFails): Remove variable.
50926         (noXPasses): Likewise.
50927         (BUILD_COMPLEX_INT): Remove macro.
50928         (print_screen): Remove xfail argument.
50929         (print_screen_max_error): Likewise.
50930         (update_stats): Likewise.
50931         (print_max_error): Likewise.  Update calls to other affected
50932         functions.
50933         (print_complex_max_error): Likewise.
50934         (test_single_exception): Update calls to print_screen.
50935         (test_single_errno): Likewise.
50936         (check_float_internal): Remove xfail argument.  Update calls to
50937         other affected functions.
50938         (check_float): Likewise.
50939         (check_complex): Likewise.
50940         (check_int): Likewise.
50941         (check_long): Likewise.
50942         (check_bool): Likewise.
50943         (check_longlong): Likewise.
50944         (main): Don't print noXFails and noXPasses.
50945         * math/gen-libm-test.pl (top level): Don't mention expected
50946         failure handling in comment.
50947         (new_test): Don't handle expected failures.
50948         (parse_args): Don't mention expected failure handling in comment.
50949         (generate_testfile): Don't handle expected failures.
50950         (parse_ulps): Likewise.
50951         (print_ulps_file): Likewise.
50952         (get_failure): Remove function.
50953         (output_test): Don't handle expected failures.
50954         * make/README.libm-test: Don't mention expected failure handling.
50956         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50957         (minus_zero): Likewise.
50958         (plus_infty): Likewise.
50959         (minus_infty): Likewise.
50960         (qnan_value): Likewise.
50961         (max_value): Likewise.
50962         (min_value): Likewise.
50963         (min_subnorm_value): Likewise.
50964         (initialize): Do not initialize those variables dynamically.
50966 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50968         * io/open.c (__open_2): Moved to ...
50969         * io/open_2.c: ... this new file.
50970         * io/open64.c (__open64_2): Moved to ...
50971         * io/open64_2.c: ... this new file.
50972         * io/openat.c (__openat_2): Moved to ...
50973         * io/openat_2.c: ... this new file.
50974         * io/openat64.c (__openat64_2): Moved to ...
50975         * io/openat64_2.c: ... this new file.
50976         * io/Makefile (routines): Add them.
50977         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50978         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50979         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50980         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50981         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50982         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50983         (__openat64): Add hidden_ver.
50984         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50985         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50987         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50988         Separately conditionalize setting of GLRO(dl_sysinfo) so
50989         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50990         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50992 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50994         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50995         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50996         definition.
50997         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50998         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50999         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51000         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51001         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51003 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51005         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51006         test signgam value.
51008         * math/libm-test.inc (hypot_test): Do not use
51009         IGNORE_ZERO_INF_SIGN.
51011 2013-05-03  Andreas Jaeger  <aj@suse.de>
51013         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51014         Linux 3.9.
51015         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51016         (PF_MAX): Adjust for VSOCK change.
51018 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51022 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51024         [BZ #15264]
51025         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51026         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51027         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51029 2013-05-02  David S. Miller  <davem@davemloft.net>
51031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51033 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51035         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51037 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51039         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51041 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51043         [BZ #14952]
51044         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51045         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51046         Use __attribute__ ((__gnu_inline__)).
51047         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51048         Don't use __attribute__ ((__gnu_inline__)).
51050 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51052         [BZ #15423]
51053         * math/s_catan.c (__catan): Handle small real or imaginary part of
51054         input specially to avoid spurious underflow.
51055         * math/s_catanf.c (__catanf): Likewise.
51056         * math/s_catanh.c (__catanh): Likewise.
51057         * math/s_catanhf.c (__catanhf): Likewise.
51058         * math/s_catanhl.c (__catanhl): Likewise.
51059         * math/s_catanl.c (__catanl): Likewise.
51060         * math/libm-test.inc (catan_test): Add more tests.
51061         (catanh_test): Likewise.
51062         * sysdeps/i386/fpu/libm-test-ulps: Update.
51063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51065 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51069 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51071         [BZ #15416]
51072         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51073         accurately for denominator in atan2.
51074         * math/s_catanf.c (__catanf): Likewise.
51075         * math/s_catanh.c (__catanh): Likewise.
51076         * math/s_catanhf.c (__catanhf): Likewise.
51077         * math/s_catanhl.c (__catanhl): Likewise.
51078         * math/s_catanl.c (__catanl): Likewise.
51079         * math/libm-test.inc (catan_test): Add more tests.
51080         (catanh_test): Likewise.
51081         * sysdeps/i386/fpu/libm-test-ulps: Update.
51082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51084 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51086         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51088         * benchtests/Makefile (bench): Remove slow benchmarks.
51089         * benchtests/atan-inputs: Add slow benchmark inputs.
51090         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51091         (BENCH_FUNC): Accept variant offset.
51092         (VARIANT): Define.
51093         * benchtests/bench-skeleton.c (main): Run benchmark for each
51094         variant.
51095         * benchtests/cos-inputs: Add slow benchmark inputs.
51096         * benchtests/exp-inputs: Likewise.
51097         * benchtests/pow-inputs: Likewise.
51098         * benchtests/sin-inputs: Likewise.
51099         * benchtests/slowatan-inputs: Remove.
51100         * benchtests/slowatan.c: Remove.
51101         * benchtests/slowcos-inputs: Remove.
51102         * benchtests/slowcos.c: Remove.
51103         * benchtests/slowexp-inputs: Remove.
51104         * benchtests/slowexp.c: Remove.
51105         * benchtests/slowpow-inputs: Remove.
51106         * benchtests/slowpow.c: Remove.
51107         * benchtests/slowsin-inputs: Remove.
51108         * benchtests/slowsin.c: Remove.
51109         * benchtests/slowtan-inputs: Remove.
51110         * benchtests/slowtan.c: Remove.
51111         * benchtests/tan-inputs: Add slow benchmark inputs.
51112         * scripts/bench.pl: Parse comments and directives.
51114         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51115         in CPPFLAGS.
51116         ($(objpfx)bench-%.c): Remove *-ITER.
51117         * benchtests/bench-modf.c: Remove definition of ITER.
51118         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51119         (main): Loop for DURATION seconds instead of fixed number of
51120         iterations.
51121         * scripts/bench.pl: Don't expect iterations in parameters.
51123 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51125         * io/fchdir.c (__fchdir): Renamed from fchdir.
51126         (fchdir): Define as weak alias.
51128 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51130         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51131         (ERRNO_EDOM): Likewise.
51132         (ERRNO_ERANGE): Likewise.
51133         (noErrnoTests): New variable.
51134         (init_max_error): Set errno to 0.
51135         (test_single_errno): New function.
51136         (test_errno): Likewise.
51137         (check_float_internal): Call test_errno.  Set errno to 0.
51138         (check_complex): Refer to errno tests in comment.
51139         (check_int): Call test_errno.  Set errno to 0.
51140         (check_long): Likewise.
51141         (check_bool): Likewise.
51142         (check_longlong): Likewise.
51143         (cos_test): Use ERRNO_* flags for errno tests instead of
51144         check_int.
51145         (expm1_test): Likewise.
51146         (fmod_test): Likewise.
51147         (ilogb_test): Likewise.
51148         (lgamma_test): Likewise.
51149         (pow_test): Likewise.
51150         (remainder_test): Likewise.
51151         (sin_test): Likewise.
51152         (tan_test): Likewise.
51153         (yn_test): Likewise.
51154         (initialize): Set errno to 0.
51155         (main): Print number of errno tests.
51156         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51158 2013-04-29  Andreas Jaeger  <aj@suse.de>
51160         [BZ #15084]
51161         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51162         and RES_USEVC.
51164         [BZ #15085]
51165         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51166         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51167         unimplemented.
51169         [BZ #15380]
51170         * stdlib/random.c (__initstate): Return NULL if
51171         __initstate fails.
51173         [BZ #15086]
51174         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51175         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51176         RES_SNGLKUPREOP.
51178 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51182 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51184         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51185         of individual tests.
51186         (casin_test): Likewise.
51187         (casinh_test): Likewise.
51189 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51191         [BZ #15409]
51192         * math/s_catan.c (__catan): Handle arguments with large real or
51193         imaginary part separately without squaring.
51194         * math/s_catanf.c (__catanf): Likewise.
51195         * math/s_catanh.c (__catanh): Likewise.
51196         * math/s_catanhf.c (__catanhf): Likewise.
51197         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51198         and redefine.
51199         (__catanhl): Handle arguments with large real or imaginary part
51200         separately without squaring.
51201         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51202         and redefine.
51203         (__catanl): Handle arguments with large real or imaginary part
51204         separately without squaring.
51205         * math/libm-test.inc (catan_test): Add more tests.
51206         (catanh_test): Likewise.
51207         * sysdeps/i386/fpu/libm-test-ulps: Update.
51208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51210 2013-04-27  Andreas Jaeger  <aj@suse.de>
51212         [BZ #15007]
51213         * stdlib/stdlib.h: Update guards for qecvt.
51214         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51215         <stdlib.h>.
51217 2013-04-27  Allan McRae  <allan@archlinux.org>
51219         * sysdeps/i386/fpu/libm-test-ulps: Update.
51221 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51223         [BZ #15406]
51224         * math/s_catan.c: Include <float.h>.
51225         (__catan): Ensure underflow exception occurs for underflowed
51226         result.
51227         * math/s_catanf.c: Include <float.h>.
51228         (__catanf): Ensure underflow exception occurs for underflowed
51229         result.
51230         * math/s_catanh.c: Include <float.h>.
51231         (__catanh): Ensure underflow exception occurs for underflowed
51232         result.
51233         * math/s_catanhf.c: Include <float.h>.
51234         (__catanhf): Ensure underflow exception occurs for underflowed
51235         result.
51236         * math/s_catanhl.c: Include <float.h>.
51237         (__catanhl): Ensure underflow exception occurs for underflowed
51238         result.
51239         * math/s_catanl.c: Include <float.h>.
51240         (__catanl): Ensure underflow exception occurs for underflowed
51241         result.
51242         * math/libm-test.inc (catan_test): Add more tests.
51243         (catanh_test): Likewise.
51245         [BZ #15405]
51246         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51247         underflowed result.
51248         * math/s_ccoshf.c (__ccoshf): Likewise.
51249         * math/s_ccoshl.c (__ccoshl): Likewise.
51250         * math/s_csin.c (__csin): Likewise.
51251         * math/s_csinf.c (__csinf): Likewise.
51252         * math/s_csinh.c (__csinh): Likewise.
51253         * math/s_csinhf.c (__csinhf): Likewise.
51254         * math/s_csinhl.c (__csinhl): Likewise.
51255         * math/s_csinl.c (__csinl): Likewise.
51256         * math/libm-test.inc (ccos_test): Add more tests.
51257         (ccosh_test): Likewise.
51258         (csin_test): Likewise.
51259         (csinh_test): Likewise.
51261 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51263         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51264         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51265         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51266         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51267         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51268         powerpc/power5+/fpu folders.
51269         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51272 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51276 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51278         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51279         additions to variable.
51280         [$(config-machine) = x86_64] (modules-names): Likewise.
51281         ($(objpfx)tst-audit3): Remove dependency.
51282         ($(objpfx)tst-audit3.out): Likewise.
51283         ($(objpfx)tst-audit4): Likewise.
51284         ($(objpfx)tst-audit4.out): Likewise.
51285         ($(objpfx)tst-audit5): Likewise.
51286         ($(objpfx)tst-audit5.out): Likewise.
51287         ($(objpfx)tst-audit6): Likewise.
51288         ($(objpfx)tst-audit6.out): Likewise.
51289         ($(objpfx)tst-audit7): Likewise.
51290         ($(objpfx)tst-audit7.out): Likewise.
51291         (tst-audit3-ENV): Remove variable.
51292         (tst-audit4-ENV): Likewise.
51293         (tst-audit5-ENV): Likewise.
51294         (tst-audit6-ENV): Likewise.
51295         (tst-audit7-ENV): Likewise.
51296         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51297         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51298         addition to variable.
51299         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51300         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51301         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51302         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51303         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51304         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51305         tst-audit3, tst-audit4 and tst-audit5.
51306         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51307         tst-audit6 and tst-audit7.
51308         [$(subdir) = elf] (modules-names): Add audit modules for those
51309         tests.
51310         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51311         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51312         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51313         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51314         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51315         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51316         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51317         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51318         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51319         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51320         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51321         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51322         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51323         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51324         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51325         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51326         Likewise.
51327         [$(subdir) = elf && $(config-cflags-avx) = yes]
51328         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51329         [$(subdir) = elf && $(config-cflags-avx) = yes]
51330         (CFLAGS-tst-auditmod4a.c): Likewise.
51331         [$(subdir) = elf && $(config-cflags-avx) = yes]
51332         (CFLAGS-tst-auditmod4b.c): Likewise.
51333         [$(subdir) = elf && $(config-cflags-avx) = yes]
51334         (CFLAGS-tst-auditmod6b.c): Likewise.
51335         [$(subdir) = elf && $(config-cflags-avx) = yes]
51336         (CFLAGS-tst-auditmod6c.c): Likewise.
51337         [$(subdir) = elf && $(config-cflags-avx) = yes]
51338         (CFLAGS-tst-auditmod7b.c): Likewise.
51339         * elf/tst-audit3.c: Move to ...
51340         * sysdeps/x86_64/tst-audit3.c: ... here.
51341         * elf/tst-audit4.c: Move to ...
51342         * sysdeps/x86_64/tst-audit4.c: ... here.
51343         * elf/tst-audit5.c: Move to ...
51344         * sysdeps/x86_64/tst-audit5.c: ... here.
51345         * elf/tst-audit6.c: Move to ...
51346         * sysdeps/x86_64/tst-audit6.c: ... here.
51347         * elf/tst-audit7.c: Move to ...
51348         * sysdeps/x86_64/tst-audit7.c: ... here.
51349         * elf/tst-auditmod3a.c: Move to ...
51350         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51351         * elf/tst-auditmod3b.c: Move to ...
51352         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51353         * elf/tst-auditmod4a.c: Move to ...
51354         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51355         * elf/tst-auditmod4b.c: Move to ...
51356         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51357         * elf/tst-auditmod5a.c: Move to ...
51358         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51359         * elf/tst-auditmod5b.c: Move to ...
51360         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51361         * elf/tst-auditmod6a.c: Move to ...
51362         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51363         * elf/tst-auditmod6b.c: Move to ...
51364         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51365         * elf/tst-auditmod6c.c: Move to ...
51366         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51367         * elf/tst-auditmod7a.c: Move to ...
51368         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51369         * elf/tst-auditmod7b.c: Move to ...
51370         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51372 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51374         [BZ #15366]
51375         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51376         define unconditionally.
51377         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51378         define unconditionally.
51379         (INT8_C, INT16_C, etc.): Likewise.
51381 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51383         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51384         __ehdr_start with hidden visibility.
51386         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51388 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51390         * math/libm-test.inc (cos_test): Use accurate hex constants.
51391         (sincost_test): Likewise.
51393 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51395         * math/libm-test.inc (catan_test): Add more tests.
51396         (catanh_test): Likewise.
51398         * math/s_catanf.c (__catanf): Use suffixed floating-point
51399         constants.
51400         * math/s_catanhf.c (__catanhf): Likewise.
51401         * math/s_catanhl.c (__catanhl): Likewise.
51402         * math/s_catanl.c (__catanl): Likewise.
51404         [BZ #15394]
51405         * math/s_catan.c (__catan): Calculate imaginary part of result
51406         with log1p not log unless computing log of number close to 0.
51407         * math/s_catanf.c (__catanf): Likewise.
51408         * math/s_catanl.c (__catanl): Likewise.
51409         * math/s_catanh.c (__catanh): Calculate real part of result with
51410         log1p not log unless computing log of number close to 0.
51411         * math/s_catanhf.c (__catanhf): Likewise.
51412         * math/s_catanhl.c (__catanhl): Likewise.
51413         * math/libm-test.inc (catan_test): Add more tests.
51414         (catanh_test): Likewise.
51415         * sysdeps/i386/fpu/libm-test-ulps: Update.
51416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51418 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51420         * benchtests/Makefile: Mention files in which fast and slow
51421         paths of math functions are implemented.
51423 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51425         * sysdeps/posix/timespec_get.c: New file.
51427 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51429         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51430         POWER.
51431         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51432         for POWER.
51433         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51434         powerpc/power5/fpu folders.
51435         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51436         * benchtests/Makefile: Add modf testcase.
51437         * benchtests/bench-modf.c: New file: Benchmark test for mo
51439 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51441         [BZ #14888]
51442         * time/Makefile (tests): Add tst-strptime-whitespace.
51443         * time/strptime_l.c (get_number): Use ISSPACE.
51444         (__strptime_internal): Likewise.
51445         * time/tst-strptime-whitespace.c: New test case.
51447 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51449         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51450         member.
51451         (_nss_files_init): Set it here.
51453 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51455         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51456         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51457         unsigned.
51459 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51461         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51463 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51465         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51466         size just once.
51468 2013-04-21  David S. Miller  <davem@davemloft.net>
51470         * po/ru.po: Update Russion translation from translation project.
51472 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51474         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51475         and setfsgid.
51477 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51479         * configure.in: Remove i386 configure warning. Remove i386 case.
51480         * configure: Regenerate.
51481         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51482         Add example to error message.
51483         * sysdeps/i386/configure: Regenerate.
51485 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51487         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51488         slowtan.
51489         * benchtests/cos-inputs: New file.
51490         * benchtests/slowcos-inputs: New file.
51491         * benchtests/slowcos.c: New file.
51492         * benchtests/slowtan-inputs: New file.
51493         * benchtests/slowtan.c: New file.
51494         * benchtests/tan-inputs: New file.
51496 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51498         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51499         considered kosher.
51501 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51503         * benchtests/Makefile: Include cppflags-iterator.mk to add
51504         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51506         * Makefile.in (bench-clean): New target.
51507         * benchtests/Makefile (bench-clean): Likewise.
51509 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51511         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51513 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51515         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51517 2013-04-15  Andreas Schwab  <schwab@suse.de>
51519         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51520         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51521         * nscd/pwdcache.c (cache_addpw): Likewise.
51522         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51523         more than recsize.
51525 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51527         * benchtests/Makefile (bench): Write all output to
51528         bench-out.tmp together.
51530 2013-04-15  Andreas Schwab  <schwab@suse.de>
51532         * nscd/nscd.c (main): Don't fork again after closing files.
51534 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51536         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51538         * benchtests/Rules (bench-deps): Collect dependencies into a
51539         single variable.  Add Makefile to dependencies.
51540         ($(objpfx)bench-%.c): Depend on bench-deps.
51542 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51543             Xavier Roche  <roche+kml2@exalead.com>
51545         [BZ #15361]
51546         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51547         just that it's a file descriptor.
51548         * manual/llio.texi (Synchronizing AIO Operations): Update description
51549         for EBADF error from aio_fsync.
51551 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51553         * Rules (bench): Move target definition...
51554         * benchtests/Makefile: ... here.
51556 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51558         * math/libm-test.inc (cos_test): Fix PI/2 test.
51559         (sincos_test): Likewise.
51560         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51561         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51563 2013-04-11  Andreas Schwab  <schwab@suse.de>
51565         [BZ #13988]
51566         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51567         accept exponent character only when digits were seen.
51568         * stdio-common/Makefile (tests): Add bug26.
51569         * stdio-common/bug26.c: New file.
51571         [BZ #14293]
51572         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51573         non-freeable.
51575 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51577         * Makeconfig (rtld-prefix): Define built linker prefix.
51578         * Rules (run-bench): Use it.
51579         * math/Makefile (run-regen-ulps): Likewise.
51581         * Rules (bench): Remove eval.
51583 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51584             Roland McGrath  <roland@hack.frob.com>
51585             Ondrej Bilka  <neleai@seznam.cz>
51587         [BZ #15346]
51588         * time/getdate.c: Include ctype.h and alloca.h.
51589         (__getdate_r): Trim leading and trailing spaces of input.
51590         * time/tst-getdate.c (tests): Add tests with leading and
51591         trailing spaces.
51593 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51595         [BZ #14280]
51596         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51597         when computing value.
51599 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51601         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51602         Use testrun.sh to run libm tests.
51604         [BZ #15309]
51605         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51607 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51609         [BZ #15264]
51610         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51612 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51614         * Makefile.in (regen-ulps): New target.
51615         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51616         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51617         [ifneq (no,$(PERL)] (regen-ulps): New target.
51618         [ifeq (no,$(PERL)] (regen-ulps): New target.
51619         * math/libm-test.inc (ulps_file_name): Define.
51620         (output_dir): New variable.
51621         (options): Add "output-dir" option.
51622         (parse_opt): Handle 'o' case.
51623         (main): If output_dir is non-NULL use it as a prefix
51624         otherwise use "".
51625         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51627 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51629         [BZ #10060, #10062]
51630         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51631         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51632         fail configure if __sync_val_compare_and_swap is not inlined.
51633         * sysdeps/i386/configure: Regenerate.
51634         * configure.in: Build for i686 when configured for i386.
51635         * configure: Regenerate.
51636         * README: Remove i386 reference.
51638 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51640         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51641         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51643 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51645         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51646         (lmsnanval): New variables.
51647         (F): Add conversion tests.
51648         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51649         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51651         * stdio-common/tstdiomisc.c (F): Properly collect individual
51652         tests' results.
51654         [BZ #14686, #15336]
51655         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51656         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51657         Instead, use input NaN values or generate a qNaN by arithmetic
51658         operation.  Also fix bugs to comply with the standard.
51659         * math/libm-test.inc (remainder_test): Add more tests.
51661         [BZ #15335, #15342]
51662         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51663         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51664         input NaN values or generate a qNaN by arithmetic operation.
51666         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51667         unreachable code.
51669         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51670         definitions.
51672 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51674         [BZ #14478]
51675         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51676         underflowed result.
51677         * math/s_cexpf.c (__cexpf): Likewise.
51678         * math/s_cexpl.c (__cexpl): Likewise.
51679         * math/libm-test.inc (cexp_test): Add more tests.
51681 2013-04-03  Andreas Schwab  <schwab@suse.de>
51683         [BZ #15330]
51684         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51685         order arrays from heap if bigger than alloca cutoff.
51687 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51689         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51690         (SNAN_TESTS_double): Refer to GCC PR56831.
51691         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51692         GCC PR56828.
51694 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51696         * Rules (bench): Move bench.out after the run is complete.
51698         * Rules (bench): Echo currently running benchmark.
51700         * benchtests/Makefile (bench): Add atan and slowatan.
51701         * benchtests/atan-inputs: New file.
51702         * benchtests/slowatan-inputs: New file.
51703         * benchtests/slowatan.c: New file.
51705         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51706         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51707         its value.
51709         [BZ #15305]
51710         * sysdeps/unix/sysv/linux/kernel-features.h
51711         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51712         __ASSUME_XFS_RESTRICTED_CHOWN.
51713         * sysdeps/unix/sysv/linux/pathconf.c
51714         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51715         Save and restore errno.
51717 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51719         [BZ #15327]
51720         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51721         arguments using __kernel_casinh.
51722         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51723         arguments using __kernel_casinhf.
51724         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51725         arguments using __kernel_casinhl.
51726         * math/libm-test.inc (cacosh_test): Add more tests.
51727         * sysdeps/i386/fpu/libm-test-ulps: Update.
51728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51730 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51732         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51735         * bench/Makefile (bench): Add sin and slowsin.
51736         * benchtests/sin-inputs: New file.
51737         * benchtests/slowsin-inputs: New file.
51738         * benchtests/slowsin.c: New file.
51740         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51741         (bench): Add slowexp and slowpow.
51742         (exp-ITER): Increase iterations.
51743         (pow-ITER): Likewise.
51744         * benchtests/exp-inputs: Change input.
51745         * benchtests/pow-inputs: Likewise.
51746         * benchtests/slowexp-inputs: New file.
51747         * benchtests/slowexp.c: New file.
51748         * benchtests/slowpow-inputs: New file.
51749         * benchtests/slowpow.c: New file.
51751 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51753         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51754         instructions.
51755         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51756         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51757         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51758         * benchtests/Makefile: Add rint benchtest.
51759         * benchtests/rint-inputs: Input for rint benchtest.
51761 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51763         * Versions.def (libm): Add GLIBC_2.18.
51764         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51765         hidden libm prototypes.
51766         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51767         * math/Makefile (libm-calls): Add s_issignaling.
51768         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51769         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51770         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51771         declaration.
51772         * math/math.h [__USE_GNU] (issignaling): New macro.
51773         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51774         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51775         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51776         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51777         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51778         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51779         * manual/arith.texi (issignaling): New section.
51780         * manual/libm-err-tab.pl (@all_functions): Update comment.
51781         * math/gen-libm-test.pl (parse_args): Apply special handling for
51782         issignaling.
51783         * math/libm-test.inc (print_float, issignaling_test): New
51784         functions.
51785         (check_float_internal): Add issignaling checks.
51786         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51787         default definition.
51788         * sysdeps/powerpc/math-tests.h: New file.
51789         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51790         tests.
51791         * math/test-snan.c (TEST_FUNC): Likewise.
51793 2013-03-30  David S. Miller  <davem@davemloft.net>
51795         * po/de.po: Update from translation team.
51797 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
51799         [BZ #10357]
51800         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51801         imaginary part less than 1.0 and real part less than 0.5
51802         specially.
51803         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51804         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51805         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51806         (cacos_test): Add more tests.
51807         (casin_test): Likewise.
51808         (casinh_test): Likewise.
51809         * sysdeps/i386/fpu/libm-test-ulps: Update.
51810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51812 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51814         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51815         ONE with its value.
51817         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51818         (__pow_mp): Replace ONE and MONE with their values.
51819         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51820         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51821         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51822         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51823         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51824         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51826         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51828         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51829         (__pow_mp): Replace ZERO and MZERO with their values.
51830         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51831         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51832         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51834         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51835         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51836         (__sqr): Likewise.
51838         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51840         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51842 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51844         * include/stdlib.h [!SHARED] (__call_tls_dtors):
51845         Declare with __attribute__ ((weak)).
51846         * stdlib/exit.c (__libc_atexit) [!SHARED]:
51847         Call __call_tls_dtors only if it's not NULL.
51849 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51851         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51852         didn't do it already, then set _dl_phdr and _dl_phnum based on the
51853         magic __ehdr_start linker symbol if it's defined.
51854         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51855         them up here if it was already done.
51857         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51858         (_dl_aux_init): Use const in cast when setting it.
51859         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51860         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51861         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51863         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51864         Declare them here.
51865         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51866         * csu/libc-tls.c: Nor here.
51867         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51869         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51870         (__libc_message): Never call vsyslog.
51872 2013-03-28  Alan Modra  <amodra@gmail.com>
51874         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51875         Define as empty.
51876         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51877         Likewise.
51879 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51881         [BZ #15214]
51882         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51883         underflow.
51884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51886 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51888         [BZ #15304]
51889         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51890         Don't add gid passed as argument.
51892         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51894 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51896         [BZ #15307]
51897         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51898         imaginary part between 1.0 and 1.5 and real part less than 0.5
51899         specially.
51900         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51901         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51902         * math/libm-test.inc (cacos_test): Add more tests.
51903         (casin_test): Likewise.
51904         (casinh_test): Likewise.
51905         * sysdeps/i386/fpu/libm-test-ulps: Update.
51906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51908 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51910         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51911         constants.
51912         (norm): Likewise.
51913         (denorm): Likewise.
51914         (__dbl_mp): Likewise.
51915         (add_magnitudes): Likewise.
51916         (sub_magnitudes): Likewise.
51917         (__add): Likewise.
51918         (__sub): Likewise.
51919         (__mul): Likewise.
51920         (__sqr): Likewise.
51921         (__inv): Likewise.
51922         (__dvd): Likewise.
51924         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51925         commented code.
51926         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51927         (__dubcos): Likewise.
51928         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51929         (__ieee754_acos): Likewise.
51930         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51931         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51932         (__exp1): Likewise.
51933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51935         (log1): Likewise.
51936         (my_log2): Likewise.
51937         (checkint): Likewise.
51938         * sysdeps/ieee754/dbl-64/e_remainder.c
51939         (__ieee754_remainder): Likewise.
51940         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51941         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51942         (bsloww): Likewise.
51943         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51945         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51946         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51947         MANTISSA_STORE_T to store computations on mantissa.  Use
51948         macros for rounding and division.
51949         (denorm): Likewise.
51950         (__dbl_mp): Likewise.
51951         (add_magnitudes): Likewise.
51952         (sub_magnitudes): Likewise.
51953         (__mul): Likewise.
51954         (__sqr): Likewise.
51955         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51956         powers of two in terms of TWOPOW macro.
51957         (mp_no): Make type of mantissa as MANTISSA_T.
51958         [!RADIXI]: Define RADIXI.
51959         [!TWO52]: Define TWO52.
51960         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51962 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51964         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51965         llroundl symbol when building for PPC32.
51967 2013-03-24  Mark H Weaver  <mhw@netris.org>
51969         * manual/arith.texi (Normalization Functions): Fix prototypes for
51970         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51972 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51974         [BZ #13889]
51975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51976         high value to check if expl overflow.
51977         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51978         to check for underflow and overflow.
51979         * math/libm-test.inc: Add exp test.
51981 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51983         [BZ #11120]
51984         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51985         with NOT_IN_libc.
51987 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51989         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51990         symbol.
51992 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51994         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51995         wrap blocks consisting of several statements.
51997         * sysdeps/generic/math-tests.h: New file.
51998         * sysdeps/i386/fpu/math-tests.h: Likewise.
51999         * math/test-snan.c: Include it.
52000         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52002 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52004         [BZ #15285]
52005         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52006         (__ieee754_j0l): Do not improve calculations using cos of twice
52007         input for inputs above LDBL_MAX / 2.0L.
52008         (__ieee754_y0l): Likewise.
52009         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52010         (__ieee754_j1l): Do not improve calculations using cos of twice
52011         input for inputs above LDBL_MAX / 2.0L.
52012         (__ieee754_y1l): Likewise.
52013         * math/libm-test.inc (j0_test): Add another test.
52014         (j1_test): Likewise.
52015         (y0_test): Likewise.
52016         (y1_test): Likewise.
52017         * sysdeps/i386/fpu/libm-test-ulps: Update.
52019 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52021         * Rules ($(objpfx)bench-%.c): Include code from a C source
52022         file.
52024 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52026         [BZ #15287]
52027         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52028         imaginary part 1.0 and real part less than 0.5 specially.
52029         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52030         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52031         * math/libm-test.inc (cacos_test): Add more tests.
52032         (casin_test): Likewise.
52033         (casinh_test): Likewise.
52034         * sysdeps/i386/fpu/libm-test-ulps: Update.
52035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52037 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52039         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52040         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52042 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52044         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52045         * config.make.in (config-cflags-sse4): Remove variable.
52046         (config-cflags-avx): Likewise.
52047         (config-cflags-sse2avx): Likewise.
52048         (config-cflags-novzeroupper): Likewise.
52049         (config-asflags-i686): Likewise.
52050         (have-mfma4): Likewise.
52051         (have-as-vis3): Likewise.
52052         (MIG): Likewise.
52053         * configure.in (MIG): Do not AC_SUBST.
52054         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52055         (libc_cv_cc_sse4): Do not AC_SUBST.
52056         (libc_cv_cc_avx): Likewise.
52057         (libc_cv_cc_sse2avx): Likewise.
52058         (libc_cv_cc_novzeroupper): Likewise.
52059         (libc_cv_cc_fma4): Likewise.
52060         (libc_cv_as_i686): Likewise.
52061         (libc_cv_sparc_as_vis3): Likewise.
52062         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52063         LIBC_CONFIG_VAR.
52064         (config-asflags-i686): Likewise.
52065         (config-cflags-avx): Likewise.
52066         (config-cflags-sse2avx): Likewise.
52067         (have-mfma4): Likewise.
52068         (config-cflags-novzeroupper): Likewise.
52069         * sysdeps/mach/configure.in (MIG): Likewise.
52070         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52071         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52072         LIBC_CONFIG_VAR.
52073         (config-cflags-avx): Likewise.
52074         (config-cflags-sse2avx): Likewise.
52075         (have-mfma4): Likewise.
52076         (config-cflags-novzeroupper): Likewise.
52077         * configure: Regenerated.
52078         * sysdeps/i386/configure: Likewise.
52079         * sysdeps/mach/configure: Likewise.
52080         * sysdeps/sparc/configure: Likewise.
52081         * sysdeps/x86_64/configure: Likewise.
52083 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52085         [BZ #14812]
52086         * locale/programs/localedef.c (options): Put N_ translation marker
52087         on argument names, not just descriptions.
52089 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52091         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52093 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52095         [BZ #14176]
52096         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52098 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52100         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52101         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52102         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52103         [!BEFORE_ABORT] (before_abort): New function.
52104         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52105         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52106         (writev_for_fatal): New function.
52107         (WRITEV_FOR_FATAL): New macro; call that.
52108         (backtrace_and_maps): New function.
52109         (BEFORE_ABORT): New macro; call that.
52110         (struct str_list): Type removed.
52111         (__libc_message, __libc_fatal): Functions removed.
52112         Include <sysdeps/posix/libc_fatal.c> instead.
52114 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52116         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52117         constants.
52118         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52119         double constants.
52121 2013-03-19  Andreas Schwab  <schwab@suse.de>
52123         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52124         * sysdeps/gnu/configure: Regenerate.
52126         * configure.in: Substitute libc_cv_rtlddir.
52127         * configure: Regenerate.
52128         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52129         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52130         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52131         * elf/Makefile (install-others, CFLAGS-interp.c)
52132         (ldso_install, common-ldd-rewrite): Likewise.
52133         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52134         $(inst_slibdir)/$(rtld-installed-name).
52135         * scripts/rellns-sh: Add -p option.
52136         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52137         for source.
52139 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52141         * manual/nptl.texi: Renamed to ...
52142         * manual/threads.texi: ... this.
52143         * manual/Makefile (chapters): Update.
52145 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52147         [BZ #14812]
52148         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52149         on argument names, not just descriptions.
52150         * malloc/memusagestat.c (options): Likewise.
52151         * nss/getent.c (options): Likewise.
52153 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52155         [BZ #14812]
52156         * iconv/iconv_prog.c (options): Put N_ translation marker
52157         on argument names, not just descriptions.
52158         * iconv/iconvconfig.c (options): Likewise.
52160 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52162         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52163         implementation which is faster on all x86_64 architectures.
52164         Tested on AMD, Intel Nehalem, SNB, IVB.
52165         * sysdeps/x86_64/strnlen.S: Likewise.
52167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52168         Remove all multiarch strlen and strnlen versions.
52169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52170         Remove strlen and strnlen related parts.
52172         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52173         Inline strlen part.
52174         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52176         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52177         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52178         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52179         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52180         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52181         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52183 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52185         * manual/memory.texi (Malloc Tunable Parameters):
52186         Sort parameters alphabetically. Add comments for missing entries.
52188 2013-03-17  David S. Miller  <davem@davemloft.net>
52190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52192 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52194         [BZ #15283]
52195         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52196         for arguments at most half maximum finite value.
52197         * math/libm-test.inc (j0_test): Add more tests.
52198         (j1_test): Likewise.
52199         (y0_test): Likewise.
52200         (y1_test): Likewise.
52201         * sysdeps/i386/fpu/libm-test-ulps: Update.
52202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52204         [BZ #14155]
52205         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52206         1 / x and functions P and Q for arguments above 0x1p256L.
52207         (__ieee754_y0l): Likewise.
52208         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52209         (__ieee754_y1l): Likewise.
52210         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52211         (j1_test): Likewise.
52212         (y0_test): Likewise.
52213         (y1_test): Likewise.
52215 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52217         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52218         variable.
52220 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52222         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52223         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52224         zero since it's initialized to EXEC_PAGESIZE.
52226         * sysdeps/unix/sysv/linux/ldsodefs.h
52227         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52228         * sysdeps/generic/ldsodefs.h: ... here.
52230 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52232         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52234         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52235         math/test-snan.c.
52236         * math/test-snan.c: Renamed from
52237         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52238         * math/Makefile (tests): Add test-snan.
52239         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52240         test-powerpc-snan.
52242         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52243         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52244         functions.
52245         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52246         __builtin_nan family of functions.
52247         * math/libm-test.inc (initialize): Initialize qnan_value with
52248         __builtin_nan family of functions.
52249         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52250         Remove variables.
52251         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52252         Remove functions.
52253         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52254         storage class.  Initialize qNaN_var and sNaN_var with
52255         __builtin_nan and __builtin_nans families of functions,
52256         respectively.
52258         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52259         (sqrt_test): Remove duplicate test with qNaN input.
52260         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52261         (round_test, signbit_test, significand_test): Note missing +/-Inf
52262         as well as qNaN tests.
52264         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52265         qNaN_var.  Fix a few strings, too.
52266         * math/libm-test.inc (nan_value): Rename to qnan_value.
52267         * math/gen-libm-test.pl (%beautify): Adjust to that.
52268         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52269         * math/test-misc.c (main): Likewise.
52270         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52271         to __qnan_bytes, and __qnan_union, respectively.
52272         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52273         Likewise.
52274         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52275         and lqnanval, respectively.
52276         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52277         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52278         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52279         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52281         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52282         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52283         doubles.
52285         * math/test-misc.c (main): Fix copy'n'pastos.
52286         * misc/tst-efgcvt.c (special): Likewise.
52288         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52289         Remove declarations.
52291 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52293         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52294         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52295         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52296         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52298 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52300         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52301         macro to return vdso values correctly in IFUNC implementations.
52302         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52303         Optimization by using IFUNC.
52305 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52306             Richard Henderson  <rth@redhat.com>
52307             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52309         * Makefile.in (bench): New target.
52310         * NEWS: Mention the benchmark framework.
52311         * Rules (bench): Likewise.
52312         (binaries-bench): Generate binaries for functions to
52313         benchmark.
52314         * benchtests/Makefile: New makefile for benchmark tests.
52315         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52316         programs.
52317         * benchtests/exp-inputs: New input file for EXP function.
52318         * benchtests/pow-inputs: New input file for POW function.
52319         * scripts/bench.pl: New script to generate source files for
52320         benchmark programs.
52322 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52324         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52325         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52326         computations on mantissa.  Use macros for rounding and
52327         division.
52328         (denorm): Likewise.
52329         (__dbl_mp): Likewise.
52330         (add_magnitudes): Likewise.
52331         (sub_magnitudes): Likewise.
52332         (__mul): Likewise.
52333         (__sqr): Likewise.
52334         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52335         powers of two in terms of TWOPOW macro.
52336         (mp_no): Make type of mantissa as MANTISSA_T.
52337         [!RADIXI]: Define RADIXI.
52338         [!TWO52]: Define TWO52.
52339         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52341         * manual/nptl.texi (cindex): Modify threads to pthreads.
52343 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52345         * sysdeps/x86_64/preconfigure: Regenerated.
52347 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52349         [BZ #14155]
52350         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52351         0x1p28 and above.
52352         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52353         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52354         0x1p28 and above.
52355         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52356         * math/libm-test.inc (j0_test): Do not allow one spurious
52357         underflow exception.
52358         (y1_test): Likewise.
52360 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52362         * manual/Makefile (chapters): Add nptl.
52363         * manual/debug.texi (Debugging Support): Add link to Threads
52364         chapter.
52365         * manual/nptl.texi: New file.
52367         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52369 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52371         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52372         for non-NULL pointer before the memory validity test. Pointed
52373         out by Holger Brunck <holger.brunck@keymile.com>.
52375 2013-03-13  Andreas Schwab  <schwab@suse.de>
52377         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52378         instead of .os.
52380 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52382         * timezone/zic.c: Update from tzcode 2013b.
52384 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52386         * manual/install.texi (Configuring and compiling):
52387         Mention i686 and i586.
52388         * INSTALL: Regenerate.
52390 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52392         * sysdeps/init_array/elf-init.c: New file.
52393         * csu/elf-init.c
52394         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52395         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52397         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52398         __gmon_start__ as global, but as static with a .preinit_array pointer.
52399         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52400         * sysdeps/init_array/crti.S: New file, empty except for comments.
52401         * sysdeps/init_array/crtn.S: Likewise.
52403 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52405         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52406         definining bcopy.
52407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52408         Remove Prefer_SSE_for_memop.
52409         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52410         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52411         HAS_PREFER_SSE_FOR_MEMOP.
52412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52413         memset-x86-64.
52414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52415         Remove bzero, memset ifunc support.
52416         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52417         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52418         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52419         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52421 2013-03-11  Andreas Schwab  <schwab@suse.de>
52423         [BZ #15234]
52424         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52425         by SHLIB_COMPAT.
52426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52427         (GLIBC_2.16): Remove pthread_atfork.
52429 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52431         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52432         (ptestcases.h): Likewise.
52434 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52436         * Makeconfig ($(common-objpfx)config.status): Depend on
52437         sysdeps/*/preconfigure{,.in} too.
52439 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52441         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52442         (__free_hook): Use void * instead of __malloc_ptr_t.
52443         (__malloc_hook): Likewise.
52444         (__realloc_hook): Likewise.
52445         (__memalign_hook): Likewise.
52446         (__after_morecore_hook): Likewise.
52447         * malloc/arena.c (save_malloc_hook): Likewise.
52448         (save_free_hook): Likewise.
52449         * malloc/hooks.c (malloc_hook_ini): Likewise.
52450         (realloc_hook_ini): Likewise.
52451         (memalign_hook_ini): Likewise.
52452         * malloc/malloc.c (malloc_hook_ini): Likewise.
52453         (realloc_hook_ini): Likewise.
52454         (memalign_hook_ini): Likewise.
52455         (__free_hook): Likewise.
52456         (__malloc_hook): Likewise.
52457         (__realloc_hook): Likewise.
52458         (__memalign_hook): Likewise.
52459         (__libc_malloc): Likewise.
52460         (__libc_free): Likewise.
52461         (__libc_realloc): Likewise.
52462         (__libc_memalign): Likewise.
52463         (__libc_valloc): Likewise.
52464         (__libc_pvalloc): Likewise.
52465         (__libc_calloc): Likewise.
52466         (__posix_memalign): Likewise.
52467         * malloc/morecore.c (__sbrk): Likewise.
52468         (__default_morecore): Likewise.
52470         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52472         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52473         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52474         __malloc_ptrdiff_t.
52476         * malloc/malloc.h (__malloc_size_t): Remove macro.
52477         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52478         __malloc_size_t.
52479         (old_memalign_hook): Likewise.
52480         (old_realloc_hook): Likewise.
52481         (struct hdr): Likewise.
52482         (flood): Likewise.
52483         (mallochook): Likewise.
52484         (memalignhook): Likewise.
52485         (reallochook): Likewise.
52486         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52487         (tr_old_realloc_hook): Likewise.
52488         (tr_old_memalign_hook): Likewise.
52489         (tr_mallochook): Likewise.
52490         (tr_reallochook): Likewise.
52491         (tr_memalignhook): Likewise.
52493 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52495         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52496         default_ldbl_pack and using as default implementation.
52497         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52498         implementation.
52499         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52500         redundant definition.
52501         (ldbl_insert_mantissa): Likewise.
52502         (ldbl_canonicalize): Likewise.
52503         (ldbl_nearbyint): Likewise.
52504         (ldbl_pack): Rename to ldbl_pack_ppc.
52505         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52506         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52507         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52509 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52511         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52512         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52513         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52514         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52516         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52517         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52518         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52520 2013-03-07  Andreas Jaeger  <aj@suse.de>
52522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52523         bits/mman-linux.h.
52525 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52527         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52528         Include mpa.h and declare __MPEXP.
52529         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52530         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52531         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52532         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52533         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52534         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52535         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52537         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52538         (__slowpow): Use long double EXPL and LOGL functions to
52539         compute POW.
52540         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52541         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52542         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52543         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52544         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52545         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52548         intermediate variable to calculate exponent.
52549         (__sqr): Likewise.
52550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52551         Likewise.
52552         (__sqr): Likewise.
52554         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52555         [!NO__SQR]: Define __sqr.
52556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52557         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52558         sysdeps/ieee754/dbl-64/mpa.c.
52559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52561         [BZ #12723]
52562         * posix/Makefile (tests): Add tst-pathconf.
52563         * posix/tst-pathconf.c: New test case.
52564         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52565         _PC_PIPE_BUF.
52566         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52568 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52570         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52572 2013-03-06  Andreas Jaeger  <aj@suse.de>
52574         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52575         definition via __MAP_ANONYMOUS.
52577         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52578         it's not part of Linux headers.
52580         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52581         (MAP_HUGE_MASK): Define.
52583         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52584         Define.
52585         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52586         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52587         Define.
52588         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52589         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52590         Define.
52591         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52592         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52593         Define.
52594         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52596         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52597         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52598         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52599         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52600         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52601         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52603         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52604         Handle f2fs.
52606         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52607         Handle f2fs and efivarfs.
52609         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52610         f2fs.
52612         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52613         (EFIVARFS_MAGIC): Add.
52614         (F2FS_LINK_MAX): Add.
52616 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52618         * stdio-common/vfprintf.c: Replace __builtin_expect with
52619         __glibc_unlikely.
52621 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52623         [BZ #13550]
52624         * sysdeps/generic/bp-sym.h: Remove file.
52625         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52626         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52627         <bp-sym.h> and <bp-asm.h>.
52628         (__longjmp): Don't use BP_SYM.
52629         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52630         and <bp-asm.h>.
52631         (memcpy): Don't use BP_SYM.
52632         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52633         <bp-sym.h> and <bp-asm.h>.
52634         (memcpy): Don't use BP_SYM.
52635         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52636         <bp-asm.h>.
52637         (memcpy): Don't use BP_SYM.
52638         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52639         <bp-asm.h>.
52640         (memset): Don't use BP_SYM.
52641         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52642         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52643         (__bzero): Don't use BP_SYM.
52644         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52645         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52646         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52647         <bp-sym.h> and <bp-asm.h>.
52648         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52649         pointers.
52650         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52651         <bp-sym.h> and <bp-asm.h>.
52652         (memcpy): Don't use BP_SYM.
52653         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52654         <bp-sym.h> and <bp-asm.h>.
52655         (memset): Don't use BP_SYM.
52656         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52657         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52658         (__bzero): Don't use BP_SYM.
52659         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52660         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52661         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52662         <bp-sym.h> and <bp-asm.h>.
52663         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52664         pointers.
52665         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52666         <bp-sym.h> and <bp-asm.h>.
52667         (memcpy): Don't use BP_SYM.
52668         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52669         <bp-sym.h> and <bp-asm.h>.
52670         (memset): Don't use BP_SYM.
52671         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52672         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52673         (__bzero): Don't use BP_SYM.
52674         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52675         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52676         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52677         <bp-sym.h> and <bp-asm.h>.
52678         (__memchr): Don't use BP_SYM.
52679         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52680         <bp-sym.h> and <bp-asm.h>.
52681         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52682         pointers.
52683         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52684         <bp-sym.h> and <bp-asm.h>.
52685         (memcpy): Don't use BP_SYM.
52686         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52687         <bp-sym.h> and <bp-asm.h>.
52688         (__mempcpy): Don't use BP_SYM.
52689         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52690         <bp-sym.h> and <bp-asm.h>.
52691         (__memrchr): Don't use BP_SYM.
52692         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52693         <bp-sym.h> and <bp-asm.h>.
52694         (memset): Don't use BP_SYM.
52695         (__bzero): Likewise.
52696         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52697         <bp-sym.h> and <bp-asm.h>.
52698         (__rawmemchr): Don't use BP_SYM.
52699         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52700         <bp-sym.h> and <bp-asm.h>.
52701         (__STRCMP): Don't use BP_SYM.
52702         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52703         <bp-sym.h> and <bp-asm.h>.
52704         (strchr): Don't use BP_SYM.
52705         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52706         <bp-sym.h> and <bp-asm.h>.
52707         (__strchrnul): Don't use BP_SYM.
52708         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52709         <bp-sym.h> and <bp-asm.h>.
52710         (strlen): Don't use BP_SYM.
52711         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52712         <bp-sym.h> and <bp-asm.h>.
52713         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52714         pointers.
52715         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52716         <bp-sym.h> and <bp-asm.h>.
52717         (__strnlen): Don't use BP_SYM.
52718         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52719         <bp-sym.h> and <bp-asm.h>.
52720         (__GI__setjmp): Don't use BP_SYM.
52721         (_setjmp): Likewise.
52722         (__sigsetjmp): Likewise.
52723         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52724         (L(start_addresses)): Don't use BP_SYM.
52725         (_start): Likewise.
52726         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52727         <bp-asm.h>.
52728         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52729         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52730         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52731         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52732         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52733         <bp-asm.h>.
52734         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52735         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52736         about bounded pointers.
52737         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52738         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52739         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52740         <bp-asm.h>.
52741         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52742         about bounded pointers.  Remove GKM FIXME comments.
52743         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52744         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52745         <bp-asm.h>.
52746         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52747         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52748         Remove GKM FIXME comments.
52749         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52750         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52751         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52752         <bp-asm.h>.
52753         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52754         about bounded pointers.  Remove GKM FIXME comment.
52755         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52756         and <bp-asm.h>.
52757         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52758         pointers.
52759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52760         <bp-sym.h> and <bp-asm.h>.
52761         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52763         <bp-sym.h> and <bp-asm.h>.
52764         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52765         comment.
52767 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52769         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52770         call free(NULL).
52772 2013-03-05  David S. Miller  <davem@davemloft.net>
52774         * po/es.po: Update from translation team.
52776 2013-03-05  Andreas Jaeger  <aj@suse.de>
52778         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52779         <bits/mman-linux.h>.
52780         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52781         is fine.
52782         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52783         <bits/mman-linux.h> to end of file.
52784         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52785         is fine.
52786         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52787         <bits/mman-linux.h> to end of file.
52788         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52789         is fine.
52790         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52791         <bits/mman-linux.h> to end of file.
52793         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52794         (MCL_CURRENT, MCL_FUTURE): Define here.
52796 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52798         [BZ #15232]
52799         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52800         attribute_hidden.
52801         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52803 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52805         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52806         fourth parameter needed for rt_sigprocmask syscall.
52807         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52808         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52809         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52810         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52811         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52812         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52814 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
52816         [BZ #13550]
52817         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52818         comment about bounded pointers.
52819         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52820         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52822 2013-03-04  Andreas Jaeger  <aj@suse.de>
52824         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52825         common definitions.
52827         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52828         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52829         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52830         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52831         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52832         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52834 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52836         [BZ #15055]
52837         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52838         __ieee754_sqrl instead of __sqrl.
52840 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
52842         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52843         * sysdeps/powerpc/fpu_control.h: ... here.
52844         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52845         * sysdeps/powerpc/bits/fenvinline.h: ... here.
52846         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52847         * sysdeps/powerpc/bits/mathinline.h: ... here.
52849 2013-03-01  Roland McGrath  <roland@hack.frob.com>
52851         * elf/dl-hwcaps.c (_dl_important_hwcaps):
52852         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52853         to just [NEED_DL_SYSINFO_DSO].
52854         * elf/dl-support.c: Likewise.
52855         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52856         * elf/rtld.c (dl_main): Likewise.
52857         * elf/setup-vdso.h (setup_vdso): Likewise.
52858         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52859         * sysdeps/unix/sysv/linux/dl-sysdep.c
52860         (_dl_discover_osversion): Likewise.
52862 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52864         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52865         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52867 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52869         * NEWS: Mention libm performance improvements and non-x86 PI
52870         futex support.
52872         * csu/libc-start.c (__pthread_initialize_minimal): Change
52873         function arguments.
52874         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52876 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52878         [BZ #13550]
52879         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52880         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52881         <bp-sym.h> and <bp-asm.h>.
52882         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52883         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52884         and <bp-asm.h>.
52885         (memcpy): Don't use BP_SYM.
52886         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52887         <bp-asm.h>.
52888         (__mpn_add_n): Don't use BP_SYM.
52889         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52890         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52891         and <bp-asm.h>.
52892         (__mpn_addmul_1): Don't use BP_SYM.
52893         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52894         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52895         <bp-sym.h>.
52896         (_setjmp): Don't use BP_SYM.
52897         (__novmx_setjmp): Likewise.
52898         (__GI__setjmp): Likewise.
52899         (__vmx_setjmp): Likewise.
52900         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52901         <bp-sym.h>.
52902         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52903         (__bzero): Don't use BP_SYM.
52904         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52905         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52906         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52907         <bp-sym.h> and <bp-asm.h>.
52908         (memcpy): Don't use BP_SYM.
52909         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52910         <bp-sym.h> and <bp-asm.h>.
52911         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52912         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52913         <bp-sym.h> and <bp-asm.h>.
52914         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52915         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52916         <bp-asm.h>.
52917         (__mpn_lshift): Don't use BP_SYM.
52918         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52919         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52920         <bp-asm.h>.
52921         (memset): Don't use BP_SYM.
52922         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52923         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52924         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52925         <bp-asm.h>.
52926         (__mpn_mul_1): Don't use BP_SYM.
52927         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52928         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52929         <bp-sym.h> and <bp-asm.h>.
52930         (memcmp): Don't use BP_SYM.
52931         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52932         <bp-sym.h> and <bp-asm.h>.
52933         (memcpy): Don't use BP_SYM.
52934         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52935         <bp-sym.h> and <bp-asm.h>.
52936         (memset): Don't use BP_SYM.
52937         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52938         <bp-sym.h> and <bp-asm.h>.
52939         (strncmp): Don't use BP_SYM.
52940         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52941         <bp-sym.h> and <bp-asm.h>.
52942         (memcpy): Don't use BP_SYM.
52943         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52944         <bp-sym.h> and <bp-asm.h>.
52945         (memset): Don't use BP_SYM.
52946         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52947         <bp-sym.h> and <bp-asm.h>.
52948         (__memchr): Don't use BP_SYM.
52949         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52950         <bp-sym.h> and <bp-asm.h>.
52951         (memcmp): Don't use BP_SYM.
52952         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52953         <bp-sym.h> and <bp-asm.h>.
52954         (memcpy): Don't use BP_SYM.
52955         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52956         <bp-sym.h> and <bp-asm.h>.
52957         (__mempcpy): Don't use BP_SYM.
52958         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52959         <bp-sym.h> and <bp-asm.h>.
52960         (__memrchr): Don't use BP_SYM.
52961         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52962         <bp-sym.h> and <bp-asm.h>.
52963         (memset): Don't use BP_SYM.
52964         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52965         <bp-sym.h> and <bp-asm.h>.
52966         (__rawmemchr): Don't use BP_SYM.
52967         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52968         <bp-sym.h> and <bp-asm.h>.
52969         (__STRCMP): Don't use BP_SYM.
52970         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52971         <bp-sym.h> and <bp-asm.h>.
52972         (strchr): Don't use BP_SYM.
52973         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52974         <bp-sym.h> and <bp-asm.h>.
52975         (__strchrnul): Don't use BP_SYM.
52976         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52977         <bp-sym.h> and <bp-asm.h>.
52978         (strlen): Don't use BP_SYM.
52979         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52980         <bp-sym.h> and <bp-asm.h>.
52981         (strncmp): Don't use BP_SYM.
52982         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52983         <bp-sym.h> and <bp-asm.h>.
52984         (__strnlen): Don't use BP_SYM.
52985         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52986         <bp-asm.h>.
52987         (__mpn_rshift): Don't use BP_SYM.
52988         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52989         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52990         <bp-sym.h> and <bp-asm.h>.
52991         (__sigsetjmp): Don't use BP_SYM.
52992         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52993         (L(start_addresses)): Don't use BP_SYM.
52994         (_start): Likewise.
52995         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52996         <bp-asm.h>.
52997         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52998         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52999         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53000         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53001         <bp-asm.h>.
53002         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53003         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53004         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53005         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53006         <bp-asm.h>.
53007         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53008         comments.
53009         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53010         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53011         <bp-asm.h>.
53012         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53013         FIXME comments.
53014         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53015         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53016         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53017         <bp-asm.h>.
53018         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53019         comment.
53020         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53021         and <bp-asm.h>.
53022         (strncmp): Don't use BP_SYM,
53023         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53024         <bp-asm.h>.
53025         (__mpn_sub_n): Don't use BP_SYM.
53026         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53027         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53028         and <bp-asm.h>.
53029         (__mpn_submul_1): Don't use BP_SYM.
53030         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53032         <bp-sym.h> and <bp-asm.h>.
53033         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53035         <bp-sym.h> and <bp-asm.h>.
53036         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53037         comment.
53039 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53042         Use ZK to minimize writes to Z.
53043         (sub_magnitudes): Simplify code a bit.
53044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53045         Use ZK to minimize writes to Z.
53046         (sub_magnitudes): Simplify code a bit.
53048 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53050         * csu/gmon-start.c: Add special exception to license text.
53052 2013-02-27  Richard Henderson  <rth@redhat.com>
53054         * scripts/config.guess: Update from config.git.
53055         * scripts/config.sub: Likewise.
53057 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53059         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53061         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53063         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53065         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53067         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53069 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53071         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53072         [$(build-shared = yes].
53074 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53076         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53077         (__mul): Reduce iterations for calculating mantissa.
53079         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53080         MPTWO.
53081         (__mpranred): Likewise.
53083         [BZ #15160]
53084         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53085         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53087 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53089         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53090         Define __attribute__.
53092 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53094         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53095         unused.
53096         * posix/regex_internal.h (__attribute): Remove.
53097         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53098         (re_string_context_at): Likewise.
53099         (bitset_not): Use __attribute__ and mark function as possibly
53100         unused.
53101         (bitset_merge): Likewise.
53102         (bitset_mask): Likewise.
53103         (re_string_char_size_at): Likewise.
53104         (re_string_wchar_at): Likewise.
53105         (re_string_elem_size_at): Likewise.
53107 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53109         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53110         code.
53111         (cc32): Likewise.
53113         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53114         (__acr): Likewise.
53115         (__cpy): Likewise.
53116         (norm): Likewise.
53117         (denorm): Likewise.
53118         (__dbl_mp): Likewise.
53119         (add_magnitudes): Likewise.
53120         (sub_magnitudes): Likewise.
53121         (__mul): Likewise.
53122         (__inv): Likewise.
53124         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53125         style.
53127         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53128         style.
53130         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53131         code.
53133         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53134         up changes with default code.
53135         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53136         Likewise.
53138 2013-02-24  Allan McRae  <allan@archlinux.org>
53140         * manual/socket.texi (The Internet Namespace): Order menu items
53141         to match that in the file.
53143         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53144         node listing of the info page menu.
53146 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53148         [BZ #13550]
53149         * sysdeps/i386/bp-asm.h: Remove file.
53150         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53151         (PARMS): Do not use macros from bp-asm.h.
53152         (S1): Likewise.
53153         (S2): Likewise.
53154         (SIZE): Likewise.
53155         (__mpn_add_n): Do not use BP_SYM
53156         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53157         "bp-asm.h".
53158         (PARMS): Do not use macros from bp-asm.h.
53159         (S1): Likewise.
53160         (SIZE): Likewise.
53161         (__mpn_addmul_1): Do not use BP_SYM
53162         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53163         "bp-asm.h".
53164         (PARMS): Do not use macros from bp-asm.h.
53165         (SIGMSK): Likewise.
53166         (_setjmp): Likewise.  Do not use BP_SYM.
53167         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53168         "bp-asm.h".
53169         (PARMS): Do not use macros from bp-asm.h.
53170         (SIGMSK): Likewise.
53171         (setjmp): Likewise.  Do not use BP_SYM.
53172         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53173         "bp-asm.h".
53174         (PARMS): Do not use macros from bp-asm.h.
53175         (__frexp): Do not use BP_SYM.
53176         (frexp): Likewise.
53177         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53178         "bp-asm.h".
53179         (PARMS): Do not use macros from bp-asm.h.
53180         (__frexpf): Do not use BP_SYM.
53181         (frexpf): Likewise.
53182         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53183         "bp-asm.h".
53184         (PARMS): Do not use macros from bp-asm.h.
53185         (__frexpl): Do not use BP_SYM.
53186         (frexpl): Likewise.
53187         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53188         "bp-asm.h".
53189         (PARMS): Do not use macros from bp-asm.h.
53190         (__remquo): Do not use BP_SYM.
53191         (remquo): Likewise.
53192         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53193         "bp-asm.h".
53194         (PARMS): Do not use macros from bp-asm.h.
53195         (__remquof): Do not use BP_SYM.
53196         (remquof): Likewise.
53197         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53198         "bp-asm.h".
53199         (PARMS): Do not use macros from bp-asm.h.
53200         (__remquol): Do not use BP_SYM.
53201         (remquol): Likewise.
53202         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53203         "bp-asm.h".
53204         (PARMS): Do not use macros from bp-asm.h.
53205         (DEST): Likewise.
53206         (SRC): Likewise.
53207         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53208         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53209         "bp-asm.h".
53210         (PARMS): Do not use macros from bp-asm.h.
53211         (strlen): Do not use BP_SYM.
53212         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53213         "bp-asm.h".
53214         (PARMS): Do not use macros from bp-asm.h.
53215         (S1): Likewise.
53216         (S2): Likewise.
53217         (SIZE): Likewise.
53218         (__mpn_add_n): Do not use BP_SYM.
53219         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53220         "bp-asm.h".
53221         (PARMS): Do not use macros from bp-asm.h.
53222         (S1): Likewise.
53223         (SIZE): Likewise.
53224         (__mpn_addmul_1): Do not use BP_SYM.
53225         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53226         weak_alias.
53227         (bzero): Likewise.
53228         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53229         "bp-asm.h".
53230         (PARMS): Do not use macros from bp-asm.h.
53231         (S): Likewise.
53232         (SIZE): Likewise.
53233         (__mpn_lshift): Do not use BP_SYM.
53234         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53235         "bp-asm.h".
53236         (PARMS): Do not use macros from bp-asm.h.
53237         (DEST): Likewise.
53238         (SRC): Likewise.
53239         (LEN): Likewise.
53240         (memcpy): Likewise.  Do not use BP_SYM.
53241         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53242         libc_hidden_def and weak_alias.
53243         (mempcpy): Do not use BP_SYM in weak_alias.
53244         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53245         "bp-asm.h".
53246         (PARMS): Do not use macros from bp-asm.h.
53247         (DEST): Likewise.
53248         (LEN): Likewise.
53249         [!BZERO_P] (CHR): Likewise.
53250         (memset): Likewise.  Do not use BP_SYM.
53251         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53252         "bp-asm.h".
53253         (PARMS): Do not use macros from bp-asm.h.
53254         (S1): Likewise.
53255         (SIZE): Likewise.
53256         (__mpn_mul_1): Do not use BP_SYM.
53257         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53258         "bp-asm.h".
53259         (PARMS): Do not use macros from bp-asm.h.
53260         (S): Likewise.
53261         (SIZE): Likewise.
53262         (__mpn_rshift): Do not use BP_SYM.
53263         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53264         "bp-asm.h".
53265         (PARMS): Do not use macros from bp-asm.h.
53266         (STR): Likewise.
53267         (CHR): Likewise.
53268         (strchr): Likewise.  Do not use BP_SYM.
53269         (index): Do not use BP_SYM in weak_alias.
53270         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53271         "bp-asm.h".
53272         (PARMS): Do not use macros from bp-asm.h.
53273         (DEST): Likewise.
53274         (SRC): Likewise.
53275         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53276         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53277         "bp-asm.h".
53278         (PARMS): Do not use macros from bp-asm.h.
53279         (strlen): Do not use BP_SYM.
53280         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53281         "bp-asm.h".
53282         (PARMS): Do not use macros from bp-asm.h.
53283         (S1): Likewise.
53284         (S2): Likewise.
53285         (SIZE): Likewise.
53286         (__mpn_sub_n): Do not use BP_SYM.
53287         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53288         "bp-asm.h".
53289         (PARMS): Do not use macros from bp-asm.h.
53290         (S1): Likewise.
53291         (SIZE): Likewise.
53292         (__mpn_submul_1): Do not use BP_SYM.
53293         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53294         "bp-asm.h".
53295         (PARMS): Do not use macros from bp-asm.h.
53296         (S1): Likewise.
53297         (S2): Likewise.
53298         (SIZE): Likewise.
53299         (__mpn_add_n): Do not use BP_SYM.
53300         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53301         weak_alias.
53302         (bzero): Likewise.
53303         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53304         "bp-asm.h".
53305         (PARMS): Do not use macros from bp-asm.h.
53306         (BLK2): Likewise.
53307         (LEN): Likewise.
53308         (memcmp): Do not use BP_SYM.
53309         (bcmp): Do not use BP_SYM in weak_alias.
53310         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53311         "bp-asm.h".
53312         (PARMS): Do not use macros from bp-asm.h.
53313         (DEST): Likewise.
53314         (SRC): Likewise.
53315         (LEN): Likewise.
53316         (memcpy): Likewise.  Do not use BP_SYM.
53317         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53318         "bp-asm.h".
53319         (PARMS): Do not use macros from bp-asm.h.
53320         (DEST): Likewise.
53321         (SRC): Likewise.
53322         (LEN): Likewise.
53323         (memmove): Likewise.  Do not use BP_SYM.
53324         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53325         "bp-asm.h".
53326         (PARMS): Do not use macros from bp-asm.h.
53327         (DEST): Likewise.
53328         (SRC): Likewise.
53329         (LEN): Likewise.
53330         (__mempcpy): Likewise.  Do not use BP_SYM.
53331         (mempcpy): Do not use BP_SYM in weak_alias.
53332         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53333         "bp-asm.h".
53334         (PARMS): Do not use macros from bp-asm.h.
53335         (DEST): Likewise.
53336         (LEN): Likewise.
53337         [!BZERO_P] (CHR): Likewise.
53338         (memset): Likewise.  Do not use BP_SYM.
53339         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53340         "bp-asm.h".
53341         (PARMS): Do not use macros from bp-asm.h.
53342         (STR2): Likewise.
53343         (strcmp): Do not use BP_SYM.
53344         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53345         "bp-asm.h".
53346         (PARMS): Do not use macros from bp-asm.h.
53347         (STR): Likewise.
53348         (DELIM): Likewise.
53349         [USE_AS_STRTOK_R] (SAVE): Likewise.
53350         (FUNCTION): Likewise.  Do not use BP_SYM.
53351         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53352         aliases.
53353         (strtok_r): Likewise.
53354         (__GI___strtok_r): Likewise.
53355         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53356         (PARMS): Do not use macros from bp-asm.h.
53357         (S): Likewise.
53358         (SIZE): Likewise.
53359         (__mpn_lshift): Do not use BP_SYM.
53360         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53361         (PARMS): Do not use macros from bp-asm.h.
53362         (STR): Likewise.
53363         (CHR): Likewise.
53364         (__memchr): Do not use BP_SYM.
53365         (memchr): Do not use BP_SYM in weak_alias.
53366         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53367         (PARMS): Do not use macros from bp-asm.h.
53368         (BLK2): Likewise.
53369         (LEN): Likewise.
53370         (memcmp): Do not use BP_SYM.
53371         (bcmp): Do not use BP_SYM in weak_alias.
53372         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53373         (PARMS): Do not use macros from bp-asm.h.
53374         (S1): Likewise.
53375         (SIZE): Likewise.
53376         (__mpn_mul_1): Do not use BP_SYM.
53377         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53378         "bp-asm.h".
53379         (PARMS): Do not use macros from bp-asm.h.
53380         (STR): Likewise.
53381         (CHR): Likewise.
53382         (__rawmemchr): Do not use BP_SYM.
53383         (rawmemchr): Do not use BP_SYM in weak_alias.
53384         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53385         (PARMS): Do not use macros from bp-asm.h.
53386         (S): Likewise.
53387         (SIZE): Likewise.
53388         (__mpn_rshift): Do not use BP_SYM.
53389         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53390         (PARMS): Do not use macros from bp-asm.h.
53391         (SIGMSK): Likewise.
53392         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53393         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53394         (_start): Do not use BP_SYM.
53395         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53396         (PARMS): Do not use macros from bp-asm.h.
53397         (DEST): Likewise.
53398         (SRC): Likewise.
53399         (__stpcpy): Likewise.  Do not use BP_SYM.
53400         (stpcpy): Do not use BP_SYM in weak_alias.
53401         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53402         "bp-asm.h".
53403         (PARMS): Do not use macros from bp-asm.h.
53404         (DEST): Likewise.
53405         (SRC): Likewise.
53406         (LEN): Likewise.
53407         (__stpncpy): Likewise.  Do not use BP_SYM.
53408         (stpncpy): Do not use BP_SYM in weak_alias.
53409         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53410         (PARMS): Do not use macros from bp-asm.h.
53411         (STR): Likewise.
53412         (CHR): Likewise.
53413         (strchr): Likewise.  Do not use BP_SYM.
53414         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53415         "bp-asm.h".
53416         (PARMS): Do not use macros from bp-asm.h.
53417         (STR): Likewise.
53418         (CHR): Likewise.
53419         (__strchrnul): Likewise.  Do not use BP_SYM.
53420         (strchrnul): Do not use BP_SYM in weak_alias.
53421         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53422         "bp-asm.h".
53423         (PARMS): Do not use macros from bp-asm.h.
53424         (STOP): Likewise.
53425         (strcspn): Do not use BP_SYM.
53426         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53427         "bp-asm.h".
53428         (PARMS): Do not use macros from bp-asm.h.
53429         (STR): Likewise.
53430         (STOP): Likewise.
53431         (strpbrk): Likewise.  Do not use BP_SYM.
53432         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53433         "bp-asm.h".
53434         (PARMS): Do not use macros from bp-asm.h.
53435         (STR): Likewise.
53436         (CHR): Likewise.
53437         (strrchr): Likewise.  Do not use BP_SYM.
53438         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53439         (PARMS): Do not use macros from bp-asm.h.
53440         (SKIP): Likewise.
53441         (strspn): Do not use BP_SYM.
53442         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53443         (PARMS): Do not use macros from bp-asm.h.
53444         (STR): Likewise.
53445         (DELIM): Likewise.
53446         (SAVE): Likewise.
53447         (FUNCTION): Likewise.  Do not use BP_SYM.
53448         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53449         aliases.
53450         (strtok_r): Likewise.
53451         (__GI___strtok_r): Likewise.
53452         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53453         (PARMS): Do not use macros from bp-asm.h.
53454         (S1): Likewise.
53455         (S2): Likewise.
53456         (SIZE): Likewise.
53457         (__mpn_sub_n): Do not use BP_SYM.
53458         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53459         "bp-asm.h".
53460         (PARMS): Do not use macros from bp-asm.h.
53461         (S1): Likewise.
53462         (SIZE): Likewise.
53463         (__mpn_submul_1): Do not use BP_SYM.
53464         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53465         <bp-sym.h>.
53466         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53467         and <bp-asm.h>.
53468         (PARMS): Do not use macros from bp-asm.h.
53469         (FLAGS): Likewise.
53470         (PTID): Likewise.
53471         (TLS): Likewise.
53472         (CTID): Likewise.
53473         (__clone): Do not use BP_SYM.
53474         (clone): Do not use BP_SYM in weak_alias.
53475         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53476         and <bp-asm.h>.
53477         (PARMS): Do not use macros from bp-asm.h.
53478         (LEN): Likewise.
53479         (__mmap64): Do not use BP_SYM.
53480         (mmap64): Do not use BP_SYM in weak_alias.
53481         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53482         <bp-sym.h> and <bp-asm.h>.
53483         (PARMS): Do not use macros from bp-asm.h.
53484         (__posix_fadvise64_l64): Do not use BP_SYM.
53485         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53486         (PARMS): Do not use macros from bp-asm.h.
53487         (NSOPS): Likewise.
53488         (semtimedop): Do not use BP_SYM.
53489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53490         and <bp-asm.h>.
53492 2013-02-21  Allan McRae  <allan@archlinux.org>
53494         * manual/message.texi (Charset conversion in gettext):
53495         Move @end statement to beginning of line.
53497 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53500         static.
53501         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53502         Likewise.
53504         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53505         (denorm): Likewise.
53506         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53507         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53509 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53511         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53512         tail-call to the resolved function if pltexit isn't needed.
53514 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53517         or Y being zero as being unlikely.
53518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53519         Likewise.
53521 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53523         * manual/nss.texi (System Databases and Name Service Switch):
53524         Remove frobnicate @pxref.
53526 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53528         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53529         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53531 2013-02-20  Petr Machata  <pmachata@redhat.com>
53533         * elf/elf.h (R_ARM_TARGET1): New macro.
53534         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53535         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53536         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53537         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53538         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53539         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53540         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53541         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53542         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53543         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53544         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53545         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53546         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53547         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53548         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53549         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53550         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53551         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53552         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53553         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53554         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53555         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53556         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53557         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53558         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53559         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53560         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53561         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53562         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53563         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53564         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53565         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53566         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53567         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53568         (R_ARM_THM_GOT_BREL12): Likewise.
53569         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53570         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53571         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53572         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53573         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53574         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53575         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53576         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53577         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53579 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53581         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53582         __attribute_used__ to __attribute__ ((unused)).
53584 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53586         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53587         powerpc mpa.c.
53588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53589         comment formatting.
53590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53592 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53594         [BZ #13550]
53595         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53596         Remove macro.
53597         (ENTER): Remove both macro definitions.
53598         (LEAVE): Likewise.
53599         (CHECK_BOUNDS_LOW): Likewise.
53600         (CHECK_BOUNDS_HIGH): Likewise.
53601         (CHECK_BOUNDS_BOTH): Likewise.
53602         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53603         (RETURN_BOUNDED_POINTER): Likewise.
53604         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53605         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53606         (POP_ERRNO_LOCATION_RETURN): Likewise.
53607         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53608         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53609         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53610         macros.
53611         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53612         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53613         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53614         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53615         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53616         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53617         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53618         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53619         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53620         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53621         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53622         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53623         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53624         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53625         removed macros.
53626         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53627         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53628         macros.
53629         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53630         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53631         * sysdeps/i386/i586/memset.S (memset): Likewise.
53632         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53633         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53634         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53635         macros.
53636         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53637         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53638         Change uses of L(2) to L(out).
53639         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53640         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53641         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53642         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53643         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53644         removed macros.
53645         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53646         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53647         macros.
53648         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53649         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53650         (RETURN): Do not use macro LEAVE.
53651         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53652         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53653         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53654         * sysdeps/i386/i686/memset.S (memset): Likewise.
53655         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53656         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53657         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53658         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53659         Likewise.
53660         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53661         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53662         L(1_2) and L(1_3) into L(1).
53663         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53664         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53665         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53666         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53667         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53668         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53669         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53670         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53671         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53672         macros.
53673         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53674         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53675         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53676         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53677         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53678         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53679         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53680         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53681         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53682         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53683         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53684         * sysdeps/i386/strspn.S (strspn): Likewise.
53685         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53686         conditional code.
53687         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53688         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53689         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53690         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53691         L(1_3) into L(1_1).
53692         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53693         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53694         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53695         macros.
53696         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53698 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53700         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53701         macro.
53703 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53705         * math/atest-exp.c (exp_mpn): Remove ROUND.
53706         * math/atest-exp2.c (exp_mpn): Likewise.
53707         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53709         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53710         * stdlib/tst-tls-atexit-lib.c: Likewise.
53711         * stdlib/tst-tls-atexit.c: Likewise.
53713 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53715         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53716         and __attribute_alloc_size__.
53718 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53720         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53721         __attribute_alloc_size__.
53722         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53723         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53725 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53727         * include/programs/xmalloc.h: New file.
53728         * catgets/gencat.c: Include it.
53729         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53730         * elf/pldd.c: Likewise.
53731         * iconv/iconv_charmap.c: Likewise.
53732         * iconv/iconvconfig.c: Likewise.
53733         * iconv/strtab.c: Likewise.
53734         * locale/programs/locale.c: Likewise.
53735         * locale/programs/localedef.h: Likewise.
53736         * locale/programs/simple-hash.c: Likewise.
53737         * nscd/nscd.h: Likewise.
53738         * nss/makedb.c: Likewise.
53739         * sysdeps/generic/ldconfig.h: Likewise.
53741 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53743         * Versions.def: Add GLIBC_2.18.
53744         * include/link.h (struct link_map): New member l_tls_dtor_count.
53745         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53746         (__call_tls_dtors): Likewise.
53747         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53748         __cxa_thread_atexit_impl.
53749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53750         Likewise.
53751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53752         Likewise.
53753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53754         Likewise.
53755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53756         Likewise.
53757         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53759         Likewise.
53760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53761         Likewise.
53762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53764         Likewise.
53765         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53766         (tests): Add test case tst-tls-atexit.
53767         (modules-names): Add shared library for tst-tls-atexit.
53768         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53769         (GLIBC_PRIVATE): Add __call_tls_dtors.
53770         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53771         for libstdc++.
53772         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53773         * stdlib/tst-tls-atexit.c: New test case.
53774         * stdlib/tst-tls-atexit-lib.c: New test case.
53776         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53778         * elf/Versions (ld): Add _dl_find_dso_for_object.
53779         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53780         * elf/dl-open.c (_dl_find_dso_for_object): New function.
53781         (dl_open_worker): Use _dl_find_dso_for_object.
53782         * elf/dl-sym.c (do_sym): Likewise.
53783         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53785 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53787         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53788         Syntactic changes only.
53789         (_dl_runtime_profile): Do a tail-call to the resolved function.
53791 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
53793         [BZ #13550]
53794         * sysdeps/x86_64/bp-asm.h: Remove file.
53795         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53796         <bp-sym.h> and <bp-asm.h>.
53797         (__clone): Do not use BP_SYM.
53798         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53799         <bp-sym.h> and <bp-asm.h>.
53800         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53801         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53802         "bp-asm.h".
53803         (_setjmp): Do not use BP_SYM.
53804         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53805         "bp-asm.h".
53806         (setjmp): Do not use BP_SYM.
53807         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53808         libc_hidden_def.
53809         (mempcpy): Do not use BP_SYM in weak_alias.
53810         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53811         "bp-asm.h".
53812         (strchr): Do not use BP_SYM.
53813         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53814         "bp-asm.h".
53815         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53816         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53817         (_start): Do not use BP_SYM.
53818         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53819         "bp-asm.h".
53820         (strcat): Do not use BP_SYM.
53821         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53822         "bp-asm.h".
53823         (STRCMP): Do not use BP_SYM.
53824         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53825         "bp-asm.h".
53826         (STRCPY): Do not use BP_SYM.
53827         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53828         "bp-asm.h".
53829         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53830         "bp-asm.h".
53831         (FUNCTION): Do not use BP_SYM.
53832         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53833         weak_alias.
53834         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53836 2013-02-17  Andreas Jaeger  <aj@suse.de>
53838         * time/Versions: Sort entries.
53839         * string/Versions: Likewise.
53840         * resolv/Versions: Likewise.
53841         * posix/Versions: Likewise.
53842         * iconv/Versions: Likewise.
53843         * elf/Versions: Likewise.
53844         * wcsmbs/Versions: Likewise.
53846 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53848         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53849         loop termination condition.
53851         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53852         variable to calculate EZ.
53853         (__sqr): Likewise.
53855         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53856         the lower precision input.
53858 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53860         [BZ #13550]
53861         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53862         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53863         (run-via-rtld-prefix): Do not handle %-bp tests.
53864         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53865         (all-object-suffixes): Remove .ob.
53866         (bppfx): Remove variable.
53867         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53868         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53869         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53870         [$(build-bounded) = yes] (libtype.ob): Likewise.
53871         * Makerules (elide-routines.ob): Remove variable.
53872         (do-tests-clean): Do not handle *-bp.out.
53873         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53874         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53875         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53876         (tests): Do not include $(tests-bp.out).
53877         (xtests): Do not include $(xtests-bp.out).
53878         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53879         [$(build-bounded) = yes] ($(addprefix
53880         $(objpfx),$(binaries-bounded))): Remove rule.
53881         ($(objpfx)%-bp.out): Remove rule.
53882         * config.make.in (build-bounded): Remove variable.
53883         * crypt/Makefile [$(build-bounded) = yes]
53884         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53885         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53886         append to variable.
53887         [$(build-bounded) = yes] (install-lib): Likewise.
53888         [$(build-bounded) = yes] (generated): Likewise.
53889         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53890         Remove rule.
53891         * intl/Makefile [$(build-bounded) = yes]
53892         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53893         * math/Makefile [$(build-bounded) = yes]
53894         ($(tests:%=$(objpfx)%-bp): Likewise.
53895         * misc/Makefile [$(build-bounded) = yes]
53896         ($(objpfx)tst-tsearch-bp): Likewise.
53897         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53898         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53899         Remove dependency.
53900         * string/Makefile (o-objects.ob): Remove variable.
53901         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53902         (CFLAGS-.ob): Remove variable.
53903         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53904         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53905         both definitions of variable.
53906         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53907         (ASFLAGS-.ob): Remove variable.
53909 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53911         [BZ #13550]
53912         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53913         Remove __BOUNDED_POINTERS__ from condition.
53914         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53915         * string/bits/string2.h [!__NO_STRING_INLINES &&
53916         !__BOUNDED_POINTERS__]: Likewise.
53917         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53918         Likewise.
53919         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53920         Remove conditional code.
53921         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53922         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53923         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53924         condition.
53926         [BZ #13550]
53927         * csu/libc-start.c: Do not include <bp-sym.h>.
53928         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53929         * elf/dl-open.c: Do not include <bp-sym.h>.
53930         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53931         * math/fegetenv.c: Do not include <bp-sym.h>.
53932         (fegetenv): Do not use BP_SYM in versioned symbols.
53933         * nptl/sysdeps/pthread/bits/libc-lockP.h
53934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53935         <bp-sym.h>.
53936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53937         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53939         (__pthread_mutex_destroy): Likewise.
53940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53941         (__pthread_mutex_lock): Likewise.
53942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53943         (__pthread_mutex_trylock): Likewise.
53944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53945         (__pthread_mutex_unlock): Likewise.
53946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53947         (__pthread_mutexattr_init): Likewise.
53948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53949         (__pthread_mutexattr_destroy): Likewise.
53950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53951         (__pthread_mutexattr_settype): Likewise.
53952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53953         (__pthread_rwlock_init): Likewise.
53954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53955         (__pthread_rwlock_destroy): Likewise.
53956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53957         (__pthread_rwlock_rdlock): Likewise.
53958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53959         (__pthread_rwlock_tryrdlock): Likewise.
53960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53961         (__pthread_rwlock_wrlock): Likewise.
53962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53963         (__pthread_rwlock_trywrlock): Likewise.
53964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53965         (__pthread_rwlock_unlock): Likewise.
53966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53967         (__pthread_key_create): Likewise.
53968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53969         (__pthread_setspecific): Likewise.
53970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53971         (__pthread_getspecific): Likewise.
53972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53973         Likewise.
53974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53975         (_pthread_cleanup_push_defer): Likewise.
53976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53977         (_pthread_cleanup_pop_restore): Likewise.
53978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53979         (pthread_setcancelstate): Likewise.
53980         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53981         <bp-sym.h>.
53982         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53983         (memchr): Do not use BP_SYM in weak_alias.
53984         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53985         (fegetenv): Do not use BP_SYM in versioned symbols.
53986         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53987         (fesetenv): Do not use BP_SYM in versioned symbols.
53988         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53989         (feupdateenv): Do not use BP_SYM in versioned symbols.
53990         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53991         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53992         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53993         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53994         (open64): Do not use BP_SYM in weak_alias.
53995         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53996         (fegetenv): Do not use BP_SYM in versioned symbols.
53997         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53998         (fesetenv): Do not use BP_SYM in versioned symbols.
53999         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54000         (feupdateenv): Do not use BP_SYM in versioned symbols.
54001         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54002         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54003         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54004         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54005         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54006         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54007         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54008         <bp-sym.h>.
54009         (__libc_start_main): Do not use BP_SYM.
54011 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54013         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54014         redundant return line.
54015         (norm): Likewise.
54016         (denorm): Likewise.
54017         (dbl_mp): Likewise.
54018         (sub_magnitudes): Likewise.
54019         (__add): Likewise.
54020         (__sub): Likewise.
54021         (__mul): Likewise.
54022         (__inv): Likewise.
54023         (__dvd): Likewise.
54024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54025         (norm): Likewise.
54026         (denorm): Likewise.
54027         (dbl_mp): Likewise.
54028         (sub_magnitudes): Likewise.
54029         (__add): Likewise.
54030         (__sub): Likewise.
54031         (__mul): Likewise.
54032         (__inv): Likewise.
54033         (__dvd): Likewise.
54035         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54036         instead of __mul.
54037         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54038         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54039         (cc32): Likewise.
54041         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54042         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54043         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54044         of __mul for squares.
54045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54046         function
54047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54048         Likewise.
54049         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54050         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54052 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54054         [BZ #13550]
54055         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54056         code.
54057         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54058         prototype or function definition.  Rename ubp_* variables and
54059         parameters.  Remove argv definitions conditional on
54060         [__BOUNDED_POINTERS__].
54061         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54062         * elf/dl-runtime.c (_dl_fixup): Likewise.
54063         * include/set-hooks.h (RUN_HOOK): Likewise.
54064         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54065         definition.
54066         * string/strcpy.c (strcpy): Do not use __unbounded.
54067         * sysdeps/generic/frame.h (struct layout): Likewise.
54068         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54069         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54070         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54071         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54072         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54073         (__backtrace): Likewise.
54074         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54075         use __ptrvalue.
54076         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54077         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54078         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54079         Likewise.
54080         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54081         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54082         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54083         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54084         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54085         Do not use __unbounded.
54086         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54087         Rename __unboundedrlimits parameter to rlimits in prototype.
54088         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54089         Do not use __unbounded.
54090         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54091         not use __ptrvalue.
54092         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54093         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54094         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54095         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54096         __ptrvalue or __unbounded.
54097         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54098         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54099         use __unbounded.
54100         (__new_msgctl): Do not use __ptrvalue.
54101         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54102         __unbounded.
54103         (__libc_msgrcv): Do not use __ptrvalue.
54104         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54105         startup_info): Do not use __unbounded.
54106         (__libc_start_main): Likewise.  Rename ubp_* variables and
54107         parameters.  Remove argv definitions conditional on
54108         [__BOUNDED_POINTERS__].
54109         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54110         __ptrvalue.
54111         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54112         use __unbounded.
54113         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54114         or __ptrvalue.
54115         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54116         use __unbounded.
54117         (__new_shmctl): Do not use __ptrvalue.
54118         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54119         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54120         Likewise.
54121         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54122         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54123         (__libc_sigaction): Likewise.
54124         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54125         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54126         Likewise.
54127         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54129 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54131         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54133         * string/mempcpy.c: Implement by calling memcpy.
54135 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54137         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54140         evaluation.
54142         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54143         values in the mantissa.
54145         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54146         minimize writes to Z.
54147         (sub_magnitudes): Simplify code a bit.
54149 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54151         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54152         from the message.  The linker prefixes all warnings with that already.
54154 2013-02-12  Andreas Schwab  <schwab@suse.de>
54156         [BZ #15078]
54157         * posix/regexec.c (extend_buffers): Add parameter min_len.
54158         (check_matching): Pass minimum needed length.
54159         (clean_state_log_if_needed): Likewise.
54160         (get_subexp): Likewise.
54161         * posix/Makefile (tests): Add bug-regex34.
54162         (bug-regex34-ENV): Define.
54163         * posix/bug-regex34.c: New file.
54165         [BZ #11561]
54166         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54167         elements compare against the byte sequence of it, not its name.
54168         * posix/Makefile (tests): Add bug-regex35.
54169         (bug-regex35-ENV): Define.
54170         * posix/bug-regex35.c: New file.
54172 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54174         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54175         comment.
54176         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54177         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54178         (CHECK_EOL): Add undef.
54180 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54182         * bits/stdlib-bsearch.h: New file.
54183         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54184         * stdlib/stdlib.h: Likewise.
54186 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54188         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54189         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54190         declaration.
54191         * manual/search.texi (Array Search Function): Add missing const in
54192         lfind prototype.
54193         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54194         declaration to use rlim_t.
54195         (Basic Scheduling Functions): Remove erroneous const from
54196         sched_getparam prototype.  Remove erroneous * from
54197         sched_get_priority_max and sched_get_priority_min prototypes.
54198         (Resource Usage): Fix summary @comment on vtimes to refer to
54199         sys/vtimes.h rather than vtimes.h.
54200         Add missing *s in vtimes prototype.
54201         (Limits on Resources): Fix ulimit prototype to return long int.
54202         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54203         prototypes to use long int rather than double.
54204         (BSD Random): Fix initstate and setstate to use char *, not void *.
54205         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54206         prototype to make second argument 'struct aiocb64 *const[]'.
54207         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54208         (Status of AIO Operations): Remove erroneous const in aio_return and
54209         aio_return64 prototypes.
54210         (Synchronizing I/O): Fix sync prototype to return void.
54211         * manual/startup.texi (Suboptions): Remove an erroneous const in
54212         getsubopt prototype.
54213         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54214         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54215         use size_t rather than int.
54216         (Scanning All Users): Likewise for getpwent_r.
54217         (Setting Groups): Add missing const to setgroups prototype.
54218         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54219         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54220         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54221         'const void *' rather than 'const char *'.
54222         (Host Address Functions): Likewise for inet_ntop.
54223         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54224         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54225         ssize_t for return value.
54226         (Sending Data): Likewise for send, sendto, sendmsg.
54227         (Socket Option Functions): Add a missing const in setsockopt prototype.
54228         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54229         use wchar_t for the argument.
54230         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54231         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54232         take no arguments.
54233         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54234         double/float/long double for second argument.
54235         Fix return types of significand, significandf, significandl.
54236         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54237         argument in fchmod prototype.
54238         (File Owner): Use uid_t and gid_t in fchown prototype.
54239         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54240         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54241         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54242         use 'const struct dirent **' as argument types to CMP function pointer
54243         argument.
54244         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54245         (File Times): Fix summary magic @comment for struct utimbuf and utime
54246         to refer to utime.h, not time.h.
54247         * manual/string.texi (Argz Functions): Add missing const in
54248         argz_extract and argz_next prototypes.
54249         (Finding Tokens in a String): Likewise for basename.
54250         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54251         (Copying and Concatenation): Fix typo in wmemmove prototype.
54252         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54253         (Signal Stack): Remove erroneous const in sigstack prototype.
54254         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54255         prototype.
54256         (Simple Calendar Time): Likewise for stime.
54257         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54258         prototype.
54259         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54260         say sys/sysctl.h instead.
54261         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54262         and vsyslog prototypes.
54264 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54266         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54267         Remove.
54269 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54271         * misc/sys/mman.h: Fix typo in mremap comment.
54273 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54275         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54276         the '\0' terminator.
54278 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54280         [BZ #13550]
54281         * debug/segfault.c: Don't include <bp-checks.h>.
54282         * sysdeps/generic/bp-checks.h: Remove file.
54283         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54284         (__GETDENTS): Don't use CHECK_N.
54285         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54286         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54287         (__getgroups): Don't use CHECK_N.
54288         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54289         (setgroups): Don't use CHECK_N.
54290         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54291         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54292         (__libc_msgrcv): Don't use CHECK_N.
54293         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54294         (__libc_msgsnd): Don't use CHECK_N.
54295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54296         <bp-checks.h>.
54297         (__libc_pread): Don't use CHECK_N.
54298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54299         include <bp-checks.h>.
54300         (__libc_pread64): Don't use CHECK_N.
54301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54302         include <bp-checks.h>.
54303         (__libc_pwrite): Don't use CHECK_N.
54304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54305         include <bp-checks.h>.
54306         (__libc_pwrite64): Don't use CHECK_N.
54307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54308         <bp-checks.h>.
54309         (__libc_pread): Don't use CHECK_N.
54310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54311         include <bp-checks.h>.
54312         (__libc_pread64): Don't use CHECK_N.
54313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54314         include <bp-checks.h>.
54315         (__libc_pwrite): Don't use CHECK_N.
54316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54317         include <bp-checks.h>.
54318         (__libc_pwrite64): Don't use CHECK_N.
54319         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54320         (do_pread): Don't use CHECK_N.
54321         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54322         (do_pread64): Don't use CHECK_N.
54323         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54324         (do_pwrite): Don't use CHECK_N.
54325         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54326         (do_pwrite64): Don't use CHECK_N.
54327         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54328         (__libc_readv): Don't use CHECK_N.
54329         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54330         (semop): Don't use CHECK_N.
54331         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54332         <bp-checks.h>.
54333         (semtimedop): Don't use CHECK_N.
54334         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54335         (__libc_pread): Don't use CHECK_N.
54336         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54337         <bp-checks.h>.
54338         (__libc_pread64): Don't use CHECK_N.
54339         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54340         <bp-checks.h>.
54341         (__libc_pwrite): Don't use CHECK_N.
54342         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54343         <bp-checks.h>.
54344         (__libc_pwrite64): Don't use CHECK_N.
54345         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54346         <bp-checks.h>.
54347         (__libc_msgrcv): Don't use CHECK_N.
54348         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54349         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54350         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54351         (__libc_writev): Don't use CHECK_N.
54353 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54355         * string/strcpy.c: Removed unused variable.
54357         * Makeconfig (+sysdep-includes): Define with := rather than =.
54358         Use an existing include/ subdir of each sysdeps dir before it.
54360 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54362         * nscd/connection.c (register_traced_file): Comment function.
54363         [HAVE_INOTIFY] (union __inev): Define.
54364         [HAVE_INOTIFY] (inotify_check_files): New function.
54365         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54366         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54367         clear_db_cache.
54368         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54370 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54372         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54373         loaded if not already and that a failure is permanent.
54375 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54377         [BZ #15006]
54378         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54379         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54381 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54383         [BZ #13550]
54384         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54385         (CHECK_1_NULL_OK): Likewise.
54386         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54387         (__fxstat): Do not use CHECK_1.
54388         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54389         <bp-checks.h>.
54390         (___fxstat64): Do not use CHECK_1.
54391         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54392         <bp-checks.h>.
54393         (__fxstatat): Do not use CHECK_1.
54394         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54395         <bp-checks.h>.
54396         (__fxstatat64): Do not use CHECK_1.
54397         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54398         <bp-checks.h>.
54399         (__fxstat): Do not use CHECK_1.
54400         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54401         <bp-checks.h>.
54402         (__fxstatat): Do not use CHECK_1.
54403         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54404         <bp-checks.h>.
54405         (__getresgid): Do not use CHECK_1.
54406         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54407         <bp-checks.h>.
54408         (__getresuid): Do not use CHECK_1.
54409         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54410         <bp-checks.h>.
54411         (__lxstat): Do not use CHECK_1.
54412         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54413         <bp-checks.h>.
54414         (__old_msgctl): Do not use CHECK_1.
54415         (__new_msgctl): Likewise.
54416         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54417         <bp-checks.h>.
54418         (__new_setrlimit): Do not use CHECK_1.
54419         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54420         <bp-checks.h>.
54421         (__old_shmctl): Do not use CHECK_1.
54422         (__new_shmctl): Likewise.
54423         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54424         <bp-checks.h>.
54425         (__xstat): Do not use CHECK_1.
54426         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54427         (__lxstat): Do not use CHECK_1.
54428         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54429         <bp-checks.h>.
54430         (___lxstat64): Do not use CHECK_1.
54431         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54432         (__old_msgctl): Do not use CHECK_1.
54433         (__new_msgctl): Likewise.
54434         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54435         <bp-checks.h>.
54436         (__gettimeofday): Do not use CHECK_1.
54437         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54438         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54439         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54440         <bp-checks.h>.
54441         (__gettimeofday): Do not use CHECK_1.
54442         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54443         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54444         (__new_shmctl): Do not use CHECK_1.
54445         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54446         <bp-checks.h>.
54447         (do_sigtimedwait): Do not use CHECK_1.
54448         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54449         <bp-checks.h>.
54450         (do_sigwaitinfo): Do not use CHECK_1.
54451         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54452         <bp-checks.h>.
54453         (msgctl): Do not use CHECK_1.
54454         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54455         <bp-checks.h>.
54456         (shmctl): Do not use CHECK_1.
54457         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54458         (ustat): Do not use CHECK_1.
54459         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54460         <bp-checks.h>.
54461         (__fxstat): Do not use CHECK_1.
54462         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54463         <bp-checks.h>.
54464         (__fxstatat): Do not use CHECK_1.
54465         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54466         <bp-checks.h>.
54467         (__lxstat): Do not use CHECK_1.
54468         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54469         <bp-checks.h>.
54470         (__xstat): Do not use CHECK_1.
54471         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54472         (__xstat): Do not use CHECK_1.
54473         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54474         (___xstat64): Do not use CHECK_1.
54476         [BZ #13550]
54477         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54478         definitions.
54479         (CHECK_BOUNDS_HIGH): Likewise.
54480         * string/strcpy.c: Do not include <bp-checks.h>.
54481         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54483 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54485         * nscd/nscd-client.h (__nscd_drop_map_ref):
54486         Add __attribute__ ((unused)).
54487         * nis/nss-nisplus.h (niserr2nss): Likewise.
54489         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54490         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54492         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54493         Remove inline keyword.
54494         * include/rounding-mode.h (round_away): Likewise.
54495         * libio/wfileops.c (adjust_wide_data): Likewise.
54496         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54497         (__m128i_strloadu_tolower): Likewise.
54498         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54499         (__m128i_strloadu_tolower): Likewise.
54500         * time/mktime.c (ydhms_diff): Likewise.
54501         * locale/elem-hash.h (elem_hash): Likewise.
54502         * locale/setlocale.c (setdata): Likewise.
54503         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54504         (re_string_wchar_at): Likewise.
54505         (bitset_not, bitset_merge, bitset_mask): Likewise.
54506         [!(__GNUC__ > 3)] (inline): Remove macro.
54507         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54508         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54509         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54510         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54511         * string/memcmp.c (memcmp_bytes): Likewise.
54512         * locale/programs/locarchive.c (compute_hashval): Likewise.
54513         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54514         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54515         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54516         * nss/getent.c (print_rpc, print_protocols): Likewise.
54517         (print_passwd, print_group, print_aliases): Likewise.
54518         * nis/nss-nisplus.h (niserr2nss): Likewise.
54519         * nscd/connections.c (restart_p): Likewise.
54520         Change return type to bool.
54522 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54524         * Makeconfig (all-Depend-files): Add existing
54525         $(sorted-subdirs:=/Depend) files.
54526         (all-subdirs): Remove nss.
54527         * sysdeps/unix/inet/Subdirs: Add it here instead.
54528         * hesiod/Depend: New file.
54530         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54531         instead of calling alloca.
54533         * io/lseek.c (__lseek): Rename to __libc_lseek.
54534         Define __lseek as an alias.
54536         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54538 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54540         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54541         else clause and remove check for non-standard endianness.
54543 2013-02-04  David S. Miller  <davem@davemloft.net>
54545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54547 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54549         [BZ #13550]
54550         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54551         (__ubp_memchr): Remove prototype.
54552         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54553         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54554         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54555         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54556         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54557         Remove alias.
54558         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54559         (__ubp_memchr): Likewise.
54560         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54561         (__ubp_memchr): Likewise.
54562         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54563         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54564         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54565         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54566         CHECK_STRING.
54567         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54568         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54569         (__getcwd): Do not use CHECK_STRING.
54570         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54571         <bp-checks.h>.
54572         (__real_chown): Do not use CHECK_STRING.
54573         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54574         <bp-checks.h>.
54575         (fchownat): Do not use CHECK_STRING.
54576         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54577         CHECK_STRING.
54578         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54579         <bp-checks.h>.
54580         (__lchown): Do not use CHECK_STRING.
54581         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54582         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54583         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54584         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54586         include <bp-checks.h>.
54587         (truncate64): Do not use CHECK_STRING.
54588         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54589         <bp-checks.h>.
54590         (__real_chown): Do not use CHECK_STRING.
54591         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54592         <bp-checks.h>.
54593         (__lchown): Do not use CHECK_STRING.
54594         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54595         <bp-checks.h>.
54596         (__chown): Do not use CHECK_STRING.
54597         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54598         <bp-checks.h>.
54599         (truncate64): Do not use CHECK_STRING.
54600         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54601         Likewise.
54602         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54603         (__xmknod): Do not use CHECK_STRING.
54604         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54605         <bp-checks.h>.
54606         (__xmknodat): Do not use CHECK_STRING.
54607         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54608         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54610 2013-02-04  Andreas Schwab  <schwab@suse.de>
54612         [BZ #14142]
54613         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54614         * include/netdb.h: Likewise for h_errno.
54615         * elf/tst-stackguard1.c: Include <tls.h>.
54617 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54619         * elf/link.h (struct link_map): Extend the l_addr comment.
54620         * include/link.h (struct link_map): Likewise.
54622 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54624         [BZ #13550]
54625         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54626         (BOUNDED_1): Remove macro.
54627         * debug/backtrace.c: Don't include <bp-checks.h>.
54628         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54629         (__backtrace): Likewise.
54630         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54631         <bp-checks.h>.
54632         (__backtrace): Don't use BOUNDED_1.
54633         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54634         <bp-checks.h>.
54635         (__backtrace): Don't use BOUNDED_1.
54636         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54637         (__backtrace): Don't use BOUNDED_1.
54638         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54639         (shmat): Don't use BOUNDED_N.
54641 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54643         [BZ #13550]
54644         * sysdeps/generic/bp-start.h: Remove file.
54645         * csu/libc-start.c: Don't include <bp-start.h>.
54646         (LIBC_START_MAIN): Set up __environ directly instead of using
54647         INIT_ARGV_and_ENVIRON.
54648         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54649         <bp-start.h>.
54651         [BZ #13550]
54652         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54653         definitions.
54654         (CHECK_FCNTL): Likewise.
54655         (CHECK_N_PAGES): Likewise.
54657         [BZ #13550]
54658         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54659         definitions.
54660         (CHECK_SIGSET_NULL_OK): Likewise.
54661         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54662         <bp-checks.h>.
54663         (sigpending): Don't use CHECK_SIGSET.
54664         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54665         <bp-checks.h>.
54666         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54667         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54668         <bp-checks.h>.
54669         (do_sigsuspend): Don't use CHECK_SIGSET.
54670         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54671         use CHECK_SIGSET.
54672         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54673         (do_sigwait): Don't use CHECK_SIGSET.
54674         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54675         use CHECK_SIGSET.
54676         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54677         include <bp-checks.h>.
54678         (sigpending): Don't use CHECK_SIGSET.
54679         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54680         include <bp-checks.h>.
54681         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54682         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54683         <bp-checks.h>.
54684         (sigpending): Don't use CHECK_SIGSET.
54685         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54686         <bp-checks.h>.
54687         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54689         [BZ #13550]
54690         * sysdeps/generic/bp-semctl.h: Remove file.
54691         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54692         <bp-checks.h> and <bp-semctl.h>.
54693         (__old_semctl): Don't use CHECK_SEMCTL.
54694         (__new_semctl): Likewise.
54695         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54696         and <bp-semctl.h>.
54697         (__old_semctl): Don't use CHECK_SEMCTL.
54698         (__new_semctl): Likewise.
54699         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54700         <bp-checks.h> and <bp-semctl.h>.
54701         (__old_semctl): Don't use CHECK_SEMCTL.
54702         (__new_semctl): Likewise.
54703         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54704         <bp-checks.h> and <bp-semctl.h>.
54705         (semctl): Don't use CHECK_SEMCTL.
54707         [BZ #13550]
54708         * Makerules (elide-bp-thunks): Remove variable.
54709         (elide-routines.oS): Don't use $(elide-bp-thunks).
54710         (elide-routines.os): Likewise.
54711         (elide-routines.o): Likewise.
54712         (elide-routines.op): Likewise.
54713         (elide-routines.og): Likewise.
54714         (objects): Don't use $(bp-thunks).
54715         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54716         include.
54717         (common-generated): Do not add s-proto-bp.d.
54718         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54719         (int): Likewise.
54720         (typ): Likewise.
54721         Do not generate makefile rules for bounded-pointer thunks.
54722         * sysdeps/generic/bp-thunks.h: Remove file.
54723         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54724         * sysdeps/unix/s-proto-bp.S: Likewise.
54726         [BZ #15062]
54727         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54728         parts of result separately when argument is not close to line from
54729         -i to i and one part of argument is small.
54730         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54731         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54732         * math/libm-test.inc (cacos_test): Add more tests.
54733         (casin_test): Likewise.
54734         (casinh_test): Likewise.
54735         * sysdeps/i386/fpu/libm-test-ulps: Update.
54736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54738 2013-01-31  David S. Miller  <davem@davemloft.net>
54740         * po/de.po: Update from translation team.
54742 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54744         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54746 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54748         * configure.in (_AC_PROG_CC_C89): New definition.
54749         * configure: Regenerate.
54751         * configure.in (AC_PROG_CPP): New definition.
54752         * configure: Regenerate.
54754 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54756         * debug/tst-backtrace.h: New file.
54757         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54758         (ret): Remove variable.
54759         (x): Likewise.
54760         (FAIL): Remove macro.
54761         (NO_INLINE): Likewise.
54762         (fn1): Use match function instead of strstr.
54763         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54764         (ret): Remove variable.
54765         (x): Likewise.
54766         (FAIL): Remove macro.
54767         (NO_INLINE): Likewise.
54768         (fn): Use match function instead of strstr.
54769         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54770         (ret): Remove variable.
54771         (x): Likewise.
54772         (FAIL): Remove macro.
54773         (NO_INLINE): Likewise.
54774         (handle_signal): Use match function instead of strstr.
54775         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54776         (ret): Remove variable.
54777         (x): Likewise.
54778         (FAIL): Remove macro.
54779         (NO_INLINE): Likewise.
54780         (handle_signal): Use match function instead of strstr.
54782 2013-01-23  Roland McGrath  <roland@hack.frob.com>
54784         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54786 2013-01-23  David S. Miller  <davem@davemloft.net>
54788         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54789         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54790         argument of CAS if possible.
54791         * sysdeps/sparc/sparc64/bits/atomic.h
54792         (__arch_compare_and_exchange_val_32_acq): Likewise.
54793         (__arch_compare_and_exchange_val_64_acq): Likewise.
54795 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
54797         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54798         * sysdeps/posix/ulimit.c: ... this.
54799         Include <limits.h>.
54800         * sysdeps/unix/bsd/ulimit.c: Remove file.
54802 2013-01-23  Adam Conrad  <adconrad@0c3.net>
54804         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54805         (LDFLAGS-tst-array5): Likewise.
54807 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54809         [BZ #15036]
54810         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54811         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54812         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54813         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54815 2013-01-21  David S. Miller  <davem@davemloft.net>
54817         * sysdeps/sparc/backtrace.c: New file.
54818         * sysdeps/sparc/sparc32/backtrace.h: New file.
54819         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54820         * sysdeps/sparc/sparc64/backtrace.h: New file.
54821         * sysdeps/sparc/sparc64/backtrace.c: Delete.
54822         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54823         -funwind-tables.
54825 2013-01-21  Andreas Schwab  <schwab@suse.de>
54827         [BZ #15020]
54828         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54829         closed its stdout.
54831 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
54833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54834         "mpa2.h".
54835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54837 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
54838             Mark Mitchell  <mark@codesourcery.com>
54839             Tom de Vries  <tom@codesourcery.com>
54840             Paul Pluzhnikov  <ppluzhnikov@google.com>
54842         * debug/tst-backtrace2.c: New file.
54843         * debug/tst-backtrace3.c: Likewise.
54844         * debug/tst-backtrace4.c: Likewise.
54845         * debug/tst-backtrace5.c: Likewise.
54846         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54847         (CFLAGS-tst-backtrace3.c): Likewise.
54848         (CFLAGS-tst-backtrace4.c): Likewise.
54849         (CFLAGS-tst-backtrace5.c): Likewise.
54850         (LDFLAGS-tst-backtrace2): Likewise.
54851         (LDFLAGS-tst-backtrace3): Likewise.
54852         (LDFLAGS-tst-backtrace4): Likewise.
54853         (LDFLAGS-tst-backtrace5): Likewise.
54854         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54855         tst-backtrace4 and tst-backtrace5.
54857 2013-01-18  Anton Blanchard  <anton@samba.org>
54858             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54860         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54861         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54862         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54863         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54865         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54866         "+r" and remove output regs list as redundant.  Add explicit inline
54867         asm to specify register of return val to work around compiler codegen
54868         bug.  Remove (int) cast on return value.  Add return type parameter to
54869         use in macro so that this macro does not truncate return value for
54870         64-bit values.
54871         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54872         pass to INTERNAL_VSYSCALL_NCS.
54873         (INLINE_VSYSCALL): Add 'long int' as return type to
54874         INTERNAL_VSYSCALL_NCS macro invocation.
54875         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54876         INTERNAL_VSYSCALL_NCS macro invocation.
54877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54879 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54881         [BZ #14496]
54882         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54883         Fix application of SIMD FP exception mask.
54885         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54886         mp_no from a power of two.
54887         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54888         __mpexp_twomm1.  Use __pow_mp.
54890         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54891         multiplication.
54893 2013-01-17  David S. Miller  <davem@davemloft.net>
54895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54897 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54899         [BZ #15023]
54900         * include/complex.h: Condition contents on [!_COMPLEX_H].
54901         (__kernel_casinhf): New prototype.
54902         (__kernel_casinh): Likewise.
54903         (__kernel_casinhl): Likewise.
54904         * math/Makefile (libm_calls): Add k_casinh.
54905         * math/k_casinh.c: New file.
54906         * math/k_casinhf.c: Likewise.
54907         * math/k_casinhl.c: Likewise.
54908         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54909         finite nonzero arguments.
54910         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54911         finite nonzero arguments.
54912         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54913         finite nonzero arguments.
54914         * math/s_casinh.c: Do not include <float.h>.
54915         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54916         * math/s_casinhf.c: Do not include <float.h>.
54917         (__casinhf): Move code for finite nonzero arguments to
54918         k_casinhf.c.
54919         * math/s_casinhl.c: Do not include <float.h>.
54920         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54921         redefine.
54922         (__casinhl): Move code for finite nonzero arguments to
54923         k_casinhl.c.
54924         * math/libm-test.inc (cacos_test): Add more tests.
54925         * sysdeps/i386/fpu/libm-test-ulps: Update.
54926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54928 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54930         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54931         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54932         [!HAVE_MREMAP]: Remove [defined linux] case.
54933         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54935 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54937         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54939 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54941         * elf/elf.h (R_386_SIZE32): New relocation.
54942         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54943         R_386_SIZE32.
54944         (elf_machine_rela): Likewise.
54945         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54946         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54948 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54950         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54951         (FP_FAST_FMA): Do not define.
54952         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54953         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54954         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54955         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54956         !_SOFT_FLOAT]: Likewise.
54957         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54958         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54959         value.
54960         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54961         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54962         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54963         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54964         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54965         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54966         file.
54968 2013-01-16  Andreas Schwab  <schwab@suse.de>
54970         [BZ #14327]
54971         * include/stdlib.h (__mktemp): Add declaration.
54972         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54973         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54975 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54977         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54978         definitions.
54979         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54980         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54981         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54982         definitions here.
54983         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54984         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54985         definitions.
54986         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54987         and ONE.
54988         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54989         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54990         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54991         definitions.
54992         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54993         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54994         definitions.
54995         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54997         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54999 2013-01-15  David S. Miller  <davem@davemloft.net>
55001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55002         trunc{,f} to libm-sysdep_routes.
55003         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55005         file.
55006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55008         file.
55009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55010         file.
55011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55013         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55014         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55015         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55016         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55017         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55018         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55021         nearbyint{,f} to libm-sysdep_routes.
55022         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55024         New file.
55025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55026         file.
55027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55028         New file.
55029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55030         file.
55031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55033         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55034         file.
55035         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55036         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55037         file.
55038         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55039         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55040         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55042         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55043         libc_feholdexcept and libc_fesetenv.
55045 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55047         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55049 2013-01-14  David S. Miller  <davem@davemloft.net>
55051         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55052         (SPARC_ASM_VIS2_IFUNC): Likewise.
55053         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55055         use of 'siam' instruction.
55056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55057         Likewise.
55058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55059         Likewise.
55060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55061         Likewise.
55062         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55063         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55064         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55065         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55067         file.
55068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55069         file.
55070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55071         file.
55072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55073         file.
55074         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55075         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55076         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55079         new VIS2 routines.
55080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55083         Likewise.
55084         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55086         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55087         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55089         routines to libm-sysdep_routines.
55090         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55093         fdim/fdimf to libm-sysdep_routines.
55094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55095         file.
55096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55098         file.
55099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55102         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55103         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55104         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55105         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55107 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55109         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55110         to optimize copies.
55112         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55117         local variable MPTWO.
55118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55119         Likewise.
55121 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55123         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55124         GLOB_NOESCAPE.
55126 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55128         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55130 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55132         * manual/pattern.texi (glob_t): Document gl_flags.
55133         (glob64_t): Likewise.
55135 2013-01-11  David S. Miller  <davem@davemloft.net>
55137         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55138         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55139         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55140         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55141         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55142         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55143         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55144         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55145         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55146         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55147         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55148         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55149         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55151         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55152         sparc V9 rather than using V8 code.
55153         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55154         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55156         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55157         Move to...
55158         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55159         Here.
55161 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55163         [BZ #14941]
55164         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55165         not in the main loop.
55166         * configure: Regenerated.
55168 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55170         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55171         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55172         to just #else.
55173         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55174         [!__GLIBC_HAVE_LONG_LONG] case.
55175         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55176         condition to just #else.
55177         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55178         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55179         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55180         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55181         unconditional.
55182         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55183         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55184         #elif condition to just #else.
55185         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55186         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55187         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55188         #elif condition to just #else.
55190 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55192         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55193         (EF_MIPS_ARCH_64): Fix value.
55194         (EF_MIPS_ARCH_32R2): New.
55195         (EF_MIPS_ARCH_64R2): New.
55197 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55199         * Makeconfig (+link-pie-before-libc): New.
55200         (+link-pie-after-libc): Likewise.
55201         (+link-pie-tests): Likewise.
55202         (+link-pie): Rewritten.
55203         (link-before-libc): Remove $(config-LDFLAGS).
55204         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55205         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55206         (config-LDFLAGS): Renamed to ...
55207         (rtld-LDFLAGS): This.
55208         (rtld-tests-LDFLAGS): New macro.
55209         (link-libc-rpath-link): Likewise.
55210         (link-libc-tests-rpath-link): Likewise.
55211         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55212         (link-libc): Prepand $(link-libc-rpath-link).
55213         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55214         (test-program-prefix): New macro.
55215         (test-via-rtld-prefix): Likewise.
55216         (test-program-cmd): Likewise.
55217         (host-test-program-cmd): Likewise.
55218         * Makefile ($(common-objpfx)testrun.sh): Replace
55219         $(run-program-prefix) with $(test-program-prefix).
55220         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55221         $(rtld-LDFLAGS).
55222         ($(common-objpfx)shlib.lds): Likewise.
55223         (build-module-helper): Likewise.
55224         ($(common-objpfx)format.lds): Likewise.
55225         * Rules (binaries-pie-tests): New.
55226         (binaries-pie-notests): Likewise.
55227         (binaries-pie): Rewritten.
55228         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55229         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55230         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55231         (make-test-out): Replace $(host-built-program-cmd) with
55232         $(host-test-program-cmd).
55233         * config.make.in (build-hardcoded-path-in-tests): New variable.
55234         * configure.in (--enable-hardcoded-path-in-tests): New configure
55235         option.
55236         (hardcoded_path_in_tests): New AC_SUBST.
55237         * configure: Regenerated.
55238         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55239         $(built-program-cmd) with $(test-program-cmd).
55240         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55241         (test_program_cmd): This.
55242         * elf/Makefile ($(objpfx)order.out): Run test with
55243         $(test-program-prefix).
55244         ($(objpfx)order2.out): Likewise.
55245         ($(objpfx)tst-initorder.out): Likewise.
55246         ($(objpfx)tst-initorder2.out): Likewise.
55247         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55248         $(test-program-cmd).
55249         ($(objpfx)tst-array1-static.out): Likewise.
55250         ($(objpfx)tst-array2.out): Likewise.
55251         ($(objpfx)tst-array3.out): Likewise.
55252         ($(objpfx)tst-array4.out): Likewise.
55253         ($(objpfx)tst-array5.out): Likewise.
55254         ($(objpfx)tst-array5-static.out): Likewise.
55255         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55256         $(test-program-cmd).
55257         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55258         $(run-program-prefix) with $(test-program-prefix).
55259         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55260         (test_program_prefix): This.
55261         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55262         $(run-program-prefix) with $(test-program-prefix).
55263         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55264         (test_program_prefix): This.
55265         * iconvdata/tst-tables.sh: Likewise.
55266         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55267         $(run-program-prefix) with $(test-program-prefix).
55268         ($(objpfx)tst-translit.out): Likewise.
55269         ($(objpfx)tst-gettext2.out): Likewise.
55270         ($(objpfx)tst-gettext4.out): Likewise.
55271         ($(objpfx)tst-gettext6.out): Likewise.
55272         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55273         (test_program_prefix): This.
55274         * intl/tst-gettext2.sh: Likewise.
55275         * intl/tst-gettext4.sh  Likewise.
55276         * intl/tst-gettext6.sh: Likewise.
55277         * intl/tst-translit.sh: Likewise.
55278         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55279         with $(test-program-cmd).
55280         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55281         $(run-program-prefix) with $(test-program-prefix).
55282         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55283         (test_program_prefix): This.
55284         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55285         $(run-program-prefix) with $(test-program-prefix).
55286         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55287         (test_program_prefix): This.
55288         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55289         * posix/Makefile ($(objpfx)globtest.out): Replace
55290         $(run-via-rtld-prefix) and $(test-wrapper) with
55291         $(test-program-prefix) and $(test-via-rtld-prefix).
55292         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55293         $(test-program-prefix).
55294         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55295         $(host-test-program-cmd).
55296         (tst-spawn-ARGS): Likewise.
55297         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55298         $(test-program-prefix).
55299         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55300         (test_via_rtld_prefix): This.
55301         (test_wrapper): Renamed to ...
55302         (test_program_prefix): This.
55303         (run_program_prefix): Replaced by test_program_prefix.
55304         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55305         (test_program_prefix): This.
55306         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55307         with $(host-test-program-cmd).
55308         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55309         $(run-program-prefix) with $(test-program-prefix).
55310         ($(objpfx)tst-printf.out): Likewise.
55311         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55312         $(test-program-cmd).
55313         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55314         (test_program_prefix): This.
55315         * stdio-common/tst-unbputc.sh: Likewise.
55316         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55317         $(run-program-prefix) with $(test-program-prefix).
55318         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55319         (test_program_prefix): This.
55320         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55321         $(built-program-cmd) with $(test-program-cmd).
55323 2013-01-11  Andreas Jaeger  <aj@suse.de>
55325         [BZ #15003]
55326         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55327         value. Sync with Linux 3.7.
55329 2013-01-10  David S. Miller  <davem@davemloft.net>
55331         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55332         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55333         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55335 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55337         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55338         never set.
55339         * configure: Regenerated.
55341 2013-01-10  David S. Miller  <davem@davemloft.net>
55343         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55344         sparc V9 rather than using V8 code.
55345         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55346         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55348 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55350         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55351         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55352         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55353         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55354         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55355         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55356         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55357         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55358         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55359         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55360         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55361         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55362         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55363         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55364         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55365         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55366         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55367         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55368         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55369         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55370         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55371         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55372         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55373         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55374         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55375         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55376         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55378 2013-01-10  David S. Miller  <davem@davemloft.net>
55380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55382 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55384         * posix/Makefile (tests-static): New variable.
55385         (tests): Add $(tests-static).
55386         (tst-exec-static-ARGS): New variable.
55387         (tst-spawn-static-ARGS): Likewise.
55388         * posix/tst-exec-static.c: New file.
55389         * posix/tst-spawn-static.c: Likewise.
55390         * posix/tst-exec.c: Support run directly.
55391         * posix/tst-spawn.c: Likewise.
55393 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55395         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55396         long.
55397         * math/bits/mathcalls.h (llrint): Likewise.
55398         (llround): Likewise.
55399         * stdlib/stdlib.h (struct drand48_data): Likewise.
55400         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55401         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55402         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55403         Likewise.
55404         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55405         Likewise.
55406         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55407         (elf_greg_t): Likewise.
55408         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55409         (__jmp_buf): Likewise.
55410         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55411         definitions.
55412         (llrint): Likewise, for all definitions.
55413         (llrintl): Likewise.
55415         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55416         Remove [__GNUC__] condition.
55417         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55418         condition to just [__USE_ISOC99].
55419         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55421 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55423         [BZ #14200]
55424         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55425         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55426         defined.
55427         (_POSIX_V6_ILP32_OFF32): Likewise.
55428         (_XBS5_ILP32_OFF32): Likewise.
55429         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55430         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55432 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55434         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55436         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55437         doubles __mpexp_twomm1.  Adjust usage.
55438         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55439         Remove.
55441 2013-01-10  Andreas Schwab  <schwab@suse.de>
55443         [BZ #14964]
55444         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55445         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55447 2013-01-09  David S. Miller  <davem@davemloft.net>
55449         [BZ #15003]
55450         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55451         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55452         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55453         (TCP_FASTOPEN): Define.
55454         (tcp_repair_opt): New structure.
55455         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55456         enum values.
55457         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55458         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55459         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55460         (tcp_cookie_transactions): New structure.
55462 2013-01-09  Anton Blanchard  <anton@samba.org>
55464         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55465         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55466         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55467         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55469 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55471         * include/features.h (__USE_ANSI): Remove.
55473 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55475         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55477         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55479 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55481         * sysdeps/s390/fpu/libm-test-ulps: Update.
55483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55485         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55486         (__acr): Likewise.
55487         (__cpy): Likewise.
55488         (norm): Likewise.
55489         (denorm): Likewise.
55490         (__mp_dbl): Likewise.
55491         (__dbl_mp): Likewise.
55492         (add_magnitudes): Likewise.
55493         (sub_magnitudes): Likewise.
55494         (__add): Likewise.
55495         (__sub): Likewise.
55496         (__mul): Likewise.
55497         (__inv): Likewise.
55498         (__dvd): Likewise.
55499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55500         (__acr): Likewise.
55501         (__cpy): Likewise.
55502         (norm): Likewise.
55503         (denorm): Likewise.
55504         (__mp_dbl): Likewise.
55505         (__dbl_mp): Likewise.
55506         (add_magnitudes): Likewise.
55507         (sub_magnitudes): Likewise.
55508         (__add): Likewise.
55509         (__sub): Likewise.
55510         (__mul): Likewise.
55511         (__inv): Likewise.
55512         (__dvd): Likewise.
55513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55514         (__acr): Likewise.
55515         (__cpy): Likewise.
55516         (norm): Likewise.
55517         (denorm): Likewise.
55518         (__mp_dbl): Likewise.
55519         (__dbl_mp): Likewise.
55520         (add_magnitudes): Likewise.
55521         (sub_magnitudes): Likewise.
55522         (__add): Likewise.
55523         (__sub): Likewise.
55524         (__mul): Likewise.
55525         (__inv): Likewise.
55526         (__dvd): Likewise.
55528 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55530         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55531         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55532         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55533         2 && __USE_EXTERN_INLINES]: Likewise.
55535 2013-01-08  Andreas Jaeger  <aj@suse.de>
55537         [BZ# 14985]
55538         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55539         Remove.
55540         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55541         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55543 2013-01-07  Anton Blanchard  <anton@samba.org>
55545         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55546         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55547         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55548         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55549         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55550         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55551         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55552         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55554         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55555         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55556         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55557         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55558         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55559         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55560         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55561         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55562         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55563         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55564         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55565         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55566         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55567         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55568         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55569         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55570         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55571         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55572         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55573         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55574         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55575         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55576         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55577         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55578         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55579         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55580         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55581         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55582         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55583         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55584         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55585         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55586         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55587         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55589 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55591         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55592         (__MALLOC_PMT): Likewise.
55593         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55594         [__GNUC__], only on [_LIBC].
55595         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55596         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55597         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55598         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55599         forward declaration.
55600         (realloc_hook_ini): Likewise.
55601         (memalign_hook_ini): Likewise.
55602         (__libc_memalign): Do not use __MALLOC_PMT in variable
55603         declaration.
55604         (__libc_valloc): Likewise.
55605         (__libc_pvalloc): Likewise.
55606         (__libc_calloc): Likewise.
55607         (__posix_memalign): Likewise.
55609         [BZ #14996]
55610         * math/s_casinh.c: Include <float.h>.
55611         (__casinh): Do not do computation with squaring and square root
55612         for large arguments.
55613         * math/s_casinhf.c: Include <float.h>.
55614         (__casinhf): Do not do computation with squaring and square root
55615         for large arguments.
55616         * math/s_casinhl.c: Include <float.h>.
55617         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55618         (__casinhl): Do not do computation with squaring and square root
55619         for large arguments.
55620         * math/libm-test.inc (casin_test): Add more tests.
55621         (casinh_test): Likewise.
55622         * sysdeps/i386/fpu/libm-test-ulps: Update.
55623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55625 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55627         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55628         (__x86_64_raw_data_cache_size): Likewise.
55629         (__x86_64_data_cache_size_half): Likewise.
55630         (__x86_64_raw_data_cache_size_half): Likewise.
55631         (__x86_64_shared_cache_size): Likewise.
55632         (__x86_64_raw_shared_cache_size): Likewise.
55633         (__x86_64_shared_cache_size_half): Likewise.
55634         (__x86_64_raw_shared_cache_size_half): Likewise.
55635         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55636         to ...
55637         (__x86_data_cache_size): This.
55638         (__x86_64_raw_data_cache_size): Renamed to ...
55639         (__x86_raw_data_cache_size): This.
55640         (__x86_64_data_cache_size_half): Renamed to ...
55641         (__x86_data_cache_size_half): This.
55642         (__x86_64_raw_data_cache_size_half): Renamed to ...
55643         (__x86_raw_data_cache_size_half): This.
55644         (__x86_64_shared_cache_size): Renamed to ...
55645         (__x86_shared_cache_size): This.
55646         (__x86_64_raw_shared_cache_size): Renamed to ...
55647         (__x86_raw_shared_cache_size): This.
55648         (__x86_64_shared_cache_size_half): Renamed to ...
55649         (__x86_shared_cache_size_half): This.
55650         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55651         (__x86_raw_shared_cache_size_half): This.
55652         * sysdeps/x86_64/memcpy.S: Updated.
55653         * sysdeps/x86_64/memset.S: Likewise.
55654         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55655         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55656         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55658 2013-01-04  David S. Miller  <davem@davemloft.net>
55660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55662 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55664         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55665         1 to avoid redefinition warning.
55666         (__USE_GNU): Don't define.
55667         (init_signaling_nan): Protoize.
55669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55671 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55673         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55675         (__cpymn): Likewise.
55676         (norm): Remove commented code.
55677         (denorm): Likewise.
55678         (__mp_dbl): Likewise.
55679         (__inv): Likewise.
55680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55681         (__cpymn): Likewise.
55682         (norm): Remove commented code.
55683         (denorm): Likewise.
55684         (__mp_dbl): Likewise.
55685         (__inv): Likewise.
55687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55688         mp_no value for 1.0 and 2.0.
55689         (norm): Use RADIXI instead of radixi.d.
55690         (denorm): Likewise.
55691         (__mul): Use 0.0 instead of zero.d.
55692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55693         mp_no value for 1.0 and 2.0.
55694         (norm): Use RADIXI instead of radixi.d.
55695         (denorm): Likewise.
55696         (__mul): Use 0.0 instead of zero.d.
55698 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55700         [BZ #14994]
55701         * math/s_casinh.c (__casinh): Reduce finite argument to first
55702         quadrant then set signs of results at the end.
55703         * math/s_casinhf.c (__casinhf): Likewise.
55704         * math/s_casinhl.c (__casinhl): Likewise.
55705         * math/libm-test.inc (casin_test): Add more tests.
55706         (casinh_test): Likewise.
55707         * sysdeps/i386/fpu/libm-test-ulps: Update.
55708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55710 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55712         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55714         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55716         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55717         declarations.
55718         (denorm): Likewise.
55719         (__mp_dbl): Likewise.
55720         (__inv): Likewise.
55722         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55723         and adjust the header comment.
55725         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55726         variable name from declaration.
55728 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55731         Initialize COMMON_CPUID_INDEX_7 element.
55732         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55733         (CPUID_RTM): Likewise.
55734         (HAS_RTM): Likewise.
55735         (COMMON_CPUID_INDEX_7): New enum.
55737 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55739         [BZ #14981]
55740         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55741         size is zero, record memory as freed.
55743 2013-01-03  Andreas Jaeger  <aj@suse.de>
55745         * po/ia.po: Add new Interlingua translation.
55747 2012-01-03  Allan McRae  <allan@archlinux.org>
55749         * locale/programs/localedef.c: Fix description of '--posix' flag.
55751 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55753         * NEWS: Update dates in second copyright notice.
55754         * README: Update copyright dates in example.
55755         * manual/libc.texinfo: Update copyright dates.
55756         * scripts/test-installation.pl: Update copyright date in --version
55757         output.
55759         * hurd/ctty-input.c: Fix copyright notice formatting.
55760         * hurd/ctty-output.c: Likewise.
55761         * hurd/dtable.c: Likewise.
55762         * hurd/hurd-raise.c: Likewise.
55763         * hurd/hurdprio.c: Likewise.
55764         * hurd/msgportdemux.c: Likewise.
55765         * misc/sys/file.h: Likewise.
55766         * misc/sys/ioctl.h: Likewise.
55767         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55768         * sysdeps/mach/hurd/chdir.c: Likewise.
55769         * sysdeps/mach/hurd/fchdir.c: Likewise.
55770         * sysdeps/mach/hurd/rename.c: Likewise.
55771         * sysdeps/mach/hurd/rmdir.c: Likewise.
55772         * sysdeps/mach/hurd/seekdir.c: Likewise.
55773         * sysdeps/mach/hurd/setsid.c: Likewise.
55774         * sysdeps/posix/wait3.c: Likewise.
55776         * All files with FSF copyright notices: Update copyright dates
55777         using scripts/update-copyrights.
55778         * intl/plural.c: Regenerated.
55779         * locale/programs/charmap-kw.h: Likewise.
55780         * locale/programs/locfile-kw.h: Likewise.
55782 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55784         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55785         four values.
55787         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55788         calculation loop and add branch prediction.
55790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55791         check access beyond bounds of m1np.
55793         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55794         MPTWO.
55795         (__inv): Remove local variable MPTWO to use the global
55796         constant.
55797         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55798         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55799         variable MPTWO.
55800         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55801         MP3HALFS static const.
55803 2013-01-01  David S. Miller  <davem@davemloft.net>
55805         * po/ca.po: Update from translation team.
55807 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
55809         * scripts/update-copyrights: New file.
55810         * Makeconfig: Reformat copyright notice.
55811         * ctype/ctype.h: Likewise.
55812         * debug/swprintf_chk.c: Likewise.
55813         * elf/dl-cache.c: Likewise.
55814         * elf/dl-debug.c: Likewise.
55815         * elf/dl-object.c: Likewise.
55816         * grp/initgroups.c: Likewise.
55817         * hurd/Makefile: Likewise.
55818         * hurd/hurd/signal.h: Likewise.
55819         * hurd/hurdfault.c: Likewise.
55820         * hurd/hurdioctl.c: Likewise.
55821         * hurd/hurdlookup.c: Likewise.
55822         * hurd/intr-msg.c: Likewise.
55823         * iconv/gconv_open.c: Likewise.
55824         * libio/swprintf.c: Likewise.
55825         * locale/lc-ctype.c: Likewise.
55826         * locale/nl_langinfo.c: Likewise.
55827         * mach/Machrules: Likewise.
55828         * mach/Makefile: Likewise.
55829         * malloc/obstack.h: Likewise.
55830         * manual/Makefile: Likewise.
55831         * manual/tsort.awk: Likewise.
55832         * misc/bits/stab.def: Likewise.
55833         * nis/nis_print_group_entry.c: Likewise.
55834         * nis/nis_table.c: Likewise.
55835         * nis/nss_compat/compat-pwd.c: Likewise.
55836         * nis/nss_compat/compat-spwd.c: Likewise.
55837         * po/Makefile: Likewise.
55838         * posix/fnmatch.c: Likewise.
55839         * posix/regex.h: Likewise.
55840         * resolv/Makefile: Likewise.
55841         * resolv/nss_dns/dns-network.c: Likewise.
55842         * resolv/res_hconf.c: Likewise.
55843         * scripts/gen-sorted.awk: Likewise.
55844         * soft-fp/soft-fp.h: Likewise.
55845         * stdio-common/printf.h: Likewise.
55846         * stdlib/monetary.h: Likewise.
55847         * stdlib/random.c: Likewise.
55848         * stdlib/random_r.c: Likewise.
55849         * sysdeps/generic/Makefile: Likewise.
55850         * sysdeps/gnu/Makefile: Likewise.
55851         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55852         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55853         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55854         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55855         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55856         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55857         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55858         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55859         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55860         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55861         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55862         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55863         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55864         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55865         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55866         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55867         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55868         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55869         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55870         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55871         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55872         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55873         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55874         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55875         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55876         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55877         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55878         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55879         * sysdeps/mach/hurd/errnos.awk: Likewise.
55880         * sysdeps/mach/hurd/fork.c: Likewise.
55881         * sysdeps/mach/hurd/getcwd.c: Likewise.
55882         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55883         * sysdeps/mach/hurd/mmap.c: Likewise.
55884         * sysdeps/mach/hurd/utimes.c: Likewise.
55885         * sysdeps/mach/hurd/xmknod.c: Likewise.
55886         * sysdeps/posix/profil.c: Likewise.
55887         * sysdeps/posix/readdir_r.c: Likewise.
55888         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55889         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55890         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55891         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55892         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55893         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55894         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55895         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55897         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55898         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55899         * sysdeps/pthread/lio_listio.c: Likewise.
55900         * sysdeps/sparc/dl-procinfo.h: Likewise.
55901         * sysdeps/unix/i386/sysdep.S: Likewise.
55902         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55903         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55904         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55905         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55907         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55908         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55909         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55910         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55911         * sysdeps/wordsize-32/divdi3.c: Likewise.
55912         * time/sys/time.h: Likewise.
55913         * wcsmbs/Makefile: Likewise.
55915 2013-01-01  David S. Miller  <davem@davemloft.net>
55917         * po/fr.po: Update from translation team.
55919         * catgets/gencat.c: Update copyright year.
55920         * csu/version.c: Likewise.
55921         * debug/catchsegv.sh: Likewise.
55922         * debug/pcprofiledump.c: Likewise.
55923         * debug/xtrace.sh: Likewise.
55924         * elf/ldconfig.c: Likewise.
55925         * elf/ldd.bash.in: Likewise.
55926         * elf/pldd.c: Likewise.
55927         * elf/sotruss.ksh: Likewise.
55928         * elf/sprof.c: Likewise.
55929         * iconv/iconv_prog.c: Likewise.
55930         * iconv/iconvconfig.c: Likewise.
55931         * locale/programs/locale.c: Likewise.
55932         * locale/programs/localedef.c: Likewise.
55933         * login/programs/pt_chown.c: Likewise.
55934         * malloc/memusage.sh: Likewise.
55935         * malloc/memusagestat.c: Likewise.
55936         * malloc/mtrace.pl: Likewise.
55937         * nscd/nscd.c: Likewise.
55938         * nss/getent.c: Likewise.
55939         * nss/makedb.c: Likewise.
55940         * posix/getconf.c: Likewise.
55942 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55944         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55945         numbers.
55947 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55949         * math/bits/mathcalls.h (modf): Use __nonnull.
55951 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55953         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55954         (split): Use macro CN instead of the bare value.
55955         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55956         could be used.
55957         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55958         instead of the bare value.
55959         (power1): Likewise.
55961 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55963         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55964         __ATAN_TWOM.
55965         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55967         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55968         their values.
55969         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55970         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55971         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55972         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55974 2012-12-28  Andreas Jaeger  <aj@suse.de>
55976         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55977         values are from Linux 3.7.
55979         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55980         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55982 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55984         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55985         TRUE case.
55987         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55988         (norm): Likewise.
55989         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55990         variables with preprocessor constants.
55991         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55992         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55993         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55995 2012-12-27  Bruno Haible  <bruno@clisp.org>
55997         [BZ #14317]
55998         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55999         only if needed.
56001 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56003         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56004         and use variable directly.
56005         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56007         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56008         MPONE.
56009         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56010         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56011         variable MPONE.
56012         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56013         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56014         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56015         include directive.  Remove local variable MPONE.
56016         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56017         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56018         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56020 2012-12-25  David S. Miller  <davem@davemloft.net>
56022         * version.h (RELEASE): Set to "development".
56023         (VERSION): Set to "2.17.90".
56024         * NEWS: Add 2.18 section.
56026 2012-12-21  David S. Miller  <davem@davemloft.net>
56028         * po/hr.po: Update from translation team.
56030 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56032         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56034 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56036         * NEWS:  Mention new memcpy for MIPS.
56038 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56040         * manual/contrib.texi (Contributors): Spelling correction.
56042 2012-12-15  David S. Miller  <davem@davemloft.net>
56044         * po/ru.po: Update from translation team.
56046 2012-12-13  David S. Miller  <davem@davemloft.net>
56048         * NEWS: Mention IFUNC testsuite enhancements.
56050         * po/pl.po: Update from translation team.
56051         * po/bg.po: Likewise.
56053         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56054         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56056 2012-12-11  David S. Miller  <davem@davemloft.net>
56058         * po/sv.po: Update from translation team.
56060         * po/vi.po: Update from translation team.
56062         * po/cs.po: Update from translation team.
56064         * po/de.po: Update from translation team.
56065         * po/eo.po: Likewise.
56066         * po/nl.po: Likewise.
56068 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56070         [BZ #14246]
56071         * manual/argp.texi (Argp Helper Functions): Move node to follow
56072         Argp Parsing State.
56074         [BZ #14872]
56075         * manual/conf.texi (Limits on File System Capacity): Mention if
56076         terminating null is included in the max size.
56078 2012-12-10  Andreas Jaeger  <aj@suse.de>
56080         * po/cs.po: Update from translation team.
56082 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56084         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56085         void pointer and cast to uintptr_t.
56086         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56087         path.
56088         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56089         * sysdeps/s390/s390-64/memset.S: Likewise.
56091 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56093         [BZ #14833]
56094         * menual/message.texi (Message Translation): Fix typos.
56095         (Helper programs for gettext): Likewise.
56097 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56099         [BZ #14898]
56100         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56101         Change to -1.
56103 2012-12-07  David S. Miller  <davem@davemloft.net>
56105         * po/libc.pot: Update.
56107 2012-12-07  Richard Henderson  <rth@redhat.com>
56109         [BZ #10114]
56110         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56111         normal/normal case to before the switch.
56112         (_FP_DIV): Likewise.
56114 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56115             Mike Frysinger  <vapier@gentoo.org>
56117         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56118         check for __NR_fadvise64_64.
56120 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56122         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56123         0, not just to plain "0" as a statement.
56124         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56125         with cw.
56127 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56129         * NEWS: Use sourceware.org in Bugzilla URL.
56131 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56134         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56136         * stdio-common/tst-put-error.c (do_test): Add newline to the
56137         padded test to ensure flush.
56139 2012-12-05  Jeff Law  <law@redhat.com>
56141         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56143 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56145         * README: Don't refer to ports add-on as distributed separately.
56146         Mention AArch64 in list of systems supported in the ports add-on.
56148         * LICENSES: Add more non-FSF copyright and license notices.
56150         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56151         ((unused)).
56153         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56155         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56156         10000 as width of padded output.
56158 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56160         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56162         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56163         variable LX with __attribute__ ((unused)).
56164         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56165         Likewise.
56166         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56167         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56168         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56169         with __attribute__ ((unused)).
56171 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56173         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56175 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56177         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56178         (CFLAGS-nldbl-acos.c): New variable.
56179         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56180         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56181         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56182         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56183         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56184         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56185         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56186         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56187         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56188         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56189         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56190         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56191         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56192         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56193         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56194         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56195         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56196         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56197         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56198         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56199         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56200         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56201         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56202         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56203         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56204         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56205         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56206         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56207         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56208         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56209         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56210         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56211         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56212         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56213         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56214         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56215         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56216         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56217         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56218         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56219         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56220         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56221         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56222         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56223         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56224         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56225         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56226         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56227         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56228         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56229         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56230         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56231         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56232         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56233         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56234         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56235         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56236         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56237         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56238         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56239         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56240         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56241         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56242         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56243         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56244         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56245         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56246         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56247         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56248         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56249         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56250         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56251         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56252         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56253         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56254         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56255         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56256         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56257         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56258         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56259         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56260         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56261         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56262         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56263         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56264         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56265         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56266         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56267         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56268         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56269         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56270         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56271         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56272         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56273         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56274         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56275         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56278         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56280         [BZ #14914]
56281         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56282         whole low double instead of just low 47 bits when splitting values
56283         into two parts.
56285 2012-12-03  Allan McRae  <allan@archlinux.org>
56287         * manual/stdio.texi (Predefined Printf Handlers): Remove
56288         @hsep and @vsep usage.
56290 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56292         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56293         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56295 2012-12-03  Jeff Law  <law@redhat.com>
56297         * time/sys/time.h (settimeofday): Do not mark TV argument
56298         as __nonnull.
56300 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56302         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56303         when currently writing and seek to current position when not.
56304         * libio/Makefile (tests): Remove bug-fclose1.
56305         * libio/bug-fclose1.c: Delete.
56307 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56309         * manual/arith.texi (feenableexcept): Fix typo.
56310         (fedisableexcept): Likewise.
56312 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56314         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56315         second, differently-typed declaration, rather than a cast.
56317 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56319         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56320         * include/rpc/svc.h: ... here.
56322 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56324         [BZ #13013]
56325         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56326         depending n and resplen2 to catch cases where answer
56327         equals answerp2.
56329 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56331         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56332         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56334 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56336         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56338 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56340         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56342 2012-11-28  Jeff Law  <law@redhat.com>
56344         [BZ #13761]
56345         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56346         dataset_temporary.  Track alloca usage into alloca_used.
56347         If dataset is large allocate and release it via malloc/free.
56349 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56351         [BZ #14197]
56352         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56354 2012-11-28  David S. Miller  <davem@davemloft.net>
56356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56358 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56360         [BZ #14803]
56361         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56362         of pi/2 rounded to nearest to 64 bits.
56363         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56364         nearest to 64 bits.
56365         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56366         bits.
56368 2012-11-28  Jeff Law <law@redhat.com>
56369             Martin Osvald <mosvald@redhat.com>
56371         [BZ #14889]
56372         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56373         * sunrpc/svc.c: Include time.h.
56374         (__svc_accept_failed): New function.
56375         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56376         any reason other than EINTR, call __svc_accept_failed.
56377         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56378         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56380 2012-11-28  Andreas Schwab  <schwab@suse.de>
56382         * scripts/abilist.awk: Also handle indirect functions in .opd
56383         section.
56385 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56387         [BZ #13881]
56388         * sysdeps/x86/fpu/powl_helper.c: New file.
56389         * sysdeps/x86/fpu/Makefile: Likewise.
56390         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56391         (p3): New object.
56392         (__ieee754_powl): Use __powl_helper for finite arguments except
56393         integer exponents below 8.
56394         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56395         (p3): New object.
56396         (__ieee754_powl): Use __powl_helper for finite arguments except
56397         integer exponents below 8.
56398         * math/libm-test.inc (pow_test): Add more tests and enable some
56399         previously disabled tests.
56400         * sysdeps/i386/fpu/libm-test-ulps: Update.
56401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56403 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56404             Carlos O'Donell  <carlos_odonell@mentor.com>
56406         * nss/makedb.c (is_prime): Assert that input is odd and greater
56407         than 4.  Note that fact in a comment too.
56408         (next_prime): Add 4 to input.
56410 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56412         [BZ #11741]
56413         * libio/Makefile (tests): Add test case tst-fwrite-error.
56414         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56415         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56416         * libio/tst-fwrite-error.c: New test case.
56418 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56420         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56421         before casting to void *.
56422         * include/libc-internal.h (__pointer_type): New macro.
56423         (__integer_if_pointer_type_sub): Likewise.
56424         (__integer_if_pointer_type): Likewise.
56425         (cast_to_integer): Likewise.
56426         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56427         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56428         before casting to atomic64_t.
56429         (atomic_exchange_acq): Likewise.
56430         (__arch_exchange_and_add_body): Likewise.
56431         (__arch_add_body): Likewise.
56432         (atomic_add_negative): Likewise.
56433         (atomic_add_zero): Likewise.
56435 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56437         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56438         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56439         (add_fdes): Likewise.
56440         (linear_search_fdes): Likewise.
56441         (binary_search_unencoded_fdes): Likewise.
56443 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56445         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56447 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56449         * configure.in: Autodetect C++ header directories.
56450         * configure: Regenerated.
56452 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56454         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56456 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56460 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56462         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56463         LDBL_MANT_DIG == 106]: Disable some tests.
56464         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56465         Likewise.
56466         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56467         Likewise.
56469         [BZ #14871]
56470         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56471         input for small inputs.  Return +/- pi/2 for large inputs.
56472         * math/libm-test.inc (atan_test): Add more tests.
56474         * sysdeps/generic/unwind-dw2-fde-glibc.c
56475         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56476         __attribute__ ((unused)).
56478         [BZ #14645]
56479         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56480         x * y if x and y are nonzero and z is zero.
56482         [BZ #14811]
56483         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56484         nonzero exponents with absolute value below 0x1p-117 to +/-
56485         0x1p-117.
56487         [BZ #14869]
56488         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56489         up arguments below 2**-450, not just those below 2**-500.
56490         * math/libm-test.inc (hypot_test): Add another test.
56492         [BZ #14868]
56493         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56494         Return a+b for ratio over 2**120, not 2**60.
56495         * math/libm-test.inc (hypot_test): Add another test.
56497         * math/libm-test.inc (clog_test): Use
56498         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56499         (clog10_test): Likewise.
56501         [BZ #6778]
56502         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56504 2012-11-22  Andreas Schwab  <schwab@suse.de>
56506         * sysdeps/i386/fpu/libm-test-ulps: Update.
56508 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56510         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56511         printf output with newline.
56513 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56515         [BZ #14865]
56516         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56517         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56518         -z nodlopen, -z initfirst and -z execstack support.
56519         * configure: Regenerated.
56521         * elf/elf.h (DF_1_NODIRECT): New macro.
56522         (DF_1_IGNMULDEF): Likewise.
56523         (DF_1_NOKSYMS): Likewise.
56524         (DF_1_NOHDR): Likewise.
56525         (DF_1_EDITED): Likewise.
56526         (DF_1_NORELOC): Likewise.
56527         (DF_1_SYMINTPOSE): Likewise.
56528         (DF_1_GLOBAUDIT): Likewise.
56529         (DF_1_SINGLETON): Likewise.
56530         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56531         DT_1_SUPPORTED_MASK bits.
56532         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56534 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56536         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56538 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56540         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56541         macro.
56543         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56544         (sendmmsg): Move declarations...
56545         * socket/sys/socket.h: ... here.
56546         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56547         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56548         include it from...
56549         * socket/recvmmsg.c: ... this new file.
56550         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56551         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56552         definition of __sendmmsg hidden.
56553         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56554         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56555         Move ENOSYS stub into and include it from...
56556         * socket/sendmmsg.c: ... this new file.
56557         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56558         (sysdep_routines): Move recvmmsg and sendmmsg...
56559         * socket/Makefile (routines): ... here.
56560         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56561         (GLIBC_PRIVATE): Add __sendmmsg.
56562         * include/sys/socket.h (__sendmmsg): Add declarations.
56563         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56564         sendmmsg.
56566 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56568         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56569         variable I1 with __attribute__ ((unused)).
56570         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56572 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56574         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56575         DUMMY variables with __attribute__ ((unused)).
56577         * bits/byteswap.h: Include <bits/types.h>.
56578         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56580 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56582         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56583         string_t.  Do not manually set errno.
56584         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56585         length with __strnlen.  Make sure to both set errno and return it on
56586         failure.
56588 2012-11-19  David S. Miller  <davem@davemloft.net>
56590         With help from Joseph Myers.
56591         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56592         very large arguments properly.
56593         * math/libm-test.inc (atan_test): New tests.
56594         (atan2_test): New tests.
56595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56598 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56600         [BZ #14856]
56601         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56602         Define to 3.
56604         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56605         [POSIX] (EADDRNOTAVAIL): Likewise.
56606         [POSIX] (EAFNOSUPPORT): Likewise.
56607         [POSIX] (EALREADY): Likewise.
56608         [POSIX] (ECONNABORTED): Likewise.
56609         [POSIX] (ECONNREFUSED): Likewise.
56610         [POSIX] (ECONNRESET): Likewise.
56611         [POSIX] (EDESTADDRREQ): Likewise.
56612         [POSIX] (EDQUOT): Likewise.
56613         [POSIX] (EHOSTUNREACH): Likewise.
56614         [POSIX] (EIDRM): Likewise.
56615         [POSIX] (EISCONN): Likewise.
56616         [POSIX] (ELOOP): Likewise.
56617         [POSIX] (EMULTIHOP): Likewise.
56618         [POSIX] (ENETDOWN): Likewise.
56619         [POSIX] (ENETUNREACH): Likewise.
56620         [POSIX] (ENOBUFS): Likewise.
56621         [POSIX] (ENODATA): Likewise.
56622         [POSIX] (ENOLINK): Likewise.
56623         [POSIX] (ENOMSG): Likewise.
56624         [POSIX] (ENOPROTOOPT): Likewise.
56625         [POSIX] (ENOSR): Likewise.
56626         [POSIX] (ENOSTR): Likewise.
56627         [POSIX] (ENOTCONN): Likewise.
56628         [POSIX] (ENOTSOCK): Likewise.
56629         [POSIX] (EOPNOTSUPP): Likewise.
56630         [POSIX] (EOVERFLOW): Likewise.
56631         [POSIX] (EPROTO): Likewise.
56632         [POSIX] (EPROTONOSUPPORT): Likewise.
56633         [POSIX] (EPROTOTYPE): Likewise.
56634         [POSIX] (ESTALE): Likewise.
56635         [POSIX] (ETIME): Likewise.
56636         [POSIX] (ETXTBSY): Likewise.
56637         [POSIX] (EWOULDBLOCK): Likewise.
56638         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56639         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56640         [POSIX] (SEEK_CUR): Likewise.
56641         [POSIX] (SEEK_END): Likewise.
56642         [POSIX || UNIX98] (mode_t): Do not require.
56643         [POSIX] (off_t): Likewise.
56644         [POSIX] (pid_t): Likewise.
56645         [POSIX] (sys/stat.h): Do not allow header.
56646         [POSIX] (unistd.h): Likewise.
56647         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56648         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56649         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56650         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56651         require.
56652         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56653         sigevent): Specify elements.
56654         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56655         entry.
56656         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56657         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56659         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56660         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56661         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56662         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56663         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56664         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56665         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56666         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56667         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56668         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56669         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56670         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56671         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56672         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56673         Likewise.
56674         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56675         Likewise.
56676         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56677         Likewise.
56678         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56679         Likewise.
56680         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56681         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56682         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56683         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56684         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56685         Specify lower bound on value.
56686         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56687         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56688         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56689         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56690         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56691         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56692         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56693         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56694         value.
56695         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56696         as optional.
56697         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56698         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56699         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56700         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56701         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56702         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56703         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56704         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56705         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56706         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56707         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56708         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56709         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56710         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56711         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56712         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56713         entry.
56714         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56715         optional.
56716         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56717         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56718         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56719         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56720         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56721         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56722         Likewise.
56723         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56724         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56725         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56726         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56727         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56728         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56729         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56730         as optional.
56731         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56732         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56733         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56734         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56735         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56736         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56737         specify as optional.
56738         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56739         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56740         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56741         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56742         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56743         [XPG3] (NL_LANGMAX): Likewise.
56744         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56745         [POSIX || XPG3] (NL_NMAX): Likewise.
56746         [POSIX || XPG3] (NL_SETMAX): Likewise.
56747         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56748         [XPG3] (NZERO): Likewise.
56749         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56750         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56751         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56752         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56753         (REG_ERANGE): Expect.
56754         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56755         optional-constant.
56756         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56757         Use (void) in prototype.
56758         [POSIX] (*_t): Allow.
56759         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56760         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56761         (WRDE_BADVAL): Expect.
56763         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56764         expect.
56765         [XPG3 || XPG4] (O_RSYNC): Likewise.
56766         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56767         Likewise.
56768         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56769         [XPG3 || XPG4] (sigqueue): Likewise.
56770         [XPG3 || XPG4] (sigtimedwait): Likewise.
56771         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56772         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56773         [XPG3 || XPG4] (vsnprintf): Likewise.
56774         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56775         Likewise.
56776         [XPG3 || XPG4] (blksize_t): Likewise.
56777         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56778         Likewise.
56779         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56780         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56781         [XPG3 || XPG4] (struct itimerspec): Likewise.
56782         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56783         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56784         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56785         [XPG3 || XPG4] (clockid_t): Likewise.
56786         [XPG3 || XPG4] (timer_t): Likewise.
56787         [XPG3 || XPG4] (clock_getres): Likewise.
56788         [XPG3 || XPG4] (clock_gettime): Likewise.
56789         [XPG3 || XPG4] (clock_settime): Likewise.
56790         [XPG3 || XPG4] (nanosleep): Likewise.
56791         [XPG3 || XPG4] (timer_create): Likewise.
56792         [XPG3 || XPG4] (timer_delete): Likewise.
56793         [XPG3 || XPG4] (timer_gettime): Likewise.
56794         [XPG3 || XPG4] (timer_getoverrun): Likewise.
56795         [XPG3 || XPG4] (timer_settime): Likewise.
56796         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56797         [XPG3 || XPG4] (getlogin_r): Likewise.
56798         [XPG3 || XPG4] (pread): Likewise.
56799         [XPG3 || XPG4] (pthread_atfork): Likewise.
56800         [XPG3 || XPG4] (pwrite): Likewise.
56802         [BZ #14835]
56803         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56804         <bits/siginfo.h>.
56806 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56808         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56809         finalizing MALLSTREAM.
56811         * sysdeps/mach/hurd/syncfs.c: New file.
56813 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56815         [BZ #14719]
56816         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56817         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56818         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56819         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56820         (_nss_dns_gethostbyname4_r): Likewise.
56821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56822         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56824 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
56826         [BZ #13763]
56827         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56829 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
56831         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56832         * elf/cache.c (print_entry): Print ",AArch64" for
56833         FLAG_AARCH64_LIB64
56835         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56836         * elf/cache.c (print_entry): Print ",hard-float" for
56837         FLAG_ARM_LIBHF.
56839 2012-11-18  David S. Miller  <davem@davemloft.net>
56841         With help from Joseph Myers.
56842         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56843         cutoff to 2**-13.
56844         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56845         cutoff to 2**-25.
56846         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56847         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56848         small.
56849         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56850         * math/libm-test.inc (y0_test): New tests.
56851         (y1_test): New tests.
56852         * sysdeps/i386/fpu/libm-test-ulps: Update.
56853         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56856 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56858         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56859         64-bit targets.
56860         * configure: Regenerated.
56862 2012-11-17  David S. Miller  <davem@davemloft.net>
56864         [BZ #14811]
56865         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56866         nonzero exponents with absolute value below 0x1p-128 to +/-
56867         0x1p-128.
56869 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56871         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56873         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56875         * posix/getconf-speclist.c: New file.
56876         * posix/posix-envs.def: Likewise.
56877         * posix/confstr.c (START_ENV_GROUP): New macro.
56878         (END_ENV_GROUP): Likewise.
56879         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56880         (KNOWN_PRESENT_ENV_STRING): Likewise.
56881         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56882         (UNKNOWN_ENVIRONMENT): Likewise.
56883         (confstr): Include posix-envs.def instead of handling
56884         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56885         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56886         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56887         (END_ENV_GROUP): Likewise.
56888         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56889         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56890         (UNKNOWN_ENVIRONMENT): Likewise.
56891         (__sysconf): Include posix-envs.def instead of handling associated
56892         cases directly here.
56893         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56894         preprocessing getconf-speclist.c rather than running getconf or
56895         generating empty file.
56897 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56899         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56901 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56903         [BZ #14672]
56904         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56906 2012-11-16  David S. Miller  <davem@davemloft.net>
56908         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56909         smaller than LDBL_EPSILON/2.0L, just return xm1.
56911 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56913         * elf/tst-array1.c (init): Set constructor priority to 1000.
56914         (fini): Set destructor priority to 1000.
56915         * elf/tst-array2dep.c: Likewise.
56917 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56919         [BZ #11741]
56920         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56921         (_IO_new_file_xsputn): Also return EOF if none of the input
56922         data was written when overflow failed.
56923         * libio/iopadn.c (_IO_padn): Likewise.
56924         * libio/iowpadn.c (_IO_wpadn): Likewise.
56925         * stdio-common/tst-put-error.c: Add copyright notice.
56926         (do_test): Add case for printing padded string.
56927         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56928         _IO_padn returned error.
56929         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56930         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56931         return EOF.
56933 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56935         * libio/libioP.h: Add comment note that the references to C++
56936         bits are now obsolete.
56938 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56940         * math/libm-test.inc (check_complex): Use asprintf.
56942 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56944         * debug/pcprofiledump.c (print_version): Update copyright year.
56945         * malloc/memusagestat.c (print_version): Likewise.
56947 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56949         [BZ #14831]
56950         * elf/Makefile (tests): Add tst-audit8.
56951         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56952         ($(objpfx)tst-audit8.out): New target.
56953         (tst-audit8-ENV): New variable.
56954         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56955         audit if l_reloc_result is NULL.
56956         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56957         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56958         * elf/tst-audit8.c: New file.
56960 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56962         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56963         * misc/Makefile (CFLAGS-select.c): Define.
56964         * posix/Makefile (CFLAGS-pause.c): Define.
56966 2012-11-13  David S. Miller  <davem@davemloft.net>
56968         * crypt/Makefile: Move test targets after toplevel Rules
56969         inclusion.  Grab any necessary sysdep routines when linking.
56970         * crypt/md5.c (md5_process_block): Remove define, we will always
56971         name it __md5_process_block.
56972         (md5_finish_ctx): Update md5_process_block call.
56973         (md5_stream): Likewise.
56974         (md5_process_bytes): Likewise.
56975         (md5_process_block): Rename to __md5_process_block and move to ...
56976         * crypt/md5-block.c: ... here.
56977         * crypt/sha256.c (sha256_process_block): Move to ...
56978         * crypt/sha256-block.c: ... here.
56979         * crypt/sha512.c (sha512_process_block): Move to ...
56980         * crypt/sha512-block.c: ... here.
56981         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56982         path.
56983         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56984         * sysdeps/sparc/sparc64/multiarch/Makefile
56985         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56986         crypt subdir.
56987         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56988         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56989         multiarch changes.
56990         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56991         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56992         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56993         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56994         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56995         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56996         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56997         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56998         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56999         file.
57000         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57001         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57002         file.
57003         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57005 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57007         * timezone/tzselect.ksh: Update from tzcode git revision
57008         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57009         * timezone/zdump.c: Likewise.
57010         * timezone/zic.c: Likewise.
57011         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57012         in TZVERSION setting, not $(PKGVERSION).
57013         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57014         REPORT_BUGS_TO settings.
57016         [BZ #14838]
57017         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57018         macro.
57020 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57022         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57023         detection to immediately after _FP_ROUND().
57024         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57025         bits are 0.
57027 2012-11-11  David S. Miller  <davem@davemloft.net>
57029         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57030         inttypes.h
57031         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57032         __close rather than their public counterparts.
57034 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57036         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57037         file.
57038         [UNIX98] (sem_timedwait): Do not expect.
57039         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57040         [XPG4 || UNIX98] (sockatmark): Do not expect.
57041         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57042         (clock_getcpuclockid): Do not expect.
57043         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57044         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57045         Do not expect.
57046         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57047         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57048         [UNIX98] (vwscanf): Likewise.
57049         [UNIX98] (vswscanf): Likewise.
57051 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57053         * timezone/version.h: Remove file.
57054         * timezone/README: Do not refer to version.h.
57055         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57056         $(objpfx)version.h.
57057         ($(objpfx)zdump.o): Likewise.
57058         ($(objpfx)version.h): New target.
57060         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57061         2012i.
57062         * timezone/README: Don't mention modification to tzselect.ksh.
57063         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57064         work on unmodified tzselect.ksh.  Substitute version numbers in
57065         tzselect.ksh.
57067         * Makefile (format-me): Remove.
57068         (INSTALL): Adjust indentation.  Use commands directly instead of
57069         using $(format-me).
57071         * aclocal.m4 (ACX_PKGVERSION): New macro.
57072         (ACX_BUGURL): Likewise.
57073         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57074         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57075         (REPORT_BUGS_TO): Likewise.
57076         * configure: Regenerated.
57077         * config.h.in (PKGVERSION): New macro.
57078         (REPORT_BUGS_TO): Likewise.
57079         * config.make.in (PKGVERSION): New variable.
57080         (PKGVERSION_TEXI): Likewise.
57081         (REPORT_BUGS_TO): Likewise.
57082         (REPORT_BUGS_TEXI): Likewise.
57083         * Makefile (format-me): Use -I$(common-objpfx)manual.
57084         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57085         ($(common-objpfx)manual/%): New target.
57086         (manual/%): Remove target.
57087         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57088         (print_version): Use PKGVERSION.
57089         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57090         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57091         and REPORT_BUGS_TO.
57092         ($(objpfx)xtrace): Likewise.
57093         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57094         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57095         (print_version): Use PKGVERSION.
57096         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57097         (do_version): Use PKGVERSION.
57098         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57099         REPORT_BUGS_TO.
57100         (common-ldd-rewrite): Likewise.
57101         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57102         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57103         (print_version): Use PKGVERSION.
57104         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57105         * elf/pldd.c (argp_program_bug_address): Remove variable.
57106         (more_help): New function.
57107         (argp): Use more_help.
57108         (print_version): Use PKGVERSION.
57109         * elf/sln.c (main): Use PKGVERSION.
57110         (usage): Use REPORT_BUGS_TO.
57111         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57112         (top level): Use PKGVERSION.
57113         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57114         (print_version): Use PKGVERSION.
57115         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57116         (print_version): Use PKGVERSION.
57117         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57118         (print_version): Use PKGVERSION.
57119         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57120         (print_version): Use PKGVERSION.
57121         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57122         (print_version): Use PKGVERSION.
57123         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57124         (print_version): Use PKGVERSION.
57125         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57126         and BUGURL.
57127         ($(objpfx)memusage): Likewise.
57128         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57129         (do_version): Use PKGVERSION.
57130         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57131         (print_version): Use PKGVERSION.
57132         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57133         ($PKGVERSION): New variable.
57134         ($REPORT_BUGS_TO): Likewise.
57135         (usage): Use $REPORT_BUGS_TO.
57136         (top level): Use $PKGVERSION.
57137         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57138         ($(objpfx)pkgvers.texi): New rule.
57139         ($(objpfx)stamp-pkgvers): Likewise.
57140         * manual/install.texi: Include pkgvers.texi.
57141         (--with-pkgversion): Document new configure option.
57142         (--with-bugurl): Likewise.
57143         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57144         than necessarily for this particular distribution.  Use
57145         REPORT_BUGS_TO for where to report bugs.
57146         * INSTALL: Regenerated.
57147         * manual/libc.texinfo: Include pkgvers.texi.
57148         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57149         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57150         (print_version): Use PKGVERSION.
57151         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57152         (print_version): Use PKGVERSION.
57153         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57154         (print_version): Use PKGVERSION.
57155         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57156         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57157         macro.
57158         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57159         (print_version): Use PKGVERSION.
57160         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57161         (print_version): Use PKGVERSION.
57162         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57163         and PKGVERSION.
57165         * timezone/checktab.awk: Update from tzcode 2012i.
57166         * timezone/ialloc.c: Likewise.
57167         * timezone/private.h: Likewise.
57168         * timezone/scheck.c: Likewise.
57169         * timezone/tzfile.h: Likewise.
57170         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57171         (TZVERSION): Hardcode tzcode version number.
57172         * timezone/zdump.c: Update from tzcode 2012i.
57173         * timezone/zic.c: Likewise.
57174         * timezone/version.h: New file.
57175         * timezone/README: Describe version.h.  Update upstream location.
57177         [BZ #14824]
57178         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57179         (mktemp): Enable declaration.
57180         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57181         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57182         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57183         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57184         Likewise.
57185         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57186         Likewise.
57187         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57188         Likewise.
57189         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57190         Likewise.
57191         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57192         Likewise.
57193         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57194         Likewise.
57196         [BZ #14821]
57197         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57198         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57199         for copies of such integer values.
57200         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57201         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57203 2012-11-09  Andreas Jaeger  <aj@suse.de>
57205         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57206         definitions and declarations that are provided by
57207         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57209 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57211         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57212         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57213         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57214         definition.
57216 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57218         * elf/elf.h: Update comment before AArch64 relocations.
57220 2012-11-07  David S. Miller  <davem@davemloft.net>
57222         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57223         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57224         (__start_context): Declare.
57225         (__makecontext_ret): Delete.
57226         (__makecontext): Hook up __start_context instead of
57227         __makecontext_ret.
57228         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57229         (sysdep_routines): Add __start_context when in stdlib.
57231 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57233         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57234         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57235         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57236         hardcoded "nm".
57237         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57238         (READELF): New variable.  Use it instead of hardcoded "readelf".
57240 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57242         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57243         * sysdeps/x86/Makefile: Here.
57244         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57245         * sysdeps/x86/tst-xmmymm.sh: This.
57247 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57249         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57250         expectations.
57251         [UNIX98] (pthread_barrier_t): Do not expect.
57252         [UNIX98] (pthread_barrierattr_t): Likewise.
57253         [UNIX98] (pthread_spinlock_t): Likewise.
57254         [UNIX98] (pthread_barrier_destroy): Likewise.
57255         [UNIX98] (pthread_barrier_init): Likewise.
57256         [UNIX98] (pthread_barrier_wait): Likewise.
57257         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57258         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57259         [UNIX98] (pthread_barrierattr_init): Likewise.
57260         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57261         [UNIX98] (pthread_getcpuclockid): Likewise.
57262         [UNIX98] (pthread_mutex_timedlock): Likewise.
57263         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57264         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57265         [UNIX98] (pthread_sigmask): Likewise.
57266         [UNIX98] (pthread_spin_destroy): Likewise.
57267         [UNIX98] (pthread_spin_init): Likewise.
57268         [UNIX98] (pthread_spin_lock): Likewise.
57269         [UNIX98] (pthread_spin_trylock): Likewise.
57270         [UNIX98] (pthread_spin_unlock): Likewise.
57271         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57272         Do not expect.
57273         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57274         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57275         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57276         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57277         [XPG3 || XPG4] (pthread_key_t): Likewise.
57278         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57279         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57280         [XPG3 || XPG4] (pthread_once_t): Likewise.
57281         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57282         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57283         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57284         [XPG3 || XPG4] (pthread_t): Likewise.
57286         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57287         not expect.
57288         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57290         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57291         Change function return type to int.
57293         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57294         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57295         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57296         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57297         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57298         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57299         [!POSIX] (posix_madvise): Likewise.
57300         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57301         && !UNIX98].
57302         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57303         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57304         (mode_t): Likewise.
57305         (posix_mem_offset): Likewise.
57306         (posix_typed_mem_get_info): Likewise.
57307         (posix_typed_mem_open): Likewise.
57309         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57310         Change condition to [XOPEN2K8].
57312         * conform/conformtest.pl: Preprocess allow-header data with -x c
57313         instead of from stdin.
57314         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57315         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57316         [C99-based standards] (cerfc): Likewise.
57317         [C99-based standards] (cexp2): Likewise.
57318         [C99-based standards] (cexpm1): Likewise.
57319         [C99-based standards] (clog10): Likewise.
57320         [C99-based standards] (clog1p): Likewise.
57321         [C99-based standards] (clog2): Likewise.
57322         [C99-based standards] (clgamma): Likewise.
57323         [C99-based standards] (ctgamma): Likewise.
57324         [C99-based standards] (cerff): Likewise.
57325         [C99-based standards] (cerfcf): Likewise.
57326         [C99-based standards] (cexp2f): Likewise.
57327         [C99-based standards] (cexpm1f): Likewise.
57328         [C99-based standards] (clog10f): Likewise.
57329         [C99-based standards] (clog1pf): Likewise.
57330         [C99-based standards] (clog2f): Likewise.
57331         [C99-based standards] (clgammaf): Likewise.
57332         [C99-based standards] (ctgammaf): Likewise.
57333         [C99-based standards] (cerfl): Likewise.
57334         [C99-based standards] (cerfcl): Likewise.
57335         [C99-based standards] (cexp2l): Likewise.
57336         [C99-based standards] (cexpm1l): Likewise.
57337         [C99-based standards] (clog10l): Likewise.
57338         [C99-based standards] (clog1pl): Likewise.
57339         [C99-based standards] (clog2l): Likewise.
57340         [C99-based standards] (clgammal): Likewise.
57341         [C99-based standards] (ctgammal): Likewise.
57342         * conform/data/inttypes.h-data [C99-based standards]: Include
57343         stdint.h-data.  Remove all expectations for stdint.h contents.
57344         [C99-based standards] (PRI*): Do not allow.
57345         [C99-based standards] (SCN*): Likewise.
57346         [C99-based standards] (*_t): Likewise.
57347         [C99-based-standards] (PRId8): Expect macro.
57348         [C99-based-standards] (PRIi8): Likewise.
57349         [C99-based-standards] (PRIo8): Likewise.
57350         [C99-based-standards] (PRIu8): Likewise.
57351         [C99-based-standards] (PRIx8): Likewise.
57352         [C99-based-standards] (PRIX8): Likewise.
57353         [C99-based-standards] (SCNd8): Likewise.
57354         [C99-based-standards] (SCNi8): Likewise.
57355         [C99-based-standards] (SCNo8): Likewise.
57356         [C99-based-standards] (SCNu8): Likewise.
57357         [C99-based-standards] (SCNx8): Likewise.
57358         [C99-based-standards] (PRIdLEAST8): Likewise.
57359         [C99-based-standards] (PRIiLEAST8): Likewise.
57360         [C99-based-standards] (PRIoLEAST8): Likewise.
57361         [C99-based-standards] (PRIuLEAST8): Likewise.
57362         [C99-based-standards] (PRIxLEAST8): Likewise.
57363         [C99-based-standards] (PRIXLEAST8): Likewise.
57364         [C99-based-standards] (SCNdLEAST8): Likewise.
57365         [C99-based-standards] (SCNiLEAST8): Likewise.
57366         [C99-based-standards] (SCNoLEAST8): Likewise.
57367         [C99-based-standards] (SCNuLEAST8): Likewise.
57368         [C99-based-standards] (SCNxLEAST8): Likewise.
57369         [C99-based-standards] (PRIdFAST8): Likewise.
57370         [C99-based-standards] (PRIiFAST8): Likewise.
57371         [C99-based-standards] (PRIoFAST8): Likewise.
57372         [C99-based-standards] (PRIuFAST8): Likewise.
57373         [C99-based-standards] (PRIxFAST8): Likewise.
57374         [C99-based-standards] (PRIXFAST8): Likewise.
57375         [C99-based-standards] (SCNdFAST8): Likewise.
57376         [C99-based-standards] (SCNiFAST8): Likewise.
57377         [C99-based-standards] (SCNoFAST8): Likewise.
57378         [C99-based-standards] (SCNuFAST8): Likewise.
57379         [C99-based-standards] (SCNxFAST8): Likewise.
57380         [C99-based-standards] (PRId16): Likewise.
57381         [C99-based-standards] (PRIi16): Likewise.
57382         [C99-based-standards] (PRIo16): Likewise.
57383         [C99-based-standards] (PRIu16): Likewise.
57384         [C99-based-standards] (PRIx16): Likewise.
57385         [C99-based-standards] (PRIX16): Likewise.
57386         [C99-based-standards] (SCNd16): Likewise.
57387         [C99-based-standards] (SCNi16): Likewise.
57388         [C99-based-standards] (SCNo16): Likewise.
57389         [C99-based-standards] (SCNu16): Likewise.
57390         [C99-based-standards] (SCNx16): Likewise.
57391         [C99-based-standards] (PRIdLEAST16): Likewise.
57392         [C99-based-standards] (PRIiLEAST16): Likewise.
57393         [C99-based-standards] (PRIoLEAST16): Likewise.
57394         [C99-based-standards] (PRIuLEAST16): Likewise.
57395         [C99-based-standards] (PRIxLEAST16): Likewise.
57396         [C99-based-standards] (PRIXLEAST16): Likewise.
57397         [C99-based-standards] (SCNdLEAST16): Likewise.
57398         [C99-based-standards] (SCNiLEAST16): Likewise.
57399         [C99-based-standards] (SCNoLEAST16): Likewise.
57400         [C99-based-standards] (SCNuLEAST16): Likewise.
57401         [C99-based-standards] (SCNxLEAST16): Likewise.
57402         [C99-based-standards] (PRIdFAST16): Likewise.
57403         [C99-based-standards] (PRIiFAST16): Likewise.
57404         [C99-based-standards] (PRIoFAST16): Likewise.
57405         [C99-based-standards] (PRIuFAST16): Likewise.
57406         [C99-based-standards] (PRIxFAST16): Likewise.
57407         [C99-based-standards] (PRIXFAST16): Likewise.
57408         [C99-based-standards] (SCNdFAST16): Likewise.
57409         [C99-based-standards] (SCNiFAST16): Likewise.
57410         [C99-based-standards] (SCNoFAST16): Likewise.
57411         [C99-based-standards] (SCNuFAST16): Likewise.
57412         [C99-based-standards] (SCNxFAST16): Likewise.
57413         [C99-based-standards] (PRId32): Likewise.
57414         [C99-based-standards] (PRIi32): Likewise.
57415         [C99-based-standards] (PRIo32): Likewise.
57416         [C99-based-standards] (PRIu32): Likewise.
57417         [C99-based-standards] (PRIx32): Likewise.
57418         [C99-based-standards] (PRIX32): Likewise.
57419         [C99-based-standards] (SCNd32): Likewise.
57420         [C99-based-standards] (SCNi32): Likewise.
57421         [C99-based-standards] (SCNo32): Likewise.
57422         [C99-based-standards] (SCNu32): Likewise.
57423         [C99-based-standards] (SCNx32): Likewise.
57424         [C99-based-standards] (PRIdLEAST32): Likewise.
57425         [C99-based-standards] (PRIiLEAST32): Likewise.
57426         [C99-based-standards] (PRIoLEAST32): Likewise.
57427         [C99-based-standards] (PRIuLEAST32): Likewise.
57428         [C99-based-standards] (PRIxLEAST32): Likewise.
57429         [C99-based-standards] (PRIXLEAST32): Likewise.
57430         [C99-based-standards] (SCNdLEAST32): Likewise.
57431         [C99-based-standards] (SCNiLEAST32): Likewise.
57432         [C99-based-standards] (SCNoLEAST32): Likewise.
57433         [C99-based-standards] (SCNuLEAST32): Likewise.
57434         [C99-based-standards] (SCNxLEAST32): Likewise.
57435         [C99-based-standards] (PRIdFAST32): Likewise.
57436         [C99-based-standards] (PRIiFAST32): Likewise.
57437         [C99-based-standards] (PRIoFAST32): Likewise.
57438         [C99-based-standards] (PRIuFAST32): Likewise.
57439         [C99-based-standards] (PRIxFAST32): Likewise.
57440         [C99-based-standards] (PRIXFAST32): Likewise.
57441         [C99-based-standards] (SCNdFAST32): Likewise.
57442         [C99-based-standards] (SCNiFAST32): Likewise.
57443         [C99-based-standards] (SCNoFAST32): Likewise.
57444         [C99-based-standards] (SCNuFAST32): Likewise.
57445         [C99-based-standards] (SCNxFAST32): Likewise.
57446         [C99-based-standards] (PRId64): Likewise.
57447         [C99-based-standards] (PRIi64): Likewise.
57448         [C99-based-standards] (PRIo64): Likewise.
57449         [C99-based-standards] (PRIu64): Likewise.
57450         [C99-based-standards] (PRIx64): Likewise.
57451         [C99-based-standards] (PRIX64): Likewise.
57452         [C99-based-standards] (SCNd64): Likewise.
57453         [C99-based-standards] (SCNi64): Likewise.
57454         [C99-based-standards] (SCNo64): Likewise.
57455         [C99-based-standards] (SCNu64): Likewise.
57456         [C99-based-standards] (SCNx64): Likewise.
57457         [C99-based-standards] (PRIdLEAST64): Likewise.
57458         [C99-based-standards] (PRIiLEAST64): Likewise.
57459         [C99-based-standards] (PRIoLEAST64): Likewise.
57460         [C99-based-standards] (PRIuLEAST64): Likewise.
57461         [C99-based-standards] (PRIxLEAST64): Likewise.
57462         [C99-based-standards] (PRIXLEAST64): Likewise.
57463         [C99-based-standards] (SCNdLEAST64): Likewise.
57464         [C99-based-standards] (SCNiLEAST64): Likewise.
57465         [C99-based-standards] (SCNoLEAST64): Likewise.
57466         [C99-based-standards] (SCNuLEAST64): Likewise.
57467         [C99-based-standards] (SCNxLEAST64): Likewise.
57468         [C99-based-standards] (PRIdFAST64): Likewise.
57469         [C99-based-standards] (PRIiFAST64): Likewise.
57470         [C99-based-standards] (PRIoFAST64): Likewise.
57471         [C99-based-standards] (PRIuFAST64): Likewise.
57472         [C99-based-standards] (PRIxFAST64): Likewise.
57473         [C99-based-standards] (PRIXFAST64): Likewise.
57474         [C99-based-standards] (SCNdFAST64): Likewise.
57475         [C99-based-standards] (SCNiFAST64): Likewise.
57476         [C99-based-standards] (SCNoFAST64): Likewise.
57477         [C99-based-standards] (SCNuFAST64): Likewise.
57478         [C99-based-standards] (SCNxFAST64): Likewise.
57479         [C99-based-standards] (PRIdMAX): Likewise.
57480         [C99-based-standards] (PRIiMAX): Likewise.
57481         [C99-based-standards] (PRIoMAX): Likewise.
57482         [C99-based-standards] (PRIuMAX): Likewise.
57483         [C99-based-standards] (PRIxMAX): Likewise.
57484         [C99-based-standards] (PRIXMAX): Likewise.
57485         [C99-based-standards] (SCNdMAX): Likewise.
57486         [C99-based-standards] (SCNiMAX): Likewise.
57487         [C99-based-standards] (SCNoMAX): Likewise.
57488         [C99-based-standards] (SCNuMAX): Likewise.
57489         [C99-based-standards] (SCNxMAX): Likewise.
57490         [C99-based-standards] (PRIdPTR): Likewise.
57491         [C99-based-standards] (PRIiPTR): Likewise.
57492         [C99-based-standards] (PRIoPTR): Likewise.
57493         [C99-based-standards] (PRIuPTR): Likewise.
57494         [C99-based-standards] (PRIxPTR): Likewise.
57495         [C99-based-standards] (PRIXPTR): Likewise.
57496         [C99-based-standards] (SCNdPTR): Likewise.
57497         [C99-based-standards] (SCNiPTR): Likewise.
57498         [C99-based-standards] (SCNoPTR): Likewise.
57499         [C99-based-standards] (SCNuPTR): Likewise.
57500         [C99-based-standards] (SCNxPTR): Likewise.
57501         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57502         allow.
57503         * conform/data/stdint.h-data: Update comments to clarify
57504         requirements.
57505         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57506         type.
57507         [C99-based standards] (INT8_MAX): Likewise.
57508         [C99-based standards] (INT16_MIN): Likewise.
57509         [C99-based standards] (INT16_MAX): Likewise.
57510         [C99-based standards] (INT32_MIN): Likewise.
57511         [C99-based standards] (INT32_MAX): Likewise.
57512         [C99-based standards] (INT64_MIN): Likewise.
57513         [C99-based standards] (INT64_MAX): Likewise.
57514         [C99-based standards] (UINT8_MAX): Likewise.
57515         [C99-based standards] (UINT16_MAX): Likewise.
57516         [C99-based standards] (UINT32_MAX): Likewise.
57517         [C99-based standards] (UINT64_MAX): Likewise.
57518         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57519         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57520         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57521         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57522         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57523         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57524         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57525         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57526         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57527         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57528         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57529         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57530         [C99-based standards] (INT_FAST8_MIN): Likewise.
57531         [C99-based standards] (INT_FAST8_MAX): Likewise.
57532         [C99-based standards] (INT_FAST16_MIN): Likewise.
57533         [C99-based standards] (INT_FAST16_MAX): Likewise.
57534         [C99-based standards] (INT_FAST32_MIN): Likewise.
57535         [C99-based standards] (INT_FAST32_MAX): Likewise.
57536         [C99-based standards] (INT_FAST64_MIN): Likewise.
57537         [C99-based standards] (INT_FAST64_MAX): Likewise.
57538         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57539         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57540         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57541         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57542         [C99-based standards] (INTPTR_MIN): Likewise.
57543         [C99-based standards] (INTPTR_MAX): Likewise.
57544         [C99-based standards] (UINTPTR_MAX): Likewise.
57545         [C99-based standards] (INTMAX_MIN): Likewise.
57546         [C99-based standards] (INTMAX_MAX): Likewise.
57547         [C99-based standards] (UINTMAX_MAX): Likewise.
57548         [C99-based standards] (PTRDIFF_MIN): Likewise.
57549         [C99-based standards] (PTRDIFF_MAX): Likewise.
57550         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57551         [C99-based standards] (SIZE_MAX): Likewise.
57552         [C99-based standards] (WCHAR_MAX): Likewise.
57553         [C99-based standards] (WINT_MAX): Likewise.
57554         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57555         constraint on value.
57556         [C99-based standards] (WCHAR_MIN): Likewise.
57557         [C99-based standards] (WINT_MIN): Likewise.
57558         [C99-based standards] (*_t): Allow.
57559         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57560         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57561         Include math.h-data and complex.h-data.  Remove all expectations
57562         of math.h and complex.h contents.
57563         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57564         at end of line.
57565         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57566         (struct tm): Expect tag.
57567         [C99-based-standards] (wcstof): Expect function.
57568         [C99-based-standards] (wcstold): Likewise.
57569         [C99-based-standards] (wcstoll): Likewise.
57570         [C99-based-standards] (wcstoull): Likewise.
57571         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57572         macro-int-constant.  Specify type.
57573         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57574         constraint on value.
57575         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57576         Specify type.
57577         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57578         Specify value.
57579         [ISO C standards]: Do not allow headers.
57580         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57581         wcs[abcdefghijklmnopqrstuvwxyz]*.
57582         [ISO C standards] (*_t): Do not allow.
57583         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57584         Expect function.
57585         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57586         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57587         Specify type.
57588         [ISO C standards]: Do not allow headers.
57589         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57590         is[abcdefghijklmnopqrstuvwxyz]*.
57591         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57592         to[abcdefghijklmnopqrstuvwxyz]*.
57593         [ISO C standards] (*_t): Do not allow.
57594         * conform/data/stdalign.h-data: New file.
57595         * conform/data/stdbool.h-data: Likewise.
57596         * conform/data/stdnoreturn.h-data: Likewise.
57598 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57600         [BZ #14815]
57601         * manual/filesys.texi (Directory Entries): Typo fix.
57602         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57604 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57606         * elf/elf.h (EM_AARCH64): New macro.
57607         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57608         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57609         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57610         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57611         (R_AARCH64_TLSDESC): Likewise.
57612         (NT_ARM_TLS): Likewise.
57613         (NT_ARM_HW_BREAK): Likewise.
57614         (NT_ARM_HW_WATCH): Likewise.
57616 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57618         [BZ #14811]
57619         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57620         (__ieee754_powl): Saturate nonzero exponents with absolute value
57621         below 0x1p-79 to +/- 0x1p-79.
57622         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57623         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57624         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57625         nonzero exponents with absolute value below 0x1p-32 to +/-
57626         0x1p-32.
57627         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57628         (__ieee754_powl): Saturate nonzero exponents with absolute value
57629         below 0x1p-79 to +/- 0x1p-79.
57630         * math/libm-test.inc (pow_test): Add more tests.
57632 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57634         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57635         _dl_s390_cap_flags with kernel. Increase string length.
57636         (_dl_s390_platforms): Add z196 and zEC12.
57638 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57640         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57641         Change XOPEN21K to XOPEN2K.
57643 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57645         * string/memmove.c: Use memcpy when possible.
57647 2012-11-06  Andreas Jaeger  <aj@suse.de>
57649         * po/eo.po: Update from translation team.
57651 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57653         [BZ #14793]
57654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57655         exponent and small x and y exponents, scale x or y up.  Increase
57656         by 2 the exponent used in scaling up.
57657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57658         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57659         * math/libm-test.inc (fma_test): Add more tests.
57660         (fma_test_towardzero): Likewise.
57661         (fma_test_downward): Likewise.
57662         (fma_test_upward): Likewise.
57664 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57666         [BZ #14805]
57667         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57668         fenv_t *.
57670         [BZ #14801]
57671         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57672         namespace for names of struct fields.
57673         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57674         fenv_t fields.
57675         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57676         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57678 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57680         [BZ #3665]
57681         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57683 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57685         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57686         PTR_DEMANGLE.
57688         [BZ #5246]
57689         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57690         PTR_DEMANGLE.
57692 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57694         [BZ #14797]
57695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57696         definitely overflow as x * y not x * y + z.
57697         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57698         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57699         * math/libm-test.inc (fma_test): Add more tests.
57700         (fma_test_towardzero): Likewise.
57701         (fma_test_downward): Likewise.
57702         (fma_test_upward): Likewise.
57704 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57706         [BZ #157]
57708         * include/stub-tag.h: Remove file.
57709         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57710         '#include' of it.
57711         * manual/maint.texi (Porting): Don't reference it.
57712         * Makerules ($(objpfx)stubs): Likewise.
57713         * dirent/closedir.c: Don't include <stub-tag.h>.
57714         * dirent/dirfd.c: Likewise.
57715         * dirent/fdopendir.c: Likewise.
57716         * dirent/getdents.c: Likewise.
57717         * dirent/getdents64.c: Likewise.
57718         * dirent/opendir.c: Likewise.
57719         * dirent/readdir.c: Likewise.
57720         * dirent/readdir64.c: Likewise.
57721         * dirent/readdir64_r.c: Likewise.
57722         * dirent/readdir_r.c: Likewise.
57723         * dirent/rewinddir.c: Likewise.
57724         * dirent/seekdir.c: Likewise.
57725         * dirent/telldir.c: Likewise.
57726         * gmon/profil.c: Likewise.
57727         * grp/setgroups.c: Likewise.
57728         * inet/if_index.c: Likewise.
57729         * io/access.c: Likewise.
57730         * io/chdir.c: Likewise.
57731         * io/chmod.c: Likewise.
57732         * io/chown.c: Likewise.
57733         * io/close.c: Likewise.
57734         * io/dup.c: Likewise.
57735         * io/dup2.c: Likewise.
57736         * io/dup3.c: Likewise.
57737         * io/euidaccess.c: Likewise.
57738         * io/faccessat.c: Likewise.
57739         * io/fchdir.c: Likewise.
57740         * io/fchmod.c: Likewise.
57741         * io/fchmodat.c: Likewise.
57742         * io/fchown.c: Likewise.
57743         * io/fchownat.c: Likewise.
57744         * io/fcntl.c: Likewise.
57745         * io/flock.c: Likewise.
57746         * io/fstatfs.c: Likewise.
57747         * io/fstatfs64.c: Likewise.
57748         * io/fstatvfs.c: Likewise.
57749         * io/fstatvfs64.c: Likewise.
57750         * io/futimens.c: Likewise.
57751         * io/fxstat.c: Likewise.
57752         * io/fxstat64.c: Likewise.
57753         * io/fxstatat.c: Likewise.
57754         * io/fxstatat64.c: Likewise.
57755         * io/getcwd.c: Likewise.
57756         * io/isatty.c: Likewise.
57757         * io/lchmod.c: Likewise.
57758         * io/lchown.c: Likewise.
57759         * io/link.c: Likewise.
57760         * io/linkat.c: Likewise.
57761         * io/lseek.c: Likewise.
57762         * io/lseek64.c: Likewise.
57763         * io/lxstat64.c: Likewise.
57764         * io/mkdir.c: Likewise.
57765         * io/mkdirat.c: Likewise.
57766         * io/mkfifo.c: Likewise.
57767         * io/mkfifoat.c: Likewise.
57768         * io/open.c: Likewise.
57769         * io/open64.c: Likewise.
57770         * io/openat.c: Likewise.
57771         * io/openat64.c: Likewise.
57772         * io/pipe.c: Likewise.
57773         * io/pipe2.c: Likewise.
57774         * io/poll.c: Likewise.
57775         * io/posix_fadvise.c: Likewise.
57776         * io/posix_fadvise64.c: Likewise.
57777         * io/posix_fallocate.c: Likewise.
57778         * io/posix_fallocate64.c: Likewise.
57779         * io/read.c: Likewise.
57780         * io/readlink.c: Likewise.
57781         * io/readlinkat.c: Likewise.
57782         * io/rmdir.c: Likewise.
57783         * io/sendfile.c: Likewise.
57784         * io/sendfile64.c: Likewise.
57785         * io/statfs.c: Likewise.
57786         * io/statfs64.c: Likewise.
57787         * io/statvfs.c: Likewise.
57788         * io/statvfs64.c: Likewise.
57789         * io/symlink.c: Likewise.
57790         * io/symlinkat.c: Likewise.
57791         * io/ttyname.c: Likewise.
57792         * io/ttyname_r.c: Likewise.
57793         * io/umask.c: Likewise.
57794         * io/unlink.c: Likewise.
57795         * io/unlinkat.c: Likewise.
57796         * io/utime.c: Likewise.
57797         * io/utimensat.c: Likewise.
57798         * io/write.c: Likewise.
57799         * io/xmknod.c: Likewise.
57800         * io/xmknodat.c: Likewise.
57801         * io/xstat.c: Likewise.
57802         * io/xstat64.c: Likewise.
57803         * login/getpt.c: Likewise.
57804         * login/grantpt.c: Likewise.
57805         * login/unlockpt.c: Likewise.
57806         * math/e_acoshl.c: Likewise.
57807         * math/e_acosl.c: Likewise.
57808         * math/e_asinl.c: Likewise.
57809         * math/e_atan2l.c: Likewise.
57810         * math/e_atanhl.c: Likewise.
57811         * math/e_coshl.c: Likewise.
57812         * math/e_expl.c: Likewise.
57813         * math/e_fmodl.c: Likewise.
57814         * math/e_gammal_r.c: Likewise.
57815         * math/e_hypotl.c: Likewise.
57816         * math/e_j0l.c: Likewise.
57817         * math/e_j1l.c: Likewise.
57818         * math/e_jnl.c: Likewise.
57819         * math/e_lgammal_r.c: Likewise.
57820         * math/e_log10l.c: Likewise.
57821         * math/e_log2l.c: Likewise.
57822         * math/e_logl.c: Likewise.
57823         * math/e_powl.c: Likewise.
57824         * math/e_rem_pio2l.c: Likewise.
57825         * math/e_sinhl.c: Likewise.
57826         * math/e_sqrtl.c: Likewise.
57827         * math/fclrexcpt.c: Likewise.
57828         * math/fedisblxcpt.c: Likewise.
57829         * math/feenablxcpt.c: Likewise.
57830         * math/fegetenv.c: Likewise.
57831         * math/fegetexcept.c: Likewise.
57832         * math/fegetround.c: Likewise.
57833         * math/feholdexcpt.c: Likewise.
57834         * math/fesetenv.c: Likewise.
57835         * math/fesetround.c: Likewise.
57836         * math/feupdateenv.c: Likewise.
57837         * math/fgetexcptflg.c: Likewise.
57838         * math/fraiseexcpt.c: Likewise.
57839         * math/fsetexcptflg.c: Likewise.
57840         * math/ftestexcept.c: Likewise.
57841         * math/k_cosl.c: Likewise.
57842         * math/k_rem_pio2l.c: Likewise.
57843         * math/k_sinl.c: Likewise.
57844         * math/k_tanl.c: Likewise.
57845         * math/s_asinhl.c: Likewise.
57846         * math/s_atanl.c: Likewise.
57847         * math/s_cbrtl.c: Likewise.
57848         * math/s_erfl.c: Likewise.
57849         * math/s_expm1l.c: Likewise.
57850         * math/s_log1pl.c: Likewise.
57851         * math/s_tanhl.c: Likewise.
57852         * misc/acct.c: Likewise.
57853         * misc/brk.c: Likewise.
57854         * misc/chflags.c: Likewise.
57855         * misc/chroot.c: Likewise.
57856         * misc/fchflags.c: Likewise.
57857         * misc/fgetxattr.c: Likewise.
57858         * misc/flistxattr.c: Likewise.
57859         * misc/fremovexattr.c: Likewise.
57860         * misc/fsetxattr.c: Likewise.
57861         * misc/fsync.c: Likewise.
57862         * misc/ftruncate.c: Likewise.
57863         * misc/futimes.c: Likewise.
57864         * misc/futimesat.c: Likewise.
57865         * misc/getdomain.c: Likewise.
57866         * misc/getdtsz.c: Likewise.
57867         * misc/gethostid.c: Likewise.
57868         * misc/gethostname.c: Likewise.
57869         * misc/getloadavg.c: Likewise.
57870         * misc/getpagesize.c: Likewise.
57871         * misc/getsysstats.c: Likewise.
57872         * misc/getxattr.c: Likewise.
57873         * misc/gtty.c: Likewise.
57874         * misc/ioctl.c: Likewise.
57875         * misc/lgetxattr.c: Likewise.
57876         * misc/listxattr.c: Likewise.
57877         * misc/llistxattr.c: Likewise.
57878         * misc/lremovexattr.c: Likewise.
57879         * misc/lsetxattr.c: Likewise.
57880         * misc/lutimes.c: Likewise.
57881         * misc/madvise.c: Likewise.
57882         * misc/mincore.c: Likewise.
57883         * misc/mlock.c: Likewise.
57884         * misc/mlockall.c: Likewise.
57885         * misc/mmap.c: Likewise.
57886         * misc/mprotect.c: Likewise.
57887         * misc/msync.c: Likewise.
57888         * misc/munlock.c: Likewise.
57889         * misc/munlockall.c: Likewise.
57890         * misc/munmap.c: Likewise.
57891         * misc/preadv.c: Likewise.
57892         * misc/preadv64.c: Likewise.
57893         * misc/ptrace.c: Likewise.
57894         * misc/pwritev.c: Likewise.
57895         * misc/pwritev64.c: Likewise.
57896         * misc/readv.c: Likewise.
57897         * misc/reboot.c: Likewise.
57898         * misc/remap_file_pages.c: Likewise.
57899         * misc/removexattr.c: Likewise.
57900         * misc/revoke.c: Likewise.
57901         * misc/select.c: Likewise.
57902         * misc/setdomain.c: Likewise.
57903         * misc/setegid.c: Likewise.
57904         * misc/seteuid.c: Likewise.
57905         * misc/sethostid.c: Likewise.
57906         * misc/sethostname.c: Likewise.
57907         * misc/setregid.c: Likewise.
57908         * misc/setreuid.c: Likewise.
57909         * misc/setxattr.c: Likewise.
57910         * misc/sstk.c: Likewise.
57911         * misc/stty.c: Likewise.
57912         * misc/swapoff.c: Likewise.
57913         * misc/swapon.c: Likewise.
57914         * misc/sync.c: Likewise.
57915         * misc/syncfs.c: Likewise.
57916         * misc/syscall.c: Likewise.
57917         * misc/truncate.c: Likewise.
57918         * misc/ualarm.c: Likewise.
57919         * misc/usleep.c: Likewise.
57920         * misc/ustat.c: Likewise.
57921         * misc/utimes.c: Likewise.
57922         * misc/vhangup.c: Likewise.
57923         * misc/writev.c: Likewise.
57924         * posix/_exit.c: Likewise.
57925         * posix/alarm.c: Likewise.
57926         * posix/execve.c: Likewise.
57927         * posix/fexecve.c: Likewise.
57928         * posix/fork.c: Likewise.
57929         * posix/fpathconf.c: Likewise.
57930         * posix/getaddrinfo.c: Likewise.
57931         * posix/getegid.c: Likewise.
57932         * posix/geteuid.c: Likewise.
57933         * posix/getgid.c: Likewise.
57934         * posix/getgroups.c: Likewise.
57935         * posix/getlogin.c: Likewise.
57936         * posix/getlogin_r.c: Likewise.
57937         * posix/getpgid.c: Likewise.
57938         * posix/getpid.c: Likewise.
57939         * posix/getppid.c: Likewise.
57940         * posix/getresgid.c: Likewise.
57941         * posix/getresuid.c: Likewise.
57942         * posix/getsid.c: Likewise.
57943         * posix/getuid.c: Likewise.
57944         * posix/glob64.c: Likewise.
57945         * posix/nanosleep.c: Likewise.
57946         * posix/pathconf.c: Likewise.
57947         * posix/pause.c: Likewise.
57948         * posix/posix_madvise.c: Likewise.
57949         * posix/pread.c: Likewise.
57950         * posix/pread64.c: Likewise.
57951         * posix/pwrite.c: Likewise.
57952         * posix/pwrite64.c: Likewise.
57953         * posix/sched_getaffinity.c: Likewise.
57954         * posix/sched_getp.c: Likewise.
57955         * posix/sched_gets.c: Likewise.
57956         * posix/sched_primax.c: Likewise.
57957         * posix/sched_primin.c: Likewise.
57958         * posix/sched_rr_gi.c: Likewise.
57959         * posix/sched_setaffinity.c: Likewise.
57960         * posix/sched_setp.c: Likewise.
57961         * posix/sched_sets.c: Likewise.
57962         * posix/sched_yield.c: Likewise.
57963         * posix/setgid.c: Likewise.
57964         * posix/setlogin.c: Likewise.
57965         * posix/setpgid.c: Likewise.
57966         * posix/setresgid.c: Likewise.
57967         * posix/setresuid.c: Likewise.
57968         * posix/setsid.c: Likewise.
57969         * posix/setuid.c: Likewise.
57970         * posix/sleep.c: Likewise.
57971         * posix/spawni.c: Likewise.
57972         * posix/sysconf.c: Likewise.
57973         * posix/times.c: Likewise.
57974         * posix/wait.c: Likewise.
57975         * posix/wait3.c: Likewise.
57976         * posix/wait4.c: Likewise.
57977         * posix/waitpid.c: Likewise.
57978         * resolv/gai_sigqueue.c: Likewise.
57979         * resource/getpriority.c: Likewise.
57980         * resource/getrlimit.c: Likewise.
57981         * resource/getrusage.c: Likewise.
57982         * resource/nice.c: Likewise.
57983         * resource/setpriority.c: Likewise.
57984         * resource/setrlimit.c: Likewise.
57985         * resource/ulimit.c: Likewise.
57986         * rt/aio_cancel.c: Likewise.
57987         * rt/aio_fsync.c: Likewise.
57988         * rt/aio_read.c: Likewise.
57989         * rt/aio_sigqueue.c: Likewise.
57990         * rt/aio_suspend.c: Likewise.
57991         * rt/aio_write.c: Likewise.
57992         * rt/clock_getres.c: Likewise.
57993         * rt/clock_gettime.c: Likewise.
57994         * rt/clock_nanosleep.c: Likewise.
57995         * rt/clock_settime.c: Likewise.
57996         * rt/lio_listio.c: Likewise.
57997         * rt/mq_close.c: Likewise.
57998         * rt/mq_getattr.c: Likewise.
57999         * rt/mq_notify.c: Likewise.
58000         * rt/mq_open.c: Likewise.
58001         * rt/mq_receive.c: Likewise.
58002         * rt/mq_send.c: Likewise.
58003         * rt/mq_setattr.c: Likewise.
58004         * rt/mq_timedreceive.c: Likewise.
58005         * rt/mq_timedsend.c: Likewise.
58006         * rt/mq_unlink.c: Likewise.
58007         * rt/shm_open.c: Likewise.
58008         * rt/shm_unlink.c: Likewise.
58009         * rt/timer_create.c: Likewise.
58010         * rt/timer_delete.c: Likewise.
58011         * rt/timer_getoverr.c: Likewise.
58012         * rt/timer_gettime.c: Likewise.
58013         * rt/timer_settime.c: Likewise.
58014         * setjmp/__longjmp.c: Likewise.
58015         * setjmp/setjmp.c: Likewise.
58016         * signal/kill.c: Likewise.
58017         * signal/killpg.c: Likewise.
58018         * signal/raise.c: Likewise.
58019         * signal/sigaction.c: Likewise.
58020         * signal/sigaltstack.c: Likewise.
58021         * signal/sigblock.c: Likewise.
58022         * signal/sigignore.c: Likewise.
58023         * signal/sigintr.c: Likewise.
58024         * signal/signal.c: Likewise.
58025         * signal/sigpause.c: Likewise.
58026         * signal/sigpending.c: Likewise.
58027         * signal/sigqueue.c: Likewise.
58028         * signal/sigreturn.c: Likewise.
58029         * signal/sigset.c: Likewise.
58030         * signal/sigsetmask.c: Likewise.
58031         * signal/sigstack.c: Likewise.
58032         * signal/sigsuspend.c: Likewise.
58033         * signal/sigtimedwait.c: Likewise.
58034         * signal/sigvec.c: Likewise.
58035         * signal/sigwait.c: Likewise.
58036         * signal/sigwaitinfo.c: Likewise.
58037         * signal/sysv_signal.c: Likewise.
58038         * socket/accept.c: Likewise.
58039         * socket/accept4.c: Likewise.
58040         * socket/bind.c: Likewise.
58041         * socket/connect.c: Likewise.
58042         * socket/getpeername.c: Likewise.
58043         * socket/getsockname.c: Likewise.
58044         * socket/getsockopt.c: Likewise.
58045         * socket/isfdtype.c: Likewise.
58046         * socket/listen.c: Likewise.
58047         * socket/recv.c: Likewise.
58048         * socket/recvfrom.c: Likewise.
58049         * socket/recvmsg.c: Likewise.
58050         * socket/send.c: Likewise.
58051         * socket/sendmsg.c: Likewise.
58052         * socket/sendto.c: Likewise.
58053         * socket/setsockopt.c: Likewise.
58054         * socket/shutdown.c: Likewise.
58055         * socket/sockatmark.c: Likewise.
58056         * socket/socket.c: Likewise.
58057         * socket/socketpair.c: Likewise.
58058         * stdio-common/ctermid.c: Likewise.
58059         * stdio-common/cuserid.c: Likewise.
58060         * stdio-common/remove.c: Likewise.
58061         * stdio-common/rename.c: Likewise.
58062         * stdio-common/renameat.c: Likewise.
58063         * stdio-common/tempname.c: Likewise.
58064         * stdlib/getcontext.c: Likewise.
58065         * stdlib/makecontext.c: Likewise.
58066         * stdlib/setcontext.c: Likewise.
58067         * stdlib/swapcontext.c: Likewise.
58068         * stdlib/system.c: Likewise.
58069         * streams/fattach.c: Likewise.
58070         * streams/fdetach.c: Likewise.
58071         * streams/getmsg.c: Likewise.
58072         * streams/getpmsg.c: Likewise.
58073         * streams/putmsg.c: Likewise.
58074         * streams/putpmsg.c: Likewise.
58075         * sysdeps/unix/bsd/getpt.c: Likewise.
58076         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58077         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58078         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58080         Likewise.
58081         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58082         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58083         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58084         * sysvipc/msgctl.c: Likewise.
58085         * sysvipc/msgget.c: Likewise.
58086         * sysvipc/msgrcv.c: Likewise.
58087         * sysvipc/msgsnd.c: Likewise.
58088         * sysvipc/semctl.c: Likewise.
58089         * sysvipc/semget.c: Likewise.
58090         * sysvipc/semop.c: Likewise.
58091         * sysvipc/semtimedop.c: Likewise.
58092         * sysvipc/shmat.c: Likewise.
58093         * sysvipc/shmctl.c: Likewise.
58094         * sysvipc/shmdt.c: Likewise.
58095         * sysvipc/shmget.c: Likewise.
58096         * termios/tcdrain.c: Likewise.
58097         * termios/tcflow.c: Likewise.
58098         * termios/tcflush.c: Likewise.
58099         * termios/tcgetattr.c: Likewise.
58100         * termios/tcgetpgrp.c: Likewise.
58101         * termios/tcsendbrk.c: Likewise.
58102         * termios/tcsetattr.c: Likewise.
58103         * termios/tcsetpgrp.c: Likewise.
58104         * time/adjtime.c: Likewise.
58105         * time/clock.c: Likewise.
58106         * time/getitimer.c: Likewise.
58107         * time/gettimeofday.c: Likewise.
58108         * time/setitimer.c: Likewise.
58109         * time/settimeofday.c: Likewise.
58110         * time/stime.c: Likewise.
58111         * time/time.c: Likewise.
58113 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58115         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58116         /usr/old/bin.
58118         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58119         instead of spaces.
58120         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58122 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58124         [BZ #14796]
58125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58126         FE_TONEAREST before applying Dekker multiplication and Knuth
58127         addition.  Clear inexact exceptions and check for exact zero
58128         results afterwards.
58129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58130         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58131         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58132         * math/libm-test.inc (fma_test): Add more tests.
58133         (fma_test_towardzero): Likewise.
58134         (fma_test_downward): Likewise.
58135         (fma_test_upward): Likewise.
58136         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58137         function.
58138         (libc_fesetround): New macro.
58139         (libc_fesetroundf): Likewise.
58140         (libc_fesetroundl): Likewise.
58141         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58142         function.
58143         (libc_fesetround_387): Likewise.
58144         (libc_fesetroundf): New macro.
58145         (libc_fesetround): Likewise.
58146         (libc_fesetroundl): Likewise.
58147         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58148         function.
58149         (libc_fesetroundf): New macro.
58150         (libc_fesetround): Likewise.
58151         (libc_fesetroundl): Likewise.
58152         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58153         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58154         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58155         libm_hidden_ver.
58156         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58157         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58158         libm_hidden_def.
58159         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58160         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58161         libm_hidden_ver.
58162         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58163         libm_hidden_def.
58165         [BZ #3439]
58166         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58167         integer constant usable in #if and use that to give value to enum
58168         constant.
58169         (FE_DIVBYZERO): Likewise.
58170         (FE_UNDERFLOW): Likewise.
58171         (FE_OVERFLOW): Likewise.
58172         (FE_INVALID): Likewise.
58173         (FE_INVALID_SNAN): Likewise.
58174         (FE_INVALID_ISI): Likewise.
58175         (FE_INVALID_IDI): Likewise.
58176         (FE_INVALID_ZDZ): Likewise.
58177         (FE_INVALID_IMZ): Likewise.
58178         (FE_INVALID_COMPARE): Likewise.
58179         (FE_INVALID_SOFTWARE): Likewise.
58180         (FE_INVALID_SQRT): Likewise.
58181         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58182         (FE_TONEAREST): Likewise.
58183         (FE_TOWARDZERO): Likewise.
58184         (FE_UPWARD): Likewise.
58185         (FE_DOWNWARD): Likewise.
58186         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58187         (FE_DIVBYZERO): Likewise.
58188         (FE_OVERFLOW): Likewise.
58189         (FE_UNDERFLOW): Likewise.
58190         (FE_INEXACT): Likewise.
58191         (FE_TONEAREST): Likewise.
58192         (FE_DOWNWARD): Likewise.
58193         (FE_UPWARD): Likewise.
58194         (FE_TOWARDZERO): Likewise.
58195         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58196         (FE_UNDERFLOW): Likewise.
58197         (FE_OVERFLOW): Likewise.
58198         (FE_DIVBYZERO): Likewise.
58199         (FE_INVALID): Likewise.
58200         (FE_TONEAREST): Likewise.
58201         (FE_TOWARDZERO): Likewise.
58202         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58203         (FE_OVERFLOW): Likewise.
58204         (FE_UNDERFLOW): Likewise.
58205         (FE_DIVBYZERO): Likewise.
58206         (FE_INEXACT): Likewise.
58207         (FE_TONEAREST): Likewise.
58208         (FE_TOWARDZERO): Likewise.
58209         (FE_UPWARD): Likewise.
58210         (FE_DOWNWARD): Likewise.
58211         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58212         (FE_DIVBYZERO): Likewise.
58213         (FE_OVERFLOW): Likewise.
58214         (FE_UNDERFLOW): Likewise.
58215         (FE_INEXACT): Likewise.
58216         (FE_TONEAREST): Likewise.
58217         (FE_DOWNWARD): Likewise.
58218         (FE_UPWARD): Likewise.
58219         (FE_TOWARDZERO): Likewise.
58221 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58223         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58225 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58227         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58228         commands.  Quote $PWD.
58229         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58230         -x" by "export".
58231         (remove_newlines): Remove.
58233 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58235         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58236         * stdlib/stdlib.h (atof): Moved to ...
58237         * include/bits/stdlib-float.h: Here.  New file.
58238         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58239         * stdlib/bits/stdlib-float.h: New file.
58240         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58241         -mno-sse -mno-mmx.
58242         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58243         <xmmintrin.h>.
58245 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58247         * conform/conformtest.pl (@headers): Add fenv.h.
58248         * conform/data/fenv.h-data: New file.
58249         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58250         include of <math/fenv.h>.
58252         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58253         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58254         && !UNIX98].  Enables tests for XOPEN2K8.
58255         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58256         POSIX2008]: Likewise.
58258         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58259         (struct rusage): Do not expect type or its members.
58261         [BZ #3439]
58262         * math/math.h (FP_NAN): Define macro to integer constant usable in
58263         #if and use that to give value to enum constant.
58264         (FP_INFINITE): Likewise.
58265         (FP_ZERO): Likewise.
58266         (FP_SUBNORMAL): Likewise.
58267         (FP_NORMAL): Likewise.
58269 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58271         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58272         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58273         arguments.
58275 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58277         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58278         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58279         autoconf-time if not.
58280         * configure.in: Remove AC_PREREQ.
58282 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58284         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58285         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58286         of the internal implementation.
58288 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58290         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58291         except include of <misc/sys/syslog.h>.
58293 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58296         function returns with a NULL context exit with zero.
58298 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58300         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58302 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58304         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58305         (run_program_cmd): This.
58306         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58307         (tst_langinfo): New variable.  Use it.
58309 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58311         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58312         floating point opcodes.
58314 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58316         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58317         variable.
58319         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58321         * sysdeps/mach/hurd/powerpc: Remove directory.
58322         * sysdeps/mach/powerpc: Likewise.
58324 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58326         * scripts/check-local-headers.sh: Ignore c++ headers.
58328 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58330         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58331         __libc_cleanup_region_start argument.
58333 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58335         [BZ #14784]
58336         [BZ #14785]
58337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58338         x * y using scaling, not as x * y + z.
58339         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58340         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58341         * math/libm-test.inc (fma_test): Add more tests.
58342         (fma_test_towardzero): Likewise.
58343         (fma_test_downward): Likewise.
58344         (fma_test_upward): Likewise.
58346 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58348         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58350 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58352         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58353         New variable.
58355 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58357         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58359 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58362         Fix sort order.
58363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58364         Likewise.
58366 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58369         Fix the order of the list for glibc 2.17.
58370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58371         Likewise.
58373 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58377 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58379         [BZ #14610]
58380         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58381         for low part of x being zero before using __atanl (y).
58382         * math/libm-test.inc (atan2_test): Add another test.
58384         * manual/install.texi (Configuring and compiling): Document
58385         general use of test-wrapper and test-wrapper-env.
58386         * INSTALL: Regenerated.
58388         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58389         (__fma): Do not extract and scale down low bits on after-rounding
58390         systems when result rounded to normal precision would have normal
58391         exponent.
58392         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58393         (__fmal): Do not extract and scale down low bits on after-rounding
58394         systems when result rounded to normal precision would have normal
58395         exponent.
58396         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58397         (__fmal): Do not extract and scale down low bits on after-rounding
58398         systems when result rounded to normal precision would have normal
58399         exponent.
58400         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58401         macro.
58402         (fma_test): Add more tests.
58403         (fma_test_towardzero): Likewise.
58404         (fma_test_downward): Likewise.
58405         (fma_test_upward): Likewise.
58407 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58409         * sysdeps/i386/tininess.h: Renamed to ...
58410         * sysdeps/x86/tininess.h: This.
58411         * sysdeps/x86_64/tininess.h: Removed.
58413 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58415         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58416         input.  Use $(build-program-cmd).
58417         ($(objpfx)tst-array1-static.out): Likewise.
58418         ($(objpfx)tst-array2.out): Likewise.
58419         ($(objpfx)tst-array3.out): Likewise.
58420         ($(objpfx)tst-array4.out): Likewise.
58421         ($(objpfx)tst-array5.out): Likewise.
58422         ($(objpfx)tst-array5-static.out): Likewise.
58424 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58426         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58427         if defined.
58429         * nss/nsswitch.h (nss_interface_function): Provide new
58430         macro for use with NSS functions.
58431         * grp/initgroups.c: Use new macro.
58432         * nss/getXXbyYY.c: Likewise.
58433         * nss/getXXbyYY_r.c: Likewise.
58434         * nss/getXXent.c: Likewise.
58435         * nss/getXXent_r.c: Likewise.
58436         * sysdeps/posix/getaddrinfo.c: Likewise.
58438 2012-10-30  Andreas Jaeger  <aj@suse.de>
58440         * po/ru.po: Update Russion translation from translation project.
58442 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58444         [BZ #14152]
58445         [BZ #14783]
58446         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58447         result and shift together with sticky bit instead of replicating
58448         round-to-nearest rounding.
58449         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58450         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58451         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58452         missing underflow exceptions.
58453         (fma_test_towardzero): Add more tests.
58454         (fma_test_downward): Likewise.
58455         (fma_test_upward): Likewise.
58457         [BZ #14047]
58458         * sysdeps/generic/tininess.h: New file.
58459         * sysdeps/i386/tininess.h: Likewise.
58460         * sysdeps/sh/tininess.h: Likewise.
58461         * sysdeps/x86_64/tininess.h: Likewise.
58462         * stdlib/tst-strtod-underflow.c: Likewise.
58463         * stdlib/tst-tininess.c: Likewise.
58464         * stdlib/strtod_l.c: Include <tininess.h>.
58465         (round_and_return): Do not set errno for exact underflow cases.
58466         Force an underflow exception when setting errno for underflow.
58467         Determine underflow based on rounding to normal precision if
58468         TININESS_AFTER_ROUNDING.
58469         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58470         ERANGE for exact underflow cases.
58471         * stdlib/Makefile (tests): Add tst-tininess and
58472         tst-strtod-underflow.
58473         ($(objpfx)tst-tininess): Use $(link-libm).
58474         ($(objpfx)tst-strtod-underflow): Likewise.
58476 2012-10-30  Andreas Jaeger  <aj@suse.de>
58478         [BZ#14767]
58479         * elf/Makefile (tests): Remove conditional for have-initfini-array
58480         since this is now always required and the variable does not exist
58481         anymore.
58482         (tests-static): Likewise.
58483         (modules-names): Likewise.
58485         * po/eo.po: Add Esperanto translation from translation project.
58487         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58488         merged with constructor/destructor.
58489         (init_array): Likewise.
58490         * elf/tst-array2dep.c (fini_array): Likewise.
58491         (init_array): Likewise.
58493 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58495         * manual/message.texi: Delete @cartouche tags.
58497 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58499         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58500         EOPNOTSUPP.
58501         * sysdeps/mach/hurd/fsync.c: Likewise.
58503         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58504         [_POSIX_REALTIME_SIGNALS]: Change condition to
58505         [_POSIX_REALTIME_SIGNALS > 0].
58507 2012-10-27  Andreas Jaeger  <aj@suse.de>
58509         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58510         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58511         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58512         [__WORDSIZE != 64]: Likewise.
58514 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58516         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58517         *  iconvdata/tst-tables.sh: Likewise.
58519 2012-10-25  David S. Miller  <davem@davemloft.net>
58521         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58522         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58523         of strtoull.
58525         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58526         ifunc-impl-list.c
58527         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58528         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58529         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58530         file.
58532 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58534         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58535         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58536         __getdirentries.
58538 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58539             Jim Blandy  <jimb@codesourcery.com>
58541         * scripts/cross-test-ssh.sh: New file.
58542         * manual/install.texi (Configuring and compiling): Document use of
58543         cross-test-ssh.sh.
58544         * INSTALL: Regenerated.
58546 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58548         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58549         EOPNOTSUPP.
58551 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58553         * Makeconfig (run-program-prefix): Fix comment.
58555 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58556             Jim Blandy  <jimb@codesourcery.com>
58558         * Makeconfig (test-wrapper): New variable,
58559         (test-wrapper-env): Likewise.
58560         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58561         (run-built-tests): Define to yes.
58562         (run-program-prefix): Use $(test-wrapper).
58563         (built-program-cmd): Likewise.
58564         * Rules (make-test-out): Use $(test-wrapper-env) and
58565         $(host-built-program-cmd).
58566         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58567         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58568         tst-pathopt.sh.
58569         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58570         $(test-wrapper-env) to tst-rtld-load-self.sh.
58571         ($(objpfx)order2.out): Use $(test-wrapper).
58572         ($(objpfx)tst-initorder.out): Likewise.
58573         ($(objpfx)tst-initorder2.out): Likewise.
58574         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58575         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58576         (test_wrapper_env): New variable.  Use it to run ld.so.
58577         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58578         Use it to run ld.so.
58579         (test_wrapper_env): Likewise.
58580         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58581         $(test-wrapper) to run-iconv-test.sh.
58582         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58583         (ICONV): Use $test_wrapper.
58584         * posix/Makefile ($(objpfx)globtest.out): Pass
58585         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58586         globtest.sh, not $(run-program-prefix).
58587         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58588         (test_wrapper): Likewise.
58589         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58590         set together with run_via_rtld_prefix.
58591         (run_program_prefix): Define in terms of test_wrapper and
58592         run_via_rtld_prefix.
58594 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58596         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58597         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58598         Targets removed.
58600         [BZ #14743]
58601         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58602         Declare __clock_getres, __clock_gettime, __clock_settime,
58603         __clock_nanosleep, and __clock_getcpuclockid.
58604         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58605         Remove librt_hidden_def (clock_gettime).
58606         * sysdeps/unix/clock_gettime.c: Likewise.
58607         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58608         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58609         * rt/clock_getres.c: Define __clock_getres as an alias.
58610         * sysdeps/posix/clock_getres.c: Likewise.
58611         * rt/clock_settime.c: Define __clock_settime as an alias.
58612         * sysdeps/unix/clock_settime.c: Likewise.
58613         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58614         * sysdeps/unix/clock_nanosleep.c: Likewise.
58615         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58616         * rt/clock-compat.c: New file.
58617         * rt/Makefile (librt-routines): Add clock-compat and move
58618         $(clock-routines) to ...
58619         (routines): ... here, new variable.
58620         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58621         Don't add get_clockfreq here.
58622         * rt/Versions (libc: GLIBC_2.17): New version set.
58623         Add clock_* symbols here.
58624         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58625         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58626         (GLIBC_2.17): Add clock_* symbols.
58627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58629         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58631         Likewise.
58632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58633         Likewise.
58634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58638         * NEWS: Mention the move.
58640         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58641         Use __open, __read, __close rather than their public counterparts.
58642         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58643         (__get_clockfreq_via_cpuinfo): Likewise.
58644         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58645         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58647         * config.h.in (HAVE_IFUNC): New #undef.
58648         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58649         was successful.
58650         * configure: Regenerated.
58652 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58654         * configure.in: Move READELF check to start of file.
58655         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58656         libc_cv_asm_gnu_indirect_function in the process.
58657         * configure: Regenerated.
58659 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58661         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58662         send the output to /dev/null.
58663         (libc_cv_cc_with_libunwind): Likewise.
58664         (libc_cv_as_noexecstack): Likewise.
58665         * configure: Regenerate.
58667 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58669         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58671         * posix/globtest.sh (TMPDIR): Do not set.
58672         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58673         (testout): Likewise.
58675 2012-10-24  Andreas Jaeger  <aj@suse.de>
58677         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58678         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58679         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58680         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58681         posix_fadvise64, posix_fallocate64.
58683         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58684         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58685         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58686         Likewise.
58687         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58688         Likewise.
58689         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58691         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58692         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58693         <bits/fcntl-linux.h>.
58694         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58696         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58697         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58698         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58699         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58700         [__WORDSIZE != 64]: Likewise.
58702 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58704         * Makeconfig (run-built-tests): New variable.
58705         * Rules [$(cross-compiling) = yes]: Change condition to
58706         [$(run-built-tests) = no].
58707         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58708         to [$(run-built-tests) = yes].
58709         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58710         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58711         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58712         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58713         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58714         * io/Makefile [$(cross-compiling) = no]: Likewise.
58715         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58716         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58717         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58718         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58719         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58720         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58721         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58722         * string/Makefile [$(cross-compiling) = no]: Likewise.
58724         * posix/Makefile ($(objpfx)globtest.out): Pass
58725         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58726         $(rtld-installed-name).
58727         * posix/globtest.sh (elf_objpfx): Remove variable.
58728         (rtld_installed_name): Likewise.
58729         (library_path): Likewise.
58730         (run_program_prefix): New variable.  Use for running globtest
58731         binary.
58733 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58734             Joseph Myers  <joseph@codesourcery.com>
58736         * Makeconfig (host-built-program-cmd): New variable.
58737         * elf/Makefile (tst-stackguard1-ARGS): Use
58738         $(host-built-program-cmd).
58739         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58740         (tst-spawn-ARGS): Likewise.
58741         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58743 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58744             Jim Blandy  <jimb@codesourcery.com>
58746         * Makeconfig (run-via-rtld-prefix): New variable.
58747         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58748         (built-program-cmd): Likewise.
58750 2012-10-22  Andreas Jaeger  <aj@suse.de>
58752         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58753         __O_RSYNC if it exists, otherwise to O_SYNC.
58755 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58756             Joseph Myers  <joseph@codesourcery.com>
58758         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58759         /dev/null.
58760         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58761         from /dev/null
58762         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58763         /dev/null.
58765 2012-10-22  Andreas Jaeger  <aj@suse.de>
58767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58768         Define always.
58769         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58771         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58772         bits/fcntl-linux.h.
58774         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58775         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58777         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58778         to __O_LARGEFILE.
58779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58780         to __O_LARGEFILE.
58782 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
58783             Joseph Myers  <joseph@codesourcery.com>
58785         * config.make.in (NM): New variable.
58787 2012-10-21  Andreas Jaeger  <aj@suse.de>
58789         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58790         definitions and declarations that are provided by
58791         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58793 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58795         [BZ #14683]
58796         * elf/Makefile (tests-static): Add tst-leaks1-static.
58797         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58798         ($(objpfx)tst-leaks1-static): New rule.
58799         ($(objpfx)tst-leaks1-static-mem): Likewise.
58800         (tst-leaks1-static-ENV): New macro.
58801         * elf/dl-open.c (dl_open_worker): Check the main application
58802         only if SHARED is defined.
58803         * elf/tst-leaks1-static.c: New file.
58805 2012-10-20  Andreas Jaeger  <aj@suse.de>
58807         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58808         generic values for Linux.
58809         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58810         and declarations that are provided by <bits/fcntl-linux.h> and
58811         include <bits/fcntl-linux.h>.
58812         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58813         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58815 2012-10-20  Roland McGrath  <roland@hack.frob.com>
58817         * io/fcntl.h: Move include of <bits/types.h> to the top and
58818         include it unconditionally.
58820 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58822         * wcsmbs/Makefile (tests-ifunc): New variable.
58823         (tests): Add $(tests-ifunc).
58824         * wcsmbs/test-wcschr-ifunc.c: New file.
58825         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58826         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58827         * wcsmbs/test-wcslen-ifunc.c: Likewise.
58828         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58829         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58831         * string/Makefile (tests-ifunc): New variable.
58832         (tests): Add $(tests-ifunc).
58833         * string/test-memccpy.c (TEST_NAME): New macro.
58834         * string/test-memchr.c (TEST_NAME): Likewise.
58835         * string/test-memcmp.c (TEST_NAME): Likewise.
58836         * string/test-memcpy.c (TEST_NAME): Likewise.
58837         * string/test-memmem.c (TEST_NAME): Likewise.
58838         * string/test-memmove.c (TEST_NAME): Likewise.
58839         * string/test-memset.c (TEST_NAME): Likewise.
58840         * string/test-rawmemchr.c (TEST_NAME): Likewise.
58841         * string/test-stpcpy.c (TEST_NAME): Likewise.
58842         * string/test-stpncpy.c (TEST_NAME): Likewise.
58843         * string/test-strcasecmp.c (TEST_NAME): Likewise.
58844         * string/test-strcasestr.c (TEST_NAME): Likewise.
58845         * string/test-strcat.c (TEST_NAME): Likewise.
58846         * string/test-strchr.c (TEST_NAME): Likewise.
58847         * string/test-strcmp.c(TEST_NAME): Likewise.
58848         * string/test-strcpy.c (TEST_NAME): Likewise.
58849         * string/test-strcspn.c (TEST_NAME): Likewise.
58850         * string/test-strlen.c (TEST_NAME): Likewise.
58851         * string/test-strncasecmp.c (TEST_NAME): Likewise.
58852         * string/test-strncmp.c (TEST_NAME): Likewise.
58853         * string/test-strncpy.c (TEST_NAME): Likewise.
58854         * string/test-strnlen.c (TEST_NAME): Likewise.
58855         * string/test-strpbrk.c (TEST_NAME): Likewise.
58856         * string/test-strrchr.c (TEST_NAME): Likewise.
58857         * string/test-strspn.c (TEST_NAME): Likewise.
58858         * string/test-strstr.c (TEST_NAME): Likewise.
58859         * string/test-bcopy-ifunc.c: New file.
58860         * string/test-bzero-ifunc.c: Likewise.
58861         * string/test-memccpy-ifunc.c: Likewise.
58862         * string/test-memchr-ifunc.c: Likewise.
58863         * string/test-memcmp-ifunc.c: Likewise.
58864         * string/test-memcpy-ifunc.c: Likewise.
58865         * string/test-memmem-ifunc.c: Likewise.
58866         * string/test-memmove-ifunc.c: Likewise.
58867         * string/test-mempcpy-ifunc.c: Likewise.
58868         * string/test-memset-ifunc.c: Likewise.
58869         * string/test-rawmemchr-ifunc.c: Likewise.
58870         * string/test-stpcpy-ifunc.c: Likewise.
58871         * string/test-stpncpy-ifunc.c: Likewise.
58872         * string/test-strcasecmp-ifunc.c: Likewise.
58873         * string/test-strcasestr-ifunc.c: Likewise.
58874         * string/test-strcat-ifunc.c: Likewise.
58875         * string/test-strchr-ifunc.c: Likewise.
58876         * string/test-strchrnul-ifunc.c: Likewise.
58877         * string/test-strcmp-ifunc.c: Likewise.
58878         * string/test-strcpy-ifunc.c: Likewise.
58879         * string/test-strcspn-ifunc.c: Likewise.
58880         * string/test-strlen-ifunc.c: Likewise.
58881         * string/test-strncasecmp-ifunc.c: Likewise.
58882         * string/test-strncat-ifunc.c: Likewise.
58883         * string/test-strncmp-ifunc.c: Likewise.
58884         * string/test-strncpy-ifunc.c: Likewise.
58885         * string/test-strnlen-ifunc.c: Likewise.
58886         * string/test-strpbrk-ifunc.c: Likewise.
58887         * string/test-strrchr-ifunc.c: Likewise.
58888         * string/test-strspn-ifunc.c: Likewise.
58889         * string/test-strstr-ifunc.c: Likewise.
58891         * debug/Makefile (tests-ifunc): New variable.
58892         (tests): Add $(tests-ifunc).
58893         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58894         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58895         * debug/test-stpcpy_chk-ifunc.c: New file.
58896         * debug/test-strcpy_chk-ifunc.c: Likewise.
58898 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58900         [BZ #13601]
58901         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58902         header is not read in.
58904 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58906         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58907         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58908         directly.  Pass built executable to script as
58909         $(built-program-cmd).
58910         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58911         $testprogram without using LD_LIBRARY_PATH and $ldso.
58913         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58914         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58915         $(rtld-installed-name).
58916         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58917         (rtld_installed_name): Likewise.
58918         (library_path): Likewise.
58919         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58920         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58921         $(run-program-prefix) to tst-tables.sh.
58922         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58923         it to run tst-table-from and tst-table-to.
58924         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58925         Pass it to tst-table.sh.
58926         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58927         $(run-program-prefix) to tst-gettext.sh.
58928         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58929         tst-translit.sh.
58930         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58931         tst-gettext2.sh.
58932         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58933         to run tst-gettext.
58934         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58935         to run tst-gettext2.
58936         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58937         to run tst-translit.
58938         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58939         $(run-program-prefix) to tst-mtrace.sh.
58940         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58941         to run tst-mtrace.
58942         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58943         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58944         $(rtld-installed-name).
58945         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58946         (rtld_installed_name): Likewise.
58947         (run_program_prefix): New variable.  Use it to run wordexp-test.
58949         * Makeconfig (ARCH): Remove all definitions.
58950         (machine): Likewise.
58951         [ARCH]: Remove conditional code.
58952         [!objdir]: Give error.
58953         [!objdir] (objpfx): Remove.
58954         [!objdir] (common-objpfx): Likewise.
58955         [!objdir] (common-objdir): Likewise.
58956         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58957         AC_CONFIG_FILES call.
58958         * configure: Regenerated.
58960         [BZ #13888]
58961         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58962         or TMPDIR.
58963         (testout): Likewise.
58965         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58966         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58967         $(rtld-installed-name).
58968         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58969         (rtld_installed_name): Likwise.
58970         (runit): Remove function.
58971         (run_getconf): New variable,  Use it for running getconf binary.
58973 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58975         [BZ #14716]
58976         * string/test-memmem.c (check_result): New function.
58977         (do_one_test): Use it.
58978         (check1): New function.
58979         (test_main): Use it.
58981 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58983         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58985 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58987         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58988         (_G_LSEEK64): Likewise.
58989         (_G_MMAP64): Likewise.
58990         (_G_FSTAT64): Likewise.
58991         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58992         (_G_LSEEK64): Likewise.
58993         (_G_MMAP64): Likewise.
58994         (_G_FSTAT64): Likewise.
58995         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58996         unconditional.  Call __mmap64 directly.
58997         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58998         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58999         __lseek64 directly.
59000         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59001         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59002         __mmap64 directly.
59003         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59004         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59005         __lseek64 directly.
59006         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59007         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59008         __lseek64 directly.
59009         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59010         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59011         __lseek64 directly.
59012         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59013         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59014         __fxstat64 directly.
59015         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59016         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59017         unconditional.
59018         (freopen64) [!_G_OPEN64]: Remove conditional code.
59019         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59020         unconditional.
59021         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59022         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59023         unconditional.
59024         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59025         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59026         unconditional.
59027         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59028         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59029         unconditional.
59030         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59031         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59032         unconditional.
59033         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59034         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59035         unconditional.
59036         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59037         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59038         unconditional.
59039         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59041 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59043         [BZ #12140]
59044         * manual/memory.texi (Malloc Tunable Parameters): Add note
59045         about free list pointers overwriting some perturb bytes.
59046         Wording suggested by Roland McGrath.
59048 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59050         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59051         (lgamma_test): Likewise.
59052         (tgamma_test): Likewise.
59054 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59056         [BZ #14700]
59057         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59058         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59060 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59062         * NEWS: Mention BZ #14716.
59063         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59064         when removing AVAILABLE1_USES_J macro.
59066 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59068         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59069         (__bswap_64): __uint64_t for unsigned 64-bit int.
59071 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59073         * include/string.h (memmem): Declare libc hidden alias.
59074         * string/memmem.c (memmem): Define libc hidden alias.
59075         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59076         __read, __close instead of open, read, close.
59078 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59080         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59081         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59082         global and hidden.
59083         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59084         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59085         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59086         Likewise.
59087         (__rawmemchr_sse2): Likewise.
59088         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59089         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59090         (__strchr_sse2): Likewise.
59091         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59092         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59093         (__strcasecmp_sse2): Likewise.
59094         (__strncasecmp_sse2): Likewise.
59095         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59096         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59097         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59098         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59099         (__strrchr_sse2): Likewise.
59100         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59101         ifunc-impl-list.c.
59102         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59103         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59104         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59105         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59106         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59107         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59108         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59109         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59110         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59111         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59112         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59113         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59114         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59115         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59116         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59117         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59118         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59119         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59120         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59121         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59122         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59123         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59124         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59125         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59126         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59127         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59128         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59129         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59130         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59131         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59133         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59134         global and hidden.
59135         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59136         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59137         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59138         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59139         Likewise.
59140         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59141         Likewise.
59142         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59143         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59144         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59145         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59146         ifunc-impl-list.c.
59147         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59148         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59149         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59150         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59151         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59152         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59153         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59154         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59155         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59156         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59157         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59158         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59159         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59160         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59161         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59162         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59163         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59164         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59165         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59166         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59167         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59168         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59169         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59170         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59171         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59172         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59173         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59174         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59175         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59176         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59177         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59178         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59179         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59180         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59181         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59182         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59183         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59184         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59185         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59186         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59187         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59189         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59190         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59191         * include/ifunc-impl-list.h: New file.
59192         * misc/ifunc-impl-list.c: Likewise.
59193         * misc/Makefile (routines): Add ifunc-impl-list.
59194         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59195         * string/test-string.h: Include <ifunc-impl-list.h>.
59196         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59197         TEST_NAME]: New variables.
59198         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59199         are defined.
59200         (test_init): Call __libc_ifunc_impl_list to initialize
59201         func_list if TEST_IFUNC and TEST_NAME are defined.
59203         * string/Makefile (strop-tests): Add bcopy and bzero.
59204         * string/test-bcopy.c: New file.
59205         * string/test-bzero.c: Likewise.
59206         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59207         defined.
59208         * string/test-memset.c: Support bzero test if TEST_BZERO is
59209         defined.
59210         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59211         __libc_memmove.
59212         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59213         __libc_memset.
59214         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59215         of memset.
59217 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59219         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59220         * configure: Regenerated.
59222         * Makeconfig (+link-static-before-libc): Don't include
59223         $(link-static-libc).
59225         * libio/libio.h (_IO_pos_t): Remove.
59227 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59229         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59230         McGrath.
59232 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59234         * crypt/crypt-entry.c: Include fips-private.h.
59235         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59236         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59237         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59238         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59240 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59242         * crypt/crypt-private.h: Include stdbool.h.
59243         (_ufc_setup_salt_r): Return bool.
59244         * crypt/crypt-entry.c: Include errno.h.
59245         (__crypt_r): Return NULL with EINVAL for bad salt.
59246         * crypt/crypt_util.c (bad_for_salt): New.
59247         (_ufc_setup_salt_r): Check that salt is long enough and within
59248         the specified alphabet.
59249         * crypt/badsalttest.c: New file.
59250         * crypt/Makefile (tests): Add it.
59251         ($(objpfx)badsalttest): New.
59253 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59255         * NEWS: Add entry for BZ #14602.
59257 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59259         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59260         type-generic.
59261         * math/libm-test.inc: Update comment listing what functions and
59262         macros are tested.
59263         (isgreater_test): New function.
59264         (isgreaterequal_test): Likewise.
59265         (isless_test): Likewise.
59266         (islessequal_test): Likewise.
59267         (islessgreater_test): Likewise.
59268         (isunordered_test): Likewise.
59269         (main): Call the new functions.
59271 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59273         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59274         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59275         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59276         * sysdeps/i386/configure: Regenerated.
59277         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59278         * sysdeps/mach/configure: Regenerated.
59279         * sysdeps/mach/hurd/configure: Regenerated.
59280         * sysdeps/powerpc/configure: Regenerated.
59281         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59282         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59283         * sysdeps/s390/s390-32/configure: Regenerated.
59284         * sysdeps/s390/s390-64/configure: Regenerated.
59285         * sysdeps/sh/configure: Regenerated.
59286         * sysdeps/sparc/configure: Regenerated.
59287         * sysdeps/unix/sysv/linux/configure: Regenerated.
59288         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59289         * sysdeps/x86_64/configure: Regenerated.
59291         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59292         defined.  Don't check if MAP is NULL.
59294 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59296         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59297         (_G_stat64): Likewise.
59298         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59299         (_G_stat64): Likewise.
59300         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59301         instead of struct _G_stat64.
59302         * libio/fileops.c (mmap_remap_check): Likewise.
59303         (decide_maybe_mmap): Likewise.
59304         (_IO_new_file_seekoff): Likewise.
59305         (_IO_file_stat): Likewise.
59306         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59307         _G_off64_t.
59308         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59309         instead of struct _G_stat64.
59310         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59312 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59314         [BZ #14602]
59315         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59316         Replace with ...
59317         (CHECK_EOL): New macro.
59318         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59319         CHECK_EOL.
59320         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59321         Replace with CHECK_EOL.
59322         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59323         Replace with CHECK_EOL.
59325 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59327         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59328         type-generic.
59329         * math/libm-test.inc: Update comment listing what functions and
59330         macros are tested.
59331         (finite_test): New function.
59332         (isinf_test): Likewise.
59333         (isnan_test): Likewise.
59334         (fpclassify_test): Test subnormal input.
59335         (isfinite_test): Likewise.
59336         (isnormal_test): Likewise.
59337         (main): Call the new functions.
59339 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59341         [BZ #14660]
59342         * Makerules (%.dynsym): Force C locale when running
59343         $(OBJDUMP) --dynamic-syms.
59345 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59347         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59348         <stdint.h>.
59350 2012-10-06  David S. Miller  <davem@davemloft.net>
59352         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59353         upper 32-bits of the length value in %o2 since we use branch-on-register
59354         tests which consider the entire 64-bit register.
59356 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59358         * string/test-strstr.c (check2): Add a test for page boundary.
59360 2012-10-05  David S. Miller  <davem@davemloft.net>
59362         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59363         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59364         file.
59365         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59366         sysdep_routines.
59367         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59368         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59369         and bzero when HWCAP_SPARC_CRYPTO is present.
59371 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59373         [BZ #14602]
59374         * string/test-strstr.c (check2): New function.
59375         (test_main): Call check2.
59377         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59378         and bug-strchr1.
59379         * string/bug-strcasestr1.c (do_test): Moved to ...
59380         * string/test-strcasestr.c (check1): Here.  New function.
59381         (do_one_test): Break out result checking code into ...
59382         (check_result): This.  New function.
59383         (do_one_test): Call check_result.
59384         (test_main): Call check1.
59385         * string/bug-strchr1.c (do_test): Moved to ...
59386         * string/test-strchr.c (check1): Here.  New function.
59387         (do_one_test): Break out result checking code into ...
59388         (check_result): This.  New function.
59389         (do_one_test): Call check_result.
59390         (test_main): Call check1.
59391         * string/bug-strstr1.c (main): Moved to ...
59392         * string/test-strstr.c (check1): Here.  New function.
59393         (do_one_test): Break out result checking code into ...
59394         (check_result): This.  New function.
59395         (do_one_test): Call check_result.
59396         (test_main): Call check1.
59397         * string/bug-strcasestr1.c: Removed.
59398         * string/bug-strchr1.c: Likewise.
59399         * string/bug-strstr1.c: Likewise.
59401         * elf/Makefile (dl-routines): Add hwcaps.
59402         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59403         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59404         (_dl_important_hwcaps): Moved to ...
59405         * elf/dl-hwcaps.c: Here.  New file.
59406         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59408         [BZ #14557]
59409         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59410         if IS_IN_rtld isn't defined.
59412         * elf/dl-support.c (_dl_sysinfo_map): New.
59413         Include "get-dynamic-info.h" and "setup-vdso.h".
59414         (_dl_non_dynamic_init): Call setup_vdso.
59415         * elf/dynamic-link.h: Don't include <assert.h>.
59416         (elf_get_dynamic_info): Moved to ...
59417         * elf/get-dynamic-info.h: Here.  New file.
59418         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59419         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59420         * elf/setup-vdso.h: Here.  New file.
59421         * elf/rtld.c: Include "setup-vdso.h".
59422         (dl_main): Call setup_vdso.
59424 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59426         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59427         creal in comment listing functions tested.  List finite, isinf,
59428         isnan, isless, islessequal, isgreater, isgreaterequal,
59429         islessgreater, isunordered, lgamma_r and pow10 as functions and
59430         macros not tested.  Mention which functions not tested are aliases
59431         for other functions.  Fix typo.  Note that signs of NaNs are not
59432         tested.
59434         * scripts/config.guess: Update from config.git.
59435         * scripts/config.sub: Likewise.
59437 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59439         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59440         * misc/madvise.c (madvise): Renamed to __madvise.
59441         Make madvise a weak alias.
59442         * include/sys/mman.h: Declare __madvise.
59443         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59444         * sysdeps/unix/syscalls.list
59445         (madvise): Make __madvise the strong name, and madvise a weak alias.
59446         * sysdeps/unix/sysv/linux/syscalls.list
59447         (madvise, mmap): Remove redundant entries.
59448         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59449         * malloc/malloc.c (mtrim): Likewise.
59450         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59452 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59454         * sysdeps/mach/hurd/dl-cache.c: File removed.
59455         * config.h.in (USE_LDCONFIG): New #undef.
59456         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59457         * configure: Regenerated.
59458         * elf/Makefile (dl-routines): Add dl-cache only under
59459         [$(use-ldconfig) = yes].
59460         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59461         cache on [USE_LDCONFIG].
59462         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59463         [USE_LDCONFIG].
59464         * elf/rtld.c (dl_main): Likewise.
59466 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59468         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59469         _SC_LEVEL4_CACHE_LINESIZE.
59471 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59473         * sysdeps/unix/bsd/confstr.h: File removed.
59475 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59477         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59478         sys/sdt-config.h.
59480 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59482         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59483         Make 'mapoff' field ElfW(Off) rather than off_t.
59485 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59487         * nscd/Makefile: Remove nscd-cflags and all its users.
59488         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59489         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59491         [BZ #10631]
59492         * malloc.c (malloc_printerr): Clarify error message.
59494 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59496         [BZ #14648]
59497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59498         Set bit_FMA_Usable if FMA is supported.
59499         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59500         macro.
59501         (bit_FMA4_Usable): Updated.
59502         (index_FMA_Usable): New macro.
59503         (CPUID_FMA): Likewise.
59504         (HAS_FMA): Defined with bit_FMA_Usable.
59506 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59508         * bits/types.h (__swblk_t): Type removed.
59509         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59510         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59511         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59512         (__SWBLK_T_TYPE): Likewise.
59513         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59514         (__SWBLK_T_TYPE): Likewise.
59515         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59516         (__SWBLK_T_TYPE): Likewise.
59517         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59518         (__SWBLK_T_TYPE): Likewise.
59520 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59521             Honza Horak <hhorak@redhat.com>
59523         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59524         (xdr_mapname): Use YPMAXMAP as maxsize.
59525         (xdr_peername): Use YPMAXPEER as maxsize.
59526         (xdr_keydat): Use YPAXRECORD as maxsize.
59527         (xdr_valdat): Use YPMAXRECORD as maxsize.
59529 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59531         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59533         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59534         * csu/init-first.c: ... here.
59535         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59536         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59537         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59538         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59539         * sysdeps/i386/init-first.c: File removed.
59540         * sysdeps/sh/init-first.c: File removed.
59542 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59544         [BZ #14645]
59545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59546         if x * y might underflow to zero and z is zero.
59547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59548         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59549         * math/libm-test.inc (min_subnorm_value): New variable.
59550         (fma_test): Add more tests.
59551         (fma_test_towardzero): Likewise.
59552         (fma_test_downward): Likewise.
59553         (fma_test_upward): Likewise.
59554         (initialize): Set min_subnorm_value.
59556 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59558         [BZ #14638]
59559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59560         0 + 0.
59561         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59562         mode for addition resulting in exact zero.
59563         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59564         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59565         exact 0 + 0.
59566         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59567         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59568         * math/libm-test.inc (fma_test): Add more tests.
59569         (fma_test_towardzero): New function.
59570         (fma_test_downward): Likewise.
59571         (fma_test_upward): Likewise.
59572         (main): Call the new functions.
59574 2012-09-28  David S. Miller  <davem@davemloft.net>
59576         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59578 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59580         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59581         instead of SIGALRM.
59583         * sysdeps/gnu/_G_config.h: Moved to ...
59584         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59585         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59586         * sysdeps/generic/_G_config.h: ... here.
59588         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59590         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59592         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59593         Conditionalize target on [libnss_test1.so-version].
59595         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59597         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59598         (elfobjdir): Move out of conditionals.
59600         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59601         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59602         (__nss_lookup_function): Conditionalize label remove_from_tree on
59603         [!DO_STATIC_NSS || SHARED], matching its only use.
59605 2012-09-28  David S. Miller  <davem@davemloft.net>
59607         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59608         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59609         file.
59610         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59611         sysdep_routines.
59612         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59613         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59614         when HWCAP_SPARC_CRYPTO is present.
59616 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59618         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59620 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59622         [BZ #6530]
59623         * stdio-common/vfprintf.c (process_string_arg): Revert
59624         2000-07-22 change.
59626 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59628         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59629         for testcase.
59630         * stdio-common/tst-sprintf.c: Include <locale.h>
59631         (main): Test sprintf's handling of incomplete multibyte
59632         characters.
59634 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59636         * elf/dl-runtime.c (VERSYMIDX): Removed.
59637         * elf/dl-version.c (VERSYMIDX): Likewise.
59638         * elf/do-rel.h (VERSYMIDX): Likewise.
59639         (VALIDX): Likewise.
59640         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59641         * elf/rtld.c (VALIDX): Likewise.
59642         (ADDRIDX): Likewise.
59643         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59644         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59645         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59646         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59647         (VALIDX): Likewise.
59648         (ADDRIDX): Likewise.
59650 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59652         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59654 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59656         [BZ #11438]
59657         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59658         to global scope.
59659         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59660         addresses are in the same scope as 192.0.2/24.
59661         * posix/gai.conf: Document new scope table defaults.
59663 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59665         [BZ #5298]
59666         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59667         for ftell.  Compute offsets from write pointers instead.
59668         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59670 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59672         [BZ #14543]
59673         * libio/Makefile (tests): New test case tst-fseek.
59674         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59675         combination works in wide mode.
59676         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59677         state when the external buffer state changes.
59679 2012-09-27  David S. Miller  <davem@davemloft.net>
59681         [BZ #14376]
59682         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59683         pass reloc->r_addend in as the 'high' argument to
59684         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59688 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59690         * rt/tst-aio2.c: Include <pthread.h>.
59691         * rt/tst-aio3.c: Likewise.
59693 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59695         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59697 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59699         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59700         contents on [SHARED].
59702 2012-09-26  Marek Polacek  <polacek@redhat.com>
59704         [BZ #14530]
59705         [BZ #13741]
59706         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59707         for C++ and GCC <4.3 as well as for non GCC compilers.
59709 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59713 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59715         * Makefile.in (all, install): Declare with .PHONY.
59716         Reported by Michael Hope <michael.hope@linaro.org>.
59718 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59720         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59721         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59722         system header.
59723         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59724         Likewise.
59725         (sydep_routines): Add the new and the internal functions.
59726         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59727         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59729         (GLIBC_2.17): Add the new function.
59730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59731         (GLIBC_2.17): Likewise.
59732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59733         (GLIBC_2.17): Likewise.
59734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59735         (GLIBC_2.17): Likewise.
59736         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59738 2012-09-25  Alan Modra  <amodra@gmail.com>
59740         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59741         Add release barrier before setting once_control to say
59742         initialisation is done.  Add hints on lwarx.  Use macro in
59743         place of isync.
59744         (clear_once_control): Add release barrier.
59746 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59748         [BZ #13629]
59749         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59750         specially.
59751         * math/s_clog10.c (__clog10): Likewise.
59752         * math/s_clog10f.c (__clog10f): Likewise.
59753         * math/s_clog10l.c (__clog10l): Likewise.
59754         * math/s_clogf.c (__clogf): Likewise.
59755         * math/s_clogl.c (__clogl): Likewise.
59756         * math/Makefile (libm-calls): Add x2y2m1.
59757         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59758         (__x2y2m1): Likewise.
59759         (__x2y2m1l): Likewise.
59760         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59761         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59762         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59763         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59764         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59765         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59766         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59767         * sysdeps/i386/fpu/libm-test-ulps: Update.
59768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59770         [BZ #14621]
59771         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59772         int as type of variable DEPTH.
59773         (glob): Use size_t instead of int as type of variables NEWCOUNT
59774         and OLD_PATHC.
59776 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59778         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59779         Add s_sincosf-sse2.
59780         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59781         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59782         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59783         macros for using routine as __sincosf_ia32.
59784         Use macro for function declaration and weak_alias.
59785         * sysdeps/i386/fpu/libm-test-ulps: Update.
59787         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59790         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59791         subnormal argument.
59792         * math/s_cexpf.c (__cexpf): Likewise.
59793         * math/s_csinf.c (__csinf): Likewise.
59794         * math/s_csinhf.c (__csinhf): Likewise.
59795         * math/s_ctanf.c (__ctanf): Likewise.
59796         * math/s_ctanhf.c (__ctanhf): Likewise.
59797         * math/s_ccosh.c (__ccoshf): Likewise.
59798         * math/s_cexp.c (__cexpl): Likewise.
59799         * math/s_csin.c (__csin): Likewise.
59800         * math/s_csinh.c (__csinh): Likewise.
59801         * math/s_ctan.c (__ctan): Likewise.
59802         * math/s_ctanh.c (ctanh): Likewise.
59803         * math/s_ccoshl.c (__ccoshl): Likewise.
59804         * math/s_cexpl.c (__cexpl): Likewise.
59805         * math/s_csinl.c (__csinl): Likewise.
59806         * math/s_csinhl.c (__csinhl): Likewise.
59807         * math/s_ctanl.c (__ctanl): Likewise.
59808         * math/s_ctanhl.c (__ctanhl): Likewise.
59810 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59812         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59813         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59814         (_IO_off_t): Define to __off_t, not _G_off_t.
59815         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59816         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59817         (_IO_wint_t): Define to wint_t, not _G_wint_t.
59818         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59819         type of __dummy and __dummy2 fields.
59820         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59821         (_G_ssize_t): Likewise.
59822         (_G_off_t): Likewise.
59823         (_G_pid_t): Likewise.
59824         (_G_uid_t): Likewise.
59825         (_G_wchar_t): Likewise.
59826         (_G_wint_t): Likewise.
59827         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59828         (_G_ssize_t): Likewise.
59829         (_G_off_t): Likewise.
59830         (_G_pid_t): Likewise.
59831         (_G_uid_t): Likewise.
59832         (_G_wchar_t): Likewise.
59833         (_G_wint_t): Likewise.
59834         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59835         (_G_ssize_t): Likewise.
59836         (_G_off_t): Likewise.
59837         (_G_pid_t): Likewise.
59838         (_G_uid_t): Likewise.
59839         (_G_wchar_t): Likewise.
59840         (_G_wint_t): Likewise.
59842 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59844         * malloc/arena.c: Include malloc-sysdep.h.
59845         (shrink_heap): Use check_may_shrink_heap to decide if madvise
59846         is sufficient to shrink the heap or an unmap is needed.
59847         * sysdeps/generic/malloc-sysdep.h: New file.  Define
59848         new function check_may_shrink_heap.
59849         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
59850         new function check_may_shrink_heap.
59852 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59854         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59855         comments.
59857 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59859         * catgets/test-gencat.sh: Add "set -e".
59860         * elf/tst-pathopt.sh: Likewise.
59861         * grp/tst_fgetgrent.sh: Likewise.
59862         * iconvdata/run-iconv-test.sh: Likewise.
59863         * intl/tst-gettext.sh: Likewise.
59864         * intl/tst-gettext2.sh: Likewise.
59865         * intl/tst-gettext4.sh: Likewise.
59866         * intl/tst-gettext6.sh: Likewise.
59867         * intl/tst-translit.sh: Likewise.
59868         * io/ftwtest-sh: Likewise.
59869         * libio/test-freopen.sh: Likewise.
59870         * malloc/tst-mtrace.sh: Likewise.
59871         * posix/globtest.sh: Likewise.
59872         * posix/tst-getconf.sh: Likewise.
59873         * posix/wordexp-tst.sh: Likewise.
59874         * stdio-common/tst-printf.sh: Likewise.
59875         * stdio-common/tst-unbputc.sh: Likewise.
59876         * stdlib/tst-fmtmsg.sh: Likewise.
59877         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59878         * catgets/Makefile: Do not specify -e option when running
59879         testsuite shell scripts.
59880         * elf/Makefile: Likewise.
59881         * grp/Makefile: Likewise.
59882         * iconvdata/Makefile: Likewise.
59883         * intl/Makefile: Likewise.
59884         * io/Makefile: Likewise.
59885         * libio/Makefile: Likewise.
59886         * malloc/Makefile: Likewise.
59887         * posix/Makefile: Likewise.
59888         * stdio-common/Makefile: Likewise.
59889         * stdlib/Makefile: Likewise.
59890         * sysdeps/x86_64/Makefile: Likewise.
59892         * io/ftwtest-sh: Add copyright header.
59893         * posix/globtest.sh: Likewise.
59894         * posix/tst-getconf.sh: Likewise.
59895         * posix/wordexp-tst.sh: Likewise.
59896         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59898 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59900         [BZ #13679]
59901         * Makeconfig (+link): Defined as $(+link-static) if
59902         $(build-shared) isn't yes.
59903         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59904         isn't yes.
59905         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59907         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59909         [BZ #14562]
59910         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59911         new chunk size with MALLOC_ALIGN_MASK.
59913 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59915         [BZ #5044]
59916         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59917         <rounding-mode.h>.
59918         (__printf_fphex): Determine rounding using get_rounding_mode and
59919         round_away.
59920         * stdio-common/tst-printf-round.c (struct hex_test): New
59921         structure.
59922         (hex_tests): New variable.
59923         (test_hex_in_one_mode): New function.
59924         (do_test): Also run tests for hex float output.
59926 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59928         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59929         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59930         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59931         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59932         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59933         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59934         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59935         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59937 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59939         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59940         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59941         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59942         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59944 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59946         [BZ #14579]
59947         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59948         mode only.
59949         * elf/tst-rtld-load-self.sh: New test.
59950         * elf/Makefile: Run it.
59952 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59954         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59955         (tst-writev-ENV): Remove.
59956         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59958 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59960         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59962 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59964         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59965         unconditional.
59966         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59967         Likewise.
59968         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59969         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59970         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59971         Likewise.
59973 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59975         [BZ #14587]
59976         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59977         * config.make.in (have-cpp-asm-debuginfo): Removed.
59978         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59979         * configure: Regenerated.
59981 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59983         [BZ #5044]
59984         * stdio-common/printf_fp.c: Include <stdbool.h> and
59985         <rounding-mode.h>.
59986         (___printf_fp): Determine rounding using get_rounding_mode and
59987         round_away.
59988         * stdio-common/tst-printf-round.c: New file.
59989         * stdio-common/Makefile (tests): Add tst-printf-round.
59990         (link-libm): New variable.
59991         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59993 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59995         [BZ #14576]
59996         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59997         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59998         Likewise.
59999         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60000         Likewise.
60002 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60004         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60005         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60006         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60007         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60009 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60011         [BZ #14518]
60012         * include/rounding-mode.h: New file.
60013         * sysdeps/generic/get-rounding-mode.h: Likewise.
60014         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60015         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60016         (MAX_VALUE): New macro.
60017         (MIN_VALUE): Likewise.
60018         (overflow_value): New function.
60019         (underflow_value): Likewise.
60020         (round_and_return): Use overflow_value and underflow_value to
60021         determine return values in overflow and underflow cases.  Use
60022         round_away to determine rounding depending on rounding mode.
60023         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60024         determine return values in overflow and underflow cases.
60025         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60026         (struct test_results): New structure.
60027         (struct test): Use struct test_results to store expected results
60028         for all rounding modes.
60029         (TEST): Include expected results for all rounding modes.
60030         (test_in_one_mode): New function.
60031         (do_test): Use test_in_one_mode to compute and check results.
60032         Check results for all rounding modes.
60033         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60034         $(link-libm).
60036 2012-12-09  Allan McRae  <allan@archlinux.org>
60038         * sysdeps/i386/fpu/libm-test-ulps: Update
60040 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60042         * sysdeps/generic/_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.
60050         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60051         (_G_int32_t): Likewise.
60052         (_G_uint16_t): Likewise.
60053         (_G_uint32_t): Likewise.
60054         (_G_HAVE_BOOL): Likewise.
60055         (_G_HAVE_ATEXIT): Likewise.
60056         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60057         (_G_HAVE_IO_FILE_OPEN): Likewise.
60058         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60059         (_G_int32_t): Likewise.
60060         (_G_uint16_t): Likewise.
60061         (_G_uint32_t): Likewise.
60062         (_G_HAVE_BOOL): Likewise.
60063         (_G_HAVE_ATEXIT): Likewise.
60064         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60065         (_G_HAVE_IO_FILE_OPEN): Likewise.
60067 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60069         * csu/libc-tls.c: Update copyright years.
60071 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60073         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60074         [!_G_USING_THUNKS]: Remove conditional code.
60075         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60076         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60078         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60079         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60080         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60081         (_G_VTABLE_LABEL_PREFIX): Likewise.
60082         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60083         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60084         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60085         (_G_VTABLE_LABEL_PREFIX): Likewise.
60086         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60087         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60088         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60089         (_G_VTABLE_LABEL_PREFIX): Likewise.
60090         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60092 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60094         * libio/Makefile: Include ../Makeconfig before tests.
60095         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60096         only if $(build-shared) is yes.
60098         * iconv/gconv_db.c: Update copyright years.
60100 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60102         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60103         unwind info if defined PIC. Fix special cases description.
60104         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60106         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60107         DP_HI_MASK entry.
60108         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60110 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60112         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60114         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60115         is NULL.
60117         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60118         (LDLIBS-tst-chk4): This.
60119         (LDFLAGS-tst-chk5): Renamed to ...
60120         (LDLIBS-tst-chk5): This.
60121         (LDFLAGS-tst-chk6): Renamed to ...
60122         (LDLIBS-tst-chk6): This.
60123         (LDFLAGS-tst-lfschk4): Renamed to ...
60124         (LDLIBS-tst-lfschk4): This.
60125         (LDFLAGS-tst-lfschk5): Renamed to ...
60126         (LDLIBS-tst-lfschk5): This.
60127         (LDFLAGS-tst-lfschk6): Renamed to ...
60128         (LDLIBS-tst-lfschk6): This.
60130         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60131         on $(common-objpfx)soversions.mk.
60133 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60135         [BZ #10014]
60136         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60137         example host name.
60139 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60141         * malloc/arena.c (arena_get_retry): New function that gets
60142         another arena for the caller to try its request on.
60143         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60144         current arena cannot fulfill the request.
60145         (__libc_memalign): Likewise.
60146         (__libc_memalign): Likewise.
60147         (__libc_pvalloc): Likewise.
60148         (__libc_calloc): Likewise.
60150 2012-09-05  John Tobey  <john.tobey@gmail.com>
60152         [BZ #13542]
60153         * manual/arith.texi (Operations on Complex): Fix description
60154         of carg branch cut.
60156 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60158         [BZ #10014]
60159         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60160         host name.
60162         [BZ #10038]
60163         * manual/memory.texi (Memory): Make order of menu items match
60164         order of sections.
60166 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60168         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60169         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60170         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60172 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60174         * csu/libc-tls.c (static_dtv): Renamed to ...
60175         (_dl_static_dtv): This.  Make it global.
60176         (_dl_initial_dtv): Removed.
60177         (__libc_setup_tls): Updated.
60178         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60179         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60180         DL_INITIAL_DTV.
60182 2012-09-06  Petr Machata  <pmachata@redhat.com>
60184         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60185         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60186         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60187         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60189 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60191         [BZ #14545]
60192         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60193         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60194         freeing dtv[-1].
60196 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60198         [BZ #14544]
60199         * Makeconfig (link-static-before-libc): Replace $(+prector)
60200         with $(+prectorT).
60201         (link-static-after-libc): Replace $(+postctor) with
60202         $(+postctorT).
60203         (link-bounded): Replace $(+prector)/$(+postctor) with
60204         $(+prectorT)/$(+postctorT).
60205         (+prectorT): New macro.
60206         (+postctorT): Likewise.
60208 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60210         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60211         (round_str): Handle values above the maximum for IBM long double
60212         as inexact.
60213         * stdlib/tst-strtod-round.c (tests): Regenerated.
60215 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60217         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60218         assembler flag.
60219         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60220         zarch_nohighgprs around the zarch optimized routines.
60221         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60222         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60223         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60224         for zarch.
60226 2012-09-05  David S. Miller  <davem@davemloft.net>
60228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60230         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60231         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60232         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60233         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60234         entries.
60236 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60238         * malloc/arena.c: Fold copyright years.
60239         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60241 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60243         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60245 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60247         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60249 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60251         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60252         change internal state upon failure.
60254 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60256         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60257         * malloc/memusage.c (mmap): Likewise.
60258         (mmap64, mremap): Likewise.  Adjust name in comment.
60260 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60262         * libio/fileops.c: Fix typos in comments.
60263         * libio/oldfileops.c: Likewise.
60264         * libio/wfileops.c: Likewise.
60266 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60268         [BZ #1349]
60269         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60270         (tst-malloc-usable-ENV): Set environment for test case.
60271         * malloc/hooks.c (malloc_check_get_size): New function to get
60272         requested size.
60273         * malloc/malloc.c (musable): Use malloc_check_get_size.
60274         * malloc/tst-malloc-usable.c: New test case.
60276 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60278         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60280 2012-09-05  Allan McRae  <allan@archlinux.org>
60282         [BZ #13966]
60283         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60284         determine header location.
60285         * configure: Regenerated.
60287 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60289         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60290         float format.
60291         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60292         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60293         format.
60294         (test): Regenerate.
60296 2012-09-04  David S. Miller  <davem@davemloft.net>
60298         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60299         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60300         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60302 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60304         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60305         failures.
60307         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60309 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60311         [BZ #9914]
60312         * libio/iogetdelim.c: Include <limits.h>.
60313         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60314         + len + 1 would overflow.
60316 2012-09-03  Andreas Jaeger  <aj@suse.de>
60318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60319         * sysdeps/i386/fpu/libm-test-ulps: Update.
60321 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60323         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60324         Add s_sinf-sse2, s_conf-sse2.
60326         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60327         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60328         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60329         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60331         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60332         for using routine as __sinf_ia32.
60333         Use macro for function declaration and weak_alias.
60334         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60335         for using routine as __cosf_ia32.
60336         Use macro for function declaration and weak_alias.
60338         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60339         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60341         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60342         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60343         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60345         * math/libm-test.inc (cos_test): Add more test cases.
60346         (sin_test): Likewise.
60347         (sincos_test): Likewise.
60349 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60351         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60352         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60353         hidden.
60354         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60356 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60358         [BZ #14538]
60359         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60360         first element of the GOT.
60361         (elf_machine_load_address): Return the difference between
60362         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60364 2012-09-01  Allan McRae  <allan@archlinux.org>
60366         [BZ #13412]
60367         * configure.in (AWK): Require gawk version 3.0 or later.
60368         * configure: Regenerated.
60370 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60372         * sysdeps/unix/sysv/linux/kernel-features.h
60373         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60374         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60375         [__NR_clock_getres]: Make code unconditional.
60376         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60377         (clock_getcpuclockid): Remove code left unreachable by removal of
60378         conditionals.
60379         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60380         code unconditional.
60381         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60382         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60383         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60384         Make code unconditional.
60385         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60386         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60387         * sysdeps/unix/sysv/linux/clock_settime.c
60388         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60389         conditional code.
60390         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60391         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60393 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60395         [BZ #14476]
60396         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60397         scripts/test-installation.pl.
60399         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60400         and $ld_so_version if it is set.
60402 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60404         [BZ #14516]
60405         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60406         failure if reading from procfs failed.
60407         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60409 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60411         * sysdeps/unix/sysv/linux/kernel-features.h
60412         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60413         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60414         Remove conditional code.
60415         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60416         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60417         Remove conditional code.
60418         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60419         * sysdeps/unix/sysv/linux/i386/fxstat.c
60420         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60421         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60422         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60423         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60424         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60425         * sysdeps/unix/sysv/linux/i386/lxstat.c
60426         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60427         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60428         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60429         Remove conditional code.
60430         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60431         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60432         Remove conditional code.
60433         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60434         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60435         <kernel-features.h>.
60436         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60437         Remove.
60438         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60439         Remove conditional code.
60440         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60441         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60442         Remove conditional.
60444 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60446         [BZ #5400]
60447         * NEWS: Add fixed bug number.
60449 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60451         [BZ #14519]
60452         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60453         underflowing exponent in case of negative sign.
60454         * stdlib/tst-strtod-round-data: Add more tests.
60455         * stdlib/tst-strtod-round.c (tests): Regenerated.
60457         [BZ #3479]
60458         * stdlib/strtod_l.c (NDIG): Remove.
60459         (HEXNDIG): Likewise.
60460         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60461         smallest representable value.
60462         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60463         lie within an exact representation of 1/2 ulp of the result.
60464         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60465         unconditionally.
60466         (TENS_P9_IDX): Define unconditionally.
60467         (TENS_P9_SIZE): Likewise.
60468         (TENS_P10_IDX): Likewise.
60469         (TENS_P10_SIZE): Likewise.
60470         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60471         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60472         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60473         entries for 10^2^13 and 10^2^14.
60474         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60475         (TENS_P13_IDX): Define.
60476         (TENS_P13_SIZE): Likewise.
60477         (TENS_P14_IDX): Likewise.
60478         (TENS_P14_SIZE): Likewise.
60479         (_fpioconst_pow10): Change array size to
60480         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60481         unconditional.
60482         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60483         1024]: Add entries for 10^2^13 and 10^2^14.
60484         [LAST_POW10 > _LAST_POW10]: Remove #error.
60485         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60486         (_fpioconst_pow10): Change array size to
60487         FPIOCONST_POW10_ARRAY_SIZE.
60488         * stdlib/gen-fpioconst.c: New file.
60489         * stdlib/gen-tst-strtod-round.c: Likewise.
60490         * stdlib/tst-strtod-round-data: Likewise.
60491         * stdlib/tst-strtod-round.c: Likewise.
60492         * stdlib/Makefile (tests): Add tst-strtod-round.
60494         [BZ #14459]
60495         * stdlib/strtod_l.c: Include <stdint.h>.
60496         (NDEBUG): Do not define.
60497         (round_and_return): Change EXPONENT parameter to type intmax_t.
60498         Rearrange calculations to avoid internal overflow possibilities.
60499         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60500         Rearrange calculations to avoid internal overflow possibilities.
60501         Assert that number fits inside MPNSIZE limbs.
60502         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60503         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60504         calculations and add assertions to avoid internal overflow
60505         possibilities.  Add casts to avoid signed/unsigned operations.
60506         * stdlib/tst-strtod-overflow.c: New file.
60507         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60509 2012-08-25  Marek Polacek  <polacek@redhat.com>
60511         * time/time.h: Fix some typos in comments.
60513 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60515         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60516         * posix/tst-rfc3484-2.c: Likewise.
60517         * posix/tst-rfc3484-3.c: Likewise.
60519 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60521         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60522         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60524 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60526         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60527         #include of fxstatat64.c.
60529 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60531         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60532         * shadow/getspent_r.c: Likewise.
60533         * shadow/getspnam.c: Likewise.
60534         * shadow/getspnam_r.c: Likewise.
60535         * gshadow/getsgent.c: Likewise.
60536         * gshadow/getsgent_r.c: Likewise.
60537         * gshadow/getsgnam.c: Likewise.
60538         * gshadow/getsgnam_r.c: Likewise.
60539         * inet/getnetbyad.c: Likewise.
60540         * inet/getnetbyad_r.c: Likewise.
60541         * inet/getnetbynm.c: Likewise.
60542         * inet/getnetbynm_r.c: Likewise.
60543         * inet/getnetent.c: Likewise.
60544         * inet/getnetent_r.c: Likewise.
60545         * inet/getproto.c: Likewise.
60546         * inet/getproto_r.c: Likewise.
60547         * inet/getprtent.c: Likewise.
60548         * inet/getprtent_r.c: Likewise.
60549         * inet/getprtname.c: Likewise.
60550         * inet/getprtname_r.c: Likewise.
60551         * inet/getrpcbyname.c: Likewise.
60552         * inet/getrpcbyname_r.c: Likewise.
60553         * inet/getrpcbynumber.c: Likewise.
60554         * inet/getrpcbynumber_r.c: Likewise.
60555         * inet/getrpcent.c: Likewise.
60556         * inet/getrpcent_r.c: Likewise.
60557         * inet/getaliasent.c: Likewise.
60558         * inet/getaliasent_r.c: Likewise.
60559         * inet/getaliasname.c: Likewise.
60560         * inet/getaliasname_r.c: Likewise.
60561         * nscd/getgrgid_r.c: Likewise.
60562         * nscd/getgrnam_r.c: Likewise.
60563         * nscd/gethstbyad_r.c: Likewise.
60564         * nscd/gethstbynm3_r.c: Likewise.
60565         * nscd/getpwnam_r.c: Likewise.
60566         * nscd/getpwuid_r.c: Likewise.
60567         * nscd/getsrvbynm_r.c: Likewise.
60568         * nscd/getsrvbypt_r.c: Likewise.
60569         * nscd/gai.c: Likewise.
60571         * configure.in (build_nscd): New substituted variable, set
60572         by --disable-build-nscd and defaults to $use_nscd.
60573         * configure: Regenerated.
60574         * config.make.in (build-nscd): New substituted variable.
60575         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60576         Change conditional to require [$(build-nscd) = yes] as well.
60577         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60579         [BZ# 13696]
60580         * configure.in (use_nscd): New substituted variable, set by
60581         --disable-nscd.  If enabled, define USE_NSCD.
60582         * configure: Regenerated.
60583         * config.h.in: Add USE_NSCD.
60584         * config.make.in (use-nscd): New substituted variable.
60585         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60586         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60587         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60588         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60589         (CFLAGS-getgrnam_r.c): Likewise.
60590         (CFLAGS-initgroups.c): Likewise.
60591         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60592         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60593         Variables removed.
60594         * inet/getnetgrent_r.c
60595         (nscd_setnetgrent): New function, broken out of ...
60596         (setnetgrent): ... here.  Call it.
60597         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60598         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60599         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60600         * nscd/Makefile (routines, aux): Move definitions after include of
60601         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60602         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60603         Conditionalize on [USE_NSCD].
60604         (is_nscd, nscd_init_cb): Likewise.
60605         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60606         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60607         * nss/nss_db/db-init.c: Likewise.
60608         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60609         [USE_NSCD].
60610         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60611         (make_request): Use it.
60612         (cache_valid_p): New function.
60613         (__check_pf): Use it.
60614         * NEWS: Add item for --disable-nscd.
60616 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60618         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60619         to support sed >= 4.2.1-20-ga9bf076.
60620         * configure: Regenerated.
60622 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60624         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60625         Conditionalize whole body on [IREL].
60627 2012-08-22  Jeff Law <law@redhat.com>
60629         [BZ #14505]
60630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60631         if the family is PF_UNSPEC.
60633 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60635         * Makerules (lib-version): Rename from V.
60636         (install-lib-nosubdir): Change V to lib-version.
60638 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60640         [BZ #14252]
60641         * powerpc32/power6/wcschr.c: New file.
60642         * powerpc32/power6/wcscpy.c: New file.
60643         * powerpc32/power6/wcsrchr.c: New file.
60644         * powerpc64/power6/wcschr.c: New file.
60645         * powerpc64/power6/wcscpy.c: New file.
60646         * powerpc64/power6/wcsrchr.c: New file.
60648 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60650         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60651         (two_way_short_needle): Use it.
60652         * string/strstr.c (AVAILABLE1_USES_J): Define.
60653         * string/strcasestr.c: Likewise.
60655         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60656         array references.
60657         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60659         [BZ #11607]
60660         * NEWS: Add an entry.
60661         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60662         define their defaults.
60663         (two_way_short_needle): Detect end-of-string on-the-fly.
60664         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60665         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60666         * string/bug-strcasestr1.c: New test.
60667         * string/Makefile: Run it.
60669 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60671         [BZ #11607]
60672         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60673         the first character.
60675 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60677         * csu/elf-init.c (__libc_csu_irel): Function removed.
60678         * csu/libc-start.c (apply_irel): New function.
60679         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60681 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60683         * sysdeps/unix/sysv/linux/kernel-features.h
60684         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60685         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60686         <kernel-features.h>.
60687         [__NR_fadvise64_64]: Make code unconditional.
60688         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60689         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60690         !__NR_fadvise64_64)]: Likewise.
60691         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60692         !__NR_fadvise64_64))]: Likewise.
60693         [__NR_fadvise64]: Make code unconditional.
60694         [!__NR_fadvise64]: Remove conditional code.
60695         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60696         <kernel-features.h>.
60697         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60698         unconditional.
60699         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60700         conditional code.
60701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60702         not include <kernel-features.h>.
60703         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60704         unconditional.
60705         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60706         conditional code.
60707         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60708         include <kernel-features.h>.
60709         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60710         unconditional.
60711         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60712         conditional code.
60714 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60716         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60717         slight instruction rearrangements per scrollpipe analysis.
60718         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60720 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60722         * manual/syslog.texi (syslog; vsyslog, closelog):
60723         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60724         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60726         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60727         DSOCAPS to match condition on defining it.
60729 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60731         * sysdeps/unix/sysv/linux/kernel-features.h
60732         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60734         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60735         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60737         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60738         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60740         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60741         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60743         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60744         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60746         * sysdeps/unix/sysv/linux/kernel-features.h
60747         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60748         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60749         unconditional.
60750         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60751         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60752         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60753         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60754         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60755         Make code unconditional.
60756         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60757         (__mmap64) [!__NR_mmap2]: Likewise.
60758         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60759         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60760         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60761         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60762         [__NR_mmap2]: Make code unconditional.
60763         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60764         (__mmap64) [!__NR_mmap2]: Likewise.
60766 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60768         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60770 2012-08-18  Andreas Jaeger  <aj@suse.de>
60772         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60774 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60776         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60777         * include/unistd.h (__have_sock_cloexec): Likewise.
60778         (__have_pipe2): Likewise.
60779         (__have_dup3): Likewise.
60781 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60783         [BZ #9685]
60784         * include/unistd.h (__have_pipe2): Change define into an extern int.
60785         (__have_dup3): Likewise.
60786         * socket/have_sock_cloexec.c: Include fcntl.h.
60787         (__have_pipe2): New variable.
60788         (__have_dup3): Likewise.
60790 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
60792         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60794 2012-08-17  Marek Polacek  <polacek@redhat.com>
60796         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60797         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60799 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60801         * configure.in: Add AC_SUBST for sysheaders.
60802         * configure: Regenerated.
60803         * config.make.in (sysheaders): New substituted variable.
60805         * sysdeps/unix/mkfifo.c: Moved ...
60806         * sysdeps/posix/mkfifo.c: ... here.
60807         * sysdeps/unix/mkfifoat.c: Moved ...
60808         * sysdeps/posix/mkfifoat.c: ... here.
60810         * sysdeps/unix/utime.c: Moved ...
60811         * sysdeps/posix/utime.c: ... here.
60813         * sysdeps/unix/time.c: Moved ...
60814         * sysdeps/posix/time.c: ... here.
60815         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60816         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60818         * sysdeps/unix/nice.c: Moved ...
60819         * sysdeps/posix/nice.c: ... here.
60821         * sysdeps/unix/alarm.c: Moved ...
60822         * sysdeps/posix/alarm.c: ... here.
60824         * intl/Makefile ($(codeset_mo)): Depend on the input file.
60826 2012-08-17  Jeff Law <law@redhat.com>
60828         * intl/Makefile (codeset_mo): New variable.
60829         ($(codeset_mo)): New target.
60830         (tst-codeset.out): Depend on that.  Remove explicit rule.
60831         (tst-gettext3.out, tst-gettext5.out): Likewise.
60832         (LOCPATH-ENV, tst-codeset-ENV): New variables.
60833         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60834         * intl/tst-codeset.sh: Remove.
60835         * intl/tst-gettext3.sh: Likewise.
60836         * intl/tst-gettext5.sh: Likewise.
60838 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60840         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
60841         * sysdeps/unix/syscalls.list: ... here.
60843         * sysdeps/posix/getaddrinfo.c
60844         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60845         (gaiconf_init, gaiconf_reload): Use them.
60846         [!_STATBUF_ST_NSEC]
60847         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60848         Define using time_t rather than struct timespec.
60850         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60851         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60852         Macros removed.
60853         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60854         [!NO_THREADS].
60855         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60856         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60857         Likewise.
60859         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60860         __libc_cleanup_push argument.
60862         * bits/param.h: New file.
60863         * misc/sys/param.h: New file.
60864         * include/sys/param.h: New file.
60865         * misc/Makefile (headers): Add bits/param.h.
60866         * sysdeps/generic/sys/param.h: File removed.
60867         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60868         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60869         * sysdeps/mach/hurd/bits/param.h: New file.
60870         * sysdeps/mach/hurd/sys/param.h: File removed.
60872         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60873         last change.
60875         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60876         [_IO_MTSAFE_IO].
60877         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60878         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60879         New macros.
60881         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60882         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60883         rather than -D_IO_MTSAFE_IO conditionally.
60884         * stdio-common/Makefile (CPPFLAGS): Likewise.
60885         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60886         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60887         Use $(libio-mtsafe).
60888         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60889         of -D_IO_MTSAFE_IO.
60890         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60891         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60892         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60893         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60894         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60895         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60896         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60897         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60898         (CFLAGS-fread_u_chk.c): Likewise.
60899         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60900         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60901         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60902         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60903         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60904         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60905         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60906         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60907         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60909         * libio/Makefile: Test [$(libc-reentrant) = yes]
60910         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60912         * Makeconfig
60913         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60914         * sysdeps/pthread/configure: File removed.
60915         * sysdeps/pthread/Makeconfig: New file.
60916         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60917         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60919 2012-08-16  Gary Benson  <gbenson@redhat.com>
60921         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60922         unmapping the first object in a namespace.
60924 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60926         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60927         (__internal_setnetgrent): ... this.  Add internal_function to
60928         definition.  Add libc_hidden_def.
60929         (setnetgrent): Update caller.
60930         (internal_endnetgrent): Renamed to ...
60931         (__internal_endnetgrent): ... this.  Add internal_function to
60932         definition.  Add libc_hidden_def.
60933         (endnetgrent): Update caller.
60934         (internal_getnetgrent_r): Renamed to ...
60935         (__internal_getnetgrent_r): ... this.  Add internal_function to
60936         definition.  Add libc_hidden_def.
60937         (__getnetgrent_r): Update caller.
60938         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60940 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60942         * stdlib/longlong.h: Update from GCC.
60944 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60946         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60947         on _QL, which is set by umul_ppmm but never used.
60948         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60949         variables, which are set by GMP macros but never used.
60950         * stdio-common/_itowa.c (_itowa): Likewise.
60951         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60952         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60954 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60956         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60957         struct La_sh_regs is not constant.
60958         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60959         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60960         and struct La_sparc64_regs are not constant.
60962 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60964         * sysdeps/unix/sysv/linux/kernel-features.h
60965         (__ASSUME_POSIX_TIMERS): Remove.
60966         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60967         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60968         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60969         Make code unconditional.
60970         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60971         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60972         Make code unconditional.
60973         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60974         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60975         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60976         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60977         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60978         Make code unconditional.
60979         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60980         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60981         (__libc_missing_posix_timers): Remove.
60983 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60985         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60986         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60988         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60990         * elf/dl-sym.c: Include <stdlib.h>.
60992         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60993         constants, which avoids warnings in 32-bit builds.
60995         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60996         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60998         * misc/lseek.c: File moved to ...
60999         * io/lseek.c: ... here.
61001         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61003         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61004         shifting LEN more than 31 bits at once.
61006 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61008         [BZ #14195]
61009         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61010         segmentation fault for a case of two empty input strings.
61011         * string/test-strncasecmp.c (check1): Renamed to...
61012         (bz12205): ...this.
61013         (bz14195): Add new testcase for two empty input strings and N > 0.
61014         (test_main): Call new testcase, adapt for renamed function.
61016 2012-08-15  Andreas Jaeger  <aj@suse.de>
61018         [BZ #14090]
61019         * crypt/md5test2.c: New test, based on test supplied by Serge
61020         Belyshev <belyshev@depni.sinp.msu.ru>.
61021         * crypt/Makefile (xtests): Add md5test-giant..
61022         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61024 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61026         [BZ #14090]
61027         * crypt/md5.c (md5_process_block): Don't assume the buffer
61028         length is less than 2**32.
61029         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61030         length is less than 2**64.
61032 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61034         * string/str-two-way.h: Include <sys/param.h>.
61035         (MAX): Macro removed.
61037         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61038         Move #define and #undef of memmove to just before and after
61039         including <string.h>.
61041         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61042         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61043         and after including <string.h>.  Move declarations of
61044         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61045         to before #include "string/memmove.c".
61047         * include/dirent.h: Declare __getdirentries.
61049         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61050         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61052 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61054         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61055         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61056         * sysdeps/i386/configure: Regenerated.
61057         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61058         STABS_CURRENT_FILE, and STABS_FUN.
61059         (END): Remove call to STABS_FUN_END.
61060         (STABS_CURRENT_FILE1): Delete.
61061         (STABS_CURRENT_FILE): Likewise.
61062         (STABS_FUN): Likewise.
61063         (STABS_FUN_END): Likewise.
61064         (STABS_FUN2): Likewise.
61065         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61066         * sysdeps/x86_64/configure: Regenerated.
61068 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61070         * elf/dl-open.c: Include <atomic.h>.
61071         * elf/dl-lookup.c: Likewise.
61073 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61075         * sysdeps/unix/sysv/linux/kernel-features.h
61076         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61077         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61078         unconditionally.
61079         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61080         unconditionally.
61081         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61082         condition on __ASSUME_CLONE_THREAD_FLAGS.
61084 2012-08-14  Andreas Jaeger  <aj@suse.de>
61086         * sysdeps/i386/fpu/libm-test-ulps: Update.
61088 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61090         * include/atomic.h (atomic_exchange_and_add): Split into ...
61091         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61092         New atomic macros.
61094 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61098 2012-08-13  Jeff Law <law@redhat.com>
61100         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61101         null byte in the output string.
61103 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61105         * sysdeps/unix/sysv/linux/kernel-features.h
61106         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61107         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61108         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61109         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61110         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61111         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61112         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61114 2012-08-09  Jeff Law <law@redhat.com>
61116         [BZ #13939]
61117         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61118         When avoid_arena is set, don't retry in the that arena.  Pick the
61119         next one, whatever it might be.
61120         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61121         (arena_lock): Pass in new parameter to arena_get2.
61122         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61123         arena_get2.
61124         (__libc_malloc): Unify retrying after main arena failure with
61125         __libc_memalign version.
61126         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61128 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61130         [BZ #14166]
61131         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61132         to __redirect_strstr.
61133         (__strstr_sse42): Use typeof __redirect_strstr.
61134         (__strstr_ia32): Likewise.
61135         (__libc_strstr): New prototype.
61136         (strstr): Renamed to ...
61137         (__libc_strstr): This.
61138         (strstr): New strong alias of __libc_strstr.
61139         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61140         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61141         __redirect_time.
61142         Include <time.h>.
61143         (__libc_time): New prototype.
61144         (time_ifunc): Replace time with __libc_time.
61145         (time): New strong alias and hidden definition of __libc_time.
61146         (__GI_time): Remove strong alias.
61147         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61148         Include <stddef.h>.
61149         (memmove): Redefined to __redirect_memmove.
61150         (__memmove_sse2): Use typeof __redirect_memmove.
61151         (__memmove_ssse3): Likewise.
61152         (__memmove_ssse3_back): Likewise.
61153         (__libc_memmove): New prototype.
61154         (memmove): Renamed to ...
61155         (__libc_memmove): This.
61156         (memmove): New strong alias of __libc_memmove.
61158 2012-08-08  Mark Salter  <msalter@redhat.com>
61160         * elf/elf.h
61161         (R_MN10300_TLS_GD): Define.
61162         (R_MN10300_TLS_LD): Likewise.
61163         (R_MN10300_TLS_LDO): Likewise.
61164         (R_MN10300_TLS_GOTIE): Likewise.
61165         (R_MN10300_TLS_IE): Likewise.
61166         (R_MN10300_TLS_LE): Likewise.
61167         (R_MN10300_TLS_DTPMOD): Likewise.
61168         (R_MN10300_TLS_DTPOFF): Likewise.
61169         (R_MN10300_TLS_TPOFF): Likewise.
61170         (R_MN10300_SYM_DIFF): Likewise.
61171         (R_MN10300_ALIGN): Likewise.
61172         (R_MN10300_NUM): Update.
61174 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61176         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61177         Remove.
61179 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61181         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61183         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61184         sysdeps/unix -> sysdeps/posix move.
61185         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61187 2012-08-07      Allan McRae     <allan@archlinux.org>
61189         [BZ #14303]
61190         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61191         (SUNOS_CPP): Likewise.
61192         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61193         not found.
61194         (open_input): Call CPP using execvp.
61196 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61198         * sysdeps/unix/sysv/linux/kernel-features.h
61199         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61200         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61201         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61202         (__ASSUME_WAITID_SYSCALL): Likewise.
61203         * sysdeps/unix/sysv/linux/dl-execstack.c
61204         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61205         code unconditional.
61206         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61207         conditional code.
61208         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61209         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61210         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61211         code.
61212         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61213         unconditional.
61214         [__ASSUME_WAITID_SYSCALL]: Likewise.
61215         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61217 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61219         * sysdeps/unix/closedir.c: Renamed to ...
61220         * sysdeps/posix/closedir.c: ... here.
61221         * sysdeps/unix/dirfd.c: Renamed to ...
61222         * sysdeps/posix/dirfd.c: ... here.
61223         * sysdeps/unix/dirstream.h: Renamed to ...
61224         * sysdeps/posix/dirstream.h: ... here.
61225         * sysdeps/unix/fdopendir.c: Renamed to ...
61226         * sysdeps/posix/fdopendir.c: ... here.
61227         * sysdeps/unix/opendir.c: Renamed to ...
61228         * sysdeps/posix/opendir.c: ... here.
61229         * sysdeps/unix/readdir.c: Renamed to ...
61230         * sysdeps/posix/readdir.c: ... here.
61231         * sysdeps/unix/readdir_r.c: Renamed to ...
61232         * sysdeps/posix/readdir_r.c: ... here.
61233         * sysdeps/unix/rewinddir.c: Renamed to ...
61234         * sysdeps/posix/rewinddir.c: ... here.
61235         * sysdeps/unix/seekdir.c: Renamed to ...
61236         * sysdeps/posix/seekdir.c: ... here.
61237         * sysdeps/unix/telldir.c: Renamed to ...
61238         * sysdeps/posix/telldir.c: ... here.
61239         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61240         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61241         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61242         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61244         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61245         * bits/fcntl.h: ... here.
61247         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61248         not 0.
61249         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61250         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61251         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61252         (struct flock): Move l_start, l_len to the beginning.
61253         Use __pid_t for l_pid.
61254         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61255         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61256         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61257         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61258         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61259         [__USE_LARGEFILE64] (struct flock64): New type.
61260         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61262         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61263         * bits/dirent.h: ... here.
61265         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61266         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61268 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61270         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61271         Change from 2.6.0 to 2.6.16.
61272         * sysdeps/unix/sysv/linux/configure: Regenerated.
61273         * sysdeps/unix/sysv/linux/kernel-features.h
61274         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61275         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61276         version.
61277         (__ASSUME_UTIMES): Likewise.
61278         (__ASSUME_CLONE_STOPPED): Remove.
61279         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61280         architectures, not kernel version.
61281         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61282         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61283         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61284         (__ASSUME_WAITID_SYSCALL): Likewise.
61285         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61286         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61287         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61288         refer to older versions.
61290 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61292         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61293         Define alphasort64 as an alias.
61294         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61295         Define versionsort64 as an alias.
61296         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61297         Define scandir64 as an alias.
61298         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61299         Define scandirat64 as an alias.
61300         * dirent/alphasort64.c (alphasort64):
61301         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61302         * dirent/versionsort64.c: Likewise.
61303         * dirent/scandir64.c: Likewise.
61304         * dirent/scandirat64.c: Likewise.
61305         * sysdeps/wordsize-64/alphasort.c: File removed.
61306         * sysdeps/wordsize-64/alphasort64.c: File removed.
61307         * sysdeps/wordsize-64/scandir.c: File removed.
61308         * sysdeps/wordsize-64/scandir64.c: File removed.
61309         * sysdeps/wordsize-64/scandirat.c: File removed.
61310         * sysdeps/wordsize-64/scandirat64.c: File removed.
61311         * sysdeps/wordsize-64/versionsort.c: File removed.
61312         * sysdeps/wordsize-64/versionsort64.c: File removed.
61313         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61314         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61315         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61316         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61317         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61318         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61319         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61320         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61322         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61323         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61324         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61325         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61326         [defined __arch64__ || defined __sparcv9]
61327         (__INO_T_MATCHES_INO64_T): New macro.
61328         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61329         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61330         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61331         * sysdeps/unix/sysv/linux/bits/dirent.h
61332         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61333         (_DIRENT_MATCHES_DIRENT64): New macro.
61335         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61336         Define lockf64 as an alias.
61337         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61338         Define fseeko64 as an alias.
61339         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61340         Define ftello64 as an alias.
61341         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61342         Define _IO_fgetpos64 and fgetpos64 as aliases.
61343         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61344         Define _IO_fsetpos64 and fsetpos64 as aliases.
61345         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61346         Conditionalize body on this.
61347         * libio/fseeko64.c: Likewise.
61348         * libio/ftello64.c: Likewise.
61349         * libio/iofgetpos64.c: Likewise.
61350         * libio/iofsetpos64.c: Likewise.
61351         * sysdeps/wordsize-64/lockf.c: File removed.
61352         * sysdeps/wordsize-64/lockf64.c: File removed.
61353         * sysdeps/wordsize-64/fseeko.c: File removed.
61354         * sysdeps/wordsize-64/fseeko64.c: File removed.
61355         * sysdeps/wordsize-64/ftello.c: File removed.
61356         * sysdeps/wordsize-64/ftello64.c: File removed.
61357         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61358         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61359         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61360         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61361         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61362         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61363         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61364         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61365         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61366         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61367         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61368         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61369         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61370         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61372         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61373         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61374         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61375         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61376         [defined __arch64__ || defined __sparcv9]
61377         (__OFF_T_MATCHES_OFF64_T): New macro.
61378         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61379         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61380         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61381         (__OFF_T_MATCHES_OFF64_T): New macro.
61383 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61385         * stdlib/secure-getenv.c (__secure_getenv): Replace
61386         GLIBC_2_16 with GLIBC_2_17.
61388 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61390         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61391         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61393 2012-08-03  David S. Miller  <davem@davemloft.net>
61395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61397 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61399         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61400         Remove.
61401         (__ASSUME_CORRECT_SI_PID): Likewise.
61402         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61403         (__ASSUME_TMPFS_NAME): Likewise.
61404         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61405         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61406         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61407         (HAVE_AUX_SECURE): Make definition unconditional.
61408         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61409         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61411 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61413         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61414         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61415         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61416         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61417         __eloop_threshold instead of SYMLOOP_MAX.
61419         * sysdeps/generic/eloop-threshold.h: New file.
61420         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61421         of MAXSYMLINKS.
61422         * elf/chroot_canon.c (chroot_canon): Likewise.
61424 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61426         [BZ #13717]
61427         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61428         Change to 2.6.0 everywhere.
61429         * sysdeps/unix/sysv/linux/configure: Regenerated.
61430         * sysdeps/unix/sysv/linux/kernel-features.h
61431         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61432         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61433         kernel versions.
61434         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61435         (__ASSUME_FUTEX_REQUEUE): Remove.
61436         (__ASSUME_STATFS64): Define unconditionally.
61437         (__ASSUME_AT_SECURE): Likewise.
61438         (__ASSUME_CORRECT_SI_PID): Likewise.
61439         (__ASSUME_TGKILL): Define without depending on kernel version for
61440         i386.
61441         (__ASSUME_UTIMES): Likewise.
61442         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61443         kernel version.
61444         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61445         (__ASSUME_TMPFS_NAME): Likewise.
61446         * README: Update reference to Linux kernel versions.
61448 2012-08-02  Marek Polacek  <polacek@redhat.com>
61450         [BZ# 14150]
61451         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61452         libc_cv_asm_type_prefix with %.
61453         * configure: Regenerated.
61454         * include/libc-symbols.h: Remove comment about
61455         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61456         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61457         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61458         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61459         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61460         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61461         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61462         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61463         * elf/tst-unique2mod1.c: Likewise.
61464         * elf/tst-unique1mod2.c: Likewise.
61465         * elf/tst-unique1mod1.c: Likewise.
61466         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61467         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61468         Replace ASM_TYPE_DIRECTIVE with .type.
61469         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61470         * sysdeps/i386/sysdep.h: Likewise.
61471         * sysdeps/x86_64/sysdep.h: Likewise.
61472         * sysdeps/sh/sysdep.h: Likewise.
61473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61474         Do not define ASM_TYPE_DIRECTIVE.
61475         * sysdeps/powerpc/sysdep.h: Likewise.
61476         * sysdeps/powerpc/powerpc32/sysdep.h:
61477         Replace ASM_TYPE_DIRECTIVE with .type.
61478         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61479         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61480         * sysdeps/i386/fpu/e_powf.S: Likewise.
61481         * sysdeps/i386/fpu/e_expl.S: Likewise.
61482         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61483         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61484         * sysdeps/i386/fpu/e_pow.S: Likewise.
61485         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61486         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61487         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61488         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61489         * sysdeps/i386/fpu/e_log2.S: Likewise.
61490         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61491         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61492         * sysdeps/i386/fpu/e_powl.S: Likewise.
61493         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61494         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61495         * sysdeps/i386/fpu/e_logl.S: Likewise.
61496         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61497         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61498         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61499         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61500         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61501         * sysdeps/i386/fpu/e_log.S: Likewise.
61502         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61503         * sysdeps/i386/fpu/e_logf.S: Likewise.
61504         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61505         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61506         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61507         * sysdeps/i386/fpu/e_log10.S: Likewise.
61508         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61509         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61510         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61511         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61512         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61513         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61514         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61515         * sysdeps/i386/i686/strtok.S: Likewise.
61516         * sysdeps/i386/i386-mcount.S: Likewise.
61517         * sysdeps/i386/strtok.S: Likewise.
61518         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61519         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61520         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61521         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61522         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61523         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61524         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61525         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61526         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61527         * sysdeps/x86_64/_mcount.S: Likewise.
61528         * sysdeps/x86_64/strtok.S: Likewise.
61529         * sysdeps/sh/_mcount.S: Likewise.
61531 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61533         * libio/iofopen.c: Include <fcntl.h>.
61534         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61535         (_IO_fopen64, fopen64): Define as aliases.
61536         * libio/iofopen64.c: Include <fcntl.h>.
61537         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61538         Conditionalize body on this.
61539         * sysdeps/wordsize-64/iofopen.c: File removed.
61540         * sysdeps/wordsize-64/iofopen64.c: File removed.
61542 2012-08-01  Marek Polacek  <polacek@redhat.com>
61544         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61545         Use dlfcn directly instead of a variable.
61546         (binfmt-subdir): Do not define.
61547         (dlfcn): Likewise.
61549 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61551         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61552         Remove all definitions.
61553         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61554         <kernel-features.h>.
61555         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61556         (miss_F_GETOWN_EX): Remove all definitions.
61557         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61558         macro definition.
61559         [!__ASSUME_FCNTL64]: Remove conditional code.
61560         [__ASSUME_FCNTL64]: Make code unconditional.
61561         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61562         <kernel-features.h>.
61563         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61564         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61565         (lockf64) [__NR_fcntl64]: Make code unconditional.
61566         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61568         * sysdeps/unix/sysv/linux/kernel-features.h
61569         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61570         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61571         Make code unconditional.
61572         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61573         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61575         [__NR_vfork]: Make code unconditional.
61576         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61577         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61579         [__NR_vfork]: Make code unconditional.
61580         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61581         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61583 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61585         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61586         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61588         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61589         Define mkstemp64 as an alias.
61590         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61591         Define mkstemps64 as an alias.
61592         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61593         Define mkostemp64 as an alias.
61594         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61595         Define mkostemps64 as an alias.
61596         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61597         Conditionalize body on this.
61598         * misc/mkostemp64.c: Likewise.
61599         * misc/mkostemps64.c: Likewise.
61600         * misc/mkstemps64.c: Likewise.
61601         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61602         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61603         * sysdeps/wordsize-64/mkostemp.c: File removed.
61604         * sysdeps/wordsize-64/mkstemp.c: File removed.
61605         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61606         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61607         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61608         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61610         [BZ #14138]
61611         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61612         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61613         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61614         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61616         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61617         compat_symbol macros from <shlib-compat.h> rather than the underlying
61618         default_symbol_version and symbol_version macros, so that DEFAULT
61619         lines in shlib-versions are respected.
61620         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61622 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61624         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61625         Declare with warn_unused_result.
61626         (setgid, setregid, setegid, setresgid): Likewise.
61627         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61628         Likewise.
61629         * WUR-REPORT: Remove set*id functions.
61631 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61633         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61635 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61637         [BZ #10191]
61638         * include/sys/socket.h (__libc_accept, __libc_accept4):
61639         Add attribute_hidden.
61640         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61642         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61643         use of PTR_MANGLE.
61644         * inet/getnetgrent_r.c (setup): Likewise.
61646         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61648 2012-07-31  David S. Miller  <davem@davemloft.net>
61650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61652 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61654         [BZ #13629]
61655         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61656         value between 1.0 and 2.0 and smaller part has absolute value less
61657         than 1.0.
61658         * math/s_clog10.c (__clog10): Likewise.
61659         * math/s_clog10f.c (__clog10f): Likewise.
61660         * math/s_clog10l.c (__clog10l): Likewise.
61661         * math/s_clogf.c (__clogf): Likewise.
61662         * math/s_clogl.c (__clogl): Likewise.
61663         * math/libm-test.inc (clog_test): Add more tests.
61664         (clog10_test): Likewise.
61665         * sysdeps/i386/fpu/libm-test-ulps: Update.
61666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61668 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61670         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61671         Exit with zero in case no suitable GID is found, and write a
61672         message to standard error.
61674 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61676         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61677         rather than to 1.
61678         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61679         (MAXPATHLEN): Removed.
61680         (NOGROUP, NODEV): New macros.
61681         (setbit, clrbit, isset, isclr): New macros.
61682         (howmany, roundup, powerof2): New macros.
61683         (DEV_BSIZE): New macro.
61685         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61686         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61688         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61689         definition on [!__NO_LONG_DOUBLE_MATH].
61691         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61692         PTR_MANGLE and PTR_DEMANGLE.
61694         * socket/accept4.c (accept4): Rename to __libc_accept4.
61695         Define accept4 as a weak alias.
61697         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61698         on [_DIRENT_HAVE_D_TYPE].
61699         * io/ftw.c (ftw_dir): Likewise.
61701         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61703         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61705         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61706         Use the BSD numbers rather than the arbitrary ones we had.
61707         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61708         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61709         (SIGXCPU, SIGXFSZ): New macros.
61710         (_NSIG): Now 32.
61712         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61713         initializer on [_LIBC_REENTRANT].
61715         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61716         definitions inside [_POSIX_MAPPED_FILES].
61718         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61720         * dirent/opendir.c: Include <fcntl.h>.
61722         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61723         (__libc_getspecific): Likewise.
61724         (__libc_key_create): Likewise.
61726         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61727         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61728         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61729         (tmpfile64): Define as alias.
61730         * sysdeps/wordsize-64/tmpfile.c: File removed.
61731         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61732         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61733         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61735         * stdio-common/vfscanf.c: Include <stdbool.h>.
61736         * nss/makedb.c: Likewise.
61737         * stdio-common/_i18n_number.h: Likewise.
61738         * argp/argp-help.c: Likewise.
61739         * posix/wordexp.c: Likewise.
61740         * sysdeps/posix/spawni.c: Likewise.
61741         * nss/nss_files/files-initgroups.c: Likewise.
61742         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61743         * nss/nss_files/files-initgroups.c: Likewise.
61744         * nss/nss_db/db-netgrp.c: Likewise.
61745         * nss/nss_db/db-initgroups.c: Likewise.
61746         * io/fchmodat.c: Include <sys/stat.h>.
61748         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61749         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61751         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61752         [HAVE_MMAP].
61754         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61755         Add multiple inclusion protection.
61757 2012-07-27  David S. Miller  <davem@davemloft.net>
61759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61761 2012-07-27  Gary Benson  <gbenson@redhat.com>
61763         [BZ #14298]
61764         * elf/rtld.c: Include <stap-probe.h>.
61765         (dl_main): Added static probes "init_start" and "init_complete".
61766         * elf/dl-load.c: Include <stap-probe.h>.
61767         (lose): Take new parameter "nsid".
61768         Added static probe "map_failed".
61769         (_dl_map_object_from_fd): Pass namespace id to lose.
61770         Added static probe "map_start".
61771         (open_verify): Pass namespace id to lose.
61772         * elf/dl-open.c: Include <stap-probe.h>.
61773         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61774         and "reloc_complete".
61775         * elf/dl-close.c: Include <stap-probe.h>.
61776         (_dl_close_worker): Added static probes "unmap_start" and
61777         "unmap_complete".
61778         * elf/rtld-debugger-interface.txt: New file documenting the above.
61780 2012-07-26  Roland McGrath  <roland@hack.frob.com>
61782         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61783         rather than a string variable.
61784         * sunrpc/rpc_main.c (h_output): Likewise.
61785         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61787 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
61789         * inet/check_native.c: New file.
61791 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
61793         [BZ #13629]
61794         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61795         if larger part has absolute value 1.0.
61796         * math/s_clog10.c (__clog10): Likewise.
61797         * math/s_clog10f.c (__clog10f): Likewise.
61798         * math/s_clog10l.c (__clog10l): Likewise.
61799         * math/s_clogf.c (__clogf): Likewise.
61800         * math/s_clogl.c (__clogl): Likewise.
61801         * math/libm-test.inc (clog_test): Add more tests.
61802         (clog10_test): Likewise.
61803         * sysdeps/i386/fpu/libm-test-ulps: Update.
61804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61806         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61807         (pltexit): Likewise.
61808         (La_regs): Likewise.
61809         (La_retval): Likewise.
61810         (int_retval): Likewise.
61811         Update #error for removed macros to refer only to definitions in
61812         tst-audit.h.
61813         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61814         macro.
61815         (pltexit): Likewise.
61816         (La_regs): Likewise.
61817         (La_retval): Likewise.
61818         (int_retval): Likewise.
61819         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61820         macro.
61821         (pltexit): Likewise.
61822         (La_regs): Likewise.
61823         (La_retval): Likewise.
61824         (int_retval): Likewise.
61825         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61826         macro.
61827         (pltexit): Likewise.
61828         (La_regs): Likewise.
61829         (La_retval): Likewise.
61830         (int_retval): Likewise.
61831         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61832         macro.
61833         (pltexit): Likewise.
61834         (La_regs): Likewise.
61835         (La_retval): Likewise.
61836         (int_retval): Likewise.
61837         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61838         macro.
61839         (pltexit): Likewise.
61840         (La_regs): Likewise.
61841         (La_retval): Likewise.
61842         (int_retval): Likewise.
61843         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61844         macro.
61845         (pltexit): Likewise.
61846         (La_regs): Likewise.
61847         (La_retval): Likewise.
61848         (int_retval): Likewise.
61849         * sysdeps/generic/tst-audit.h: Update comment to refer only to
61850         macro definitions in tst-audit.h.
61851         * sysdeps/i386/tst-audit.h: New file.
61852         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61853         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61854         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61855         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61856         * sysdeps/sh/tst-audit.h: Likewise.
61857         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61858         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61859         * sysdeps/x86_64/tst-audit.h: Likewise.
61861 2012-07-26  Andreas Jaeger  <aj@suse.de>
61863         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61864         ptrace.
61866         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61867         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61868         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61869         PTRACE_O_MASK.
61870         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61871         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61872         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61874         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61875         value.
61877         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61878         _sigsys.
61879         (si_call_addr, si_syscall, si_arch): Define new macro.
61880         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61881         _sigsys.
61882         (si_call_addr, si_syscall, si_arch): Define new marcro.
61883         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61884         _sigsys.
61885         (si_call_addr, si_syscall, si_arch): Define new macro.
61886         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61887         _sigsys.
61888         (si_call_addr, si_syscall, si_arch): Define new macro.
61890 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61892         [BZ #13717]
61893         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61894         Change to 2.4.21 where previously 2.4.1.
61895         * sysdeps/unix/sysv/linux/configure: Regenerated.
61896         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61897         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61898         Linux kernel version.
61899         (__ASSUME_STD_AUXV): Remove.
61900         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61901         kernel version.
61902         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61903         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61904         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61905         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61906         (__ASSUME_NETLINK_SUPPORT): Likewise.
61907         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61908         (__no_netlink_support): Remove conditional definition.
61909         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61910         Remove.
61911         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61912         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61913         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61914         (if_nameindex_ioctl): Remove.
61915         (if_nameindex_netlink): Do not handle __no_netlink_support.
61916         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61917         code.
61918         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61919         Remove conditional code.
61920         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61921         code.
61922         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61923         unconditional.
61924         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61925         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61926         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61927         Remove.
61928         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61929         [!__ASSUME_STD_AUXV]: Remove conditional code.
61930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61931         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61932         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61934         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61935         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61936         code.
61937         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61939         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61940         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61941         conditional code.
61942         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61944         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61945         code.
61946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61947         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61948         conditional code.
61949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61950         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61951         code unconditional.
61952         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61953         conditional code.
61954         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61955         unconditional.
61956         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61957         conditional code.
61958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61959         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61960         unconditional.
61961         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61962         conditional code.
61963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61964         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61965         code unconditional.
61966         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61967         conditional code.
61968         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61969         unconditional.
61970         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61971         conditional code.
61972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61973         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61974         code unconditional.
61975         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61976         conditional code.
61977         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61978         unconditional.
61979         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61980         conditional code.
61982 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61984         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61985         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61986         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61987         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61988         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61989         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61990         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61991         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61992         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61993         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61994         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61995         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61996         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61997         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61998         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61999         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62000         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62001         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62002         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62003         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62004         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62005         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62006         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62008 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62010         * Versions.def: Add GLIBC_2.17.
62011         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62012         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62013         Introduce __libc_secure_getenv.
62014         * stdlib/Versions (2.17): Add secure_getenv
62015         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62016         * stdlib/secure-getenv.c: Rename __secure_getenv to
62017         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62018         symbol __secure_getenv for GLIBC_2.0.
62019         * stdlib/tst-secure-getenv.c: New.
62020         * stdlib/Makefile (tests): Add testcase.
62021         * manual/startup.texi (Environment Access): Document
62022         secure_getenv.
62023         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62024         __libc_secure_getenv.
62025         * inet/ruserpass.c (ruserpass): Likewise.
62026         * malloc/mtrace.c (mtrace): Likewise.
62027         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62028         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62029         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62030         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62031         HAVE_SECURE_GETENV.
62032         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62033         __secure_getenv to __libc_secure_getenv.
62034         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62036         Likewise.
62037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62038         Likewise.
62039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62041         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62047 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62049         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62050         (struct La_i86_retval): Likewise.
62051         (struct La_x86_64_regs): Likewise.
62052         (struct La_x86_64_retval): Likewise.
62053         (struct La_x32_regs): Likewise.
62054         (struct La_x32_retval): Likewise.
62055         (struct La_ppc32_regs): Likewise.
62056         (struct La_ppc32_retval): Likewise.
62057         (struct La_ppc64_regs): Likewise.
62058         (struct La_ppc64_retval): Likewise.
62059         (struct La_sh_regs): Likewise.
62060         (struct La_sh_retval): Likewise.
62061         (struct La_s390_32_regs): Likewise.
62062         (struct La_s390_32_retval): Likewise.
62063         (struct La_s390_64_regs): Likewise.
62064         (struct La_s390_64_retval): Likewise.
62065         (struct La_sparc32_regs): Likewise.
62066         (struct La_sparc32_retval): Likewise.
62067         (struct La_sparc64_regs): Likewise.
62068         (struct La_sparc64_retval): Likewise.
62069         (struct audit_ifaces): Remove architecture-specific pltenter and
62070         pltexit members.
62071         * sysdeps/i386/ldsodefs.h: New file.
62072         * sysdeps/powerpc/ldsodefs.h: Likewise.
62073         * sysdeps/s390/ldsodefs.h: Likewise.
62074         * sysdeps/sh/ldsodefs.h: Likewise.
62075         * sysdeps/sparc/ldsodefs.h: Likewise.
62076         * sysdeps/x86_64/ldsodefs.h: Likewise.
62078 2012-07-25  Marek Polacek  <polacek@redhat.com>
62080         [BZ #6808]
62081         * math/libm-test.inc (yn_test): Add another test.
62082         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62083         to ERANGE when the result is +-Inf.
62084         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62085         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62086         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62087         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62089 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62091         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62092         equal to 0.
62093         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62094         clock_t.
62095         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62097 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62099         * configure.in <sysdeps resolving>: Correct printing
62100         Implies_before.
62101         * configure: Regenerate.
62103 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62105         * math/w_ilogb.c: Include <limits.h>.
62106         * math/w_ilogbl.c: Likewise.
62108 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62110         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62111         va_copy.  Document allowing for unavailable va_copy only as
62112         pre-C99 compatibility.
62113         * manual/string.texi (Copying and Concatenation): Use va_copy
62114         instead of __va_copy in concat example.
62116 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62118         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62119         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62120         it if not null.
62122         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62123         with O_NOLINK passed to __file_name_lookup.
62125         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62126         with O_NOLINK passed to __file_name_lookup.
62128         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62129         negative N or less than NGIDS.
62131         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62132         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62133         enough.  Use memcpy instead of strncpy.
62135 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62137         * elf/Makefile (check-data): Remove.
62138         (localplt.data): New vpath directive.
62139         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62140         instead of $(check-data).
62141         * scripts/data/localplt-generic.data: Move to ...
62142         * sysdeps/generic/localplt.data: ... here.
62143         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62144         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62145         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62147         ... here.
62148         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62150         ... here.
62151         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62153         ... here.
62154         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62156         ... here.
62157         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62159         ... here.
62160         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62162         ... here.
62164 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62166         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62167         PPC32 and PPC64 files.
62168         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62169         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62171 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62173         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62174         __makecontext_ret to ...
62175         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62176         ... here and call exit if uc_link is NULL.  New file.
62177         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62178         __makecontext_ret.S.
62179         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62180         __makecontext_ret to ...
62181         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62182         ... here and call exit if uc_link is NULL.  New file.
62183         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62184         __makecontext_ret.S.
62186 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62188         * elf/elf.h (R_390_IRELATIVE): New definition.
62189         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62190         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62191         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62192         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62193         (elf_machine_lazy_rel): Likewise.
62194         * sysdeps/s390/dl-irel.h: New file.
62195         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62196         * sysdeps/s390/s390-64/memset.S: New asm code.
62197         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62198         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62199         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62200         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62201         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62202         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62203         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62204         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62205         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62206         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62207         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62208         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62209         * sysdeps/s390/s390-32/memset.S: New asm code.
62210         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62212 2012-07-17  Marek Polacek  <polacek@redhat.com>
62214         [BZ #14349]
62215         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62216         * sysdeps/s390/s390-64/configure.in: Likewise.
62217         * sysdeps/sparc/configure.in: Likewise.
62218         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62219         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62220         * sysdeps/i386/configure.in: Likewise.
62221         * sysdeps/x86_64/configure.in: Likewise.
62222         * sysdeps/sh/configure.in: Likewise.
62223         * sysdeps/s390/s390-32/configure: Regenerated.
62224         * sysdeps/s390/s390-64/configure: Likewise.
62225         * sysdeps/x86_64/configure: Likewise.
62226         * sysdeps/sh/configure: Likewise.
62227         * sysdeps/powerpc/powerpc64/configure: Likewise.
62228         * sysdeps/powerpc/powerpc32/configure: Likewise.
62229         * sysdeps/sparc/configure: Likwise.
62230         * sysdeps/i386/configure: Likewise.
62232         * elf/dl-open.c: Comment fixes.
62234 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62236         * Makefile [CXX] (check-data): Remove.
62237         [CXX] (c++-types.data): New vpath directive.
62238         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62239         vpath.  Do not allow for C++ type data being missing.
62240         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62241         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62242         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62243         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62244         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62245         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62246         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62248         ... here.
62249         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62251         ... here.
62252         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62254         ... here.
62255         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62257         ... here.
62258         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62260         ... here.
62261         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62263         ... here.
62264         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62266         ... here.
62267         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62270         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62271         definitions to architecture-specific files.
62272         (TLS_IE): Likewise.
62273         (TLS_LD): Likewise.
62274         (TLS_GD): Likewise.
62275         * sysdeps/i386/tls-macros.h: New file.
62276         * sysdeps/powerpc/tls-macros.h: Likewise.
62277         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62278         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62279         * sysdeps/sh/tls-macros.h: Likewise.
62280         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62281         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62282         * sysdeps/x86_64/tls-macros.h: Likewise.
62284 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62286         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62287         zero value for regular exit case.
62289         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62290         (__start_context): Preserve zero value for regular exit case.
62292 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62293             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62295         * manual/setjmp.texi (setcontext): Clarify normal process
62296         termination when uc_link is the null pointer.
62297         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62298         exit call.
62300 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62302         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62303         preprocessor.  Test for each exception mask separately.
62305 2012-07-16  Andreas Jaeger  <aj@suse.de>
62307         * po/ru.po: Update from translation team.
62309 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62311         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62312         equal to 0.
62313         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62314         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62315         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62316         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62317         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62319 2012-07-13  Andreas Jaeger  <aj@suse.de>
62321         * po/fr.po: Update from translation team.
62323 2012-07-12  Marek Polacek  <polacek@redhat.com>
62325         [BZ #14173]
62326         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62327         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62328         loop condition.
62330 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62332         [BZ #13717]
62333         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62334         Change to 2.4.1 where previously 2.4.0.
62335         * sysdeps/unix/sysv/linux/configure: Regenerated.
62336         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62337         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62338         version.
62339         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62340         (__ASSUME_AT_CLKTCK): Remove.
62341         (__ASSUME_AT_PAGESIZE): Likewise.
62342         (__ASSUME_AT_XID): Likewise.
62343         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62344         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62345         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62346         unconditionally.
62347         (HAVE_AUX_PAGESIZE): Likewise.
62348         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62349         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62350         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62352 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62354         [BZ #14307]
62355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62356         the temporary buffer used to invoke __gethostbyname2_r,
62357         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62358         host_data / struct gaih_addrtuple.
62359         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62360         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62361         header file nss/nsswitch.h.
62362         * nss/nsswitch.h (global scope): Add definition of implementation
62363         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62364         resolv/nss_dns/dns-host.c).
62366 2012-07-11  Andreas Jaeger  <aj@suse.de>
62368         * po/fr.po: Update from translation team.
62370         * po/sv.po: Update from translation team
62371         * po/fr.po: Another update from translation team.
62373 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62375         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62376         for subnormals or multiply small sinh result by itself.
62377         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62380 2012-07-11  David S. Miller  <davem@davemloft.net>
62382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62384 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62386         [BZ #14347]
62387         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62388         (INTERNAL_MARK): Shift it here.
62390 2012-07-10  Marek Polacek  <polacek@redhat.com>
62392         [BZ #14151]
62393         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62394         libc_cv_asm_global_directive with .globl.
62395         * configure: Regenerated.
62396         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62397         with .globl.
62398         * sysdeps/i386/configure: Regenerated.
62399         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62400         with .globl.
62401         * sysdeps/x86_64/configure: Regenerated.
62402         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62403         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62404         * elf/tst-unique2mod2.c: Likewise.
62405         * elf/tst-unique2mod1.c: Likewise.
62406         * elf/tst-unique1mod2.c: Likewise.
62407         * elf/tst-unique1mod1.c: Likewise.
62408         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62409         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62410         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62411         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62412         * sysdeps/mach/sysdep.h: Likewise.
62413         * sysdeps/i386/sysdep.h: Likewise.
62414         * sysdeps/i386/i386-mcount.S: Likewise.
62415         * sysdeps/x86_64/_mcount.S: Likewise.
62416         * sysdeps/x86_64/sysdep.h: Likewise.
62417         * sysdeps/sh/_mcount.S: Likewise.
62418         * sysdeps/sh/sysdep.h: Likewise.
62419         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62420         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62421         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62422         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62423         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62424         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62425         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62426         * locale/localeinfo.h: Likewise.
62427         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62428         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62430 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62432         [BZ #14336]
62433         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62434         system".
62435         * manual/message.texi (The Uniforum approach): Likewise.
62436         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62437         (glibc iconv Implementation): Likewise.
62439 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62441         [BZ #14337]
62442         * math/s_clog.c (__clog): Avoid scaling a value down where that
62443         could result in underflow.
62444         * math/s_clog10.c (__clog10): Likewise.
62445         * math/s_clog10f.c (__clog10f): Likewise.
62446         * math/s_clog10l.c (__clog10l): Likewise.
62447         * math/s_clogf.c (__clogf): Likewise.
62448         * math/s_clogl.c (__clogl): Likewise.
62449         * math/libm-test.inc (clog_test): Add more tests.
62450         (clog10_test): Likewise.
62451         * sysdeps/i386/fpu/libm-test-ulps: Update.
62452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62454 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62456         [BZ #14283]
62457         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62458         by 7 not 8 to examine high bit of fractional part.
62460         [BZ #14042]
62461         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62462         for call to __mcount_internal.
62463         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62464         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62465         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62467 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62469         [BZ #14154]
62470         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62471         approximation for values within 0x1p-13f of an odd multiple of
62472         pi/4.
62473         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62474         exception.  Add more tests.
62475         * sysdeps/i386/fpu/libm-test-ulps: Update.
62477         [BZ #6778]
62478         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62479         inputs and return -1 for them.  Do not check for +Inf in case not
62480         reachable for +Inf.
62481         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62482         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62483         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62484         and return -1 for them.  Do not check for +Inf in case not
62485         reachable for +Inf.
62486         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62487         define.
62488         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62489         and return -1 for them.  Do not check for +Inf in case not
62490         reachable for +Inf.
62491         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62492         spurious underflow.
62493         * sysdeps/i386/fpu/libm-test-ulps: Update.
62494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62496 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62498         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62500 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62502         [BZ #14157]
62503         [BZ #14331]
62504         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62505         could result in spurious underflow.  Scale down values above
62506         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62507         * math/s_csqrtf.c (__csqrtf): Likewise.
62508         * math/s_csqrtl.c (__csqrtl): Likewise.
62509         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62510         spurious underflow.
62511         * sysdeps/i386/fpu/libm-test-ulps: Update.
62512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62514 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62516         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62517         xopen-msg.sed.
62518         * catgets/xopen-msg.awk: New file.
62519         * catgets/xopen-msg.sed: Removed.
62521         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62522         po2text.sed.
62523         * intl/po2test.awk: New file.
62524         * intl/po2test.sed: Removed.
62526 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62528         [BZ #14328]
62529         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62530         or multiply small sinh result by itself.
62531         * math/s_ctanf.c (__ctanf): Likewise.
62532         * math/s_ctanh.c (__ctanh): Likewise.
62533         * math/s_ctanhf.c (__ctanhf): Likewise.
62534         * math/s_ctanhl.c (__ctanhl): Likewise.
62535         * math/s_ctanl.c (__ctanl): Likewise.
62536         * math/libm-test.inc (ctan_test_tonearest): New function.
62537         (ctan_test_towardzero): Likewise.
62538         (ctan_test_downward): Likewise.
62539         (ctan_test_upward): Likewise.
62540         (ctanh_test_tonearest): Likewise.
62541         (ctanh_test_towardzero): Likewise.
62542         (ctanh_test_downward): Likewise.
62543         (ctanh_test_upward): Likewise.
62544         (main): Call these new functions.
62545         * sysdeps/i386/fpu/libm-test-ulps: Update.
62546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62548 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62550         * .gitignore: Delete /ports entry.
62552 2012-07-03  Andreas Jaeger  <aj@suse.de>
62554         * po/bg.po: Update from translation team.
62555         * po/cs.po: Likewise.
62556         * po/de.po: Likewise.
62557         * po/hr.po: Likewise.
62558         * po/nl.pl: Likewise.
62559         * po/pl.po: Likewise.
62560         * po/vi.po: Likewise.
62562 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62564         * Makeconfig [!+link] (+link-before-libc): New variable.
62565         [!+link] (+link-after-libc): Likewise.
62566         [!+link] (+link-tests): Likewise.
62567         [!+link] (+link): Define in terms of $(+link-before-libc) and
62568         $(+link-after-libc).
62569         [!+link-static] (+link-static-before-libc): New variable.
62570         [!+link-static] (+link-static-after-libc): Likewise.
62571         [!+link-static] (+link-static-tests): Likewise.
62572         [!+link-static] (+link-static): Define in terms of
62573         $(+link-static-before-libc) and $(+link-static-after-libc).
62574         [build-shared] (link-libc-before-gnulib): New variable.
62575         [build-shared] (link-libc-tests): Likewise.
62576         [build-shared] (link-libc): Define in terms of
62577         $(link-libc-before-gnulib).
62578         [!build-shared] (link-libc-tests): New variable.
62579         (link-libc-static-tests): New variable.
62580         [!gnulib] (gnulib-arch): New variable.
62581         [!gnulib] (gnulib-tests): Likewise.
62582         [!gnulib] (static-gnulib-arch): Likewise.
62583         [!gnulib] (static-gnulib-tests): Likewise.
62584         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62585         Define with "=" instead of ":=".
62586         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62587         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62588         * Rules (binaries-all-notests): New variable.
62589         (binaries-all-tests): Likewise.
62590         (binaries-static-notests): Likewise.
62591         (binaries-static-tests): Likewise.
62592         (binaries-all): Define using $(binaries-all-notests) and
62593         $(binaries-all-tests).
62594         (binaries-static): Define using $(binaries-static-notests) and
62595         $(binaries-static-tests).
62596         (binaries-shared-tests): New variable.
62597         (binaries-shared-notests): Likewise.
62598         (binaries-shared): Remove variable.
62599         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62600         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62601         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62602         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62603         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62604         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62605         * elf/Makefile (sln-modules): New variable.
62606         (extra-objs): Add $(sln-modules:=.o).
62607         (ldconfig-modules): Add static-stubs.
62608         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62609         * elf/static-stubs.c: New file.
62611         [BZ #14283]
62612         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62613         by 7 not 8 to examine high bit of fractional part.  Use volatile
62614         variables when splitting into final array of floats if
62615         __FLT_EVAL_METHOD__ != 0.
62616         * math/libm-test.inc (cos_test): Add another test.
62617         (sin_test): Likewise.
62618         * sysdeps/i386/fpu/libm-test-ulps: Update.
62620         [BZ #14273]
62621         * math/libm-test.inc (cosh_test): Add more tests.
62623         * version.h (RELEASE): Set to "development".
62624         (VERSION): Set to "2.16.90".
62626 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62628         * NEWS: Update copyright. Remove last-updated date.
62629         Mention math library bug fixes and timezone data changes.
62630         * README: Mention GNU/Hurd, x32, and HPPA support status.
62632 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62634         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62636 2012-06-27  Andreas Jaeger  <aj@suse.de>
62638         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62640 2012-06-25  Andreas Jaeger  <aj@suse.de>
62642         * sysdeps/s390/fpu/libm-test-ulps: Update.
62644 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62645             Thomas Schwinge  <thomas@codesourcery.com>
62647         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62648         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62649         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62650         fanotify_mark.
62652 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62654         * sysdeps/mach/start.c: Remove file.
62655         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62656         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62657         * sysdeps/sh/init-first.c: Likewise.
62659         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62660         registers for frame unwinding purposes, add CFI directives.
62661         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62662         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62663         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62664         Likewise.
62666         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62667         __fortify_fail returning.
62668         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62670         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62671         sysdeps/sh/____longjmp_chk.S.
62672         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62673         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62674         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62675         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62677         * sysdeps/sh/abort-instr.h: New file.
62678         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62679         process in case exit returns.
62681         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62682         initialize the GOT register before use.
62684         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62685         calculation of ARGC > 4.
62687         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62688         meaningful names to some local labels.
62690 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62691             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62693         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62694         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62695         (__arch_compare_and_exchange_val_16_acq): Likewise.
62696         (__arch_compare_and_exchange_val_32_acq): Likewise.
62697         (atomic_exchange_and_add): Fix gUSA sequence.
62698         (atomic_add): Likewise.
62699         (atomic_add_negative): Likewise.
62700         (atomic_add_zero): Likewise.
62701         (atomic_bit_test_set): Likewise.
62703 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62705         [BZ #13579]
62706         * include/link.h (struct link_map): Add l_free_initfini.
62707         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62708         l_initfini.
62709         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62710         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62711         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62712         set.
62714 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62716         * configure.in: Use AC_LANG_SOURCE.
62717         * configure: Regenerate.
62719 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62721         * configure.in (libc_cv_localstatedir): New substituted variable.
62722         * configure: Regenerated.
62723         * config.make.in (localstatedir): New variable, substituted from
62724         libc_cv_localstatedir.
62725         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62726         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62727         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62728         * sysdeps/gnu/configure: Regenerated.
62730 2012-06-21  Jeff Law  <law@redhat.com>
62732         [BZ #14277]
62733         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62734         free.  Simplify list management for _LIBC case.
62736 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62738         [BZ #14273]
62739         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62740         Clear sign bit of 64-bit integer value before comparing against
62741         overflow value.
62743         * sysdeps/mach/configure: Regenerated.
62745 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62747         [BZ #14278]
62748         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62750 2012-06-21  Jeff Law  <law@redhat.com>
62752         [BZ #13882]
62753         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62754         uint16_t for elements in the "seen" array to avoid char overflows.
62755         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62756         * elf/dl-open.c (dl_open_worker): Likewise.
62758 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62760         * scripts/list-sources.sh: Scan PORTS for translations.
62761         * po/libc.pot: Regenerated.
62763 2012-06-21  Andreas Jaeger  <aj@suse.de>
62765         [BZ #12194]
62766         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62767         warning.
62768         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62769         * bits/byteswap-16.h (__bswap_16): Likewise.
62770         * bits/byteswap.h (__bswap_constant_16): Likewise.
62772 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62774         [BZ #14117]
62775         * sysdeps/i386/fpu_control.h: Removed.
62776         * sysdeps/x86_64/fpu_control.h: Moved to ...
62777         * sysdeps/x86/fpu_control.h: Here.
62779         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62780         (_FPU_SETCW): Likewise.
62782 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
62784         [BZ #14117]
62785         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62786         * sysdeps/x86/fpu/bits/mathinline.h: This.
62787         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62789         [BZ #14050]
62790         [BZ #14117]
62791         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62792         functions if __x86_64__ is defined.
62794 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
62796         * string/endian.h: Add !__ASSEMBLER__ condition for including
62797         conversion interfaces.
62799 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
62801         [BZ #14241]
62802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62803         of ABS(x) in calculating zero to negative powers other than odd
62804         integers.
62805         * math/libm-test.inc (pow_test): Add more tests.
62807 2012-06-15  Andreas Jaeger  <aj@suse.de>
62809         * manual/contrib.texi (Contributors): Update entry of Liubov
62810         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62811         Machado Filho.
62813 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
62815         * string/string.h: Add __wur to GNU version of strerror_r.
62817 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
62819         [BZ #14229]
62820         * string/Makefile (tests): Add tst-strtok_r.
62821         * string/tst-strtok_r.c: New file.
62822         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62823         RAX_LP/RDX_LP on SAVE_PTR.
62825 2012-06-14  Roland McGrath  <roland@hack.frob.com>
62827         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62829 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
62831         * libm_test.inc (csqrt_test): Allow more spurious underflow
62832         exceptions.
62833         (j0_test): Likewise.
62834         (j1_test): Likewise.
62835         (y0_test): Likewise.
62836         (y1_test): Likewise.
62838 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
62840         * po/Makefile (libc.pot): Use UTF-8 charset.
62842 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
62844         [BZ #14210]
62845         Suppress sign-conversion warning from FD_SET.
62846         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62847         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62848         not unsigned long int.
62849         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62851 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
62853         [BZ #14050]
62854         [BZ #14117]
62855         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62856         __extern_always_inline instead of __extern_inline.
62857         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62858         (__signbit): Likewise.
62859         (__signbitl): Support C++ namespace.
62860         (lrintf): New inline function.
62861         (lrint): Likewise.
62862         (llrintf): Likewise.
62863         (llrint): Likewise.
62864         (fmaxf): Likewise.
62865         (fmax): Likewise.
62866         (fminf): Likewise.
62867         (fmin): Likewise.
62868         (rint): Likewise.
62869         (rintf): Likewise.
62870         (ceil): Likewise.
62871         (ceilf): Likewise.
62872         (floor): Likewise.
62873         (floorf): Likewise.
62874         (nearbyint): Likewise.
62875         (nearbyintf): Likewise.
62877 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62879         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62880         non-default versions.
62882 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62884         [BZ #14218]
62885         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62887 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62889         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62890         (FE_UPWARD, FE_DOWNWARD): Don't define.
62891         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62892         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62894         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62895         reading it.
62896         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62897         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62899 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62901         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62902         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62903         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62904         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62906 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62908         [BZ #14117]
62909         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62910         * sysdeps/i386/fpu/Implies: New file.
62911         * sysdeps/x86_64/fpu/Implies: Likewise.
62912         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62913         * sysdeps/x86/fpu/bits/fenv.h: This.
62915         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62916         __SSE_MATH__.
62918 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62920         [BZ #14134]
62921         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62922         character 0xffff that matches the last element of the
62923         conversion table.
62925 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62927         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62928         fmodl commit.
62930 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62932         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62933         values higher than 25.6283.
62935 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62937         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62938         subnormal exponent extraction and add some __builtin_expect.
62939         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62940         Fix for subnormal mantissa calculation.
62942 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62944         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62945         cpu2 is -1 and errno is not ENOSYS.
62947 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62949         [BZ #14117]
62950         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62951         * sysdeps/x86/bits/string.h: This.
62952         * sysdeps/x86_64/bits/string.h: Removed.
62954         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62955         if not compiling for x86-64, but compiling for >= i486.
62957         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62958         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62960         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62961         New macro from Linux kernel 3.4.0.
62962         (FP_XSTATE_MAGIC2): Likewise.
62963         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62964         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62965         (struct _fpx_sw_bytes): New struct.
62966         (struct _xsave_hdr): Likewise.
62967         (struct _ymmh_state): Likewise.
62968         (struct _xstate): Likewise.
62970         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62971         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62972         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62973         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62974         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62975         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62977         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62978         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62979         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62980         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62981         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62982         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62984 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62986         [BZ #13743]
62987         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62988         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62989         (sysdep_headers): Include sys/platform/ppc.h.
62990         * sysdeps/powerpc/test-gettimebase.c: Test for
62991         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62992         * manual/Makefile (appendices): Include platform.texi.
62993         * manual/contrib.texi (Contributors): Update @node pointers.
62994         * manual/maint.texi (Maintenance): Likewise.
62995         (Platform): New node.
62996         * manual/platform.texi: New file.  Document the new features.
62998 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62999             Jakub Jelinek  <jakub@redhat.com>
63001         [BZ #14188]
63002         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63003         where __builtin_expect is unavailable.
63005 2012-06-03  David S. Miller  <davem@davemloft.net>
63007         * stdlib/longlong.h: Updated from GCC.
63009 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63011         [BZ #14042]
63012         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63013         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63014         __mcount_internal.
63015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63016         (GLIBC_2.16): Likewise.
63018 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63020         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63022 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63025         (default-abi): New variable.
63026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63027         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63028         variable.
63029         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63030         Likewise.
63031         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63032         Likewise.
63033         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63034         Likewise.
63036         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63037         definition.  Document in comment.
63039 2012-06-01  David S. Miller  <davem@davemloft.net>
63041         * stdlib/longlong.h: Updated from GCC.
63043 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63045         [BZ #14117]
63046         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63047         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63048         sys/debugreg.h sys/io.h here.
63049         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63050         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63051         sys/io.h.
63052         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63053         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63054         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63055         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63056         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63057         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63059         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63060         Define only if __x86_64__ is defined.
63062 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63064         [BZ #14048]
63065         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63066         Use int64_t for variable i.
63067         * math/libm-test.inc (fmod_test): Add more tests.
63069         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63070         z computation is not scheduled after fetestexcept.
63071         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63072         Use math_force_eval instead of asm to ensure calculation scheduled
63073         before exception test.
63074         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63075         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63077 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63080         computation is not scheduled after fetestexcept.
63082 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63084         [BZ #14117]
63085         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63086         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63088 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63090         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63091         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63093 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63095         [BZ #14117]
63096         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63097         <bits/wordsize.h>.
63098         (__WCHAR_MIN): Support __WORDSIZE == 64.
63099         (__WCHAR_MAX): Likewise.
63101         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63102         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63104         [BZ #14183]
63105         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63106         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63108         [BZ #14117]
63109         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63110         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63112         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63113         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63115         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63116         Defined to 1 if __x86_64__ isn't defined.
63117         (_STAT_VER_LINUX_OLD): New.
63118         (st_atime): Remove duplicate.
63119         (st_mtime): Likewise.
63120         (st_ctime): Likewise.
63122 2012-05-31  David S. Miller  <davem@davemloft.net>
63124         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63125         entries.
63127 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63129         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63130         gen-libm-test.pl.
63132         [BZ #14132]
63133         * elf/dl-reloc.c: Include <_itoa.h>.
63134         (_dl_reloc_bad_type): Remove use of INTUSE.
63135         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63136         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63137         * stdio-common/psiginfo.c (psiginfo): Likewise.
63138         * stdio-common/psignal.c (psignal): Likewise.
63139         * string/strsignal.c (strsignal): Likewise.
63140         * include/signal.h (_sys_siglist): Declare hidden proto.
63141         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63142         INTVARDEF with libc_hidden_data_def.
63143         * stdio-common/itoa-udigits.c: Likewise.
63144         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63145         (_itoa_lower_digits_internal): Remove declaration.
63146         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63147         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63148         (_sys_sigabbrev_internal): Remove aliases.
63149         (_sys_siglist): Define hidden alias.
63151 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63153         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63154         bits/sysctl.h.
63156 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63158         [BZ #14117]
63159         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63160         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63162         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63163         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63164         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63165         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63166         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63167         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63169         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63170         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63171         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63173         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63174         with __addr.
63175         (insw): Likewise.
63176         (insl): Likewise.
63177         (outsb): Likewise.
63178         (outsw): Likewise.
63179         (outsl): Likewise.
63181         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63182         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63183         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63185         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63186         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63187         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63188         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63189         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63190         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63192         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63193         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63195         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63196         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63198         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63199         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63200         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63202         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63203         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63204         to ...
63205         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63207         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63208         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63209         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63211         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63212         for x86-64.
63213         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63215 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63217         * math/math.h (M_El): Use two more decimal places.
63218         (M_LOG2El): Likewise.
63219         (M_LOG10El): Likewise.
63220         (M_LN2l): Likewise.
63221         (M_LN10l): Likewise.
63222         (M_PIl): Likewise.
63223         (M_PI_2l): Likewise.
63224         (M_PI_4l): Likewise.
63225         (M_1_PIl): Likewise.
63226         (M_2_PIl): Likewise.
63227         (M_2_SQRTPIl): Likewise.
63228         (M_SQRT2l): Likewise.
63229         (M_SQRT1_2l): Likewise.
63231 2012-05-31  David S. Miller  <davem@davemloft.net>
63233         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63234         values between float registers.
63235         * sysdeps/sparc/sparc64/memset.S: Likewise.
63236         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63238 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63240         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63241         -D_FORTIFY_SOURCE=1.
63242         (CPPFLAGS-tst-longjmp_chk.c): Define.
63243         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63244         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63245         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63246         CFLAGS-tst-wchar-h.c.
63248 2012-05-31  Marek Polacek  <polacek@redhat.com>
63250         [BZ #14132]
63251         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63252         __endmntent_internal): Remove declaration.
63253         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63254         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63255         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63257 2012-05-30  David S. Miller  <davem@davemloft.net>
63259         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63260         (___Q_simulate_exceptions): Use real FP ops rather than writing
63261         into the %fsr.
63262         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63263         Likewise.
63265 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63267         [BZ #14117]
63268         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63269         * sysdeps/x86/bits/xtitypes.h: This.
63271         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63272         * sysdeps/x86/bits/wordsize.h: This.
63274         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63275         * sysdeps/x86/bits/huge_vall.h: This.
63277         * sysdeps/i386/bits/select.h: Removed.
63278         * sysdeps/x86_64/bits/select.h: Renamed to ...
63279         * sysdeps/x86/bits/select.h: This.
63281         * sysdeps/i386/bits/setjmp.h: Removed.
63282         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63283         * sysdeps/x86/bits/setjmp.h: This.
63285         * sysdeps/i386/bits/mathdef.h: Removed.
63286         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63287         * sysdeps/x86/bits/mathdef.h: This.
63289 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63291         [BZ #14132]
63292         * include/sys/socket.h (__connect_internal)
63293         (__libc_sa_len_internal): Remove declaration.
63294         (__connect, __libc_sa_len): Declare hidden_proto.
63295         (SA_LEN): Remove use of INTUSE.
63296         * socket/connect.c: Add libc_hidden_def.
63297         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63298         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63299         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63300         alias.
63301         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63302         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63303         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63304         of adding _internal alias.
63306 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63308         [BZ #14117]
63309         * sysdeps/i386/bits/link.h: Removed.
63310         * sysdeps/i386/bits/linkmap.h: Likewise.
63311         * sysdeps/x86_64/bits/link.h: Renamed to ...
63312         * sysdeps/x86/bits/link.h: This.
63313         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63314         * sysdeps/x86/bits/linkmap.h: This.
63316         * sysdeps/i386/bits/endian.h: Removed.
63317         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63318         * sysdeps/x86/bits/endian.h: This.
63320         * sysdeps/i386/bits/byteswap.h: Removed.
63321         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63322         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63323         * sysdeps/x86/bits/byteswap.h: This.
63324         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63325         * sysdeps/x86/bits/byteswap-16.h: This.
63326         * sysdeps/i386/Implies: Add x86.
63327         * sysdeps/x86_64/Implies: Likewise.
63329 2012-05-30  David S. Miller  <davem@davemloft.net>
63331         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63332         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63333         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63334         (FP_TRAPPING_EXCEPTIONS): Define.
63335         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63336         (FP_TRAPPING_EXCEPTIONS): Define.
63337         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63338         subnormals only when inexact has been signalled or underflow
63339         exceptions are enabled.
63340         (_FP_PACK_CANONICAL): Likewise.
63342 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63344         [BZ #14183]
63345         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63346         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63348 2012-05-30  Richard Henderson  <rth@twiddle.net>
63350         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63351         with #ifndef NOT_IN_libc.
63353         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63354         marked to avoid plt entry.
63356 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63358         [BZ #14112]
63359         * Makeconfig (default-abi): New macro.
63360         (abi-includes): Likewise.
63361         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63362         $(abi-$(default-abi)-lib-soname) for soname if defined.
63363         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63364         abi-variants.
63365         * Makefile (installed-stubs): Likewise.
63366         * include/stubs-biarch.h: Removed.
63367         * scripts/lib-names.awk: Only handle one library at a time.
63368         * scripts/soversions.awk: Remove WORDSIZE support.
63369         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63370         entries.
63371         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63372         Removed.
63373         (syscall-list-default-condition): Likewise.
63374         (syscall-list-default-condition): Likewise.
63375         (syscall-list-includes): Likewise.
63376         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63377         syscall-list-* with abi-*.  Handle undefined abi-variants.
63378         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63379         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63380         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63381         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63382         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63383         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63384         Removed.
63385         (syscall-list-32-options): Likewise.
63386         (syscall-list-32-condition): Likewise.
63387         (syscall-list-64-options): Likewise.
63388         (syscall-list-64-condition): Likewise.
63389         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63390         macro.
63391         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63392         Renamed to ...
63393         (abi-*): This.
63394         (abi-64-ld-soname): New macro.
63395         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63396         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63397         Renamed to ...
63398         (abi-*): This.
63399         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63400         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63402 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63404         * sysdeps/unix/sysv/linux/kernel-features.h
63405         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63406         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63407         include <kernel-features.h>.
63408         [!__NR_ftruncate64]: Remove conditional code.
63409         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63410         [__NR_ftruncate64]: Make code unconditional.
63411         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63412         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63413         include <kernel-features.h>.
63414         [!__NR_ftruncate64]: Remove conditional code.
63415         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63416         [__NR_ftruncate64]: Make code unconditional.
63417         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63419         include <kernel-features.h>.
63420         [!__NR_ftruncate64]: Remove conditional code.
63421         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63422         [__NR_ftruncate64]: Make code unconditional.
63423         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63425         include <kernel-features.h>.
63426         [!__NR_ftruncate64]: Remove conditional code.
63427         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63428         [__NR_ftruncate64]: Make code unconditional.
63429         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63431         * configure.in (libc_cv_fpie): Weaken to a compile test using
63432         LIBC_TRY_CC_OPTION.
63433         * configure: Regenerated.
63435 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63441         Refreshed.
63442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63448         Refreshed.
63450 2012-05-27  David S. Miller  <davem@davemloft.net>
63452         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63453         (___Q_zero): New.
63454         (__Q_simulate_exceptions): Return void.  Change to simulate
63455         exceptions by writing into the %fsr.
63456         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63457         (__Qp_handle_exceptions): Likewise.
63458         (numbers): Delete.
63459         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63460         __Qp_handle_exceptions.
63461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63462         __Qp_handle_exceptions.
63463         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63464         as unused and give dummy FP_RND_NEAREST initializer.
63465         (FP_INHIBIT_RESULTS): Define.
63466         (___Q_simulate_exceptions): Update declaration.
63467         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63468         formatting.
63469         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63470         as unused and give dummy FP_RND_NEAREST initializer.
63471         (__Qp_handle_exceptions): Update declaration.
63472         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63473         formatting.
63475 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63477         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63478         the temporary FPU control word.
63479         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63480         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63481         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63482         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63483         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63484         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63485         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63486         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63487         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63488         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63489         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63491 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63493         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63494         fields.
63496 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63498         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63499         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63500         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63501         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63502         Likewise.
63503         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63504         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63505         Likewise.
63507 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63509         * po/h.po: Update from translation team.
63511 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63513         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63515         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63516         handling of denormals.
63517         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63518         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63519         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63520         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63521         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63522         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63524         Likewise.
63526 2012-05-26  Marek Polacek  <polacek@redhat.com>
63528         [BZ #14152]
63529         * math/libm-test.inc (fma_test): Don't always expect underflow
63530         exception.
63532 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63534         [BZ #12416]
63535         * elf/tst-execstack.c: Include stackinfo.h.
63536         (do_test): Adjust test case to ensure that pthread_getattr_np
63537         behaviour remains the same after marking stack executable.
63539 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63541         * sysdeps/unix/sysv/linux/kernel-features.h
63542         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63543         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63544         kernel-features.h.
63545         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63546         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63547         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63548         kernel-features.h.
63549         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63550         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63552 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63554         * configure.in: Define the default includes to being none.
63555         * configure: Regenerated.
63557 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63559         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63560         * sysdeps/x86_64/setjmp.S: Likewise.
63561         * sysdeps/i386/bsd-setjmp.S: Likewise.
63562         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63563         * sysdeps/i386/setjmp.S: Likewise.
63564         * sysdeps/i386/__longjmp.S: Likewise.
63565         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63566         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63568         * include/stap-probe.h: New file.
63569         * configure.in: Handle --enable-systemtap.
63570         * configure: Regenerated.
63571         * config.h.in (USE_STAP_PROBE): New #undef.
63572         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63573         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63574         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63576 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63578         [BZ #13717]
63579         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63580         to 2.4.0 where earlier.
63581         * sysdeps/unix/sysv/linux/configure: Regenerated.
63582         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63583         <kernel-features.h>.
63584         [__ASSUME_32BITUIDS]: Make code unconditional.
63585         [!__ASSUME_32BITUIDS]: Remove conditional code.
63586         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63587         <kernel-features.h>.
63588         [__ASSUME_32BITUIDS]: Make code unconditional.
63589         [!__ASSUME_32BITUIDS]: Remove conditional code.
63590         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63591         [__ASSUME_32BITUIDS]: Make code unconditional.
63592         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63593         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
63618         <kernel-features.h>.
63619         [__ASSUME_32BITUIDS]: Make code unconditional.
63620         [!__ASSUME_32BITUIDS]: Remove conditional code.
63621         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63622         <kernel-features.h>.
63623         [__ASSUME_32BITUIDS]: Make code unconditional.
63624         [!__ASSUME_32BITUIDS]: Remove conditional code.
63625         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63626         <kernel-features.h>.
63627         [__ASSUME_32BITUIDS]: Make code unconditional.
63628         [!__ASSUME_32BITUIDS]: Remove conditional code.
63629         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63630         <kernel-features.h>.
63631         [__ASSUME_32BITUIDS]: Make code unconditional.
63632         [!__ASSUME_32BITUIDS]: Remove conditional code.
63633         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63634         <kernel-features.h>.
63635         [__NR_setresgid] (__setresgid): Do not declare.
63636         [__ASSUME_32BITUIDS]: Make code unconditional.
63637         [!__ASSUME_32BITUIDS]: Remove conditional code.
63638         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63639         <kernel-features.h>.
63640         [__NR_setresuid] (__setresuid): Do not declare.
63641         [__ASSUME_32BITUIDS]: Make code unconditional.
63642         [!__ASSUME_32BITUIDS]: Remove conditional code.
63643         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
63668         <kernel-features.h>.
63669         [__ASSUME_32BITUIDS]: Make code unconditional.
63670         [!__ASSUME_32BITUIDS]: Remove conditional code.
63671         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63672         <kernel-features.h>.
63673         [__ASSUME_32BITUIDS]: Make code unconditional.
63674         [!__ASSUME_32BITUIDS]: Remove conditional code.
63675         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63676         <kernel-features.h>.
63677         [__ASSUME_32BITUIDS]: Make code unconditional.
63678         [!__ASSUME_32BITUIDS]: Remove conditional code.
63679         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63680         <kernel-features.h>.
63681         [__ASSUME_32BITUIDS]: Make code unconditional.
63682         [!__ASSUME_32BITUIDS]: Remove conditional code.
63683         * sysdeps/unix/sysv/linux/kernel-features.h
63684         (__ASSUME_SETRESUID_SYSCALL): Remove.
63685         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63686         (__ASSUME_32BITUIDS): Likewise.
63687         (__ASSUME_LDT_WORKS): Likewise.
63688         (__ASSUME_O_DIRECTORY): Likewise.
63689         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63690         architecture but not kernel version.
63691         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63692         (__ASSUME_MMAP2_SYSCALL): Likewise.
63693         (__ASSUME_STAT64_SYSCALL): Likewise.
63694         (__ASSUME_IPC64): Likewise.
63695         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63696         <kernel-features.h>.
63697         [__ASSUME_32BITUIDS]: Make code unconditional.
63698         [!__ASSUME_32BITUIDS]: Remove conditional code.
63699         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63700         <kernel-features.h>.
63701         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63702         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63703         132096]: Remove conditional code.
63704         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63705         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63706         <kernel-features.h>.
63707         [__ASSUME_32BITUIDS]: Make code unconditional.
63708         [!__ASSUME_32BITUIDS]: Remove conditional code.
63709         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63710         <kernel-features.h>.
63711         [__ASSUME_32BITUIDS]: Make code unconditional.
63712         [!__ASSUME_32BITUIDS]: Remove conditional code.
63713         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63714         <kernel-features.h>.
63715         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63716         unconditional.
63717         (__setresgid): Do not declare.
63718         [__ASSUME_32BITUIDS]: Make code unconditional.
63719         [!__ASSUME_32BITUIDS]: Remove conditional code.
63720         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63721         <kernel-features.h>.
63722         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63723         unconditional.
63724         (__setresuid): Do not declare.
63725         [__ASSUME_32BITUIDS]: Make code unconditional.
63726         [!__ASSUME_32BITUIDS]: Remove conditional code.
63727         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63728         <kernel-features.h>.
63729         [__ASSUME_32BITUIDS]: Make code unconditional.
63730         [!__ASSUME_32BITUIDS]: Remove conditional code.
63731         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63732         <kernel-features.h>.
63733         [__ASSUME_32BITUIDS]: Make code unconditional.
63734         [!__ASSUME_32BITUIDS]: Remove conditional code.
63736 2012-05-25  Richard Henderson  <rth@twiddle.net>
63738         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63739         dl_hwcap to ifunc resolver.
63740         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63741         elf_ifunc_invoke.
63742         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63743         dl_hwcap to ifunc resolver.
63744         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63746 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63748         [BZ #14153]
63749         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63750         for |x| <= 2**-26, not 2**-57.
63751         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63752         exception.
63754 2012-05-24  Jeff Law  <law@redhat.com>
63756         * stdio-common/Makefile (tests): Add bug25.
63757         * stdio-common/bug25.c: New test.
63759 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63761         [BZ #13576]
63762         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63763         multiple of MALLOC_ALIGNMENT in size.
63764         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63766 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63768         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63769         Require >= 256.
63770         (FILENAME_MAX): Use macro-int-constant.
63771         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63772         (_IOFBF): Use macro-int-constant.
63773         (_IOLBF): Likewise.
63774         (_IONBF): Likewise.
63775         (SEEK_CUR): Likewise.
63776         (SEEK_END): Likewise.
63777         (SEEK_SET): Likewise.
63778         (TMP_MAX): Likewise.
63779         (EOF): Use macro-int-constant.  Require < 0.
63780         (NULL): Use macro-constant.  Require == 0.
63781         (stdin): Require type to be FILE *.
63782         (stdout): Likewise.
63783         (stderr): Likewise.
63784         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63785         macro-int-constant.
63786         (EXIT_SUCCESS): Likewise.
63787         (NULL): Use macro-constant.  Require == 0.
63788         (RAND_MAX): Use macro-int-constant.
63789         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63790         [C99-based standards] (strtof): Require function.
63791         [C99-based standards] (strtold): Likewise.
63792         [C99-based standards] (strtoll): Likewise.
63793         [C99-based standards] (strtoull): Likewise.
63794         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63795         [ISO || ISO99 || ISO11] (limits.h): Likewise.
63796         [ISO || ISO99 || ISO11] (math.h): Likewise.
63797         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63798         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63799         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63801 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
63803         [BZ #14132]
63804         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63805         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63806         * intl/dgettext.c (DCGETTEXT): Likewise.
63807         * intl/gettext.c (DCGETTEXT): Likewise.
63808         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63809         * posix/regex_internal.h (gettext): Likewise.
63810         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63811         Remove declaration.
63812         * include/argz.h (__argz_count_internal)
63813         (__argz_stringify_internal): Remove declaration.
63814         (__argz_count, __argz_stringify): Declare hidden proto.
63815         * intl/dcgettext.c: Remove use of INTDEF.
63816         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63817         * string/argz-stringify.c: Likewise.
63818         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63819         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63820         Declare hidden proto.
63821         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63822         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63823         Declare hidden proto.
63824         * include/stdio.h (__asprintf_internal): Don't declare.
63825         (__asprintf): Don't define as macro.  Declare hidden proto.
63826         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63827         (__fsetlocking): Declare hidden proto.
63828         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63829         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63830         hidden proto.
63831         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63832         (_IO_setlinebuf): Remove use of INTUSE.
63833         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63834         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63835         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63836         Remove declaration.
63837         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63838         (_IO_do_flush): Remove use of INTUSE.
63839         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63840         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63841         (_IO_adjust_column, _IO_least_wmarker)
63842         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63843         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63844         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63845         (_IO_default_doallocate, _IO_wdefault_doallocate)
63846         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63847         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63848         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63849         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63850         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63851         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63852         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63853         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63854         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63855         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63856         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63857         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63858         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63859         proto.
63860         (_IO_flush_all_internal, _IO_adjust_column_internal)
63861         (_IO_default_uflow_internal, _IO_default_finish_internal)
63862         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63863         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63864         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63865         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63866         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63867         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63868         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63869         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63870         (_IO_file_close_internal, _IO_file_close_it_internal)
63871         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63872         (_IO_file_init_internal, _IO_file_attach_internal)
63873         (_IO_file_fopen_internal, _IO_file_read_internal)
63874         (_IO_file_sync_internal, _IO_file_seek_internal)
63875         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63876         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63877         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63878         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63879         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63880         (_IO_list_all_internal, _IO_link_in_internal)
63881         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63882         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63883         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63884         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63885         (_IO_do_write_internal, _IO_padn_internal)
63886         (_IO_getline_info_internal, _IO_getline_internal)
63887         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63888         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63889         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63890         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63891         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63892         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63893         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63894         with libc_hidden_ver, remove use of INTUSE.
63895         * libio/genops.c: Likewise.
63896         * libio/freopen.c: Likewise.
63897         * libio/freopen64.c: Likewise.
63898         * libio/iofclose.c: Likewise.
63899         * libio/iofdopen.c: Likewise.
63900         * libio/iofflush.c: Likewise.
63901         * libio/iofflush_u.c: Likewise.
63902         * libio/iofgets.c: Likewise.
63903         * libio/iofgets_u.c: Likewise.
63904         * libio/iofopen.c: Likewise.
63905         * libio/iofopncook.c: Likewise.
63906         * libio/iofread.c: Likewise.
63907         * libio/iofread_u.c: Likewise.
63908         * libio/ioftell.c: Likewise.
63909         * libio/iofwrite.c: Likewise.
63910         * libio/iogetline.c: Likewise.
63911         * libio/iogets.c: Likewise.
63912         * libio/iogetwline.c: Likewise.
63913         * libio/iopadn.c: Likewise.
63914         * libio/iopopen.c: Likewise.
63915         * libio/ioseekoff.c: Likewise.
63916         * libio/ioseekpos.c: Likewise.
63917         * libio/iosetbuffer.c: Likewise.
63918         * libio/iosetvbuf.c: Likewise.
63919         * libio/ioungetc.c: Likewise.
63920         * libio/ioungetwc.c: Likewise.
63921         * libio/iovdprintf.c: Likewise.
63922         * libio/iovsprintf.c: Likewise.
63923         * libio/iovsscanf.c: Likewise.
63924         * libio/memstream.c: Likewise.
63925         * libio/obprintf.c: Likewise.
63926         * libio/oldfileops.c: Likewise.
63927         * libio/oldiofclose.c: Likewise.
63928         * libio/oldiofdopen.c: Likewise.
63929         * libio/oldiofopen.c: Likewise.
63930         * libio/oldiopopen.c: Likewise.
63931         * libio/oldstdfiles.c: Likewise.
63932         * libio/putc.c: Likewise.
63933         * libio/setbuf.c: Likewise.
63934         * libio/setlinebuf.c: Likewise.
63935         * libio/stdfiles.c: Likewise.
63936         * libio/strops.c: Likewise.
63937         * libio/vasprintf.c: Likewise.
63938         * libio/vscanf.c: Likewise.
63939         * libio/vsnprintf.c: Likewise.
63940         * libio/vswprintf.c: Likewise.
63941         * libio/wfiledoalloc.c: Likewise.
63942         * libio/wfileops.c: Likewise.
63943         * libio/wgenops.c: Likewise.
63944         * libio/wmemstream.c: Likewise.
63945         * libio/wstrops.c: Likewise.
63946         * libio/__fpurge.c: Likewise.
63947         * libio/__fsetlocking.c: Likewise.
63948         * assert/assert.c: Likewise.
63949         * debug/fgets_chk.c: Likewise.
63950         * debug/fgets_u_chk.c: Likewise.
63951         * debug/fread_chk.c: Likewise.
63952         * debug/fread_u_chk.c: Likewise.
63953         * debug/gets_chk.c: Likewise.
63954         * debug/obprintf_chk.c: Likewise.
63955         * debug/vasprintf_chk.c: Likewise.
63956         * debug/vdprintf_chk.c: Likewise.
63957         * debug/vsnprintf_chk.c: Likewise.
63958         * debug/vsprintf_chk.c: Likewise.
63959         * malloc/mtrace.c: Likewise.
63960         * misc/error.c: Likewise.
63961         * misc/syslog.c: Likewise.
63962         * stdio-common/asprintf.c: Likewise.
63963         * stdio-common/fxprintf.c: Likewise.
63964         * stdio-common/getw.c: Likewise.
63965         * stdio-common/isoc99_fscanf.c: Likewise.
63966         * stdio-common/isoc99_scanf.c: Likewise.
63967         * stdio-common/isoc99_vfscanf.c: Likewise.
63968         * stdio-common/isoc99_vscanf.c: Likewise.
63969         * stdio-common/isoc99_vsscanf.c: Likewise.
63970         * stdio-common/printf-prs.c: Likewise.
63971         * stdio-common/printf_fp.c: Likewise.
63972         * stdio-common/printf_fphex.c: Likewise.
63973         * stdio-common/printf_size.c: Likewise.
63974         * stdio-common/putw.c: Likewise.
63975         * stdio-common/scanf.c: Likewise.
63976         * stdio-common/sprintf.c: Likewise.
63977         * stdio-common/tmpfile.c: Likewise.
63978         * stdio-common/vfprintf.c: Likewise.
63979         * stdio-common/vfscanf.c: Likewise.
63980         * stdlib/strfmon_l.c: Likewise.
63981         * sunrpc/openchild.c: Likewise.
63982         * sunrpc/xdr_stdio.c: Likewise.
63983         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63984         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63986 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63988         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63990         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63991         in the third column, to generate for the shared library an IFUNC
63992         that uses _dl_vdso_vsym.
63993         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63994         * Makeconfig (object-suffixes-noshared): New variable.
63996         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63997         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63998         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63999         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64001         [BZ #14132]
64002         * include/sys/time.h (__gettimeofday): Remove macro.
64003         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64004         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64005         Remove INTDEF.
64006         (__gettimeofday): Add libc_hidden_def.
64007         (gettimeofday): Add libc_hidden_weak.
64008         * sysdeps/mach/gettimeofday.c: Likewise.
64009         * sysdeps/posix/gettimeofday.c: Likewise.
64010         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64011         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64012         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64013         (__gettimeofday_internal): Remove strong_alias.
64014         (__gettimeofday): Add libc_hidden_def.
64015         (gettimeofday): Add libc_hidden_weak.
64016         * sysdeps/unix/syscalls.list (gettimeofday):
64017         Remove __gettimeofday_internal alias.
64019 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64020             H.J. Lu  <hongjiu.lu@intel.com>
64022         [BZ #12495]
64023         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64024         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64025         (largebin_index_32_big): New.
64026         (largebin_index): Use it for 16-byte alignment.
64027         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64028         correction with front_misalign.
64030 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64034         Likewise.
64035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64036         Likewise.
64037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64038         Likewise.
64039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64040         Likewise.
64041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64042         Likewise.
64043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64044         Likewise.
64045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64046         Likewise.
64047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64048         Likewise.
64049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64050         Likewise.
64051         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64052         Likewise.
64053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64054         Likewise.
64055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64056         Likewise.
64058         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64059         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64061 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64063         [BZ #10846]
64064         [BZ #14036]
64065         * math/libm-test.inc (exp_test): Add test from bug 14036.
64066         (pow_test): Add test from bug 10846.
64068         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64069         and other flags.
64070         (special_function): Do not include flags in test name.
64071         (parse_args): Likewise.
64072         * sysdeps/i386/fpu/libm-test-ulps: Update.
64073         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64074         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64075         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64078         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64079         exceptions.
64080         * math/libm-test.inc ("Philosophy"): Update comment about
64081         exception testing.
64082         (UNDERFLOW_EXCEPTION): New macro.
64083         (UNDERFLOW_EXCEPTION_OK): Likewise.
64084         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64085         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64086         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64087         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64088         (INVALID_EXCEPTION_OK): Update value.
64089         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64090         (OVERFLOW_EXCEPTION_OK): Likewise.
64091         (IGNORE_ZERO_INF_SIGN): Likewise.
64092         (test_exceptions): Handle underflow exceptions.
64093         (acos_test): Update for underflow exception expectations.
64094         (cexp_test): Likewise.
64095         (clog_test): Likewise.
64096         (clog10_test): Likewise.
64097         (csqrt_test): Likewise.
64098         (ctan_test): Likewise.
64099         (ctanh_test): Likewise.
64100         (exp_test): Likewise.
64101         (exp10_test): Likewise.
64102         (exp2_test): Likewise.
64103         (expm1_test): Likewise.
64104         (fma_test): Likewise.
64105         (j0_test): Likewise.
64106         (jn_test): Likewise.
64107         (nexttoward_test): Likewise.
64108         (pow_test): Likewise.
64109         (scalbn_test): Likewise.
64110         (scalbln_test): Likewise.
64111         (tan_test): Likewise.
64112         (y1_test): Likewise.
64113         * sysdeps/i386/fpu/libm-test-ulps: Update.
64114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64116 2012-05-23  David S. Miller  <davem@davemloft.net>
64118         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64119         (__libc_sigaction): Remove unused local variables.
64121 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64123         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64125 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64127         mktime: avoid signed integer overflow
64128         * time/mktime.c (__mktime_internal): Do not mishandle the case
64129         where diff == INT_MIN.
64131         mktime: simplify computation of average
64132         * time/mktime.c (ranged_convert): Use new time_t_avg function
64133         instead of rolling our own (probably-slower) code.
64135         mktime: do not assume signed right shift propagates sign bit
64136         * time/mktime.c (isdst_differ): New static function.
64137         (__mktime_internal): No need to normalize tm_isdst now.
64138         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64139         tm_isdst values.
64141         mktime: merge another wrapv change from gnulib
64142         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64143         from some compilers.
64145         mktime: remove incorrect attempt at unusual arithmetics
64146         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64147         The code didn't really work on such machines anyway.
64148         (TYPE_MINIMUM): Assume two's complement.
64149         (twos_complement_arithmetic): Verify that long_int and time_t
64150         are two's complement (or unsigned, in the latter case).
64152         mktime: check signed shifts on long_int and time_t, too
64153         * time/mktime.c (SHR): Check that shifts work as desired
64154         on the types long_int and time_t too, as SHR is used on
64155         such types.
64157         mktime: do not assume 'long' is wide enough
64158         * time/mktime.c (verify): Move decl up.
64159         (long_int): New type.
64160         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64161         to remove assumption in the code that 'long' is wide enough to
64162         store year values.  This assumption is not true on x32 and on
64163         some non-glibc platforms.
64165         mktime: merge wrapv change from gnulib
64166         * time/mktime.c (WRAPV): New macro.
64167         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64168         (guess_time_tm, __mktime_internal): Do not assume that signed
64169         integer overflow wraps around; modern compilers generate code
64170         where this assumption is no longer valid.
64172 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64174         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64175         Replace "jmp L(pseudo_end)" with "ret".
64176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64177         Likewise.
64179 2012-05-23  Andreas Jaeger  <aj@suse.de>
64181         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64182         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64184 2012-05-23  Andreas Jaeger  <aj@suse.de>
64185             Maximilian Attems  <max@stro.at>
64187         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64188         New macros.
64190 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64192         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64193         code so that pseudo_end is just ret and the stack pointer is
64194         correct also for static library in error case.
64196 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64198         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64199         move to syscalls.list.
64200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64205         * manual/install.texi (Running make install): Do not mention Linux
64206         kernel version for which pt_chown is not needed.
64207         (Linux): Do not mention problems with nscd with 2.0 kernels.
64208         * INSTALL: Regenerated.
64210 2012-05-23  Andreas Jaeger  <aj@suse.de>
64212         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64213         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64214         macro.
64215         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64216         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64217         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64218         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64219         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64220         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64221         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64222         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64223         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64224         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64225         * sysdeps/unix/sysv/linux/bits/in.h
64226         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64228 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64230         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64231         (PREPARE_VERSION): Just use assert instead, it will be elided
64232         under [NDEBUG] anyway.
64234 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64236         * sysdeps/unix/sysv/linux/Makefile: Include
64237         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64238         (sysdep_routines): Remove sysctl.
64239         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64240         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64241         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64242         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64243         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64245 2012-05-22  Andreas Jaeger  <aj@suse.de>
64247         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64248         that pseudo_end is just ret and the stack pointer is correct also
64249         for static library in error case.
64251 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64253         [BZ #14122]
64254         * nss/nsswitch.c (defconfig_entries): New variable.
64255         (__nss_database_lookup): Don't leak defconfig entries.
64256         (nss_parse_service_list): Don't leak on error paths.
64257         (free_database_entries): New function.
64258         (free_defconfig): New function.
64259         (free_mem): Move common code to free_database_entries.
64261 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64263         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64264         Add arch_prctl.
64265         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64267         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64268         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64270         New macro.
64271         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64272         (INTERNAL_SYSCALL_TYPES): Likewise.
64273         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64274         (LOAD_REGS_TYPES_[1-6]): Likewise.
64275         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64276         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64278 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64280         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64281         copysignl for GLIBC_2_0.
64282         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64283         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64284         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64285         logbl for GLIBC_2_0.
64286         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64287         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64289 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64291         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64292         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64294         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64295         Use "neg %eax".
64297         * time/mktime.c: Update copyright years.
64299 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64301         mktime: merge comment-quoting-style change from gnulib
64302         * time/mktime.c: Quote 'like this' in comments.
64303         The GNU coding standards suggest that we no longer quote `like this',
64304         as "`" and "'" are typically rendered asymmetrically nowadays.
64305         The typical gnulib style is to quote 'like this' when quoting
64306         code, and "like this" when quoting English.
64308         * time/mktime.c (compile-command): Add "-I.".
64310         mktime: merge mktime-internal.h change from gnulib
64311         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64313         mktime: merge time_r change from gnulib
64314         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64316         mktime: merge DEBUG change from gnulib
64317         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64318         case system <time.h> has a #define.
64320         mktime: merge <sys/types.h> change from gnulib
64321         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64322         since <time.t> is now guaranteed to define time_t.
64324         mktime: merge HAVE_CONFIG_H change from gnulib
64325         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64327 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64329         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64330         Use "neg %eax".
64332         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64333         __rlim_t cast.
64334         (struct rusage): Use anonymous union to pad each field to
64335         __syscall_slong_t.
64337 2012-05-21  David S. Miller  <davem@davemloft.net>
64339         * Makefules (o-iterator): Remove .s cases.
64340         (compile-command.s): Delete.
64341         (COMPILE.s): Delete.
64342         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64344 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64346         * configure.in (libc_cv_predef_stack_protector): Only consider
64347         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64348         * configure: Regenerated.
64350 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64353         New macro.  Use R*LP on int and pointer.
64354         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64355         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64356         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64357         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64359         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64360         [__WORDSIZE_TIME64_COMPAT32] instead of
64361         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64362         (struct utmp): Likewise.
64363         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64364         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64365         Renamed to ...
64366         (__WORDSIZE_TIME64_COMPAT32): This.
64367         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64368         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64369         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64370         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64371         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64372         (__WORDSIZE_TIME64_COMPAT32): New macro.
64374 2012-05-21  Andreas Jaeger  <aj@suse.de>
64376         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64377         only if [SHARED]. Add prototype for __wcschr_ia32.
64379 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64381         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64382         of %rbp unmolested in the jmp_buf while mangling the low bits.
64383         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64384         unmolested high bits of %rbp while demangling the low bits.
64385         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64387 2012-05-21  Andreas Jaeger  <aj@suse.de>
64389         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64390         * sunrpc/svc_simple.c: Use it for registerrpc.
64391         * sunrpc/xcrypt.c: Use it for passwd2des.
64393         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64395 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64397         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64398         Don't define if [__SYSCALL_WORDSIZE != 32].
64399         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64400         New macro.
64402 2012-05-21  Bruno Haible  <bruno@clisp.org>
64403             Andreas Jaeger  <aj@suse.de>
64405         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64406         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64407         inptr and inend for must_buffer_ch.
64408         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64409         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64410         * stdio-common/Makefile (tests): Remove bug15.
64411         (bug15-ENV): Remove macro.
64412         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64413         anymore.
64415 2012-05-19  Andreas Jaeger  <aj@suse.de>
64416             Roland McGrath  <roland@hack.frob.com>
64418         * manual/contrib.texi: Completely rewritten. It contains now an
64419         alphabetical list of contributors and their contributions.
64421 2012-05-21  Richard Henderson  <rth@twiddle.net>
64423         * misc/getauxval.c (__getauxval): Use unsigned long int.
64424         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64425         (getauxval): Use unsigned long int.
64427 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64429         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64431 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64433         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64434         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64435         __alignof__ (long double).
64437 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64441 2012-05-20  Richard Henderson  <rth@twiddle.net>
64443         * misc/getauxval.c: New file.
64444         * misc/sys/auxv.h: New file.
64445         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64446         (routines): Add getauxval.
64447         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64448         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64449         * elf/dl-sysdep.c (_dl_auxv): Remove.
64450         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64451         * elf/dl-support.c (_dl_auxv): New variable.
64452         (_dl_aux_init): Initialize it.
64453         * manual/startup.texi (Auxiliary Vector): New node.
64454         * sysdeps/generic/bits/hwcap.h: New file.
64455         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64456         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64457         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64458         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64459         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64460         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64462         Update.
64463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64466         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64472 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64476 2012-05-19  David S. Miller  <davem@davemloft.net>
64478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64480 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64482         [BZ #14123]
64483         * math/s_ccosh.c: Include <float.h>
64484         (__ccosh): Avoid internal overflow calculating sinh and cosh
64485         values before multiplying by sin and cos values.
64486         * math/s_ccoshf.c: Likewise.
64487         * math/s_ccoshl.c: Likewise.
64488         * math/s_csin.c: Likewise.
64489         * math/s_csinf.c: Likewise.
64490         * math/s_csinl.c: Likewise.
64491         * math/s_csinh.c: Likewise.
64492         * math/s_csinhf.c: Likewise.
64493         * math/s_csinhl.c: Likewise.
64494         * math/libm-test.inc (ccos_test): Add more tests.
64495         (ccosh_test): Likewise.
64496         (csin_test): Likewise.
64497         (csinh_test): Likewise.
64498         * sysdeps/i386/fpu/libm-test-ulps: Update.
64499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64501 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64503         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64504         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64506         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64508 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64510         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64511         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64512         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64513         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64514         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64515         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64516         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64517         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64518         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64519         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64520         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64521         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64522         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64523         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64524         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64525         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64526         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64527         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64528         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64529         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64530         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64531         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64532         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64533         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64534         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64535         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64536         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64537         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64538         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64539         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64540         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64542 2012-05-18  Andreas Jaeger  <aj@suse.de>
64544         * csu/.gitignore: Delete.
64546 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64548         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64549         (timex): Use __syscall_slong_t.
64551 2012-05-18  Andreas Jaeger  <aj@suse.de>
64552             Carlos O'Donell  <carlos_odonell@mentor.com>
64554         * manual/install.texi (Configuring and compiling): Update
64555         description about files modified in the source directory.
64556         * INSTALL: Regenerated.
64558 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64560         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64561         value.  Use "or" to set return value to -1.
64562         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64563         negate return value.
64565 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64567         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64568         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64569         failure if the compiler has Graphite support disabled.
64570         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64571         Likewise.
64572         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64573         (CFLAGS-memmove.c): Likewise.
64574         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64575         Likewise.
64577 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64579         * sysdeps/x86_64/x32/_itoa.h: New file.
64581         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64582         getdents system call only if kernel and user dirents have the
64583         same d_ino and d_off.
64585         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64586         LLONG_MAX != LONG_MAX.
64587         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64588         (_fitoa_word): Likewise.
64590         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64591         years.
64592         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64593         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64594         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64596         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64597         include <bits/wordsize.h>.  Check __x86_64__ instead of
64598         __WORDSIZE.
64599         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64600         if __x86_64__ is defined.  Use anonymous union on fpstate.
64602         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64603         anonymous union.
64605 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64607         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64608         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64609         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64610         Refer to _rtld_local_ro instead of _rtld_global_ro.
64611         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64612         Likewise.
64613         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64614         Likewise.
64615         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64616         Likewise.
64617         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64618         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64619         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64621         [BZ #10882]
64622         * sysdeps/powerpc/powerpc32/dl-machine.c
64623         (__elf_machine_runtime_setup) [PROF]: Don't reference
64624         _dl_prof_resolve.
64626 2012-05-18  Andreas Jaeger  <aj@suse.de>
64628         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64629         function only available for GCCs before 3.4 since GCC 3.4
64630         introduced a builtin.
64631         (lrint): Likewise.
64632         (llrintf): Likewise.
64633         (llrint): Likewise.
64634         (fmaxf): Likewise.
64635         (fmax): Likewise.
64636         (fminf): Likewise.
64637         (fmin): Likewise.
64638         (rint): Likewise.
64639         (rintf): Likewise.
64640         (nearbyint): Likewise.
64641         (nearbyintf): Likewise.
64642         (ceil): Likewise.
64643         (ceilf): Likewise.
64644         (floor): Likewise.
64645         (floorf): Likewise.
64647 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64649         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64650         on both fields and cast pointer to __syscall_ulong_t.
64652         * bits/types.h (__fsword_t): New type.
64653         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64654         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64655         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64656         (__FSWORD_T_TYPE): Likewise.
64657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64658         (__FSWORD_T_TYPE): Likewise.
64659         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64660         (__FSWORD_T_TYPE): Likewise.
64661         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64662         (__FSWORD_T_TYPE): Likewise.
64663         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64664         __SWORD_TYPE with __fsword_t.
64665         (statfs64): Likewise.
64667 2012-05-17  David S. Miller  <davem@davemloft.net>
64669         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64671 2012-05-17  Andreas Jaeger  <aj@suse.de>
64673         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64674         warning.
64676 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64678         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64680 2012-05-17  Andreas Jaeger  <aj@suse.de>
64682         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64683         when it is used.
64685 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64687         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64689 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64691         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64692         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64694 2012-05-17  Andreas Jaeger  <aj@suse.de>
64695             Carlos O'Donell  <carlos_odonell@mentor.com>
64697         [BZ #14059]
64698         * sysdeps/x86_64/multiarch/init-arch.h
64699         (bit_YMM_Usable): Rename to...
64700         (bit_AVX_Usable): ... this.
64701         (bit_FMA4_Usable): New macro.
64702         (bit_XMM_state): New macro.
64703         (bit_YMM_state): New macro.
64704         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64705         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64706         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64707         (CPUID_OSXSAVE): New macro.
64708         (CPUID_AVX): New macro.
64709         (CPUID_FMA4): New macro.
64710         (index_YMM_Usable): Rename to...
64711         (index_AVX_Usable): ... this.
64712         (HAS_AVX): Use HAS_ARCH_FEATURE.
64713         (HAS_FMA4): Likewise.
64714         (HAS_YMM_USABLE): Remove.
64715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64716         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64717         are present.
64718         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64719         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64720         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64721         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64722         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64724 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64726         * math/libm-test.c: Support platforms without multiple rounding modes.
64727         * math/bug-nextafter.c: Support platforms without FP exceptions.
64728         * math/bug-nexttoward.c: Likewise.
64729         * math/test-fenv.c: Likewise.
64730         * math/test-misc.c: Likewise.
64731         * stdlib/bug-getcontext.c: Likewise.
64733 2012-05-17  Andreas Jaeger  <aj@suse.de>
64735         * manual/examples/search.c (critter_cmp): Change signature to
64736         avoid warnings.
64737         * manual/string.texi (Collation Functions): Likewise.
64739 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64741         * bits/types.h: Fold copyright years.
64742         * bits/typesizes.h: Likewise.
64743         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64744         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64745         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64746         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64747         * time/time.h: Likewise.
64749 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64751         [BZ #208]
64752         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64753         in instead of returning them.  Return void.
64754         (__libc_mallinfo): Accumulate over all arenas.
64755         (__malloc_stats): Adjust for change in int_mallinfo interface.
64757 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64759         [BZ #10375]
64760         * configure.in (NM): Add AC_CHECK_TOOL for it.
64761         (libc_extra_cflags): New substituted variable.
64762         Check for -fstack-protector being used implicitly.
64763         * configure: Regenerated.
64764         * config.make.in (config-extra-cflags): New variable,
64765         gets @libc_extra_cflags@.
64766         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64768         [BZ #10375]
64769         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64770         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64771         * configure: Regenerated.
64772         * config.make.in (CPPUNDEFS): New substituted variable.
64773         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64774         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64775         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64777 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64779         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64780         (mq_attr): Use __syscall_slong_t.
64782 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64784         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64785         Check __x86_64__ instead of __WORDSIZE.
64786         (_STAT_VER_LINUX): Likewise.
64787         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
64788         __syscall_ulong_t and __syscall_slong_t.
64789         (stat64): Likewise.
64791 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64793         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64795 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64797         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64799 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64801         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64802         __syscall_ulong_t.
64804         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64805         include <bits/wordsize.h>.  Check __x86_64__ instead of
64806         __WORDSIZE.
64807         (greg_t): Use "__extension__ long long int" if __x86_64__ is
64808         defined.
64809         (mcontext_t): Replace "unsigned long" with "unsigned long long".
64811         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64812         include <bits/wordsize.h>.  Check __x86_64__ instead of
64813         __WORDSIZE.
64814         (user_regs_struct): Use "__extension__ unsigned long long"
64815         instead of "unsigned long" if __x86_64__ is defined.
64816         (user): Likewise.  Pad after pointer field if __ILP32__ is
64817         defined.
64819 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
64821         * configure.in (makeinfo): Require version 4.5 or later.  Allow
64822         versions 5 to 9.
64823         * configure: Regenerated.
64824         * manual/install.texi (texinfo): Increase version requirement to
64825         4.5 or later.
64826         * INSTALL: Regenerated.
64828         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64830 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64832         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64834         * sysdeps/x86_64/x32/ffs.c: New file.
64836         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64837         __syscall_ulong_t.
64838         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64839         defined.  Use __syscall_ulong_t.
64840         (shminfo): Use __syscall_ulong_t.
64841         (shm_info): Likewise.
64843         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64844         __syscall_ulong_t.
64846         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64847         <bits/wordsize.h>.
64848         (msgqnum_t): Use __syscall_ulong_t.
64849         (msglen_t): Likewise.
64850         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
64851         __syscall_ulong_t.
64853         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64854         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64856         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64858         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64859         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64861         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64862         __syscall_slong_t.
64864         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64865         include <bits/wordsize.h>.  Check __x86_64__ instead of
64866         __WORDSIZE.
64868         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64869         "unsigned long long int" if __x86_64__ is defined.
64870         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64872         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64873         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64874         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64876         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64877         <stdint.h>.
64878         (GET_PC): Cast to uintptr_t first.
64879         (GET_FRAME): Likewise.
64880         (GET_STACK): Likewise.
64882         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64883         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64884         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64885         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64886         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64887         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64888         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64889         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64890         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64891         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64892         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64893         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64894         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64895         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64896         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64897         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64898         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64899         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64900         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64901         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64902         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64903         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64904         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64905         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64906         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64907         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64908         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64909         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64910         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64912 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64914         * Makerules (+depfiles): Also collect depfiles from .oS in
64915         $(extra-objs).
64916         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64917         .oS, $(libnldbl-routines)).
64919         * Makerules (native-compile-mkdep-flags): Define.
64920         * sunrpc/Makefile (extra-objs): Add $(addprefix
64921         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64922         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64923         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64924         calling $(make-target-directory).
64926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64928         * bits/types.h (__snseconds_t): Removed.
64929         * time/time.h (struct timespec): Replace __snseconds_t with
64930         __syscall_slong_t.
64931         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64932         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64933         Likewise.
64934         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64935         (__SNSECONDS_T_TYPE): Likewise.
64936         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64937         (__SNSECONDS_T_TYPE): Likewise.
64938         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64939         (__SNSECONDS_T_TYPE): Likewise.
64941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64943         * sysdeps/mach/hurd/bits/typesizes.h
64944         (__SYSCALL_SLONG_TYPE): New macro.
64945         (__SYSCALL_ULONG_TYPE): Likewise.
64947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64949         * bits/types.h (__syscall_slong_t): New type.
64950         (__syscall_ulong_t): Likewise.
64952         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64953         (__SYSCALL_ULONG_TYPE): Likewise.
64954         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64955         (__SYSCALL_SLONG_TYPE): Likewise.
64956         (__SYSCALL_ULONG_TYPE): Likewise.
64957         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64958         (__SYSCALL_SLONG_TYPE): Likewise.
64959         (__SYSCALL_ULONG_TYPE): Likewise.
64960         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64961         (__SYSCALL_SLONG_TYPE): Likewise.
64962         (__SYSCALL_ULONG_TYPE): Likewise.
64964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64966         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64967         Add sigaltstack-offsets.sym.
64968         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64969         <sigaltstack-offsets.h>.
64970         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64971         longjmp_msg pointer.
64972         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64973         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64974         signal stack.
64975         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64977 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64979         * elf/stackguard-macros.h: Remove file.
64980         * sysdeps/generic/stackguard-macros.h: New file.
64981         * sysdeps/i386/stackguard-macros.h: Likewise.
64982         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64983         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64984         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64985         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64986         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64987         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64988         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64989         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64990         <elf/stackguard-macros.h>.
64992         [BZ #14109]
64993         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64994         __aligned__ in attribute.
64995         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64996         (gregset_t): Likewise.
64998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65000         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65001         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65002         * sysdeps/x86_64/x32/Implies-after: New file.
65004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65006         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65007         and access return value for _dl_profile_fixup.  Use R10_LP to
65008         load frame size.
65010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65012         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65016         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65017         * sysdeps/x86_64/x32/sysdep.h: New file.
65019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65021         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65022         * sysdeps/x86_64/setjmp.S: Likewise.
65024 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65026         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65027         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65028         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65029         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65030         remove unused global constant.
65032 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65034         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65035         include of <not-cancel.h>.
65037 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65039         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65041 2012-05-15  Jeff Law  <law@redhat.com>
65042             Andreas Jaeger  <aj@suse.de>
65044         [BZ #13594]
65045         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65046         out from...
65047         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65048         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65049         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65050         code changing __hst_map_handle.map.
65052 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65054         * configure.in (sysnames): Look for Implies-before and Implies-after
65055         files.
65056         * configure: Regenerated.
65058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65060         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65061         8-byte data alignment with LP_SIZE alignment.
65063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65065         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65066         into R10_LP.
65068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65070         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65074         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65075         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65076         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65077         Likewise.
65078         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65082         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65083         (stackinfo_sub_sp): Likewise.
65085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65087         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65088         RAX_LP.
65090 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65092         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65093         into R*_LP.
65095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65097         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65098         sizes into R*_LP.
65100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65102         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65106         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65107         into R11_LP and load __x86_64_shared_cache_size_half into
65108         R8_LP.
65110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65112         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65113         R8_LP.
65115 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65117         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65118         logb for POWER7.
65119         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65120         logbf for POWER7.
65121         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65122         logbl for POWER7.
65123         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65124         powerpc32/power7/fpu/s_logb.c via #include.
65125         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65126         powerpc32/power7/fpu/s_logbf.c via #include.
65127         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65128         powerpc32/power7/fpu/s_logbl.c via #include.
65130 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65132         * README.libm: Remove file.
65134 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65136         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65137         count for x32.  Use R*_LP and omit operand-size suffix.
65139 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65141         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65142         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65143         * sysdeps/x86_64/x32/shlib-versions: New file.
65145 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65147         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65148         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65149         Use _dl_fatal_printf instead.
65151 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65153         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65154         set if not set by the user.  Do not allow for being unset.
65155         * sysdeps/unix/sysv/linux/configure: Regenerated.
65157 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65159         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65160         the `q' suffix from lea and replace .quad with ASM_ADDR.
65162 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65164         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65165         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65166         instead of $17.
65167         (PTR_DEMANGLE): Likewise.
65169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65171         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65172         (LP_OP): Likewise.
65173         (ASM_ADDR): Likewise.
65174         (RAX_LP): Likewise.
65175         (RBP_LP): Likewise.
65176         (RBX_LP): Likewise.
65177         (RCX_LP): Likewise.
65178         (RDI_LP): Likewise.
65179         (RSI_LP): Likewise.
65180         (RSP_LP): Likewise.
65181         (R8_LP): Likewise.
65182         (R9_LP): Likewise.
65183         (R10_LP): Likewise.
65184         (R10_LP): Likewise.
65185         (R11_LP): Likewise.
65186         (R12_LP): Likewise.
65187         (R13_LP): Likewise.
65188         (R14_LP): Likewise.
65189         (R15_LP): Likewise.
65191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65193         * sysdeps/x86_64/x32/dl-machine.h: New file.
65195 2012-05-14  Andreas Jaeger  <aj@suse.de>
65197         * manual/Makefile (subdir): Remove export of subdir.
65198         (all): Remove target.
65199         (.PHONY): Remove all from list.
65200         (mkinstalldirs): Remove.
65201         (.PHONY): Remove installdirs from list.
65202         ($(inst_infodir)/libc.info): Use make-target-directory.
65203         (installdirs): Remove.
65204         (subdir_%): Remove.
65205         (glibc-targets): Remove.
65206         (lib): Remove.
65207         (stubs): Remove.
65208         ($(objpfx)stubs ../po/manual.pot): Remove.
65209         ($(objpfx)stamp%): Remove.
65210         (make-target-directory): Remove.
65211         (subdir_install): Remove.
65212         (routines): Remove.
65213         (aux): Remove.
65214         (sources): Remove.
65215         (objects): Remove.
65216         (headers): Remove.
65218         [BZ #13750]
65219         * manual/.gitignore: Remove, it's not needed anymore.
65220         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65221         all files in it.
65222         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65223         directory.
65224         (texis): Renamed to $(objpfx)texis.
65225         (texis-path): New, contains path to generated files.
65226         (chapters.%): Use texis-path for complete path, add extra argument
65227         libc-texinfo.sh.
65228         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65229         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65230         (summary,texi, stamp-summary): Use complete path of
65231         files. Generate files in build dir.
65232         (dir-add.texi): Build in build dir.
65233         (libm-err.texi,stamp-libm-err): Likewise.
65234         (version.texi, stamp-version): Likewise.
65235         (.%c.texi): Likewise.
65236         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65237         (mostlyclean): Remove target.
65238         (realclean): Remove target.
65239         (generated): Add new variable with contents from mostlyclean and
65240         realclean, remove entries duplicated in common-mostlyclean, add
65241         stamp-libm-err and stamp-version.
65242         (generated-dirs): Add libc directory.
65243         ($(inst_infodir)/libc.info): Install files from build dir.
65245         * manual/install.texi (Configuring and compiling): Adjust since
65246         the info files are not part of the tar ball anymore.
65248 2012-05-14  Andreas Jaeger  <aj@suse.de>
65250         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65251         variable.
65253 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65255         [BZ #13717]
65256         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65257         to 2.2.0 where earlier.
65258         * sysdeps/unix/sysv/linux/configure: Regenerated.
65259         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65260         Remove conditional code.
65261         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65262         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65263         Remove conditional code.
65264         [!__NR_lchown]: Likewise.
65265         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65266         [__NR_lchown]: Likewise.
65267         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65268         comment referencing __ASSUME_LCHOWN_SYSCALL.
65269         * sysdeps/unix/sysv/linux/i386/sigaction.c
65270         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65271         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65272         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65273         Remove conditional code.
65274         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65275         (__protocol_available): Remove #if 0 code.
65276         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65277         conditional code.
65278         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65279         * sysdeps/unix/sysv/linux/kernel-features.h
65280         (__ASSUME_GETCWD_SYSCALL): Don't define.
65281         (__ASSUME_REALTIME_SIGNALS): Likewise.
65282         (__ASSUME_PREAD_SYSCALL): Likewise.
65283         (__ASSUME_PWRITE_SYSCALL): Likewise.
65284         (__ASSUME_POLL_SYSCALL): Likewise.
65285         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65286         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65287         non-SPARC.
65288         (__ASSUME_SIOCGIFNAME): Don't define.
65289         (__ASSUME_MSG_NOSIGNAL): Likewise.
65290         (__ASSUME_SENDFILE): Define unconditionally.
65291         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65292         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65293         conditional code.
65294         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65295         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65296         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65297         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65298         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65299         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65300         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65302         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65303         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65305         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65306         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65308         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65309         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65311         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65312         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65314         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65315         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65317         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65318         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65320         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65321         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65323         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65324         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65325         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65326         Remove conditional code.
65327         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65328         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65329         Remove conditional code.
65330         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65331         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65332         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65333         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65334         Remove conditional code.
65335         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65336         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65337         Remove conditional code.
65338         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65339         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65340         Remove conditional code.
65341         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65342         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65343         Remove conditional code.
65344         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65345         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65346         Remove conditional code.
65347         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65348         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65349         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65350         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65351         * sysdeps/unix/sysv/linux/sigaction.c
65352         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65353         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65354         * sysdeps/unix/sysv/linux/sigpending.c
65355         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65356         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65357         * sysdeps/unix/sysv/linux/sigprocmask.c
65358         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65359         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65360         * sysdeps/unix/sysv/linux/sigsuspend.c
65361         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65362         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65363         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65364         (__libc_missing_rt_sigs): Remove.
65365         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65366         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65367         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65368         Remove conditional code.
65369         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65370         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65371         return 1.
65372         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65373         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65374         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65375         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65377 2012-05-14  Andreas Jaeger  <aj@suse.de>
65379         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65380         it's not used in glibc.
65381         (__coshm1): Likewise.
65382         (__acosh1p): Likewise.
65383         (__sgn): Likewise.
65385         * manual/string.texi (Copying and Concatenation): Add missing
65386         variable in concat example.
65387         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65389 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65391         [BZ #14103]
65392         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65393         __builtin_clzl with __builtin_clzll.
65395 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65397         [BZ #14104]
65398         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65399         libc_freeres_ptr.
65401 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65403         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65404         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65405         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65406         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65408 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65410         * NEWS: Update ia64 info.
65412 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65414         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65415         used as bcopy.
65417 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65419         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65420         * sysdeps/unix/syscalls.list (dup3): Likewise.
65421         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65422         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65424 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65426         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65427         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65429 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65431         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65432         thread pointer.
65433         (TLS_IE): Use mov/add instead of movq/addq to load thread
65434         pointer.
65435         (TLS_GD_PREFIX): New.
65436         (TLS_GD): Use it.
65438 2012-05-11  David S. Miller  <davem@davemloft.net>
65440         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65441         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65442         (_FPU_SETCW): Likewise.
65444 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65446         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65447         is 32-byte aligned.
65449 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65451         [BZ #11837]
65452         * iconvdata/gb18030.c: Update tables.
65453         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65454         characters specially.
65455         (BODY for TO_LOOP): Add encoding of missing ranges.
65457 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65459         [BZ #13673]
65460         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65461         * sysdeps/mach/hurd/dup3.c: Likewise.
65462         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65463         * sysdeps/powerpc/memmove.c:: Likewise.
65465 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65468         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65470 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65472         * elf/elf.h (R_X86_64_RELATIVE64): New.
65473         (R_X86_64_NUM): Updated.
65474         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65475         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65476         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65477         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65478         tst-quad1pie tst-quad2pie
65479         (modules-names): Add tst-quadmod1 tst-quadmod2.
65480         ($(objpfx)tst-quad1): New dependency.
65481         ($(objpfx)tst-quad2): Likewise.
65482         ($(objpfx)tst-quad1pie): Likewise.
65483         ($(objpfx)tst-quad2pie): Likewise.
65484         * sysdeps/x86_64/tst-quad1.c: New file.
65485         * sysdeps/x86_64/tst-quad1pie.c: New file.
65486         * sysdeps/x86_64/tst-quad2.c: Likewise.
65487         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65488         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65489         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65490         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65491         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65495         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65496         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65497         * streams/stropts.h (t_scalar_t): Define type.
65499         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65500         (_PATH_PRESERVE): Set to "/var/lib".
65501         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65503         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65504         instead of int.
65506         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65507         if __dir_mkfile succeeded.
65509         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65510         checking for _hurd_dtablesize.  Unlock it right after having
65511         finished _hurd_dtable allocation.
65513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65515         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65516         * sysdeps/mach/hurd/configure: Regenerated.
65517         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65518         special-casing to...
65519         * sysdeps/gnu/configure.in: ... this new file.
65520         * sysdeps/unix/sysv/linux/configure: Regenerated.
65521         * sysdeps/gnu/configure: New generated file.
65523         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65524         for Linux: use nsec instead of usec, as well as:
65525         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65526         members of type struct timespec.
65527         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65528         New macros.
65529         (struct stat64): Likewise.
65530         (_STATBUF_ST_NSEC): New macro.
65531         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65533         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65534         __strtoul_internal rather than strtoul.
65536 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65538         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65539         and reject them.
65541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65543         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65544         which preserves existing values.
65545         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65547 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65549         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65550         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65551         greater than FD_SETSIZE.
65553 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65555         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65556         allocated, call __vm_protect to finish enabling the existing space, and
65557         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65558         allocate the remainder.
65560 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65562         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65563         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65565 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65567         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65568         sysdeps/mach/hurd/readlink.c.
65570         * posix/tst-sysconf.c (posix_options): Only use
65571         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65572         _POSIX_SYNCHRONIZED_IO when they are defined
65573         * sysdeps/mach/hurd/bits/posix_opt.h:
65574         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65575         (_XOPEN_REALTIME): Undefine macro.
65576         (_XOPEN_REALTIME_THREADS): Undefine macro.
65577         (_XOPEN_SHM): Undefine macro.
65578         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65579         macro to -1.
65580         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65581         macro to -1.
65582         (_POSIX_ASYNC_IO): Undefine macro.
65583         (_POSIX_PRIORITIZED_IO): Undefine macro.
65584         (_POSIX_SPIN_LOCKS): Define macro to -1.
65586         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65587         SA_NODEFER, SA_RESETHAND.
65588         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65589         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65590         F_DUPFD_CLOEXEC.
65592 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65594         * elf/Makefile (pldd-modules): Define unconditionally.
65596 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65598         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65600 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65602         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65603         Return ENOENT when name is empty.
65604         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65606 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65608         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65610         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65614         Fix mlock in all cases except non-readable pages.
65615         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65616         instead of VM_PROT_ALL as parameter to __vm_wire function.
65618         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65619         (__mkdir): When path is `/', just fail with EEXIST.
65620         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65622 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65624         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65625         <sys/uio.h> (for writev).
65626         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65627         and <sys/param.h> (for MIN).
65629 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65631         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65632         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65633         if interrupted.
65635 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65637         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65638         Depend on against $(link-rpcuserlibs).
65640 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65642         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65643         (__libc_stack_end): Do not use attribute_relro.
65644         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65645         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65646         to libthread-provided value.
65647         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65648         attribute_relro.
65650 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65652         [BZ #3748]
65653         * bits/libc-lock.h (__libc_once_get): New macro.
65654         * sysdeps/mach/bits/libc-lock.h: Likewise.
65655         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65656         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65657         instead of using implementation details.
65659         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65660         * libio/freopen.c: Likewise.
65661         * libio/freopen64.c: Likewise.
65662         * misc/syslog.c: Likewise.
65663         * nscd/connections.c: Likewise.
65664         * nscd/netgroupcache.c: Likewise.
65665         * sysdeps/posix/getcwd.c: Likewise.
65667 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65669         * math/w_ilogbf.c: Add #include <limits.h>.
65671 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65673         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65674         path instead of returning without unlocking.
65676         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65677         immediate-write ioctls.
65678         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65680 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65682         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65683         __builtin_frame_address instead of making assumptions about the
65684         location of the return address relative to DATA.  Force early load of
65685         the return address.
65686         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65687         __builtin_frame_address.
65689         dup3 for GNU Hurd.
65690         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65691         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65692         implement dup3 and do some further code clean-ups.
65693         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65694         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65698         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65700         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65701         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65702         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65703         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65704         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65705         d->port.lock.
65707         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65708         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65709         when handler == SIG_ERR, not when handler != SIG_ERR.
65711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65713         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65714         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65715         definitions.
65717         accept4 for GNU Hurd.
65718         * include/sys/socket.h (__libc_accept4): New prototype.
65719         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65720         to implement __libc_accept4.
65721         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65722         __libc_accept4.
65723         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65725         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65726         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65727         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65728         signal-defines.sym.
65730 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65732         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65736         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65737         assertion on O_CLOEXEC flag.
65738         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65739         * hurd/intern-fd.c: Likewise.
65740         * hurd/port2fd.c: Likewise.
65742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65744         [BZ #3906]
65745         * bits/in.h (IPV6_PKTINFO): Define new macro.
65746         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65748 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65750         [BZ #13954]
65751         [BZ #13955]
65752         [BZ #13956]
65753         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65754         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65755         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65756         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65757         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65758         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65759         * math/libm-test.inc (logb_test) : Additional logb tests.
65761 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65762             Andreas Jaeger  <aj@suse.de>
65764         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65765         * configure: Regenerated.
65766         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65767         * config.make.in (link-obsolete-rpc): New substituted variable.
65768         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65769         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65770         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65771         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65772         so that libc.a contains the symbols.
65773         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65774         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65775         * sunrpc/auth_none.c: Likewise.
65776         * sunrpc/auth_unix.c: Likewise.
65777         * sunrpc/authdes_prot.c: Likewise.
65778         * sunrpc/authuxprot.c: Likewise.
65779         * sunrpc/clnt_gen.c: Likewise.
65780         * sunrpc/clnt_perr.c: Likewise.
65781         * sunrpc/clnt_raw.c: Likewise.
65782         * sunrpc/clnt_simp.c: Likewise.
65783         * sunrpc/clnt_tcp.c: Likewise.
65784         * sunrpc/clnt_udp.c: Likewise.
65785         * sunrpc/clnt_unix.c: Likewise.
65786         * sunrpc/des_crypt.c: Likewise.
65787         * sunrpc/des_soft.c: Likewise.
65788         * sunrpc/get_myaddr.c: Likewise.
65789         * sunrpc/key_call.c: Likewise.
65790         * sunrpc/key_prot.c: Likewise.
65791         * sunrpc/netname.c: Likewise.
65792         * sunrpc/pm_getmaps.c: Likewise.
65793         * sunrpc/pm_getport.c: Likewise.
65794         * sunrpc/pmap_clnt.c: Likewise.
65795         * sunrpc/pmap_prot.c: Likewise.
65796         * sunrpc/pmap_prot2.c: Likewise.
65797         * sunrpc/pmap_rmt.c: Likewise.
65798         * sunrpc/publickey.c: Likewise.
65799         * sunrpc/rpc_cmsg.c: Likewise.
65800         * sunrpc/rpc_common.c: Likewise.
65801         * sunrpc/rpc_dtable.c: Likewise.
65802         * sunrpc/rpc_prot.c: Likewise.
65803         * sunrpc/rpc_thread.c: Likewise.
65804         * sunrpc/rtime.c: Likewise.
65805         * sunrpc/svc.c: Likewise.
65806         * sunrpc/svc_auth.c: Likewise.
65807         * sunrpc/svc_raw.c: Likewise.
65808         * sunrpc/svc_run.c: Likewise.
65809         * sunrpc/svc_tcp.c: Likewise.
65810         * sunrpc/svc_udp.c: Likewise.
65811         * sunrpc/svc_unix.c: Likewise.
65812         * sunrpc/svcauth_des.c: Likewise.
65813         * sunrpc/xcrypt.c: Likewise.
65814         * sunrpc/xdr.c: Likewise.
65815         * sunrpc/xdr_array.c: Likewise.
65816         * sunrpc/xdr_float.c: Likewise.
65817         * sunrpc/xdr_intXX_t.c: Likewise.
65818         * sunrpc/xdr_mem.c: Likewise.
65819         * sunrpc/xdr_rec.c: Likewise.
65820         * sunrpc/xdr_ref.c: Likewise.
65821         * sunrpc/xdr_sizeof.c: Likewise.
65822         * sunrpc/xdr_stdio.c: Likewise.
65824 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65826         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65827         change.  Update copyright years.
65829 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65831         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65833 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
65834             Joseph Myers  <joseph@codesourcery.com>
65835             Paul Pluzhnikov  <ppluzhnikov@google.com>
65837         [BZ #14012]
65838         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65839         requiring rpcgen.
65840         [cross-compiling] (extra-libs): Likewise.
65841         [cross-compiling] (extra-libs-others): Likewise.
65842         [cross-compiling] (librpcsvc-routines): Likewise.
65843         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65844         [cross-compiling] (omit-deps): Likewise.
65845         (sunrpc-CPPFLAGS): New variable.
65846         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65847         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65848         (cross-rpcgen-objs): New variable.
65849         (extra-objs): Append $(cross-rpcgen-objs).
65850         ($(cross-rpcgen-objs)): New rule.
65851         ($(objpfx)cross-rpcgen): Likewise.
65852         (rpcgen-cmd): Define to use $(built-program-file).  Expand
65853         comment.
65854         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65855         ($(objpfx)x%.stmp): Likewise.
65856         * sunrpc/proto.h [IS_IN_build] (_): Define.
65857         [IS_IN_build] (_libc_intl_domainname): Likewise.
65859 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65861         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65862         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65863         and R_X86_64_TPOFF64.
65865 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65867         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65868         sysdeps/unix/sysv/syscalls.list.
65869         (stime): Likewise.
65870         (utime): Likewise.
65871         * sysdeps/unix/sysv/syscalls.list: Remove file.
65873 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65875         [BZ #3440]
65876         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65877         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65878         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65879         (__LC_IDENTIFICATION): Make these macros useful in #if
65880         expressions, as required by C99.
65882 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65884         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65885         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65886         after this.
65888 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65890         * stdlib/longlong.h: Updated from GCC.
65892 2012-05-09  Andreas Jaeger  <aj@suse.de>
65894         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65895         default is first entry.
65896         (run_mode): Set type.
65897         (main): Remove informal message about syslog.
65898         (options): Fix typo.
65900         [BZ #14053]
65901         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65902         to asm.
65903         (lrint): Likewise.
65904         (llrintf): Likewise.
65905         (llrint): Likewise.
65906         (rint): Likewise.
65907         (rintf): Likewise.
65908         (nearbyint): Likewise.
65909         (nearbyintf): Likewise.
65911 2012-05-09  Andreas Jaeger  <aj@suse.de>
65912             Pedro Alves  <palves@redhat.com>
65914         * nscd/nscd.c (run_mode): Use enum.
65915         (main): Cleanup coding style issue.
65917 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65918             Andreas Jaeger  <aj@suse.de>
65920         * nscd/nscd.c (go_background): Replaced with...
65921         (run_mode): ... this.
65922         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65923         (options): Add -F --foreground.
65924         (main): Implement it.
65925         (parse_opt): Parse it.
65927 2012-05-09  Andreas Jaeger  <aj@suse.de>
65929         [BZ #14083]
65930         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65931         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65932         -Wconversion warning.
65933         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65934         Likewise.
65936 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65938         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65939         == 0.
65940         (LC_ALL): Use macro-int-constant.
65941         (LC_COLLATE): Likewise.
65942         (LC_CTYPE): Likewise.
65943         (LC_MESSAGES): Likewise.
65944         (LC_MONETARY): Likewise.
65945         (LC_NUMERIC): Likewise.
65946         (LC_TIME): Likewise.
65947         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65948         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65949         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65950         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65951         Specify type.
65952         [C99-based standards] (float_t): Expect type.
65953         [C99-based standards] (double_t): Expect type.
65954         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65955         type.
65956         [C99-based standards] (HUGE_VALL): Likewise.
65957         [C99-based standards] (INFINITY): Likewise.
65958         [C99-based standards] (NAN): Likewise.
65959         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65960         [C99-based standards] (FP_NAN): Likewise.
65961         [C99-based standards] (FP_NORMAL): Likewise.
65962         [C99-based standards] (FP_SUBNORMAL): Likewise.
65963         [C99-based standards] (FP_ZERO): Likewise.
65964         [C99-based standards] (FP_FAST_FMA): Use
65965         optional-macro-int-constant.  Specify type.  Require == 1.
65966         [C99-based standards] (FP_FAST_FMAF): Likewise.
65967         [C99-based standards] (FP_FAST_FMAL): Likewise.
65968         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65969         [C99-based standards] (FP_ILOGBNAN): Likewise.
65970         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65971         Specify type.
65972         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65973         [C99-based standards] (math_errhandling): Specify type.
65974         [ISO99 || ISO11] (signgam): Do not allow.
65975         [non-C99-based standards] (copysignf): Do not allow.
65976         [non-C99-based standards] (exp2f): Likewise.
65977         [non-C99-based standards] (log2f): Likewise.
65978         [non-C99-based standards] (modff): Allow.
65979         [non-C99-based standards] (erff): Do not allow.
65980         [non-C99-based standards] (erfcf): Likewise.
65981         [non-C99-based standards] (gammaf): Likewise.
65982         [non-C99-based standards] (hypotf): Likewise.
65983         [non-C99-based standards] (j0f): Likewise.
65984         [non-C99-based standards] (j1f): Likewise.
65985         [non-C99-based standards] (jnf): Likewise.
65986         [non-C99-based standards] (lgammaf): Likewise.
65987         [non-C99-based standards] (tgammaf): Likewise.
65988         [non-C99-based standards] (y0f): Likewise.
65989         [non-C99-based standards] (y1f): Likewise.
65990         [non-C99-based standards] (ynf): Likewise.
65991         [non-C99-based standards] (isnanf): Likewise.
65992         [non-C99-based standards] (acoshf): Likewise.
65993         [non-C99-based standards] (asinhf): Likewise.
65994         [non-C99-based standards] (atanhf): Likewise.
65995         [non-C99-based standards] (cbrtf): Likewise.
65996         [non-C99-based standards] (expm1f): Likewise.
65997         [non-C99-based standards] (ilogbf): Likewise.
65998         [non-C99-based standards] (log1pf): Likewise.
65999         [non-C99-based standards] (logbf): Likewise.
66000         [non-C99-based standards] (nextafterf): Likewise.
66001         [non-C99-based standards] (remainderf): Likewise.
66002         [non-C99-based standards] (rintf): Likewise.
66003         [non-C99-based standards] (scalbf): Likewise.
66004         [non-C99-based standards] (copysignl): Likewise.
66005         [non-C99-based standards] (exp2l): Likewise.
66006         [non-C99-based standards] (log2l): Likewise.
66007         [non-C99-based standards] (modfl): Allow.
66008         [non-C99-based standards] (erfl): Do not allow.
66009         [non-C99-based standards] (erfcl): Likewise.
66010         [non-C99-based standards] (gammal): Likewise.
66011         [non-C99-based standards] (hypotl): Likewise.
66012         [non-C99-based standards] (j0l): Likewise.
66013         [non-C99-based standards] (j1l): Likewise.
66014         [non-C99-based standards] (jnl): Likewise.
66015         [non-C99-based standards] (lgammal): Likewise.
66016         [non-C99-based standards] (tgammal): Likewise.
66017         [non-C99-based standards] (y0l): Likewise.
66018         [non-C99-based standards] (y1l): Likewise.
66019         [non-C99-based standards] (ynl): Likewise.
66020         [non-C99-based standards] (isnanl): Likewise.
66021         [non-C99-based standards] (acoshl): Likewise.
66022         [non-C99-based standards] (asinhl): Likewise.
66023         [non-C99-based standards] (atanhl): Likewise.
66024         [non-C99-based standards] (cbrtl): Likewise.
66025         [non-C99-based standards] (expm1l): Likewise.
66026         [non-C99-based standards] (ilogbl): Likewise.
66027         [non-C99-based standards] (log1pl): Likewise.
66028         [non-C99-based standards] (logbl): Likewise.
66029         [non-C99-based standards] (nextafterl): Likewise.
66030         [non-C99-based standards] (remainderl): Likewise.
66031         [non-C99-based standards] (rintl): Likewise.
66032         [non-C99-based standards] (scalbl): Likewise.
66033         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66034         [non-C99-based standards] (FP_*): Do not allow.
66035         [C99-based standards] (FP_*): Change to
66036         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66037         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66038         allow.
66039         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66040         (SIG_ERR): Likewise.
66041         [X/Open-based standards] (SIG_HOLD): Likewise.
66042         (SIG_IGN): Likewise.
66043         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66044         positive value.
66045         (SIGFPE): Likewise.
66046         (SIGILL): Likewise.
66047         (SIGINT): Likewise.
66048         (SIGSEGV): Likewise.
66049         (SIGTER): Likewise.
66050         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66051         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66052         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66053         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66054         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66055         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66056         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66057         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66058         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66059         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66060         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66061         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66062         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66063         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66064         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66065         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66066         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66067         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66068         [X/Open-based standards] (SIGTRAP): Likewise.
66069         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66070         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66071         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66072         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66073         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66074         allow.
66076 2012-05-08  Ian Wienand  <ianw@vmware.com>
66078         [BZ #14080]
66079         * time/tzset.c (__tzset_parse_tz): Update default rules for
66080         daylight time changes in the Energy Policy Act of 2005.
66082 2012-05-09  Andreas Jaeger  <aj@suse.de>
66084         [BZ #13983]
66085         * elf/ldconfig.c (parse_conf): Change string to make clear that
66086         ldconfig only issued a warning if ld.so.conf does not exist.
66088 2012-05-08  David S. Miller  <davem@davemloft.net>
66090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66091         movxtod instead of popping the value on the stack.
66093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66095 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66097         * config.h.in: Add HAVE_ARM_PCS_VFP.
66099 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66101         [BZ #13979]
66102         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66103         checking but the checks are disabled for any reason.
66105 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66107         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66108         and ELF64_R_TYPE with ELFW(R_TYPE).
66110 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66112         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66113         (ulimit): Likewise.
66115         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66116         (settimeofday): Likewise.
66118 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66120         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66121         a struct th_u2 inside the union, and move tu_block/tu_code into
66122         a new th_u3 union of tu_block/tu_code inside of that.  Move
66123         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66124         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66125         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66126         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66127         (th_stuff): Change to th_u1.tu_stuff.
66128         (th_data): Define.
66129         (th_msg): Change to th_u1.th_u2.tu_data.
66131 2012-05-07  David S. Miller  <davem@davemloft.net>
66133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66135         [BZ #14074]
66136         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66137         (SETUP_PIC_REG): Use it.
66138         (SETUP_PIC_REG_LEAF): Use it.
66140 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66142         [BZ #13885]
66143         [BZ #13923]
66144         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66145         USE_AS_EXPM1L.
66146         (EXPL_FINITE): Likewise.
66147         (FLDLOG): Likewise.
66148         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66149         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66150         e_expl.S.
66151         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66152         USE_AS_EXPM1L.
66153         (EXPL_FINITE): Likewise.
66154         (FLDLOG): Likewise.
66155         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66156         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66157         e_expl.S.
66158         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66159         test of -max_value argument for long double.
66160         * sysdeps/i386/fpu/libm-test-ulps: Update.
66161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66163 2012-05-06  David S. Miller  <davem@davemloft.net>
66165         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66166         quad soft-float symbols whose references which are compiler
66167         generated.
66168         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66170 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66172         [BZ #13884]
66173         [BZ #13914]
66174         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66175         USE_AS_EXP10L.
66176         (EXPL_FINITE): Likewise.
66177         (FLDLOG): Likewise.
66178         (c0): Likewise.
66179         (c1): Likewise.
66180         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66181         Adjust comments for base varying.
66182         (__expl_finite): Change alias to EXPL_FINITE.
66183         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66184         e_expl.S.
66185         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66186         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66187         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66188         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66189         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66190         USE_AS_EXP10L.
66191         (EXPL_FINITE): Likewise.
66192         (FLDLOG): Likewise.
66193         (c0): Likewise.
66194         (c1): Likewise.
66195         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66196         Adjust comments for base varying.
66197         (__expl_finite): Change alias to EXPL_FINITE.
66198         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66199         tests for bugs.
66200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66202         [BZ #14064]
66203         * math/libm-test.inc (check_float_internal): Correct ulp
66204         calculation for subnormal expected results.
66206 2012-05-06  Andreas Jaeger  <aj@suse.de>
66208         * Makeconfig (+math-flags): New, set to -frounding-math.
66209         (+cflags): Add +math-flags so that all of glibc gets compiled with
66210         it.
66212         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66214 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66216         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66217         Disable one test.
66219         [BZ #13787]
66220         [BZ #13922]
66221         [BZ #14036]
66222         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66223         (__ieee754_expl): Allow for and saturate large arguments.
66224         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66225         (u_threshold): Likewise.
66226         (__exp): Call __ieee754_exp before checking for overflow and
66227         underflow.
66228         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66229         (u_threshold): Likewise.
66230         (__expf): Call __ieee754_expf before checking for overflow and
66231         underflow.
66232         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66233         (u_threshold): Likewise.
66234         (__expl): Call __ieee754_expl before checking for overflow and
66235         underflow.
66236         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66237         (__ieee754_expl): Allow for and saturate large arguments.
66238         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66239         missing overflow exception on overflow.
66240         (expm1_test): Do not allow missing overflow exception on overflow.
66242         * sysdeps/i386/fpu/e_expl.c: Move to ...
66243         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66244         rather than using inline asm.
66245         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66246         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66247         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66249         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66250         (nice): Likewise.
66251         (poll): Likewise.
66252         (signal): Likewise.
66253         (time): Likewise.
66254         (times): Likewise.
66256 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66258         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66259         sysdeps/unix/common/syscalls.list.
66260         (fchmod): Likewise.
66261         (fchown): Likewise.
66262         (ftruncate): Likewise.
66263         (getrusage): Likewise.
66264         (gettimeofday): Likewise.
66265         (setpgid): Likewise.
66266         (setregid): Likewise.
66267         (setreuid): Likewise.
66268         (sigaction): Likewise.
66269         (truncate): Likewise.
66270         (vhangup): Likewise.
66271         * sysdeps/unix/common/syscalls.list: Remove file.
66272         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66273         * sysdeps/unix/sysv/linux/Implies: Likewise.
66275 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66277         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66279         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66280         Moved to ...
66281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66282         Here.
66283         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66284         to ...
66285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66286         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66287         to ...
66288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66289         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66290         to ...
66291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66292         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66293         to ...
66294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66295         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66296         to ...
66297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66298         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66299         to ...
66300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66301         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66302         to ...
66303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66304         Here.
66305         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66306         to ...
66307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66308         Here.
66309         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66310         to ...
66311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66312         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66313         Moved to ...
66314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66315         Here.
66316         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66317         to ...
66318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66320 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66322         * sysdeps/unix/common/bits/dirent.h: Remove file.
66323         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66325         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66326         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66327         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66328         * sysdeps/unix/bsd/isatty.c: Likewise.
66329         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66330         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66331         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66333 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66335         [BZ #13563]
66336         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66337         long double comparison inaccuracies.
66338         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66341 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66343         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66344         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66346 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66348         [BZ #14049]
66349         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66350         nonzero digits before rounding a hex value.
66351         * stdlib/tst-strtod.c (tests): Add another test.
66353 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66355         * sysdeps/s390/fpu/libm-test-ulps: Update.
66357 2012-05-03  Andreas Jaeger  <aj@suse.de>
66359         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66360         does not get optimized out.
66361         (malloc_opt_barrier): New.
66363 2012-05-03  Andreas Jaeger  <aj@suse.de>
66364             Roland McGrath  <roland@hack.frob.com>
66366         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66367         intermediate file deletion.
66368         (generated): Add .symlist files.
66370 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66372         [BZ #13775]
66373         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66374         Redirect under this condition.
66375         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66376         [__USE_GNU] (__dprintf_chk): Not under this condition.
66377         [__USE_GNU] (__vdprintf_chk): Likewise.
66378         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66379         under this condition.
66380         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66381         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66382         [__USE_XOPEN2K8] (vdprintf): Likewise.
66383         [__USE_GNU] (__dprintf_chk): Not under this condition.
66384         [__USE_GNU] (__vdprintf_chk): Likewise.
66385         [__USE_GNU] (dprintf): Likewise.
66386         [__USE_GNU] (vdprintf): Likewise.
66388 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66390         * elf/Makefile (common-generated): Set this instead of generated for
66391         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66392         $(all-built-dso)-derived lists.
66394 2012-05-03  Andreas Jaeger  <aj@suse.de>
66396         * sysdeps/i386/fpu/libm-test-ulps: Update.
66398         * FAQ: Removed.
66399         * FAQ.in: Likewise.
66400         * scripts/gen-FAQ.pl: Likewise.
66401         * manual/install.texi (Installation): Point to online location of
66402         FAQ.
66403         * Makefile (files-for-dist): Remove FAQ.
66404         (FAQ): Remove.
66406 2012-05-02  Allan McRae  <allan@archlinux.org>
66408         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66409         (LDFLAGS-reldepmod5.so): Likewise.
66410         (LDFLAGS-reldep6mod1.so): Likewise.
66411         (LDFLAGS-reldep6mod4.so): Likewise.
66412         (LDFLAGS-reldep8mod3.so): Likewise.
66413         (LDFLAGS-unload4mod1.so): Likewise.
66414         (LDFLAGS-unload4mod2.so): Likewise.
66415         (LDFLAGS-tst-initorder): Likewise.
66416         (LDFLAGS-tst-initordera2.so): Likewise.
66417         (LDFLAGS-tst-initordera3.so): Likewise.
66418         (LDFLAGS-tst-initordera4.so): Likewise.
66419         (LDFLAGS-tst-initorderb2.so): Likewise.
66420         (LDFLAGS-noload): Likewise.
66421         (LDFLAGS-next): Likewise.
66422         (LDFLAGS-order2mod1.so): Likewise.
66423         (LDFLAGS-order2mod2.so): Likewise.
66424         (LDFLAGS-tst-initorder2): Likewise.
66425         (LDFLAGS-tst-initorder2a.so): Likewise.
66426         (LDFLAGS-tst-initorder2b.so): Likewise.
66427         (LDFLAGS-tst-initorder2c.so): Likewise.
66428         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66430 2012-05-02  David S. Miller  <davem@davemloft.net>
66432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66434 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66436         [BZ #14055]
66437         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66439 2012-05-02  Andreas Jaeger  <aj@suse.de>
66441         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66442         since we manipulate rounding mode.
66443         (CPPFLAGS-test-idouble.c): Likewise.
66444         (CPPFLAGS-test-ifloat.c): Likewise.
66445         (CFLAGS-test-ldouble.c): Likewise.
66446         (CFLAGS-test-double.c): Likewise.
66447         (CFLAGS-test-float.c): Likewise.
66448         (CFLAGS-test-misc.c): Likewise.
66449         (CFLAGS-test-test-fenv.c): Likewise.
66451 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66453         [BZ #2550]
66454         [BZ #2570]
66455         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66456         comparisons to determine direction to adjust input.
66458 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66460         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66461         output to the target.
66463         * scripts/localplt.awk: New file.
66464         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66465         (check-localplt-CFLAGS): Variable removed.
66466         ($(all-built-dso:=.jmprel)): New static pattern rule.
66467         (generated): Add those targets.
66468         (localplt-built-dso): New variable.
66469         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66471         * elf/check-localplt.c: File removed.
66473         * scripts/check-execstack.awk: New file.
66474         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66475         (check-execstack-CFLAGS): Variable removed.
66476         ($(objpfx)check-execstack.h): Target removed.
66477         ($(objpfx)execstack-default): New target.
66478         (generated): Add that instead of check-execstack.h.
66479         ($(all-built-dso:=.phdr)): New static pattern rule.
66480         (generated): Add those targets.
66481         * elf/check-execstack.c: File removed.
66483         * scripts/check-textrel.awk: New file.
66484         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66485         (check-textrel-CFLAGS): Variable removed.
66486         (all-built-dso): Use := to define.o
66487         ($(all-built-dso:=.dyn)): New static pattern rule.
66488         (generated): Add those targets.
66489         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66490         * config.make.in (READELF): New substituted variable.
66491         * elf/check-textrel.c: File removed.
66493 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66495         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66496         allow.
66497         * conform/data/ctype.h-data [C99-based standards] (isblank):
66498         Expect function.
66499         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66500         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66501         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66502         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66503         Specify type.  Require positive value.
66504         (EILSEQ): Likewise.
66505         (ERANGE): Likewise.
66506         [ISO || POSIX] (EILSEQ): Do not expect.
66507         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66508         Specify type.  Require positive value.
66509         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66510         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66511         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66512         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66513         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66514         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66515         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66516         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66517         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66518         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66519         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66520         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66521         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66522         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66523         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66524         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66525         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66526         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66527         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66528         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66529         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66530         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66531         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66532         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66533         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66534         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66535         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66536         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66537         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66538         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66539         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66540         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66541         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66542         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66543         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66544         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66545         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66546         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66547         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66548         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66549         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66550         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66551         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66552         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66553         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66554         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66555         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66556         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66557         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66558         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66559         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66560         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66561         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66562         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66563         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66564         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66565         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66566         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66567         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66568         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66569         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66570         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66571         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66572         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66573         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66574         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66575         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66576         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66577         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66578         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66579         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66580         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66581         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66582         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66583         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66584         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66585         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66586         Require >= 2.
66587         (FLT_ROUNDS): Expect as macro, not constant.
66588         (FLT_MANT_DIG): Use macro-int-constant.
66589         (DBL_MANT_DIG): Likewise.
66590         (LDBL_MANT_DIG): Likewise.
66591         (FLT_DIG): Likewise.
66592         (DBL_DIG): Likewise.
66593         (LDBL_DIG): Likewise.
66594         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66595         (DBL_MIN_EXP): Likewise.
66596         (LDBL_MIN_EXP): Likewise.
66597         (FLT_MAX_EXP): Use macro-int-constant.
66598         (DBL_MAX_EXP): Likewise.
66599         (LDBL_MAX_EXP): Likewise.
66600         (FLT_MAX_10_EXP): Likewise.
66601         (DBL_MAX_10_EXP): Likewise.
66602         (LDBL_MAX_10_EXP): Likewise.
66603         (FLT_MAX): Use macro-constant.
66604         (DBL_MAX): Likewise.
66605         (LDBL_MAX): Likewise.
66606         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66607         (DBL_EPSILON): Likewise.
66608         (LDBL_EPSILON): Likewise.
66609         (FLT_MIN): Likewise.
66610         (DBL_MIN): Likewise.
66611         (LDBL_MIN): Likewise.
66612         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66613         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66614         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66615         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66616         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66617         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66618         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66619         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66620         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66621         [ISO11] (FLT_TRUE_MIN): Likewise.
66622         [ISO11] (LDBL_TRUE_MIN): Likewise.
66623         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66624         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66625         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66626         (SCHAR_MAX): Likewise.
66627         (UCHAR_MAX): Likewise.
66628         (CHAR_MIN): Likewise.
66629         (CHAR_MAX): Likewise.
66630         (MB_LEN_MAX): Use macro-int-constant.
66631         (SHRT_MIN): Use macro-int-constant.  Specify type.
66632         (SHRT_MAX): Likewise.
66633         (USHRT_MAX): Likewise.
66634         (INT_MAX): Likewise.
66635         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66636         bound negative.
66637         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66638         bound with "U".
66639         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66640         bound with "L".
66641         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66642         bound negative.  Suffix upper bound with "L".
66643         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66644         bound with "UL".
66645         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66646         Specify type.
66647         [C99-based standards] (LLONG_MAX): Likewise.
66648         [C99-based standards] (ULLONG_MAX): Likewise.
66649         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66650         == 0.
66651         [ISO11] (max_align_t): Require type.
66652         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66654         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66655         from $CFLAGS, without defining away __attribute__ calls.
66656         (checknamespace): Use $CFLAGS_namespace.
66658         * conform/conformtest.pl (@keywords): Only include C99 keywords
66659         for standards based on C99 or C11.
66661         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66662         Disable tests.
66663         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66664         UNIX98]: Likewise.
66666         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66667         usability of symbols in #if.
66669         * conform/conformtest.pl: If macro or constant types start
66670         "promoted:", expect the symbol to be of the following type
66671         promoted by the integer promotions.
66673         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66674         in one place.  Also handle "macro-constant".
66676         * conform/conformtest.pl: Only accept expected macro values with
66677         "==".  Parse all "macro" lines in one place.
66678         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66680         * conform/conformtest.pl: Handle braced types on "constant" lines
66681         instead of handling "typed-constant".
66682         * conform/data/signal.h-data: Use "constant" instead of
66683         "typed-constant".
66685         * conform/conformtest.pl: Handle "optional-" at start of lines in
66686         one place rather than duplicating several cases.  Handle each
66687         format of "macro" line with initial "optional-".
66689         * conform/conformtest.pl: Only accept expected constant or
66690         optional-constant values with "==".  Parse all "constant" lines in
66691         one place.  Parse all "optional-constant" lines in one place.
66692         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66693         * conform/data/fmtmsg.h-data: Likewise.
66694         * conform/data/netinet/in.h-data: Likewise.
66695         * conform/data/tar.h-data: Likewise.
66696         * conform/data/limits.h-data: Use "==" form on "constant" and
66697         "optional-constant" lines.
66699         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66700         Use -std=c99 for XOPEN2K.
66701         (@knownproblems): Remove.
66702         (newtoken): Don't check %isknown.
66704         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66705         Do not expect macro.
66706         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66707         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66708         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66709         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66710         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66711         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66712         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66713         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66714         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66715         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66716         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66717         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66718         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66719         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66720         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66721         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66722         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66723         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66724         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66725         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66726         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66727         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66728         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66729         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66730         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66731         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66732         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66733         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66734         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66735         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66736         [XPG3] (acosh): Likewise.
66737         [XPG3] (asinh): Likewise.
66738         [XPG3] (atanh): Likewise.
66739         [XPG3] (cbrt): Likewise.
66740         [XPG3] (expm1): Likewise.
66741         [XPG3] (ilogb): Likewise.
66742         [XPG3] (log1p): Likewise.
66743         [XPG3] (logb): Likewise.
66744         [XPG3] (nextafter): Likewise.
66745         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66746         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66747         [XPG3] (remainder): Likewise.
66748         [XPG3] (rint): Likewise.
66749         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66750         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66751         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66752         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66753         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66754         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66755         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66756         [UNIX98 || XOPEN2K] (scalb): Expect.
66757         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66758         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66759         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66760         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66761         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66762         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66763         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66764         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66765         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66766         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66767         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66768         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66769         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66770         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66771         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66772         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66773         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66774         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66775         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66776         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66777         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66778         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66779         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66780         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66781         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66782         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66783         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66784         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66785         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66786         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66787         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66788         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66789         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66790         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66791         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66792         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66793         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66794         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66795         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66796         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66797         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66798         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66799         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66800         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66801         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66802         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66803         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66804         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66805         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66806         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66807         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66808         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66809         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66810         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66811         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66812         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66813         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66814         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66815         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66816         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66817         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66818         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66819         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66820         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66821         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66822         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66823         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66824         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66825         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66826         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66827         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66828         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66829         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66830         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66831         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66832         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66833         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66834         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66835         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66836         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66837         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66838         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66839         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66840         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66841         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66842         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66843         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66844         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66845         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66846         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66847         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66848         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66849         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66850         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66851         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66852         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66853         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66854         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66855         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66856         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66857         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66858         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66859         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66860         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66861         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66862         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66863         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66864         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66865         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66866         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66867         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66868         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66869         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66870         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66871         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66872         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66873         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66874         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66875         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66876         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66877         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66878         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66879         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66880         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66881         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66882         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66883         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66884         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66885         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66886         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66887         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66888         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66889         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66890         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66891         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66892         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66893         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66895         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66896         _XOPEN_SOURCE_EXTENDED for XPG4.
66898         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66900         * Makeconfig (localtime): Remove variable.
66901         (inst_localtime-file): Likewise.
66903 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66906         Update.
66907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66908         Update.
66909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66910         Update.
66911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66912         Update.
66913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66914         Update.
66915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66916         Update.
66917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66918         Update.
66919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66920         Update.
66921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66922         Update.
66924 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66926         [BZ #2550]
66927         [BZ #2570]
66928         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66929         comparisons to determine direction to adjust input.
66930         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66931         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66932         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66933         Likewise.
66934         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66935         Likewise.
66936         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66937         Likewise.
66938         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66939         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66940         Likewise.
66941         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66942         Likewise.
66943         * math/libm-test.inc (nexttoward_test): Add more tests.
66945 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66947         [BZ #14040]
66948         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66949         in version GLIBC_2.1, not GLIBC_2.0.
66950         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66951         Likewise.
66953 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66955         [BZ #13942]
66956         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66957         (1 - x) * (1 + x).
66958         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66959         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66960         * math/libm-test.inc (acos_test): Add more tests.
66961         (asin_test): Likewise.
66962         * sysdeps/i386/fpu/libm-test-ulps: Update.
66963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66965         [BZ #14034]
66966         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66967         of square root.
66968         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66969         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66970         * math/libm-test.inc (acos_test_tonearest): New function.
66971         (acos_test_towardzero): Likewise.
66972         (acos_test_downward): Likewise.
66973         (acos_test_upward): Likewise.
66974         (asin_test_tonearest): Likewise.
66975         (asin_test_towardzero): Likewise.
66976         (asin_test_downward): Likewise.
66977         (asin_test_upward): Likewise.
66978         (main): Call the new functions.
66979         * sysdeps/i386/fpu/libm-test-ulps: Update.
66980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66982         [BZ #13884]
66983         [BZ #13924]
66984         * math/e_exp10.c: Include <float.h>.
66985         (__ieee754_exp10): Handle underflow here rather than multiplying
66986         large negative argument by M_LN10.
66987         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66988         of __ieee754_expf.
66989         * math/e_exp10l.c: Include <float.h>.
66990         (__ieee754_exp10l): Handle underflow here rather than multiplying
66991         large negative argument by M_LN10l.
66992         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66993         spurious overflow exception on underflow.
66995 2012-04-29  Marek Polacek  <polacek@redhat.com>
66997         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66998         (__fortify_function): New macro.
66999         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67000         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67001         __extern_always_inline.
67002         * libio/bits/stdio2.h: Likewise.
67003         * libio/bits/stdio.h: Likewise.
67004         * string/string.h: Likewise.
67005         * string/bits/string3.h: Likewise.
67006         * include/stdio.h: Likewise.
67007         * stdlib/bits/stdlib.h: Likewise.
67008         * stdlib/stdlib.h: Likewise.
67009         * rt/bits/mqueue2.h: Likewise.
67010         * rt/mqueue.h: Likewise.
67011         * posix/bits/unistd.h: Likewise.
67012         * posix/unistd.h: Likewise.
67013         * io/bits/poll2.h: Likewise.
67014         * io/bits/fcntl2.h: Likewise.
67015         * io/fcntl.h: Likewise.
67016         * io/sys/poll.h: Likewise.
67017         * misc/bits/syslog.h: Likewise.
67018         * misc/bits/syslog-ldbl.h: Likewise.
67019         * misc/sys/syslog.h: Likewise.
67020         * socket/bits/socket2.h: Likewise.
67021         * socket/sys/socket.h: Likewise.
67022         * debug/tst-chk1.c: Likewise.
67023         * wcsmbs/bits/wchar2.h: Likewise.
67024         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67025         * wcsmbs/wchar.h: Likewise.
67027 2012-04-29  Andreas Jaeger  <aj@suse.de>
67029         * Makerules (tests): Remove enable-check-abi protection.
67030         (check-abi-warn): Remove.
67031         (check-abi-%): Remove check-abi-warn usage.
67033         * configure.in: Remove check-abi configure option.
67034         * configure: Regenerated.
67035         * config.make.in (enable-check-abi): Remove.
67037 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67039         [BZ #14033]
67040         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67041         double functions to double *_finite functions.
67043         [BZ #13941]
67044         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67045         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67046         LDBL_MIN_EXP.
67047         * stdio-common/Makefile (tests): Add tst-sprintf3.
67048         * stdio-common/tst-sprintf3.c: New file.
67050         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67051         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67053 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67055         * conform/conformtest.pl: Remove duplicate typed-constant
67056         handling.
67058 2012-04-28  David S. Miller  <davem@davemloft.net>
67060         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67061         (check-abi-%): Remove AWK script prerequisite and explicit
67062         abilist directory.
67063         (check-abi): Rewrite to just diff the symlist with the abilist.
67064         (config-tls, config-abi-config): Delete, no longer used.
67065         (update-abi-%): Remove AWK script and explicit abilist directory.
67066         (update-abi): Rewrite to simply compare and conditionally copy the
67067         symlist and the sysdep abilist file.  Remove update-abi-config
67068         checks.
67069         * abilist/ld.abilist: Remove.
67070         * abilist/libBrokenLocale.abilist: Remove.
67071         * abilist/libanl.abilist: Remove.
67072         * abilist/libcrypt.abilist: Remove.
67073         * abilist/libdl.abilist: Remove.
67074         * abilist/librt.abilist: Remove.
67075         * abilist/libthread_db.abilist: Remove.
67076         * abilist/libutil.abilist: Remove.
67077         * scripts/extract-abilist.awk: Remove.
67078         * scripts/merge-abilist.awk: Remove.
67079         * sysdeps/generic/libcidn.abilist: New file.
67080         * sysdeps/generic/libnss_compat.abilist: New file.
67081         * sysdeps/generic/libnss_db.abilist: New file.
67082         * sysdeps/generic/libnss_dns.abilist: New file.
67083         * sysdeps/generic/libnss_files.abilist: New file.
67084         * sysdeps/generic/libnss_hesiod.abilist: New file.
67085         * sysdeps/generic/libnss_nis.abilist: New file.
67086         * sysdeps/generic/libnss_nisplus.abilist: New file.
67087         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67088         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67089         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67090         file.
67091         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67092         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67093         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67094         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67095         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67096         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67097         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67098         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67099         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67100         file.
67101         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67102         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67103         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67104         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67105         file.
67106         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67107         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67108         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67109         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67110         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67111         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67112         file.
67113         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67114         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67115         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67116         file.
67117         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67118         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67119         New file.
67120         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67121         New file.
67122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67123         New file.
67124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67125         New file.
67126         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67127         New file.
67128         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67129         New file.
67130         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67131         New file.
67132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67133         New file.
67134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67135         New file.
67136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67137         New file.
67138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67139         New file.
67140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67141         New file.
67142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67143         New file.
67144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67145         file.
67146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67147         New file.
67148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67149         New file.
67150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67151         file.
67152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67153         New file.
67154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67155         New file.
67156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67157         file.
67158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67159         New file.
67160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67161         New file.
67162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67163         New file.
67164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67165         New file.
67166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67167         New file.
67168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67169         New file.
67170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67172         file.
67173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67174         New file.
67175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67176         file.
67177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67178         file.
67179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67180         file.
67181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67182         file.
67183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67184         file.
67185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67186         New file.
67187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67188         file.
67189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67190         file.
67191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67192         New file.
67193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67194         file.
67195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67197         file.
67198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67199         New file.
67200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67201         file.
67202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67203         file.
67204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67205         file.
67206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67207         file.
67208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67209         file.
67210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67211         New file.
67212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67213         file.
67214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67215         file.
67216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67217         New file.
67218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67219         file.
67220         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67221         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67222         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67223         file.
67224         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67225         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67226         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67227         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67228         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67229         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67230         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67231         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67232         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67233         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67236         file.
67237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67238         New file.
67239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67240         file.
67241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67242         file.
67243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67244         file.
67245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67246         file.
67247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67248         file.
67249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67250         New file.
67251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67252         New file.
67253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67254         file.
67255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67256         New file.
67257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67258         file.
67259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67261         file.
67262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67263         New file.
67264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67265         file.
67266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67267         file.
67268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67269         file.
67270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67271         file.
67272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67273         file.
67274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67275         New file.
67276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67277         New file.
67278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67279         file.
67280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67281         New file.
67282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67283         file.
67285 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67287         * conform/conformtest.pl: Fix typo in handling typed-constant from
67288         allow-header.
67290 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67292         * README: Cut down references to pre-2.6 Linux kernels and
67293         Linuxthreads.  Update lists of configurations in libc and ports
67294         and sort alphabetically.  Say "or newer" with Linux kernel version
67295         requirements.
67297         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67299 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67301         [BZ #887]
67302         * math/libm-test.inc (logb_test_downward): New test to expose
67303         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67304         rounding mode.
67306 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67308         [BZ #14027]
67309         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67310         to be done.
67311         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67312         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67314 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67316         * sysdeps/unix/i386/brk.S: Remove file.
67317         * sysdeps/unix/i386/dl-brk.S: Likewise.
67318         * sysdeps/unix/i386/pipe.S: Likewise.
67319         * sysdeps/unix/i386/sigreturn.S: Likewise.
67320         * sysdeps/unix/i386/syscall.S: Likewise.
67321         * sysdeps/unix/i386/vfork.S: Likewise.
67322         * sysdeps/unix/i386/wait.S: Likewise.
67324         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67325         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67327         * configure.in (arm*-none*): Do not allow without
67328         --enable-hacker-mode.
67329         (netbsd*): Remove case setting base_os.
67330         (386bsd*): Likewise.
67331         (freebsd*): Likewise.
67332         (bsdi*): Likewise.
67333         (osf*): Likewise.
67334         (sunos*): Likewise.
67335         (ultrix*): Likewise.
67336         (newsos*): Likewise.
67337         (dynix*): Likewise.
67338         (*bsd*): Likewise.
67339         (sysv*): Likewise.
67340         (isc*): Likewise.
67341         (esix*): Likewise.
67342         (sco*): Likewise.
67343         (minix*): Likewise.
67344         (irix4*): Likewise.
67345         (irix6*): Likewise.
67346         (solaris[2-9]*): Likewise.
67347         (none): Likewise.
67348         * configure: Regenerated.
67350 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67352         [BZ #11521]
67353         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67354         overflow or cancellation in calculating denominator.
67355         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67356         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67357         down expression to avoid unexpected rounding in newer GCCs.
67358         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67360 2012-04-26  David S. Miller  <davem@davemloft.net>
67362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67363         long-double compat symbols.
67364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67378 2012-04-25  David S. Miller  <davem@davemloft.net>
67380         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67381         HWCAP_* values only after the memory barriers have been defined.
67382         (atomic_full_barrier): Define.
67383         (atomic_read_barrier): Define.
67384         (atomic_write_barrier): Define.
67386 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67388         * shlib-versions: Add libgcc_s version information.
67389         * sysdeps/generic/libgcc_s.h: Remove.
67390         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67391         libgcc_s.h.
67392         * sysdeps/gnu/unwind-resume.c: Likewise.
67393         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67395 2012-04-25  David S. Miller  <davem@davemloft.net>
67397         * sysdeps/unix/sparc/brk.S: Delete.
67398         * sysdeps/unix/sparc/dl-brk.S: Delete.
67399         * sysdeps/unix/sparc/pipe.S: Delete.
67400         * sysdeps/unix/sparc/sysdep.S: Delete.
67401         * sysdeps/unix/sparc/sysdep.h: Delete.
67402         * sysdeps/unix/sparc/vfork.S: Delete.
67403         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67404         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67405         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67406         (ret_ERRVAL, r0, r1, MOVE): Define.
67407         (JUMPTARGET): Remove.
67408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67409         sysdeps/unix/sparc/sysdep.h
67410         (ENTRY, END): Remove.
67411         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67413 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67415         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67416         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67417         -DIS_IN_build.
67419         * timezone/README: Update upstream location and email address for
67420         tzcode and tzdata.
67421         * timezone/zdump.c: Update from tzcode 2012b.
67422         * timezone/zic.c: Likewise.
67424         * configure.in (libc_cv_as_needed): Remove test.
67425         * configure: Regenerated.
67426         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67427         conditional definition.
67428         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67429         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67430         * config.make.in (have-as-needed): Remove variable.
67432 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67433             Paul Pluzhnikov  <ppluzhnikov@google.com>
67435         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67436         strings correctly.
67438 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67440         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67441         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67442         * sysdeps/sh/strlen.S: Likewise.
67444 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67446         * sysdeps/unix/fork.S: Remove file.
67447         * sysdeps/unix/i386/fork.S: Likewise.
67448         * sysdeps/unix/sparc/fork.S: Likewise.
67450         * sysdeps/unix/system.c: Remove file.
67451         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67453         * sysdeps/unix/getegid.S: Remove file.
67454         * sysdeps/unix/geteuid.S: Likewise.
67456 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67458         * scripts/check-localplt.awk: New file.
67459         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67460         of diff.
67461         * scripts/data/localplt-generic.data: Add a comment.
67463         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67464         NODE when __dir_mkfile failed.
67465         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67466         Reported by Ludovic Courtès <ludo@gnu.org>.
67468 2012-04-24  Andreas Jaeger  <aj@suse.de>
67470         * Makerules (common-clean): Also remove gen-as-const-headers
67471         files.
67473 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67475         * Makerules (native-compile): Do not change working directory for
67476         build.  Use $(OUTPUT_OPTION) in command.
67477         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67479 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67481         [BZ #13886]
67482         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67483         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67484         * math/libm-test.inc (floor_test): Add more tests.
67485         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67487 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67489         * sysdeps/unix/getdents.c: Remove file.
67490         * sysdeps/unix/sysv/getdents.c: Likewise.
67491         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67493         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67494         sysdeps/unix/mman/syscalls.list.
67495         (mmap): Likewise.
67496         (mprotect): Likewise.
67497         (msync): Likewise.
67498         (munmap): Likewise.
67499         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67500         * sysdeps/unix/mman/syscalls.list: Remove.
67501         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67503         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67504         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67505         * configure: Regenerated.
67506         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67507         $(libgcc_s_suffix).
67508         * config.make.in (libgcc_s_suffix): Remove variable.
67510 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67512         * sysdeps/unix/sysv/gethostname.c: Move to ...
67513         * sysdeps/posix/gethostname.c: ... here.
67515         * sysdeps/unix/execve.S: Remove file.
67517         * sysdeps/unix/_exit.S: Remove file.
67519 2012-04-23  Andreas Jaeger  <aj@suse.de>
67521         [BZ #13739]
67522         * manual/Makefile: Remove make dist support, there's no
67523         need for a stand-alone documentation tar ball.
67524         (TEXI2DVI): Define always, it's not in Makeconfig.
67525         (dist): Removed.
67526         (tar-it): Removed.
67527         (edition): Removed.
67528         (glibc-doc-$(edition).tar): Removed
67529         (%.Z): Removed.
67530         (%.gz): Removed.
67531         (%.uu): Removed.
67532         (ETAGS): Remove, it's in Makeconfig.
67533         (move-if-change): Remove, it's in Makeconfig.
67535 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67537         [BZ #13970]
67538         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67539         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67540         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67541         (strtod_l, strtof_l, strtold_l): Remove __wur.
67542         It is not necessarily an error to ignore strtol's return value.
67543         One can reliably look at the stored endptr to decide whether
67544         the number had valid syntax.
67546 2012-04-21  Andreas Jaeger  <aj@suse.de>
67548         [BZ #13739]
67549         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67551 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67553         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67554         * sysdeps/unix/sysv/Versions: Remove file.
67556 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67558         [BZ #13927]
67559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67561 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67563         [BZ #7064]
67564         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67565         version from __vm86.
67567 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67569         * sysdeps/unix/common/lxstat.c: Remove file.
67570         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67572         * sysdeps/unix/sysv/Makefile: Remove file.
67574         * sysdeps/unix/sysv/direct.h: Remove file.
67576         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67577         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67578         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67579         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67580         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67581         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67582         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67584         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67586         * sysdeps/unix/xmknod.c: Remove file.
67587         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67589         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67591         * sysdeps/unix/sysv/i386/time.S: Remove file.
67593         * sysdeps/unix/fxstat.c: Remove file.
67594         * sysdeps/unix/xstat.c: Likewise.
67595         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67597         * sysdeps/unix/sysv/sigaction.c: Remove file.
67599         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67600         (sysdep_headers): Remove variable.
67601         [termio.h not in sysdep_headers] (generated): Likewise.
67602         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67603         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67604         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67605         * sysdeps/unix/sysv/tcflow.c: Likewise.
67606         * sysdeps/unix/sysv/tcflush.c: Likewise.
67607         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67608         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67609         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67610         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67611         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67613         * sysdeps/unix/siglist.c: Remove file.
67615         * sysdeps/unix/getppid.S: Remove file.
67617         * sysdeps/unix/mkdir.c: Remove file.
67618         * sysdeps/unix/rmdir.c: Likewise.
67620 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67622         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67623         ERR_MAX value.
67624         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67625         errlist-compat value.
67627 2012-04-18  David S. Miller  <davem@davemloft.net>
67629         * sysdeps/generic/memcopy.h (reg_char): Delete.
67630         * debug/strcat_chk.c: Use char, not reg_char.
67631         * debug/strcpy_chk.c: Likewise.
67632         * debug/strncat_chk.c: Likewise.
67633         * debug/strncpy_chk.c: Likewise.
67634         * string/memchr.c: Likewise.
67635         * string/memrchr.c: Likewise.
67636         * string/rawmemchr.c: Likewise.
67637         * string/strcat.c: Likewise.
67638         * string/strchr.c: Likewise.
67639         * string/strchrnul.c: Likewise.
67640         * string/strcmp.c: Likewise.
67641         * string/strcpy.c: Likewise.
67642         * string/strncat.c: Likewise.
67643         * string/strncmp.c: Likewise.
67644         * string/strncpy.c: Likewise.
67646 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67648         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67649         __builtin_memcopy is called when src and dest ranges are known to not
67650         overlap.
67652 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67654         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67655         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67656         fwd_align_merge macro call.
67657         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67658         bwd_align_merge macro call.
67659         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67661 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67663         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67664         bwd_align_merge macros.
67665         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67666         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67667         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67669 2012-04-18  David S. Miller  <davem@davemloft.net>
67671         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67673 2012-04-18  Andreas Jaeger  <aj@suse.de>
67675         [BZ# 6794]
67676         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67677         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67678         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67680         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67681         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67682         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67684         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67685         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67686         Adjust for changed ldbl-128 files.
67688         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67689         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67690         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67692 2012-04-17  David S. Miller  <davem@davemloft.net>
67694         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67696 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67698         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67699         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67700         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67701         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67702         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67703         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67705 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67707         [BZ #6794]
67708         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67709         * math/libm-test.inc: Add ilogb errno and exception tests.
67710         * math/w_ilogb.c: New file: ilogb wrapper.
67711         * math/w_ilogbf.c: New file: ilogbf wrapper.
67712         * math/w_ilogbl.c: New file: ilogbl wrapper.
67713         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67714         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67715         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67716         exception being thrown with 0.0 as argument.
67717         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67718         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67719         exception being thrown with 0.0 as argument.
67720         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67721         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67722         exception being thrown with 0.0 as argument.
67723         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67724         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67725         exception being thrown with 0.0 as argument.
67726         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67727         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67728         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67729         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67730         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67731         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67732         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67733         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67734         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67736 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67738         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67739         with altivec.
67741 2012-04-16  Marek Polacek  <polacek@redhat.com>
67743         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67745 2012-04-16  Marek Polacek  <polacek@redhat.com>
67747         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67748         operands of fdivp instruction.
67750 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67752         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67753         * elf/tst-auditmod3b.c: Likewise.
67754         * elf/tst-auditmod4b.c: Likewise.
67755         * elf/tst-auditmod5b.c: Likewise.
67756         * elf/tst-auditmod6b.c: Likewise.
67757         * elf/tst-auditmod6c.c: Likewise.
67758         * elf/tst-auditmod7b.c: Likewise.
67759         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67760         * sysdeps/x86_64/preconfigure.in: Likewise.
67761         * sysdeps/x86_64/preconfigure: Regenerated.
67763 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67765         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67766         __ILP32__.
67768 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67770         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67771         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67773 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67775         [BZ #13973]
67776         * locale/iso-639.def: Fix gl language name. Spotted by
67777         Yaron Shahrabani.
67779 2012-04-12  Roland McGrath  <roland@hack.frob.com>
67781         [BZ #2074]
67782         * libio/libio.h (__io_write_fn): Update comment.
67784 2012-04-12  Petr Baudis  <pasky@ucw.cz>
67786         [BZ #2074]
67787         * stdio.texi (Hook Functions): The user provided writer function
67788         is not allowed to return -1.
67790 2012-04-11  David S. Miller  <davem@davemloft.net>
67792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67794 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
67796         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67797         Add a leading slash to rtkaio.
67799 2012-04-11  Jim Meyering  <meyering@redhat.com>
67801         [BZ #11959]
67802         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67803         It is not necessarily an error to ignore fwrite's return
67804         value.  One can reliably use ferror to test for errors after
67805         the fact.
67807 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67809         * bits/types.h (__snseconds_t): New type.
67810         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67812         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67813         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67814         (__SNSECONDS_T_TYPE): Likewise.
67815         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67816         (__SNSECONDS_T_TYPE): Likewise.
67817         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67818         (__SNSECONDS_T_TYPE): Likewise.
67820 2012-04-10  Andreas Jaeger  <aj@suse.de>
67822         [BZ #2636]
67823         * manual/time.texi (Processor Time): Return type of times is
67824         elapsed real time since an arbitrary point in the past.
67825         (CPU Time): Move CLK_TCK from here...
67826         (Processor Time): ...to here.  Correct description.
67827         * manual/conf.texi (Constants for Sysconf): Correct description of
67828         _SC_CLK_TCK.
67830 2012-04-10  David S. Miller  <davem@davemloft.net>
67832         [BZ #13967]
67833         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67834         where the is a gap between DT_REL(A) and DT_JMPREL.
67836 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67838         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67839         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67840         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67842 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67844         * elf/dl-support.c (_dl_inhibit_cache): New variable.
67845         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67846         (dl_main): Handle --inhibit-cache.
67847         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67848         _dl_inhibit_cache.
67849         * elf/dl-load.c (_dl_map_object): Use it.
67850         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67852 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67854         [BZ #13872]
67855         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67856         (__ieee754_powl): Saturate large exponents rather than testing for
67857         overflow of y*log2(x).
67858         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67859         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67860         exceptions.
67862         [BZ #11521]
67863         * math/s_ctan.c: Include <float.h>.
67864         (__ctan): Avoid internal overflow or cancellation in calculating
67865         denominator.
67866         * math/s_ctanf.c: Likewise.
67867         * math/s_ctanl.c: Likewise.
67868         * math/s_ctanh.c: Likewise.
67869         * math/s_ctanhf.c: Likewise.
67870         * math/s_ctanhl.c: Likewise.
67871         * math/libm-test.inc (ctan_test): Add more tests.
67872         (ctanh_test): Likewise.
67873         * sysdeps/i386/fpu/libm-test-ulps: Update.
67874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67876 2012-04-09  Andreas Jaeger  <aj@suse.de>
67878         [BZ #6894]
67879         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67880         is an optional BSD extension.
67882         [BZ #10254]
67883         * manual/stdio.texi (Opening Streams): Document additional fopen
67884         parameters.
67886 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67888         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67889         %eax without telling the compiler.
67891 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67893         [BZ # 13963]
67894         * manual/install.texi: Use sourceware.org.
67896 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67898         [BZ #13873]
67899         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67900         (__ieee754_pow): Generate overflow and underflow using huge*huge
67901         and tiny*tiny rather than just returning constant infinity or zero
67902         for large exponents.
67903         * math/libm-test.inc (pow_test): Require overflow exceptions for
67904         applicable cases of large exponents.
67906         [BZ #706]
67907         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67908         (__ieee754_pow): Use iterative multiplication algorithm only for
67909         integer exponents with absolute value below 1024.  Check for odd
67910         integer exponents when using algorithm for real exponents.
67911         * math/libm-test.inc (pow_test): Add more tests.
67912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67914 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67916         [BZ #13705]
67917         * math/libm-test.inc (exp_test): Do not allow overflow exception
67918         on underflow test.
67920 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67922         [BZ #13705]
67923         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67924         instead of __kernel_standard_f.
67926 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67928         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67929         * sysdeps/x86_64/memset_chk.S: Likewise.
67931 2012-04-08  Andreas Jaeger  <aj@suse.de>
67933         [BZ #10153]
67934         * manual/startup.texi (Environment Access): Describe return value
67935         for putenv and setenv.
67937         [BZ #6895]
67938         * manual/filesys.texi (Directory Entries): Add description for
67939         DT_LNK.
67941         [BZ #6890]
67942         * manual/filesys.texi (Directory Entries): Clarify that it's file
67943         system not operating system in the description of DT_UNKNOWN.
67945         [BZ #6578]
67946         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67948 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67950         [BZ #6649]
67951         * manual/llio.texi (Opening and Closing Files): Add cross
67952         reference to explain mode argument.
67954 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67956         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67957         * sysdeps/x86_64/memset_chk.S: Likewise.
67959 2012-04-07  David S. Miller  <davem@davemloft.net>
67961         * elf/elf.h (R_SPARC_WDISP10): Define.
67962         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67963         R_SPARC_SIZE32.
67964         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67965         R_SPARC_SIZE64 and R_SPARC_H34.
67967 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67969         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67970         conditions and remove no longer applicable assertion.
67972 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67974         * bits/byteswap.h: Include <features.h>.
67975         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67976         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67978 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67980         * bits/byteswap.h (__bswap_16): Removed.
67981         Include <bits/byteswap-16.h> to get __bswap_16.
67982         * sysdeps/i386/bits/byteswap.h: Likewise.
67983         * sysdeps/s390/bits/byteswap.h: Likewise.
67984         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67985         * bits/byteswap-16.h: New file.
67986         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67987         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67988         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67989         * string/Makefile (headers): Add bits/byteswap-16.h.
67991 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67993         [BZ #13895]
67994         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67995         extra indirection.
67996         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67997         * nss/tst-nss-static.c: New.
67999 2012-04-06  Robert Millan  <rmh@gnu.org>
68001         [BZ #6486]
68002         * manual/llio.texi (File Position Primitive): lseek
68003         refers to WHENCE when it really means OFFSET.
68005 2012-04-06  Andreas Jaeger  <aj@suse.de>
68007         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68008         strncmp declarations.
68010         * abilist/libc.abilist: Add __poll and __ppoll.
68012 2012-04-05  David S. Miller  <davem@davemloft.net>
68014         * scripts/check-local-headers.sh: Accept a host triplet in the
68015         path matched by the exclude regexp.
68017         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68018         definition.
68019         * sysdeps/powerpc/powerpc32/dl-machine.h
68020         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68021         * sysdeps/s390/s390-32/dl-machine.h
68022         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68023         * sysdeps/sparc/sparc32/dl-machine.h
68024         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68025         * sysdeps/sparc/sparc64/dl-machine.h
68026         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68028         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68029         lazy binding.
68030         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68031         undefined symbol errors.
68033         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68034         DT_NEEDED entries.
68036 2012-04-05  Michael Matz  <matz@suse.de>
68038         [BZ #13592]
68039         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68041 2012-04-05  Andreas Jaeger  <aj@suse.de>
68043         [BZ #13908]
68044         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68045         comment.
68047 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68049         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68050         which ROUND is no valid rounding mode.
68052 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68054         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68055         read again.
68056         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68058 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68060         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68061         an exception using FPU order intentionally.
68063 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68065         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68066         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68067         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68068         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68070 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68072         [BZ #12340]
68073         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68074         EINVAL when BUFLEN is too smal.
68076 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68078         [BZ #13553]
68079         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68080         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68082 2012-04-03  Andreas Jaeger  <aj@suse.de>
68084         [BZ #13938]
68085         * manual/setjmp.texi (System V contexts): Fix sentence.
68087         [BZ #13926]
68088         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68089         New macro for this case.
68090         [!__GNUC__] (__bswap_64): New inline function for this case.
68091         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68092         * bits/byteswap.h: Likewise.
68093         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68094         ull, guard with __GLIBC_HAVE_LONG_LONG.
68096         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68097         __GLIBC_HAVE_LONG_LONG.
68099         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68100         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68102 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68104         [BZ #13691]
68105         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68106         inptr and inend, rather than using last_ch.
68108 2012-04-02  David S. Miller  <davem@davemloft.net>
68110         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68111         * stdio-common/printf-parse.h (read_int): Change return type to
68112         'int', return -1 on INT_MAX overflow.
68113         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68114         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68115         overflows INT_MAX.  Check for overflow of in-format-string precision
68116         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68117         SIZE_MAX not INT_MAX for integer overflow test.
68118         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68119         skip the construct in the format string but do not record anything.
68120         * stdio-common/bug22.c: Adjust to test both width/prevision
68121         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68122         explicitly for proper errno values.
68124 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68126         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68127         CHAR_MAX.
68128         * string/test-strcmp.c [! WIDE]: Likewise.
68129         * time/tst-mktime2.c: Likewise for INT_MAX.
68130         * string/test-string.h: #include <sys/param.h> for MIN.
68132         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68133         * sysdeps/i386/init-first.c (init): Likewise.
68134         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68135         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68136         * sysdeps/sh/init-first.c (init): Likewise.
68138 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68140         * po/ru.po: Update from translation team.
68141         * po/vi.po: Likewise.
68143 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68145         * resolv/nss_dns/dns-host.c: Merge copyright years.
68147 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68149         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68150         Optimize memcpy with prefetch if
68151         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68152         src, dst pointers have unequal 16 byte alignments.
68154 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68156         [BZ #13928]
68157         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68158         from a CNAME entry and return the minimum ttl for the query.
68159         (gaih_getanswer_slice): Likewise.
68161 2012-03-30  Jeff Law  <law@redhat.com>
68163         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68164         due to long keys.
68165         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68166         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68168         * resolv/nss_dns/dns-host.c: Update copyright year.
68170 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68172         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68173         requests to save a system call.  Fix check that all bytes are sent.
68175         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68176         comments for sendmmsg.
68178 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68180         [BZ #13691]
68181         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68182         with only 1 character between 0x0041 and 0x01b0.
68183         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68184         * wcsmbs/tst-mbsnrtowcs.c: New file.
68186 2012-03-29  David S. Miller  <davem@davemloft.net>
68188         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68189         small copies by hand.
68191 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68193         [BZ #13761]
68194         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68195         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68196         group memberships.
68198 2012-03-28  David S. Miller  <davem@davemloft.net>
68200         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68201         that branches into memcpy.
68202         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68203         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68205         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68206         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68207         bits.
68208         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68209         implementation too.
68210         * sysdeps/sparc/mempcpy.S: New file.
68212         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68213         the IFUNC routine in the libc case.
68214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68216         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68217         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68218         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68219         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68220         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68221         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68222         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68223         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68225         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68226         loop to 256 bytes instead of 64 bytes and fix test signedness.
68228         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68229         * sysdeps/sparc/sparc32/Makefile: rather than here...
68230         * sysdeps/sparc/sparc64/Makefile: and here.
68232 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68234         * malloc/mallocbug.c: Avoid warnings about unused variables.
68236 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68238         [BZ #13760]
68239         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68240         in the right place. Discard and retry query if response is
68241         larger than input buffer size.
68243 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68245         [BZ #369]
68246         [BZ #2678]
68247         [BZ #3866]
68248         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68249         x for large integer exponent.
68250         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68251         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68252         sign of result as needed afterwards.
68253         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68254         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68255         result for underflowing pow the same as for overflow.
68256         (__kernel_standard_l): Handle powl overflow and underflow here
68257         rather than calling __kernel_standard.
68258         * math/libm-test.inc (pow_test): Add more tests.
68260         [BZ #3868]
68261         [BZ #13879]
68262         [BZ #13910]
68263         [BZ #13911]
68264         [BZ #13912]
68265         [BZ #13913]
68266         [BZ #13915]
68267         [BZ #13916]
68268         [BZ #13917]
68269         [BZ #13918]
68270         [BZ #13919]
68271         [BZ #13920]
68272         [BZ #13921]
68273         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68274         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68275         (__kernel_standard_l): New function.
68276         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68277         __kernel_standard.
68278         * math/w_acosl.c (__acosl): Likewise.
68279         * math/w_asinl.c (__asinl): Likewise.
68280         * math/w_atan2l.c (__atan2l): Likewise.
68281         * math/w_atanhl.c (__atanhl): Likewise.
68282         * math/w_coshl.c (__coshl): Likewise.
68283         * math/w_exp10l.c (__exp10l): Likewise.
68284         * math/w_exp2l.c (__exp2l): Likewise.
68285         * math/w_fmodl.c (__fmodl): Likewise.
68286         * math/w_hypotl.c (__hypotl): Likewise.
68287         * math/w_j0l.c (__j0l, __y0l): Likewise.
68288         * math/w_j1l.c (__j1l, __y1l): Likewise.
68289         * math/w_jnl.c (__jnl, __ynl): Likewise.
68290         * math/w_lgammal.c (__lgammal): Likewise.
68291         * math/w_log10l.c (__log10l): Likewise.
68292         * math/w_log2l.c (__log2l): Likewise.
68293         * math/w_logl.c (__logl): Likewise.
68294         * math/w_powl.c (__powl): Likewise.
68295         * math/w_remainderl.c (__remainderl): Likewise.
68296         * math/w_scalbl.c (sysv_scalbl): Likewise.
68297         * math/w_sinhl.c (__sinhl): Likewise.
68298         * math/w_sqrtl.c (__sqrtl): Likewise.
68299         * math/w_tgammal.c (__tgammal): Likewise.
68300         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68301         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68302         * math/libm-test.inc (acos_test): Add more tests.
68303         (acosh_test): Likewise.
68304         (asin_test): Likewise.
68305         (atanh_test): Likewise.
68306         (exp_test): Likewise.
68307         (exp10_test): Likewise.
68308         (exp2_test): Likewise.
68309         (expm1_test): Likewise.
68310         (lgamma_test): Likewise.
68311         (log_test): Likewise.
68312         (log10_test): Likewise.
68313         (log1p_test): Likewise.
68314         (log2_test): Likewise.
68315         (pow_test): Do not allow some spurious overflow exceptions.
68316         (sqrt_test): Add more tests.
68317         (tgamma_test): Likewise.
68318         (y0_test): Likewise.
68319         (y1_test): Likewise.
68320         (yn_test): Likewise.
68322 2012-03-27  Anton Blanchard  <anton@samba.org>
68324         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68325         MAP_HUGETLB.
68326         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68327         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68328         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68330 2012-03-27  David S. Miller  <davem@davemloft.net>
68332         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68334         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68335         have-as-vis3 check.
68337 2012-03-27  Andreas Jaeger  <aj@suse.de>
68339         * sysdeps/x86_64/elf/configure.in: Moved to ...
68340         * sysdeps/x86_64/configure.in: ... here.
68341         * sysdeps/x86_64/elf/start.S: Moved to ...
68342         * sysdeps/x86_64/start.S: ... here.
68343         * sysdeps/x86_64/elf/configure: Delete.
68345         * sysdeps/x86_64/configure.in: Merge contents from
68346         sysdeps/i386/configure.in (without i686 check).
68348         * sysdeps/i386/elf/Versions: Merge into ...
68349         * sysdeps/i386/Versions: ... this.
68350         * sysdeps/i386/elf/Versions: Delete file.
68351         * sysdeps/i386/elf/start.S: Moved to ...
68352         * sysdeps/i386/start.S: ...here.
68353         * sysdeps/i386/elf/configure.in: Merge into...
68354         * sysdeps/i386/configure.in: ...here.
68355         * sysdeps/i386/elf/configure.in: Delete file.
68356         * sysdeps/i386/elf/configure: Delete file.
68358         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68359         * debug/backtracesyms.c: ... here.
68360         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68361         * debug/backtracesymsfd.c: ... here.
68362         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68363         * sysdeps/generic/ifunc-sel.h: ... here.
68365         * sysdeps/unix/i386/start.c: Delete file.
68366         * sysdeps/unix/sparc/start.c: Delete file.
68367         * sysdeps/unix/start.c: Delete file.
68369         * sysdeps/sh/elf/configure.in: Moved to ...
68370         * sysdeps/sh/configure.in: ... here.
68371         * sysdeps/sh/elf/start.S: Moved to ...
68372         * sysdeps/sh/start.S: ... here.
68373         * sysdeps/sh/elf/configure: Delete file.
68375         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68376         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68377         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68378         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68379         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68380         * sysdeps/powerpc/powerpc64/start.S: here.
68381         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68382         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68383         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68384         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68385         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68387         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68388         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68389         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68390         * sysdeps/powerpc/powerpc32/start.S: ... here.
68391         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68392         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68393         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68395         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68396         * sysdeps/powerpc/ifunc-sel.h: ... here.
68397         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68398         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68400         * sysdeps/sparc/elf/configure.in: Moved to ...
68401         * sysdeps/sparc/configure.in: ... here.
68402         * sysdeps/sparc/elf/configure: Delete file.
68403         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68404         * sysdeps/sparc/sparc32/start.S: ... here.
68405         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68406         * sysdeps/sparc/sparc64/start.S: ... here.
68407         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68408         * sysdeps/sparc/sparc32/Makefile: ... this.
68409         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68410         * sysdeps/sparc/sparc64/Makefile: ... this.
68412         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68413         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68414         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68415         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68416         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68417         * sysdeps/s390/s390-32/setjmp.S: ... here.
68418         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68419         * sysdeps/s390/s390-32/configure.in: ... here.
68420         * sysdeps/s390/s390-32/elf/configure: Delete file.
68421         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68422         * sysdeps/s390/s390-32/start.S: ... here.
68424         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68425         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68426         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68427         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68428         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68429         * sysdeps/s390/s390-64/setjmp.S: ... here.
68430         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68431         * sysdeps/s390/s390-64/configure.in: ... here
68432         * sysdeps/s390/s390-64/elf/configure: Delete file.
68433         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68434         * sysdeps/s390/s390-64/start.S: ... here.
68435         * sysdeps/s390/s390-64/elf/configure: Delete.
68437         * configure.in: Remove support for elf directories in sysdeps.
68439         * configure: Regenerated.
68440         * sysdeps/i386/configure: Regenerated.
68441         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68442         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68443         * sysdeps/s390/s390-32/configure: Regenerated.
68444         * sysdeps/s390/s390-64/configure: Regenerated.
68445         * sysdeps/sh/configure: Regenerated.
68446         * sysdeps/sparc/configure: Regenerated.
68447         * sysdeps/x86_64/configure: Regenerated.
68449 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68453         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68454         denormal result into account.
68456 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68458         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68459         Reported by Allan McRae <allan@archlinux.org>.
68461 2012-03-23  Jeff Law  <law@redhat.com>
68463         * nss/getnssent.c (__nss_getent): Fix typo.
68465 2012-03-23  David S. Miller  <davem@davemloft.net>
68467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68469 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68471         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68472         to pad to uint64_t for each field.
68473         (dl_tls_index): Replace unsigned long with uint64_t.
68475 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68476         Paul Pluzhnikov  <ppluzhnikov@google.com>
68478         [BZ #6528]
68479         * grp/Makefile (otherlibs): Don't set it.
68480         * inet/Makefile (otherlibs): Likewise.
68481         * login/Makefile (otherlibs): Likewise.
68482         * nscd/Makefile (otherlibs): Likewise.
68483         * posix/Makefile (otherlibs): Likewise.
68484         * pwd/Makefile (otherlibs): Likewise.
68485         * rt/Makefile (otherlibs): Likewise.
68486         * sunrpc/Makefile (otherlibs): Likewise.
68487         * nss/Makefile (otherlibs): Likewise.
68488         Add libnss_files to routines and static-only-routines.
68489         ($(objpfx)getent): Remove rule.
68490         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68491         static-only-routines.
68493 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68495         [BZ #13892]
68496         * math/s_cexp.c: Include <float.h>.
68497         (__cexp): Handle exp result overflowing not necessarily
68498         overflowing both real and imaginary parts of result.
68499         * math/s_cexpf.c: Likewise.
68500         * math/s_cexpl.c: Likewise.
68501         * math/libm-test.inc (cexp_test): Add more tests.
68502         * sysdeps/i386/fpu/libm-test-ulps: Update.
68503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68505 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68507         * include/link.h (ELFW): New macro.
68508         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68509         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68511 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68513         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68514         with uint64_t.
68516 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68518         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68519         declaration.
68520         (struct La_x32_retval): Likewise.
68522 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68524         * sysdeps/x86_64/preconfigure.in: New file.
68525         * sysdeps/x86_64/preconfigure: New generated file.
68527 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68529         [BZ #13824]
68530         * math/e_exp2l.c: Include <float.h>.
68531         (__ieee754_exp2l): Handle overflow and underflow cases
68532         separately.  Only pass fractional part of argument to
68533         __ieee754_expl.
68534         * math/libm-test.inc (exp2_test): Add more tests.
68536         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68537         negating x to take absolute value.
68538         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68539         Likewise.
68540         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68541         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68542         Likewise.
68543         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68544         computing low part if x was negated.
68545         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68547 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68549         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68550         la_x32_gnu_pltexit.
68551         (pltexit): Cast int_retval to ptrdiff_t.
68552         * elf/tst-auditmod3b.c: Likewise.
68553         * elf/tst-auditmod4b.c: Likewise.
68554         * elf/tst-auditmod5b.c: Likewise.
68555         * elf/tst-auditmod6b.c: Likewise.
68556         * elf/tst-auditmod6c.c: Likewise.
68557         * elf/tst-auditmod7b.c: Likewise.
68559         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68560         and x32_gnu_pltexit.
68562         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68563         __ELF_NATIVE_CLASS.
68564         (La_x32_regs): New macro.
68565         (La_x32_retval): Likewise.
68566         (la_x32_gnu_pltenter): New function prototype.
68567         (la_x32_gnu_pltexit): Likewise.
68569 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68571         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68572         exponent.
68574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68576         * configure.in (libc_cv_cc_nofma): Check for option to disable
68577         generation of FMA instructions.
68578         * configure: Regenerate.
68579         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68580         * sysdeps/ieee754/dbl-64/Makefile: New file.
68581         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68582         Remove brandred-fma4.
68583         (CFLAGS-brandred-fma4.c): Remove.
68584         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68585         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68586         define.
68587         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68588         define.
68590 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68592         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68593         LLONG_MAX != LONG_MAX.
68594         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68595         (_fitoa_word): Likewise.
68596         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68597         LLONG_MAX != LONG_MAX.
68598         * stdio-common/_itowa.h: Include <_itoa.h>.
68599         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68600         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68601         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68602         only if not defined.
68603         (_ITOA_WORD_TYPE): Likewise.
68604         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68605         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68607 2012-03-21  David S. Miller  <davem@davemloft.net>
68609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68611 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68613         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68614         of x86_64 when setting libc_cv_slibdir, libdir and
68615         libc_cv_localedir.
68616         * sysdeps/unix/sysv/linux/configure: Regenerated.
68618 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68620         * manual/lang.texi (Old Varargs): Remove section.
68621         (How Variadic): Update menu.
68622         (va_start): Do not mention varargs.h.
68624 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68625             Joseph Myers  <joseph@codesourcery.com>
68627         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68628         link test.
68629         * configure: Regenerated.
68631 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68633         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68634         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68635         conformtest.pl
68637 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68639         * NOTES: Remove.
68640         * Makefile (files-for-dist): Remove NOTES.
68641         (NOTES): Remove rule.
68642         * README: Don't refer to NOTES.
68643         * manual/creature.texi: Don't include macros.texi.
68644         * manual/intro.texi (creature.texi): Remove comment referring to
68645         NOTES.
68647         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68648         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68649         * configure: Regenerated.
68650         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68651         LIBC_TRY_CC_OPTION.
68652         (libc_cv_as_i686): Likewise.
68653         (libc_cv_cc_avx): Likewise.
68654         (libc_cv_cc_sse2avx): Likewise.
68655         (libc_cv_cc_fma4): Likewise.
68656         (libc_cv_cc_novzeroupper): Likewise.
68657         * sysdeps/i386/configure: Regenerated.
68659         [BZ #13883]
68660         * sysdeps/i386/fpu/s_cexp.S: Remove.
68661         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68662         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68663         * math/libm-test.inc (cexp_test): Add more tests.
68664         * sysdeps/i386/fpu/libm-test-ulps: Update.
68665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68667 2012-03-21  Allan McRae  <allan@archlinux.org>
68669         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68671 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68673         [BZ #13871]
68674         * math/w_exp2.c: Do not include <float.h>.
68675         (o_threshold, u_threshold): Remove.
68676         (__exp2): Calculate result before checking finiteness and calling
68677         __kernel_standard.
68678         * math/w_exp2f.c: Likewise.
68679         * math/w_exp2l.c: Likewise.
68680         * math/libm-test.inc (exp2_test): Require overflow exception for
68681         1e6 input.
68683         [BZ #3866]
68684         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68685         range of signed 64-bit integers before using fistpll.  Remove
68686         checks for whether integers fit in mantissa bits.
68687         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68688         the range of signed 32-bit integers before using fistpl.  Remove
68689         checks for whether integers fit in mantissa bits.
68690         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68691         (__ieee754_powl): Test for y outside the range of signed 64-bit
68692         integers before using fistpll.  Reduce 64-bit values to 63-bit
68693         ones as needed.
68694         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68695         divide-by-zero is raised for zero to large negative powers.
68696         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68697         (__ieee754_powl): Test for y outside the range of signed 64-bit
68698         integers before using fistpll.  Reduce 64-bit values to 63-bit
68699         ones as needed.
68700         * math/libm-test.inc (pow_test): Add more tests.
68702 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68704         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68705         <stdio-common/_itoa.h>.
68706         * debug/segfault.c: Likewise.
68707         * elf/dl-cache.c: Likewise.
68708         * elf/dl-minimal.c: Likewise.
68709         * elf/dl-misc.c: Likewise.
68710         * elf/dl-sysdep.c: Likewise.
68711         * elf/dl-version.c: Likewise.
68712         * elf/rtld.c: Likewise.
68713         * hurd/hurdsock.c: Likewise.
68714         * hurd/lookup-retry.c: Likewise.
68715         * malloc/malloc.c: Likewise.
68716         * malloc/mtrace.c: Likewise.
68717         * nscd/nscd_getgr_r.c: Likewise.
68718         * nscd/nscd_getpw_r.c: Likewise.
68719         * nscd/nscd_getserv_r.c: Likewise.
68720         * posix/getopt_init.c: Likewise.
68721         * posix/wordexp.c: Likewise.
68722         * stdio-common/_itoa.c: Likewise.
68723         * stdio-common/printf_fphex.c: Likewise.
68724         * stdio-common/vfprintf.c: Likewise.
68725         * string/_strerror.c: Likewise.
68726         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68727         * sysdeps/i386/i686/hp-timing.h: Likewise.
68728         * sysdeps/mach/_strerror.c: Likewise.
68729         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68730         * sysdeps/mach/hurd/sethostid.c: Likewise.
68731         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68732         * sysdeps/mach/xpg-strerror.c: Likewise.
68733         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68734         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68735         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68736         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68737         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68738         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68739         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68740         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68741         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68742         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68743         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68744         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68745         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68746         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68747         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68748         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68749         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68750         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68751         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68752         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68753         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68755         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68757         * stdio-common/_itoa.h: Moved to ...
68758         * sysdeps/generic/_itoa.h: Here.
68760         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68762         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68763         instead of "_itoa.h" and "_itowa.h".
68764         * stdio-common/vfprintf.: Likewise.
68766 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68768         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68769         <bits/wordsize.h>.
68770         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68771         (__signbit): Likwise.
68772         (llrintf): Likwise.
68773         (llrint): Likwise.
68775 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68777         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68778         __WORDSIZE != 64.
68780 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
68782         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68783         OVERFLOW_EXCEPTION_OK.
68784         * math/libm-test.inc ("Philosophy"): Update comment about
68785         exception testing.
68786         (OVERFLOW_EXCEPTION): Define.
68787         (OVERFLOW_EXCEPTION_OK): Likewise.
68788         (INVALID_EXCEPTION_OK): Renumber.
68789         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68790         (IGNORE_ZERO_INF_SIGN): Likewise.
68791         (test_exceptions): Handle FE_OVERFLOW.
68792         (exp10_test): Expect overflow exceptions.
68793         (exp2_test): Likewise.
68794         (expm1_test): Likewise.
68795         (nextafter_test): Likewise.
68796         (pow_test): Likewise.
68797         (scalbn_test): Likewise.
68798         (scalbln_test): Likewise.
68800 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68802         * sysdeps/x86_64/bits/atomic.h
68803         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68804         64bit integer.
68805         (atomic_exchange_acq): Likewise.
68806         (__arch_exchange_and_add_body): Likewise.
68807         (__arch_add_body): Likewise.
68808         (atomic_add_negative): Likewise.
68809         (atomic_add_zero): Likewise.
68811 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68813         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68814         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68816 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68818         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68819         Check __x86_64__ instead of __WORDSIZE.
68821 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68823         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68825 2012-03-19  David S. Miller  <davem@davemloft.net>
68827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68829         * sysdeps/sparc/fpu/fenv_private.h: New file.
68830         * sysdeps/sparc/fpu/math_private.h: Use it.
68831         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68832         Remove.
68833         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68834         (libc_feholdexcept_setroundl): Remove.
68835         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68836         Remove.
68837         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68838         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68840 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68842         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68843         int64_t instead of long int.
68844         (INSERT_WORDS64): Likwise.
68846 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68848         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68849         _Unwind_GetCFA return to _Unwind_Ptr first.
68851 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
68853         [BZ #13629]
68854         * math/s_clog.c: Include <float.h>.
68855         (__clog): Scale large or subnormal inputs.
68856         * math/s_clogf.c: Likewise.
68857         * math/s_clogl.c: Likewise.
68858         * math/s_clog10.c: Include <float.h>.
68859         (M_LOG10_2): Define.
68860         (__clog10): Scale large or subnormal inputs.
68861         * math/s_clog10f.c: Likewise.
68862         * math/s_clog10l.c: Likewise.
68863         * math/libm-test.inc (clog_test): Add more tests.
68864         (clog10_test): Likewise.
68865         * sysdeps/i386/fpu/libm-test-ulps: Update.
68866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68868         [BZ #11451]
68869         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68870         x and y.
68871         * math/libm-test.inc (atan2_test): Add another test.
68873         * Makerules (common-objdir-compile): Remove.
68874         * sysdeps/unix/Makefile (config-generated): Do not add
68875         $(unix-generated) to variable.
68876         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68877         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68878         Remove rule.
68879         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68880         Likewise.
68881         [generic bits/local_lim.h] (before-compile): Do not append to
68882         variable.
68883         [generic bits/local_lim.h] (common-generated): Likewise.
68884         [generic sys/param.h] (before-compile): Do not append to variable.
68885         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68886         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68887         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68888         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68889         include.
68890         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68891         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68892         [generic sys/param.h] ($(addprefix
68893         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68894         [generic sys/param.h] (common-generated): Do not append to
68895         variable.
68896         [generic sys/param.h] (sysdep_headers): Likewise.
68897         [generic bits/errno.h] (before-compile): Do not append to
68898         variable.
68899         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68900         rule.
68901         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68902         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68903         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68904         [generic bits/errno.h] (common-generated): Do not append to
68905         variable.
68906         [generic bits/ioctls.h] (before-compile): Do not append to
68907         variable.
68908         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68909         rule.
68910         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68911         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68912         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68913         rule.
68914         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68915         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68916         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68917         [generic bits/ioctls.h] (common-generated): Do not append to
68918         variable.
68919         [generic sys/syscall.h] (syscall.h): Remove variable.
68920         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68921         rule.
68922         [generic sys/syscall.h] (before-compile): Do not append to
68923         variable.
68924         [generic sys/syscall.h] (common-generated): Likewise.
68925         * sysdeps/unix/errnos-tmpl.c: Remove file.
68926         * sysdeps/unix/errnos.awk: Likewise.
68927         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68928         * sysdeps/unix/ioctls.awk: Likewise.
68929         * sysdeps/unix/mk-local_lim.c: Likewise.
68930         * sysdeps/unix/snarf-ioctls: Likewise.
68932 2012-03-19  Richard Henderson  <rth@twiddle.net>
68934         * sysdeps/i386/fpu/fenv_private.h: New file.
68935         * sysdeps/i386/fpu/math_private.h: Use it.
68936         (math_opt_barrier, math_force_eval): Remove.
68937         (libc_feholdexcept_setround_53bit): Remove.
68938         (libc_feupdateenv_53bit): Remove.
68939         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68940         (math_opt_barrier, math_force_eval): Remove.
68941         (libc_feholdexcept): Remove.
68942         (libc_feholdexcept_setround): Remove.
68943         (libc_fetestexcept, libc_fesetenv): Remove.
68944         (libc_feupdateenv_test): Remove.
68945         (libc_feupdateenv, libc_feholdsetround): Remove.
68946         (libc_feresetround): Remove.
68948         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68949         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68951         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68952         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68953         (libc_feupdateenv_testl): New.
68954         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68955         (libc_feupdateenv_testf): New.
68956         (libc_feupdateenv): Use libc_feupdateenv_test.
68957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68958         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68960         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68961         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68962         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68963         (libc_feresetround_noex): New.
68964         (libc_feresetround_noexf): New.
68965         (libc_feresetround_noexl): New.
68966         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68967         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68968         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68969         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68970         SET_RESTORE_ROUND.
68971         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68972         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68973         (__cos): Likewise.
68974         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68975         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68976         SET_RESTORE_ROUND_NOEX.
68977         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68978         SET_RESTORE_ROUND_NOEXF.
68979         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68980         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68981         (libc_feholdsetroundf): New.
68982         (libc_feresetround, libc_feresetroundf): New.
68984         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68985         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68986         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68988         * sysdeps/generic/math_private.h: Include <fenv.h>.
68989         (default_libc_feholdexcept): New.
68990         (default_libc_feholdexcept_setround): New.
68991         (default_libc_fesetenv, default_libc_feupdateenv): New.
68992         (libc_feholdexcept): Only define if undefined.
68993         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68994         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68995         (libc_feholdexcept_setroundl): Likewise.
68996         (libc_feholdexcept_setround_53bit): Likewise.
68997         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68998         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68999         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69000         (libc_feupdateenv_53bit): Likewise.
69001         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69002         (libc_feholdexcept): Convert from macro to inline function.
69003         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69004         (libc_fesetenv, libc_feupdateenv): Likewise.
69006         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69007         not previously defined.
69008         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69009         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69010         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69011         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69012         * sysdeps/ieee754/flt-32/math_private.h: New file.
69013         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69014         math_private.h below SET_FLOAT_WORD.
69015         (__isnan, __isinf_ns, __finite): Remove.
69016         (__isnanf, __isinf_nsf, __finitef): Remove.
69018 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69022 2012-03-17  David S. Miller  <davem@davemloft.net>
69024         [BZ #6471]
69025         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69026         for 2.16.
69028 2012-03-16  David S. Miller  <davem@davemloft.net>
69030         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69031         warnings.
69033         [BZ #6471]
69034         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69035         properly.
69036         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69037         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69038         sysdep_routines when subdir is sysvipc.
69039         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69040         __getshmlba helper.
69042         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69044 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69046         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69047         [__LP64__].
69049 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69051         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69052         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69053         (__lround): Renamed to ...
69054         (__llround): This.  Replace long int with long long int.
69055         Define lround functions as aliases of llround functions.
69056         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69058 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69060         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69061         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69062         adresses to uintptr_t.  Replace "long int" and "unsigned long
69063         int" with "greg_t" on va_arg.
69065 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69067         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69068         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69070         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69071         Move e_machine check before EI_CLASS check.  Handle x32
69072         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69073         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69074         SKIP_EM_IA_64 and include
69075         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69077         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69078         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69079         (add_system_dir): New macro.
69081         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69082         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69084 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69086         [BZ #2551]
69087         [BZ #2552]
69088         [BZ #2553]
69089         [BZ #2554]
69090         [BZ #2562]
69091         [BZ #2563]
69092         [BZ #2565]
69093         [BZ #2566]
69094         [BZ #2576]
69095         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69096         (y0): Likewise.
69097         * math/w_j0f.c (j0f): Likewise.
69098         (y0f): Likewise.
69099         * math/w_j0l.c (__j0l): Likewise.
69100         (__y0l): Likewise.
69101         * math/w_j1.c (j1): Likewise.
69102         (y1): Likewise.
69103         * math/w_j1f.c (j1f): Likewise.
69104         (y1f): Likewise.
69105         * math/w_j1l.c (__j1l): Likewise.
69106         (__y1l): Likewise.
69107         * math/w_jn.c (jn): Likewise.
69108         (yn): Likewise.
69109         * math/w_jnf.c (jnf): Likewise.
69110         (ynf): Likewise.
69111         * math/w_jnl.c (__jnl): Likewise.
69112         (__ynl): Likewise.
69113         * math/libm-test.inc (j0_test): Add more tests.
69114         (j1_test): Likewise.
69115         (jn_test): Likewise.  Add trailing semicolon to existing test.
69116         (y0_test): Likewise.
69117         (y1_test): Likewise.
69118         * sysdeps/i386/fpu/libm-test-ulps: Update.
69119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69121         [BZ #13851]
69122         [BZ #13854]
69123         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69124         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69125         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69126         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69127         (__tanl): Set errno for infinite argument.
69128         * sysdeps/i386/fpu/mptan.c: Remove.
69129         * sysdeps/i386/fpu/s_tan.S: Likewise.
69130         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69131         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69132         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69133         * math/libm-test.inc (tan_test): Add more tests and enable more
69134         tests for double and long double.
69135         * sysdeps/i386/fpu/libm-test-ulps: Update.
69136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69138 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69140         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69141         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69143 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69145         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69146         * configure.in: Use it for both main tree and add-ons.
69147         * configure: Regenerated.
69149 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69151         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69153 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69155         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69156         in comment.
69158         [BZ #13851]
69159         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69160         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69161         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69162         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69163         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69164         infinite argument.
69165         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69166         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69167         != 0 for prec == 2.
69168         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69169         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69170         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69171         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69172         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69173         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69174         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69175         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69176         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69177         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69178         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69179         * math/libm-test.inc (cos_test): Add more tests and enable more
69180         tests for long double.
69181         (sin_test): Likewise.
69182         (sincos_test): Likewise.
69183         * sysdeps/i386/fpu/libm-test-ulps: Update.
69184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69186 2012-03-16  David S. Miller  <davem@davemloft.net>
69188         * sysdeps/sparc/fpu/math_private.h: New file.
69190 2012-03-15  David S. Miller  <davem@davemloft.net>
69192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69193         file.
69194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69196         file.
69197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69198         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69202         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69203         sysdep routines.
69204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69206         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69207         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69209         * sysdeps/sparc/sparc-ifunc.h: New file.
69210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69211         sparc-ifunc.h
69212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69214         Likewise.
69215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69216         Likewise.
69217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69221         Likewise.
69222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69227         Likewise.
69228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69229         Likewise.
69230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69236         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69237         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69248         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69249         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69250         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69251         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69252         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69253         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69255 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69257         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69258         scaling.
69259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69261 2012-03-15  Andreas Jaeger  <aj@suse.de>
69263         [BZ #13852]
69264         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69265         ieee754/flt-32 implementation for sin, cos and sincos.
69266         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69267         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69268         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69269         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69270         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69271         ieee754/flt-32 implementation for tan.
69273         * math/libm-test.inc (cos_test): Enable some large input tests for
69274         float as well
69275         (sin_test): Likewise.
69276         (sincos_test): Likewise.
69277         (tan_test): Add tests for large input.
69279         * sysdeps/i386/fpu/libm-test-ulps: Update.
69281 2012-03-15  Andreas Jaeger  <aj@suse.de>
69283         [BZ #13658]
69284         * math/libm-test.inc (cos_test): Add more test cases.
69285         (sin_test): Likewise.
69286         (sincos_test): Likewise.
69288 2012-03-15  Andreas Jaeger  <aj@suse.de>
69290         [BZ #13837]
69291         * math/libm-test.inc (cos_test): Add a test case for large input
69292         value.
69293         (sin_test): Likewise.
69294         (sincos_test): Likewise.
69296 2012-03-15  Andreas Jaeger  <aj@suse.de>
69297             Joseph Myers  <joseph@codesourcery.com>
69299         [BZ #13658]
69300         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69301         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69302         * sysdeps/i386/fpu/branred.c: Likewise.
69303         * sysdeps/i386/fpu/dosincos.c: Likewise.
69304         * sysdeps/i386/fpu/mpa.c: Likewise.
69305         * sysdeps/i386/fpu/s_cos.S: Likewise.
69306         * sysdeps/i386/fpu/s_sin.S: Likewise.
69307         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69308         * sysdeps/i386/fpu/sincos32.c: Likewise.
69310         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69311         Define.
69312         (libc_feupdateenv_53bit): Define.
69313         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69314         Define.
69315         (libc_feupdateenv_53bit): Define.
69317         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69318         53 bit (without extend i386 double precision).
69320         * math/libm-test.inc (sincos_test): Add tests for large input.
69321         (sin): Likewise.
69322         (cos): Likewise.
69324         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69326 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69330 2012-03-15  David S. Miller  <davem@davemloft.net>
69332         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69333         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69334         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69335         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69348         file.
69349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69351         file.
69352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69354         file.
69355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69357         file.
69358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69359         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69360         fmin/fmax sysdep routines.
69361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69363 2012-03-14  David S. Miller  <davem@davemloft.net>
69365         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69366         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69369         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69370         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69371         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69372         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69377         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69385         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69386         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69387         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69388         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69389         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69390         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69391         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69392         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69393         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69394         routines.
69395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69396         file.
69397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69399         file.
69400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69402         file.
69403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69405         file.
69406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69408         file.
69409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69411         file.
69412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69413         file.
69414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69415         file.
69416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69417         file.
69418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69419         New file.
69420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69421         file.
69422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69423         file.
69424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69426         file.
69427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69429         file.
69430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69432         file.
69433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69435         VIS3 routines.
69437         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69438         New file.
69440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69442         * sysdeps/sparc/configure.in: New file.
69443         * sysdeps/sparc/configure: Generate.
69444         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69445         * configure: Regenerate.
69446         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69447         * config.make.in (have-as-vis3): New.
69448         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69449         available use -Av9d instead of -Av9a.
69450         * sysdeps/sparc/sparc64/Makefile: Likewise.
69451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69453         New file.
69454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69455         file.
69456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69457         New file.
69458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69459         file.
69460         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69461         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69462         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69463         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69464         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69466         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69467         fzeros/fnegs to load 0x80000000 into a float register instead of
69468         using the stack.
69469         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69471 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69474         bits/syscall.h.
69475         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69476         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69477         ($(inst_includedir)/bits/syscall.h): Remove rule.
69478         ($(objpfx)bits/syscall.d): Include instead of
69479         $(objpfx)syscall-list.d.
69480         (generated): Change syscall-list.h and syscall-list.d to
69481         bits/syscall.h and bits/syscall.d.
69483 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69485         [BZ #13846]
69486         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69488 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69490         [BZ #13841]
69491         * math/s_csqrt.c: Include <float.h>.
69492         (__csqrt): Scale large or subnormal inputs.
69493         * math/s_csqrtf.c: Likewise.
69494         * math/s_csqrtl.c: Likewise.
69495         * math/libm-test.inc (csqrt_test): Add more tests.
69496         * sysdeps/i386/fpu/libm-test-ulps: Update.
69497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69499         [BZ #13840]
69500         * math/libm-test.inc (hypot_test): Add more tests.
69502 2012-03-13  David S. Miller  <davem@davemloft.net>
69504         [BZ #13840]
69505         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69506         double-precision for the calculation instead of scaling.
69508 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69510         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69511         manipulate bits before adding and subtracting TWO52[sx].
69512         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69513         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69514         Likewise.
69515         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69517 2012-03-13  David S. Miller  <davem@davemloft.net>
69519         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69520         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69521         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69522         rtld-global-offsets.h
69523         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69525         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69526         large parameters.
69528         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69530         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69531         'err' in the ifdef scope in which it is actually used.
69533         * nss/nss_db/db-init.c: Include string.h
69535 2012-03-12  David S. Miller  <davem@davemloft.net>
69537         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69538         masking out of the most significant byte of random value used.
69539         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69540         Fix coding style in previous change.
69542         * sysdeps/unix/sysv/linux/kernel-features.h
69543         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69544         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69545         expression.
69546         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69547         later.
69549 2012-03-11  David S. Miller  <davem@davemloft.net>
69551         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69552         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69553         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69554         for 'resultvar' otherwise things get truncated on 64-bit.
69556         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69557         Fix masking out of the most significant byte of random value used.
69559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69561 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69565 2012-03-09  David S. Miller  <davem@davemloft.net>
69567         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69568         variables with appropriate CPP guards.
69569         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69570         from the frame pointer, not the stack pointer.  Correct layout
69571         comments.  Fix test on resulting framesize and the management of
69572         the outregs buffer for pltexit.  Preserve floating point return
69573         values across _dl_call_pltexit call.
69574         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69575         framesize and the management of the outregs buffer for pltexit.
69576         Preserve floating point return values across _dl_call_pltexit
69577         call.
69578         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69579         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69580         (la_sparc64_gnu_pltexit): New functions.
69581         (print_exit): Fix format string for return register value.
69583 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69585         * sunrpc/Makefile (others): Add rpcgen.
69586         ($(objpfx)rpcgen): Remove special build rule and dependency on
69587         libc.
69588         * sunrpc/rpcgen.c: New file.
69590 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69592         [BZ #13673]
69593         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69594         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69595         * sysdeps/i386/crti.S: Likewise.
69596         * sysdeps/i386/crtn.S: Likewise.
69597         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69598         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69599         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69600         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69601         * sysdeps/sh/crti.S: Likewise.
69602         * sysdeps/sh/crtn.S: Likewise.
69603         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69605         [BZ #13673]
69606         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69607         with URL.
69608         * locale/programs/locfile-kw.gperf: Likewise.
69609         * locale/programs/charmap-kw.h: Regenerated.
69610         * locale/programs/locfile-kw.h: Likewise.
69612         [BZ #13673]
69613         * intl/plural.y: Replace FSF snail mail address with URL.
69614         * intl/plural.c: Regenerated.
69616 2012-03-09  Richard Henderson  <rth@twiddle.net>
69618         * include/math_private.h: Remove file.
69619         * math/math_private.h: Move file ...
69620         * sysdeps/generic/math_private.h: ... here.
69622         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69623         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69624         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69626         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69627         and <math_private.h>.
69628         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69629         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69630         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69631         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69632         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69633         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69634         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69635         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69636         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69637         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69638         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69639         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69640         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69641         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69642         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69643         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69644         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69645         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69646         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69647         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69648         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69649         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69650         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69652         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69653         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69654         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69655         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69656         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69657         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69658         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69659         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69660         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69661         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69662         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69663         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69664         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69665         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69666         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69667         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69668         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69669         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69670         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69671         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69672         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69673         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69674         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69675         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69676         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69677         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69678         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69679         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69680         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69681         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69682         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69683         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69684         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69685         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69686         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69687         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69688         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69689         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69690         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69691         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69692         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69693         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69694         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69695         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69696         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69697         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69698         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69699         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69700         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69701         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69702         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69703         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69704         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69706         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69707         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69708         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69709         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69710         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69711         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69712         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69713         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69714         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69715         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69716         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69717         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69718         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69719         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69720         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69721         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69722         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69723         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69724         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69725         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69726         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69727         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69728         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69729         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69730         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69731         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69732         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69733         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69734         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69735         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69736         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69737         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69738         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69739         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69740         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69741         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69742         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69743         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69744         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69745         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69746         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69747         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69748         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69749         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69750         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69751         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69752         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69753         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69754         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69755         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69756         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69757         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69758         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69759         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69760         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69761         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69762         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69763         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69764         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69765         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69766         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69767         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69768         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69769         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69770         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69771         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69772         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69773         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69774         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69775         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69776         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69777         * sysdeps/ieee754/k_standard.c: Likewise.
69778         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69779         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69780         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69781         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69782         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69783         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69784         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69785         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69786         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69787         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69788         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69789         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69790         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69791         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69792         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69793         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69794         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69795         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69796         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69797         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69798         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69799         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69800         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69801         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69802         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69803         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69804         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69805         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69806         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69807         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69808         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69809         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69810         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69811         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69812         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69813         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69814         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69815         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69816         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69817         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69818         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69819         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69820         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69821         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69822         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69823         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69824         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69825         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69826         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69827         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69828         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69829         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69830         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69831         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69832         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69833         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69834         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69835         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69836         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69837         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69838         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69839         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69840         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69841         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69842         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69843         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69844         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69845         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69846         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69847         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69848         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69849         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69850         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69851         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69852         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69853         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69854         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69855         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69856         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69857         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69858         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69859         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69860         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69861         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69862         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69863         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69864         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69865         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69866         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69867         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69868         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69869         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69870         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69871         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69872         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69873         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69874         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69875         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69876         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69877         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69878         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69879         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69880         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69881         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69882         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69883         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69884         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69885         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69886         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69887         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69888         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69889         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69890         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69891         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69892         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69893         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69894         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69895         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69896         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69897         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69898         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69899         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69900         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69901         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69902         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69903         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69904         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69905         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69906         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69907         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69908         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69909         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69910         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69911         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69912         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69913         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69914         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69915         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69916         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69917         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69918         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69919         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69920         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69921         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69922         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69923         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69924         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69925         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69926         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69927         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69928         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69929         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69930         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69931         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69932         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69933         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69934         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69935         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69936         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69937         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69938         * sysdeps/ieee754/s_lib_version.c: Likewise.
69939         * sysdeps/ieee754/s_matherr.c: Likewise.
69940         * sysdeps/ieee754/s_signgam.c: Likewise.
69941         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69942         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69943         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69944         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69945         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69946         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69947         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69948         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69949         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69950         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69951         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69952         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69953         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69954         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69955         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69956         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69957         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69958         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69959         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69960         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69963 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69965         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69966         * sunrpc/rpc_main.c: Likewise.
69967         * sunrpc/rpc_svcout.c: Likewise.
69969 2012-03-09  David S. Miller  <davem@davemloft.net>
69971         * include/math_private.h: New file.
69973 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69975         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69976         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69977         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69978         from <bits/socket_type.h>.
69979         (enum __socket_type): Don't define here.
69980         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69981         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69982         bits/socket_type.h.
69984         [BZ #13566]
69985         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69986         checking __USE_GNU.
69988         * Makerules ($(inst_includedir)/%.h): New rule.
69989         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69990         (install-others): Remove variable setting.
69991         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69993 2012-03-08  Richard Henderson  <rth@twiddle.net>
69995         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69996         from macro to inline function; merge with the
69997         !__LIBC_INTERNAL_MATH_INLINES version.
69998         (__ieee754_sqrtf): Likewise.
70000         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70001         to inline function.
70002         (__rintf, __floor, __floorf): Likewise.
70004         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70005         macro to inline function.
70006         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70008         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70009         not <math/math_private.h>.
70011 2012-03-08  David S. Miller  <davem@davemloft.net>
70013         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70014         copyright year.
70015         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70017 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70019         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70020         normalization.
70021         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70022         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70024 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70026         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70027         be defined individually, they must be defined as a block.  Define
70028         S for printing a string instead of hidint the different by using a
70029         macro for adding the 'l'.
70030         * stdio-common/tst-fphex-wide.c: Adjust.
70032 2012-03-07  Marek Polacek  <polacek@redhat.com>
70034         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70036 2012-03-08  Marek Polacek  <polacek@redhat.com>
70038         [BZ #13806]
70039         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70040         * stdio-common/tst-fphex.c: Define a few macros to make the
70041         test reusable.  Use them.
70042         * stdio-common/tst-fphex-wide.c: New file.
70044 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70046         [BZ #6911]
70047         * manual/macros.texi (gnusystems): New macro.
70048         (nongnusystems): Likewise.
70049         (gnulinuxhurdsystems): Likewise.
70050         (gnuhurdsystems): Likewise..
70051         (gnulinuxsystems): Likewise.
70052         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70053         variants of the GNU system, not "GNU system".
70054         * manual/conf.texi: Likewise.
70055         * manual/errno.texi: Likewise.  Update example of errno macro
70056         expansion.
70057         * manual/filesys.texi: Likewise.
70058         (getumask): Document as specific to GNU/Hurd.
70059         * manual/install.texi: Likewise.  Reword some references to
70060         GNU/Linux.
70061         * manual/intro.texi: Likewise.
70062         * manual/io.texi: Likewise.
70063         (File Name Portability): Detail which constraints are inapplicable
70064         to all GNU systems and which are only inapplicable to GNU/Hurd.
70065         * manual/job.texi: Likewise.
70066         * manual/llio.texi: Likewise.
70067         (O_NOCTTY): Document as present on GNU/Linux.
70068         * manual/maint.texi: Likewise.
70069         * manual/memory.texi: Likewise.
70070         * manual/pattern.texi: Likewise.
70071         * manual/pipe.texi: Likewise.
70072         * manual/process.texi: Likewise.
70073         * manual/resource.texi: Likewise.
70074         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70075         child on GNU/Hurd.
70076         * manual/setjmp.texi: Likewise.
70077         * manual/signal.texi: Likewise.
70078         * manual/startup.texi: Likewise.
70079         * manual/stdio.texi: Likewise.
70080         * manual/terminal.texi: Likewise.
70081         (ONLCR): Document as POSIX.
70082         (OXTABS): Document availability on GNU/Linux as XTABS.
70083         (ONOEOT): Document availability separately from other bits.
70084         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70085         * manual/time.texi: Likewise.
70086         * manual/users.texi: Likewise.
70087         * INSTALL: Regenerated.
70088         * sysdeps/gnu/errlist.c: Regenerated.
70090         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70091         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70092         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70093         puts.
70094         * configure: Regenerated.
70096 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70098         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70099         default includes instead of AC_HEADER_CHECK.
70100         * sysdeps/i386/configure: Regenerated.
70102         [BZ #10716]
70103         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70104         * math/s_cacoshf.c (__cacoshf): Likewise.
70105         * math/s_cacoshl.c (__cacoshl): Likewise.
70106         * math/s_casinh.c (__casinh): Set signs of result from argument.
70107         * math/s_casinhf.c (__casinhf): Likewise.
70108         * math/s_casinhl.c (__casinhl): Likewise.
70109         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70110         (casinh_test): Add more tests.
70111         * sysdeps/i386/fpu/libm-test-ulps: Update.
70112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70114 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70116         * po/zh_TW.po: Update from translation team.
70118         * login/Makefile (distribute): Remove variable.
70119         * catgets/Makefile: Likewise.
70120         * mach/Makefile: Likewise.
70121         * malloc/Makefile: Likewise.
70122         * misc/Makefile: Likewise.
70123         * iconv/Makefile: Likewise.
70124         * nscd/Makefile: Likewise.
70125         * hurd/Makefile: Likewise.
70126         * manual/Makefile: Likewise.
70127         * locale/Makefile: Likewise.
70128         * intl/Makefile: Likewise.
70129         * conform/Makefile: Likewise.
70130         * nss/Makefile: Likewise.
70131         * time/Makefile: Likewise.
70132         * soft-fp/Makefile: Likewise.
70133         * dirent/Makefile: Likewise.
70134         * gmon/Makefile: Likewise.
70135         * po/Makefile: Likewise.
70136         * rt/Makefile: Likewise.
70137         * socket/Makefile: Likewise.
70138         * math/Makefile: Likewise.
70139         * signal/Makefile: Likewise.
70140         * debug/Makefile: Likewise.
70141         * elf/Makefile: Likewise.
70142         * timezone/Makefile: Likewise.
70143         * stdlib/Makefile: Likewise.
70144         * iconvdata/Makefile: Likewise.
70145         * sunrpc/Makefile: Likewise.
70146         * io/Makefile: Likewise.
70147         * argp/Makefile: Likewise.
70148         * inet/Makefile: Likewise.
70149         * hesiod/Makefile: Likewise.
70150         * grp/Makefile: Likewise.
70151         * csu/Makefile: Likewise.
70152         * wctype/Makefile: Likewise.
70153         * crypt/Makefile: Likewise.
70154         * libio/Makefile: Likewise.
70155         * string/Makefile: Likewise.
70156         * nis/Makefile: Likewise.
70157         * resolv/Makefile: Likewise.
70158         * stdio-common/Makefile: Likewise.
70159         * wcsmbs/Makefile: Likewise.
70160         * dlfcn/Makefile: Likewise.
70161         * posix/Makefile: Likewise.
70163         [BZ #6959]
70164         * timezone/Makefile: Don't install timezone files, just the programs
70165         and scripts.
70167 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70169         * nss/databases.def: Add missing gshadow entry.
70171         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70173 2012-03-06  Marek Polacek  <polacek@redhat.com>
70175         [BZ #13726]
70176         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70177         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70178         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70179         * stdio-common/tst-long-dbl-fphex.c: New file.
70181 2012-03-06  David S. Miller  <davem@davemloft.net>
70183         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70184         (set_obp_int): New function.
70185         (get_obp_int): New function.
70186         (__get_clockfreq_via_dev_openprom): Likewise.
70187         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70188         Avoid unused variable warnings on 'val' and use builtin_expect.
70189         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70190         __builtin_expect.
70191         (INLINE_CLONE_SYSCALL): Likewise.
70193 2012-03-05  David S. Miller  <davem@davemloft.net>
70195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70197 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70201         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70202         only for |x| >= 40.
70203         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70205 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70207         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70208         Replace gettimeofday with __vdso_gettimeofday.
70210         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70211         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70212         __vdso_clock_gettime and __vdso_getcpu.
70214         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70215         time with __vdso_time.
70217 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70219         * manual/lang.texi (size_t): Note types to which size_t may be
70220         equivalent with the GNU C Library, but do not describe when
70221         differences between them are significant.
70223 2012-03-05  Andreas Jaeger  <aj@suse.de>
70225         * sysdeps/i386/fpu/libm-test-ulps: Update.
70227 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70229         [BZ #3976]
70230         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70231         (__ieee754_pow): Save and restore rounding mode and use
70232         round-to-nearest for main computations.
70233         * math/libm-test.inc (pow_test_tonearest): New function.
70234         (pow_test_towardzero): Likewise.
70235         (pow_test_downward): Likewise.
70236         (pow_test_upward): Likewise.
70237         (main): Call the new functions.
70238         * sysdeps/i386/fpu/libm-test-ulps: Update.
70239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70241         [BZ #3976]
70242         * math/libm-test.inc (cosh_test_tonearest): New function.
70243         (cosh_test_towardzero): Likewise.
70244         (cosh_test_downward): Likewise.
70245         (cosh_test_upward): Likewise.
70246         (sinh_test_tonearest): Likewise.
70247         (sinh_test_towardzero): Likewise.
70248         (sinh_test_downward): Likewise.
70249         (sinh_test_upward): Likewise.
70250         (main): Call the new functions.
70251         * sysdeps/i386/fpu/libm-test-ulps: Update.
70252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70254 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70256         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70257         default stack guard is set in last bytes.
70258         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70260 2012-03-05  Kees Cook  <keescook@chromium.org>
70262         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70264         [BZ #13656]
70265         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70266         possibly allocate from heap instead of stack.
70267         * stdio-common/bug-vfprintf-nargs.c: New file.
70268         * stdio-common/Makefile (tests): Add nargs overflow test.
70270 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70274 2012-03-03  Marek Polacek  <polacek@redhat.com>
70276         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70277         * math/math_private.h: Likewise.
70278         * stdlib/tst-strtod.c: Likewise.
70279         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70280         * sysdeps/x86_64/bits/atomic.h: Likewise.
70282 2012-03-02  David S. Miller  <davem@davemloft.net>
70284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70288         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70289         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70290         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70291         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70293 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70295         [BZ #13792]
70296         * manual/examples/README: New file, says the example source files
70297         can be used under GPL>=2.
70298         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70299         line containing just "*/".
70300         * manual/examples/add.c: Add copyright header (GPL>=2).
70301         * manual/examples/argp-ex1.c: Likewise.
70302         * manual/examples/argp-ex2.c: Likewise.
70303         * manual/examples/argp-ex3.c: Likewise.
70304         * manual/examples/argp-ex4.c: Likewise.
70305         * manual/examples/atexit.c: Likewise.
70306         * manual/examples/db.c: Likewise.
70307         * manual/examples/dir.c: Likewise.
70308         * manual/examples/dir2.c: Likewise.
70309         * manual/examples/execinfo.c: Likewise.
70310         * manual/examples/filecli.c: Likewise.
70311         * manual/examples/filesrv.c: Likewise.
70312         * manual/examples/fmtmsgexpl.c: Likewise.
70313         * manual/examples/genpass.c: Likewise.
70314         * manual/examples/inetcli.c: Likewise.
70315         * manual/examples/inetsrv.c: Likewise.
70316         * manual/examples/isockad.c: Likewise.
70317         * manual/examples/longopt.c: Likewise.
70318         * manual/examples/memopen.c: Likewise.
70319         * manual/examples/memstrm.c: Likewise.
70320         * manual/examples/mkfsock.c: Likewise.
70321         * manual/examples/mkisock.c: Likewise.
70322         * manual/examples/mygetpass.c: Likewise.
70323         * manual/examples/pipe.c: Likewise.
70324         * manual/examples/popen.c: Likewise.
70325         * manual/examples/rprintf.c: Likewise.
70326         * manual/examples/search.c: Likewise.
70327         * manual/examples/select.c: Likewise.
70328         * manual/examples/setjmp.c: Likewise.
70329         * manual/examples/sigh1.c: Likewise.
70330         * manual/examples/sigusr.c: Likewise.
70331         * manual/examples/stpcpy.c: Likewise.
70332         * manual/examples/strdupa.c: Likewise.
70333         * manual/examples/strftim.c: Likewise.
70334         * manual/examples/strncat.c: Likewise.
70335         * manual/examples/subopt.c: Likewise.
70336         * manual/examples/swapcontext.c: Likewise.
70337         * manual/examples/termios.c: Likewise.
70338         * manual/examples/testopt.c: Likewise.
70339         * manual/examples/testpass.c: Likewise.
70340         * manual/examples/timeval_subtract.c: Likewise.
70342         [BZ #13792]
70343         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70344         function to ...
70345         * manual/timeval_subtract.c.texi: ... here, new file.
70347 2012-03-02  David S. Miller  <davem@davemloft.net>
70349         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70351 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70353         [BZ #3976]
70354         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70355         (__sin): Save and restore rounding mode and use round-to-nearest
70356         for all computations.
70357         (__cos): Save and restore rounding mode and use round-to-nearest
70358         for all computations.
70359         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70360         <fenv.h>.
70361         (tan): Save and restore rounding mode and use round-to-nearest for
70362         all computations.
70363         * math/libm-test.inc (cos_test_tonearest): New function.
70364         (cos_test_towardzero): Likewise.
70365         (cos_test_downward): Likewise.
70366         (cos_test_upward): Likewise.
70367         (sin_test_tonearest): Likewise.
70368         (sin_test_towardzero): Likewise.
70369         (sin_test_downward): Likewise.
70370         (sin_test_upward): Likewise.
70371         (tan_test_tonearest): Likewise.
70372         (tan_test_towardzero): Likewise.
70373         (tan_test_downward): Likewise.
70374         (tan_test_upward): Likewise.
70375         (main): Call the new functions.
70376         * sysdeps/i386/fpu/libm-test-ulps: Update.
70377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70379         [BZ #10135]
70380         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70381         small n, then large n, before computing and testing k+n.
70382         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70383         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70384         Likewise.
70385         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70386         Likewise.
70387         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70388         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70389         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70390         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70391         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70392         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70393         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70394         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70395         * math/libm-test.inc (scalbn_test): Add more tests.
70396         (scalbln_test): Likewise.
70398         * manual/filesys.texi (mode_t): Describe constraints on size and
70399         signedness, not exact equivalence to a particular type.
70400         (ino_t): Likewise.
70401         (ino64_t): Likewise.
70402         (dev_t): Likewise.
70403         (nlink_t): Likewise.
70404         (blkcnt_t): Likewise.
70405         (blkcnt64_t): Likewise.
70406         * manual/llio.texi (off_t): Likewise.
70408         [BZ #3976]
70409         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70410         (__ieee754_exp): Save and restore rounding mode and use
70411         round-to-nearest for all computations.
70412         * math/libm-test.inc (exp_test_tonearest): New function.
70413         (exp_test_towardzero): Likewise.
70414         (exp_test_downward): Likewise.
70415         (exp_test_upward): Likewise.
70416         (main): Call the new functions.
70417         * sysdeps/i386/fpu/libm-test-ulps: Update.
70418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70420 2012-03-01  Chris Demetriou  <cgd@google.com>
70422         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70423         have predictable order.
70425 2012-03-01  David S. Miller  <davem@davemloft.net>
70427         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70429         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70430         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70431         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70432         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70434         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70435         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70436         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70438         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70439         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70440         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70441         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70442         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70446         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70447         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70448         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70450         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70451         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70452         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70453         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70454         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70455         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70456         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70457         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70458         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70459         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70460         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70461         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70463         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70464         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70465         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70466         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70467         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70468         * sysdeps/sparc/elf/configure: Regenerated.
70470 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70472         * configure.in (AS, LD): Require binutils 2.20 or later.
70473         * configure: Regenerated.
70474         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70475         as required minimum version.
70476         * INSTALL: Regenerated.
70478         [BZ #2541]
70479         [BZ #4108]
70480         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70481         before squaring exponent.
70482         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70483         bottom long double and 27 bits of top long double before squaring
70484         exponent.
70485         * math/libm-test.inc (erfc_test): Add more tests.
70486         * sysdeps/i386/fpu/libm-test-ulps: Update.
70487         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70490 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70492         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70493         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70494         containing bit-fields.
70495         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70496         * soft-fp/single.h (_FP_UNION_S): Likewise.
70497         * soft-fp/double.h (_FP_UNION_D): Likewise.
70499 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70501         [BZ #13786]
70502         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70503         not include ../strcmp.S.
70504         [USE_AS_STRNCASECMP_L]: Likewise.
70505         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70506         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70507         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70508         (__strncasecmp_l_ia32): Define as alias to
70509         __strncasecmp_l_nonascii.
70511         [BZ #5794]
70512         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70513         * sysdeps/i386/fpu/libm-test-ulps: Update.
70514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70516         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70519 2012-02-29  Jeff Law  <law@redhat.com>
70521         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70522         out of bounds read.
70524 2012-02-29  Marek Polacek  <polacek@redhat.com>
70526         [BZ #13706]
70527         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70528         * elf/Makefile: Add rules to run tst-unused-dep.out.
70530 2012-02-28  David S. Miller  <davem@davemloft.net>
70532         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70533         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70534         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70535         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70536         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70537         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70539 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70541         * math/libm-test.inc (llround_test): Move one test from
70542         lround_test.  Use TEST_f_L in moved test.
70543         (lround_test): Move misplaced test to llround_test.  Add testcase
70544         from bug 2561.
70546 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70548         * sysdeps/x86_64/fpu/e_expf.S: New file.
70549         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70551 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70553         [BZ #13637]
70554         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70555         of remain_len that may cause incomplete multi-byte character and
70556         false match.
70557         * posix/bug-regex33.c: New file.
70558         * posix/Makefile (tests): Add bug-regex33.
70560 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70562         * manual/macros.texi: New file.
70563         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70564         * manual/libc.texinfo: Include macros.texi.
70565         * manual/creatute.texi: Likewise.
70566         * manual/install.texi: Likewise.
70567         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70568         @glibcadj{} in references to the GNU C Library.
70569         * manual/charset.texi: Likewise.
70570         * manual/conf.texi: Likewise.
70571         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70572         when not using those macros.
70573         * manual/creature.texi: Likewise.
70574         * manual/crypt.texi: Likewise.
70575         * manual/errno.texi: Likewise.
70576         * manual/filesys.texi: Likewise.
70577         * manual/header.texi: Likewise.
70578         * manual/install.texi: Likewise.
70579         * manual/intro.texi: Likewise.
70580         * manual/io.texi: Likewise.
70581         * manual/job.texi: Likewise.
70582         * manual/lang.texi: Likewise.
70583         * manual/libc.texiinfo: Likewise.
70584         * manual/llio.texi: Likewise.
70585         * manual/locale.texi: Likewise.
70586         * manual/maint.texi: Likewise.
70587         * manual/math.texi: Likewise.
70588         * manual/memory.texi: Likewise.
70589         * manual/message.texi: Likewise.
70590         * manual/nss.texi: Likewise.
70591         * manual/pattern.texi: Likewise.
70592         * manual/process.texi: Likewise.
70593         * manual/resource.texi: Likewise.
70594         * manual/search.texi: Likewise.
70595         * manual/setjmp.texi: Likewise.
70596         * manual/signal.texi: Likewise.
70597         * manual/socket.texi: Likewise.
70598         * manual/startup.texi: Likewise.
70599         * manual/stdio.texi: Likewise.
70600         * manual/string.texi: Likewise.
70601         * manual/sysinfo.texi: Likewise.
70602         * manual/syslog.texi: Likewise.
70603         * manual/terminal.texi: Likewise.
70604         * manual/time.texi: Likewise.
70605         * manual/users.texi: Likewise.
70606         * INSTALL: Regenerated.
70607         * NOTES: Regenerated.
70608         * sysdeps/gnu/errlist.c: Regenerated.
70610 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70612         * include/dirent.h: Include <dirstream.h> before
70613         <dirent/dirent.h>.
70615 2012-02-28  David S. Miller  <davem@davemloft.net>
70617         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70618         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70619         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70620         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70622 2012-02-27  David S. Miller  <davem@davemloft.net>
70624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70626         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70627         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70630         frame pointer instead of stack pointer relative arg slot.
70631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70632         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70633         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70635 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70637         [BZ #3992]
70638         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70640 2012-02-27  David S. Miller  <davem@davemloft.net>
70642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70646         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70647         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70648         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70649         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70651 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70653         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70654         later.  Allow versions 5-9.
70655         * configure: Regenerated.
70656         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70657         required minimum version and 4.6 as recommended version.  Do not
70658         mention bugs in GCC 2.7 and 2.8.
70659         * INSTALL: Regenerated.
70661 2012-02-27  David S. Miller  <davem@davemloft.net>
70663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70667         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70668         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70669         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70670         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70672         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70673         manipulate bits before adding and subtracting TWO112[sx].
70674         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70676 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70678         [BZ #13775]
70679         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70680         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70681         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70682         being in POSIX, because they are in 1003.1-2008.
70684         * rt/tst-aio.c: Include <fcntl.h>.
70685         * rt/tst-aio7.c: Likewise.
70686         * rt/tst-aio64.c: Likewise.
70688         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70690 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70692         * manual/install.texi (--with-headers): Describe headers as
70693         interface headers, not private headers.
70694         (Specific advice for GNU/Linux systems): Describe use of headers
70695         from "make headers_install", not private headers from older
70696         kernels.
70697         * INSTALL: Regenerated.
70698         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70699         Change to 2.6.19.
70700         * sysdeps/unix/sysv/linux/configure: Regenerated.
70702         * manual/llio.texi (fclean): Remove documentation.
70704         * manual/Makefile (libc-texi-generated): New variable.  Include
70705         version.texi.
70706         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70707         $(libc-texi-generated), not duplicated list of files.
70708         (version.texi, stamp-version): New rules.
70709         (realclean): Remove $(libc-texi-generated), not individual files
70710         from that list.  Do not remove dir-add.texinfo.
70711         * manual/libc.texinfo: Comment out uses of edition numbers and
70712         references to printed manual.  Remove last-updated dates.
70713         (EDITION): Comment out.
70714         (ISBN): Likewise.
70715         (VERSION, UPDATED): Remove.
70716         (version.texi): Include.
70718 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70720         * sysdeps/posix/spawni.c: Include <signal.h>.
70721         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70722         * sysdeps/pthread/aio_fsync.c: Likewise.
70724 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70726         * conform/Makefile (tests): Run only when not cross-compiling and
70727         when fast-check is not defined.
70729         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70730         * conform/data/limits.h-data: Fixes for POSIX2008.
70731         * conform/run-conformtest.sh: Run all tests.
70732         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70733         headers.
70734         * include/bits/dlfcn.h: Likewise.
70735         * include/langinfo.h: Likewise.
70736         * include/monetary.h: Likewise.
70737         * include/sys/poll.h: Likewise.
70739         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70740         for __USE_GNU.
70741         * posix/spawn.h: Define __need_sigset_t.
70742         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70743         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70744         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70745         to get sigevent_t only.
70746         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70747         only for __USE_GNU.
70748         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70749         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70750         process_vm_writev only for __USE_GNU.
70751         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70753         * conform/Makefile: For now ignore errors from run-conformtest.
70754         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70755         POSIX to avoid namespace pollution.  Don't prepend headers.
70756         * conform/data/aio.h-data: Fixes for POSIX testing.
70757         * conform/data/fcntl.h-data: Likewise.
70758         * conform/data/glob.h-data: Likewise.
70759         * conform/data/grp.h-data: Likewise.
70760         * conform/data/pthread.h-data: Likewise.
70761         * conform/data/pwd.h-data: Likewise.
70762         * conform/data/signal.h-data: Likewise.
70763         * conform/data/spawn.h-data: Likewise.
70764         * conform/data/stdio.h-data: Likewise.
70765         * conform/data/stdlib.h-data: Likewise.
70766         * conform/data/stropts.h-data: Likewise.
70767         * conform/data/sys/mman.h-data: Likewise.
70768         * conform/data/sys/stat.h-data: Likewise.
70769         * conform/data/sys/types.h-data: Likewise.
70770         * conform/data/sys/wait.h-data: Likewise.
70771         * conform/data/time.h-data: Likewise.
70772         * conform/data/unistd.h-data: Likewise.
70773         * conform/data/utime.h-data: Likewise.
70775         * io/sys/stat.h: fchmod was always in POSIX.
70776         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70777         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70778         * rt/aio.h: Define __need_timespec before including <time.h>.
70779         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70780         struct.  Add forward declaration of pthread_attr_t and use it in
70781         sigevent.
70782         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70783         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70784         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70785         always remove CLK_TCK definition.
70787 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
70789         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70791 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
70793         * conform/run-conformtest.sh: New file.
70794         * conform/Makefile: Run run-conformtest for tests.
70795         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
70796         support.
70798         * conform/data/uchar.h-data: New file.
70799         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70800         * conform/data/arpa/inet.h-data: Likewise.
70801         * conform/data/assert.h-data: Likewise.
70802         * conform/data/complex.h-data: Likewise.
70803         * conform/data/cpio.h-data: Likewise.
70804         * conform/data/ctype.h-data: Likewise.
70805         * conform/data/dirent.h-data: Likewise.
70806         * conform/data/dlfcn.h-data: Likewise.
70807         * conform/data/errno.h-data: Likewise.
70808         * conform/data/fcntl.h-data: Likewise.
70809         * conform/data/float.h-data: Likewise.
70810         * conform/data/fmtmsg.h-data: Likewise.
70811         * conform/data/fnmatch.h-data: Likewise.
70812         * conform/data/ftw.h-data: Likewise.
70813         * conform/data/glob.h-data: Likewise.
70814         * conform/data/grp.h-data: Likewise.
70815         * conform/data/iconv.h-data: Likewise.
70816         * conform/data/inttypes.h-data: Likewise.
70817         * conform/data/langinfo.h-data: Likewise.
70818         * conform/data/libgen.h-data: Likewise.
70819         * conform/data/limits.h-data: Likewise.
70820         * conform/data/locale.h-data: Likewise.
70821         * conform/data/math.h-data: Likewise.
70822         * conform/data/monetary.h-data: Likewise.
70823         * conform/data/mqueue.h-data: Likewise.
70824         * conform/data/ndbm.h-data: Likewise.
70825         * conform/data/net/if.h-data: Likewise.
70826         * conform/data/netdb.h-data: Likewise.
70827         * conform/data/netinet/in.h-data: Likewise.
70828         * conform/data/nl_types.h-data: Likewise.
70829         * conform/data/poll.h-data: Likewise.
70830         * conform/data/pthread.h-data: Likewise.
70831         * conform/data/pwd.h-data: Likewise.
70832         * conform/data/regex.h-data: Likewise.
70833         * conform/data/sched.h-data: Likewise.
70834         * conform/data/search.h-data: Likewise.
70835         * conform/data/semaphore.h-data: Likewise.
70836         * conform/data/setjmp.h-data: Likewise.
70837         * conform/data/signal.h-data: Likewise.
70838         * conform/data/spawn.h-data: Likewise.
70839         * conform/data/stdarg.h-data: Likewise.
70840         * conform/data/stdio.h-data: Likewise.
70841         * conform/data/stdlib.h-data: Likewise.
70842         * conform/data/string.h-data: Likewise.
70843         * conform/data/strings.h-data: Likewise.
70844         * conform/data/stropts.h-data: Likewise.
70845         * conform/data/sys/ipc.h-data: Likewise.
70846         * conform/data/sys/mman.h-data: Likewise.
70847         * conform/data/sys/msg.h-data: Likewise.
70848         * conform/data/sys/resource.h-data: Likewise.
70849         * conform/data/sys/select.h-data: Likewise.
70850         * conform/data/sys/sem.h-data: Likewise.
70851         * conform/data/sys/shm.h-data: Likewise.
70852         * conform/data/sys/socket.h-data: Likewise.
70853         * conform/data/sys/stat.h-data: Likewise.
70854         * conform/data/sys/statvfs.h-data: Likewise.
70855         * conform/data/sys/time.h-data: Likewise.
70856         * conform/data/sys/timeb.h-data: Likewise.
70857         * conform/data/sys/times.h-data: Likewise.
70858         * conform/data/sys/types.h-data: Likewise.
70859         * conform/data/sys/uio.h-data: Likewise.
70860         * conform/data/sys/un.h-data: Likewise.
70861         * conform/data/sys/utsname.h-data: Likewise.
70862         * conform/data/sys/wait.h-data: Likewise.
70863         * conform/data/syslog.h-data: Likewise.
70864         * conform/data/tar.h-data: Likewise.
70865         * conform/data/termios.h-data: Likewise.
70866         * conform/data/utime.h-data: Likewise.
70867         * conform/data/utmpx.h-data: Likewise.
70868         * conform/data/varargs.h-data: Likewise.
70869         * conform/data/wchar.h-data: Likewise.
70870         * conform/data/wctype.h-data: Likewise.
70871         * conform/data/wordexp.h-data: Likewise.
70873         * include/stropts.h: New file.
70874         * include/uchar.h: New file.
70875         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70876         * include/assert.h: Likewise.
70877         * include/ctype.h: Likewise.
70878         * include/dirent.h: Likewise.
70879         * include/dlfcn.h: Likewise.
70880         * include/fcntl.h: Likewise.
70881         * include/fnmatch.h: Likewise.
70882         * include/glob.h: Likewise.
70883         * include/grp.h: Likewise.
70884         * include/libio.h: Likewise.
70885         * include/locale.h: Likewise.
70886         * include/math.h: Likewise.
70887         * include/net/if.h: Likewise.
70888         * include/netdb.h: Likewise.
70889         * include/netinet/in.h: Likewise.
70890         * include/pthread.h: Likewise.
70891         * include/pwd.h: Likewise.
70892         * include/regex.h: Likewise.
70893         * include/sched.h: Likewise.
70894         * include/search.h: Likewise.
70895         * include/setjmp.h: Likewise.
70896         * include/signal.h: Likewise.
70897         * include/stdio.h: Likewise.
70898         * include/stdlib.h: Likewise.
70899         * include/string.h: Likewise.
70900         * include/sys/cdefs.h: Likewise.
70901         * include/sys/mman.h: Likewise.
70902         * include/sys/msg.h: Likewise.
70903         * include/sys/resource.h: Likewise.
70904         * include/sys/select.h: Likewise.
70905         * include/sys/socket.h: Likewise.
70906         * include/sys/stat.h: Likewise.
70907         * include/sys/statvfs.h: Likewise.
70908         * include/sys/time.h: Likewise.
70909         * include/sys/times.h: Likewise.
70910         * include/sys/uio.h: Likewise.
70911         * include/sys/utsname.h: Likewise.
70912         * include/sys/wait.h: Likewise.
70913         * include/termios.h: Likewise.
70914         * include/time.h: Likewise.
70915         * include/ulimit.h: Likewise.
70916         * include/unistd.h: Likewise.
70917         * include/utime.h: Likewise.
70918         * include/wchar.h: Likewise.
70919         * include/wctype.h: Likewise.
70920         * include/wordexp.h: Likewise.
70922         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70924         * time/time.h: TIME_UTC must be a macro.
70925         Make timespec_get available for ISO C11 only as well.
70927 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70929         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70930         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70932 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70934         * configure.in: Use -o not -a in test for unsupported multi-arch.
70936 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70938         * manual/texinfo.tex: Update to version 2012-01-19.16.
70940 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70942         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70944 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70946         [BZ #13738]
70947         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70948         * manual/fdl-1.3.texi: New file.
70949         * manual/fdl-1.1.texi: File removed.
70951         [BZ #13738]
70952         * manual/libc.texinfo (FDL_VERSION): New @set.
70953         Use it for mention of FDL in cover text.
70954         (Documentation License): Use it in @include file name.
70956 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70957             Roland McGrath  <roland@hack.frob.com>
70959         [BZ #5461]
70960         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70961         (not LONG_LONG_MAX and LONG_LONG_MIN.
70962         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70963         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70964         name.
70965         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70967 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70969         [BZ #2547]
70970         [BZ #11365]
70971         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70972         manipulate bits before adding and subtracting TWO23[sx].
70973         * math/libm-test.inc (nearbyint_test): Add more tests.
70975 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70977         [BZ #2548]
70978         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70979         bits before adding and subtracting TWO23[sx].
70980         * math/libm-test.inc (rint_test): Add more tests.
70981         (rint_test_tonearest): Likewise.
70982         (rint_test_towardzero): Likewise.
70983         (rint_test_downward): Likewise.
70984         (rint_test_upward: Likewise.
70986 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70988         [BZ #10110]
70989         * include/stdc-predef.h: New file.  Extracted from features.h.
70990         * include/features.h: Include stdc-predef.h.
70991         * Makefile (headers): Add stdc-predef.h.
70992         * CONFORMANCE (Compiler limitations): Update.
70994 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70996         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70998 2012-02-21  David S. Miller  <davem@davemloft.net>
71000         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71001         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71003 2012-02-20  David S. Miller  <davem@davemloft.net>
71005         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71006         using a normal save/restore sequence, rather than allocating a
71007         dummy stack frame just to store a frame pointer and restore.
71008         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71010 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71012         * manual/install.texi: Fix stray word in line-wrapped comment.
71014 2012-02-20  David S. Miller  <davem@davemloft.net>
71016         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71017         both binutils and gcc support GOTDATA.
71019         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71020         "rd %pc" in the PIC register setup sequences.
71022         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71023         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71024         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71025         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71026         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71027         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71028         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71029         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71030         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71031         (SYSCALL_ERROR_HANDLER): Likewise.
71032         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71033         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71034         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71035         (SYSCALL_ERROR_HANDLER): Likewise.
71037         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71038         (HAVE_GCC_GOTDATA): New.
71039         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71040         relocation support in both binutils and gcc.
71041         * sysdeps/sparc/elf/configure: Regenerate.
71043         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71044         * sysdeps/sparc/sparc32/elf/configure: Delete.
71045         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71046         * sysdeps/sparc/sparc64/elf/configure: Delete.
71047         * sysdeps/sparc/elf/configure.in: New file.
71048         * sysdeps/sparc/elf/configure: Generate.
71050         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71051         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71052         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71053         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71054         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71056 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71058         * manual/install.texi: Do not mention specific glibc version
71059         numbers.
71060         * manual/libc.texinfo (VERSION, UPDATED): Update.
71061         (@copying): Use @copyright{} and range of years.
71063 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71065         [BZ #13695]
71066         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71067         [crti.S not in sysdirs] (generated): Do not append.
71068         [crti.S not in sysdirs] (omit-deps): Likewise.
71069         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71070         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71071         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71072         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71073         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71074         Likewise.
71075         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71076         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71077         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71078         * csu/defs.awk: Remove file.
71079         * sysdeps/generic/initfini.c: Likewise.
71080         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71081         variable.
71082         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71083         Likewise.
71085 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71087         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71088         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71089         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71090         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71091         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71092         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71093         <bits/epoll.h>.
71094         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71095         (__EPOLL_PACKED): Define to empty if not defined by
71096         <bits/epoll.h>.
71097         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71098         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71099         bits/epoll.h.
71101 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71103         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71104         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71105         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71106         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71107         <bits/timerfd.h>.
71108         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71109         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71110         bits/timerfd.h.
71112 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71114         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71115         in C locale.
71116         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71117         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71118         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71121 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71123         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71124         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71126 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71128         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71129         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71130         defined.
71131         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71132         Likewise.
71133         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71134         entry for 2.16.
71136 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71138         * math/w_acos.c: Use non-signaling floating-point comparisons.
71139         * math/w_acosf.c: Likewise.
71140         * math/w_acosh.c: Likewise.
71141         * math/w_acoshf.c: Likewise.
71142         * math/w_acoshl.c: Likewise.
71143         * math/w_acosl.c: Likewise.
71144         * math/w_asin.c: Likewise.
71145         * math/w_asinf.c: Likewise.
71146         * math/w_asinl.c: Likewise.
71147         * math/w_atanh.c: Likewise.
71148         * math/w_atanhf.c: Likewise.
71149         * math/w_atanhl.c: Likewise.
71150         * math/w_exp2.c: Likewise.
71151         * math/w_exp2f.c: Likewise.
71152         * math/w_exp2l.c: Likewise.
71153         * math/w_j0.c: Likewise.
71154         * math/w_j0f.c: Likewise.
71155         * math/w_j0l.c: Likewise.
71156         * math/w_j1.c: Likewise.
71157         * math/w_j1f.c: Likewise.
71158         * math/w_j1l.c: Likewise.
71159         * math/w_jn.c: Likewise.
71160         * math/w_jnf.c: Likewise.
71161         * math/w_log.c: Likewise.
71162         * math/w_log10.c: Likewise.
71163         * math/w_log10f.c: Likewise.
71164         * math/w_log10l.c: Likewise.
71165         * math/w_log2.c: Likewise.
71166         * math/w_log2f.c: Likewise.
71167         * math/w_log2l.c: Likewise.
71168         * math/w_logf.c: Likewise.
71169         * math/w_logl.c: Likewise.
71170         * math/w_sqrt.c: Likewise.
71171         * math/w_sqrtf.c: Likewise.
71172         * math/w_sqrtl.c: Likewise.
71173         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71174         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71175         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71176         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71177         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71179 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71181         [BZ #9739]
71182         * manual/string.texi (strnlen): Use correct parameter name in
71183         equivalent expression.
71185 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71187         [BZ #11174]
71188         * manual/users.texi (seteuid): Consistently use neweuid for
71189         argument name.
71191 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71193         [BZ #13704]
71194         * manual/nss.texi (Services in the NSS configuration): Correct
71195         list of services in example configuration file.
71197 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71199         [BZ #11322]
71200         * manual/arith.texi: Remove statements about negative zero
71201         behaving identically to zero.
71203 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71205         [BZ #5993]
71206         * manual/install.texi: Do not document upgrading from libc5.
71208 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71210         [BZ #4596]
71211         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71213 2012-02-18  David S. Miller  <davem@davemloft.net>
71215         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71216         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71217         %o7 across the call.
71218         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71219         instead.
71220         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71221         SETUP_PIC_REG_LEAF.
71222         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71223         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71224         * sysdeps/sparc/crtn.S: Likewise.
71226 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71228         * aout/Makefile: Remove.
71230 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71232         [BZ #13058]
71233         * manual/examples/argp-ex1.c (main): Format definition in GNU
71234         style.
71235         * manual/examples/argp-ex2.c (main): Likewise.
71236         * manual/examples/argp-ex3.c (main): Likewise.
71237         * manual/examples/argp-ex4.c (main): Likewise.
71238         * manual/examples/longopt.c (main): Use new-style prototype
71239         definition.
71240         * manual/examples/strncat.c (main): Specify return type and use
71241         (void) for arguments.
71242         * manual/examples/subopt.c (main): Use char **argv argument.
71244 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71246         [BZ #5077]
71247         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71248         rounding modes.
71250 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71252         [BZ #6907]
71253         * manual/string.texi (strchr): Change when strchrnul is
71254         recommended.
71256 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71258         [BZ #174]
71259         * manual/locale.texi (setlocale): Document LOCPATH.
71261 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71263         [BZ #10210]
71264         * manual/process.texi (execle): Move @dots{} before last argument.
71266 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71268         [BZ #12047]
71269         * manual/charset.texi (Generic Charset Conversion): Fix typo
71270         (LC_TYPE -> LC_CTYPE).
71272 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71274         [BZ #5805]
71275         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71276         (scalbnf): Likewise.
71277         (scalbnl): Likewise.
71278         (scalbln): Likewise.
71279         (scalblnf): Likewise.
71280         (scalblnl): Likewise.
71281         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71282         (vwarnx): Likewise.
71283         (verr): Likewise.
71284         (verrx): Likewise.
71285         * manual/filesys.texi (telldir): Use braces around return type.
71286         * manual/llio.texi (mmap): Add space after comma.
71287         (mmap64): Likewise.
71288         * manual/math.texi (jn): Use @var{} on parameter names.
71289         (jnf): Likewise.
71290         (jnl): Likewise.
71291         (yn): Likewise.
71292         (ynf): Likewise.
71293         (ynl): Likewise.
71294         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71295         line.
71296         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71297         "...".
71298         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71299         (sched_get_priority_max): Likewise.
71300         * manual/signal.texi (sigvec): Add space after comma.
71301         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71302         names.
71303         (if_indextoname): Likewise.
71304         (if_freenameindex): Likewise.
71305         (sendto): Use ',' instead of '.' in prototype.
71306         * manual/startup.texi (syscall): Use @dots{} instead of literal
71307         "...".
71308         * manual/stdio.texi (__fpending): Separate initial words of
71309         paragraph from @deftypefun line.
71310         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71311         "...".
71312         (vsyslog): Use @var{} on parameter names.
71313         * manual/terminal.texi (stty): Use @var{} on parameter names.
71314         * manual/users.texi (getutmp): Use @var{} on parameter names.
71315         (getutmpx): Likewise.
71317 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71319         [BZ #6884]
71320         * manual/stdio.texi (fopen): Fix typos in description of
71321         ",ccs=STRING".
71323 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71325         [BZ #4026]
71326         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71327         get clock_id definition.
71329 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71331         [BZ #4822]
71332         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71333         (madvise): Cast every argument to void on its own.
71335 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71337         [BZ #9902]
71338         * manual/startup.texi (Exit Status): Fix typo.
71340 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71342         [BZ #10140]
71343         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71344         * manual/examples/argp-ex2.c: Likewise.
71345         * manual/examples/argp-ex3.c: Likewise.
71347 2012-02-16  Richard Henderson  <rth@redhat.com>
71349         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71350         * sysdeps/s390/s390-32/initfini.c: Remove.
71351         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71352         * sysdeps/s390/s390-64/initfini.c: Remove.
71354 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71356         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71357         compiler output for sysdeps/generic/initfini.c.
71358         * sysdeps/sh/elf/initfini.c: Remove file.
71360 2012-02-16  David S. Miller  <davem@davemloft.net>
71362         [BZ #11494]
71363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71365         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71366         * sysdeps/sparc/crti.S: New file.
71367         * sysdeps/sparc/crtn.S: New file.
71368         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71369         * sysdeps/sparc/sparc64/Makefile: Likewise.
71371 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71373         [BZ #3335]
71374         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71376 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71378         [BZ #4822]
71379         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71381         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71382         (write, read, close): Likewise.
71383         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71385 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71387         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71388         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71389         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71390         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71391         <bits/signalfd.h>.
71392         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71394         bits/signalfd.h.
71396 2012-02-14  Marek Polacek  <polacek@redhat.com>
71398         * sysdeps/x86_64/crti.S: New file.
71399         * sysdeps/x86_64/crtn.S: New file.
71400         * sysdeps/x86_64/elf/initfini.c: Remove file.
71402 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71404         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71405         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71406         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71407         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71408         <bits/inotify.h>.
71409         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71410         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71411         bits/inotify.h.
71413 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71415         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71416         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71417         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71418         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71419         <bits/eventfd.h>.
71420         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71421         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71422         bits/eventfd.h.
71424 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71426         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71427         __feraiseexcept instead of feraiseexcept.
71429         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71430         nanosleep invocations.
71431         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71432         strings, and add error checking for a nanosleep invocations.
71434 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71436         Replace FSF snail mail address with URLs, as per GNU coding standards.
71437         Most of the snail mail addresses were wrong anyway, and omitting
71438         them makes the source code easier to maintain.  Almost all of the
71439         changes are to license notices and to locale LC_IDENTIFICATION
71440         addresses, except for this one:
71441         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71442         not its snail mail address.
71444 2012-02-09  Richard Henderson  <rth@twiddle.net>
71446         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71447         of kernel-features.h.
71449         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71451 2012-02-08  Marek Polacek  <polacek@redhat.com>
71453         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71454         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71455         * sysdeps/gnu/_G_config.h: Likewise.
71456         * sysdeps/generic/_G_config.h: Likewise.
71458 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71460         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71461         tests.
71462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71464         * sysdeps/powerpc/powerpc32/crti.S: New file.
71465         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71466         * sysdeps/powerpc/powerpc64/crti.S: New file.
71467         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71469         * Makeconfig (have-initfini): Don't set.
71470         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71471         * configure.in (nopic_initfini): Don't substitute.
71472         * config.h.in (HAVE_INITFINI): Don't #undef.
71473         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71474         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71476 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71478         Support crti.S and crtn.S provided directly by architectures.
71479         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71480         [crti.S in sysdirs] (omit-deps): Likewise.
71481         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71482         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71483         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71484         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71485         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71486         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71487         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71488         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71489         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71490         compiler output for sysdeps/generic/initfini.c.
71491         * sysdeps/i386/elf/Makefile: Remove file.
71492         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71494 2012-02-07  Marek Polacek  <polacek@redhat.com>
71496         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71497         * sysdeps/gnu/_G_config.h: Likewise.
71498         * sysdeps/mach/hurd/_G_config.h: Likewise.
71500 2012-02-07  Marek Polacek  <polacek@redhat.com>
71502         * math/Makefile (tests): Add tst-CMPLX2.
71503         * math/tst-CMPLX2.c: New file.
71505 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71507         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71509         * math/libm-test.inc (jn_test): Add missing L suffix.
71511 2012-02-06  Marek Polacek  <polacek@redhat.com>
71513         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71514         * sysdeps/i386/fpu/e_powf.S: Likewise.
71515         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71516         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71517         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71518         * sysdeps/i386/fpu/e_pow.S: Likewise.
71519         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71520         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71521         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71522         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71523         * sysdeps/i386/fpu/e_log2.S: Likewise.
71524         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71525         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71526         * sysdeps/i386/fpu/e_powl.S: Likewise.
71527         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71528         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71529         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71530         * sysdeps/i386/fpu/e_logl.S: Likewise.
71531         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71532         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71533         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71534         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71535         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71536         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71537         * sysdeps/i386/fpu/e_log.S: Likewise.
71538         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71539         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71540         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71541         * sysdeps/i386/fpu/e_logf.S: Likewise.
71542         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71543         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71544         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71545         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71546         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71547         * sysdeps/i386/fpu/e_log10.S: Likewise.
71548         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71549         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71550         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71551         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71552         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71553         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71554         * sysdeps/i386/asm-syntax.h: Likewise.
71555         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71556         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71557         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71558         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71559         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71560         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71561         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71562         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71563         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71564         * sysdeps/powerpc/sysdep.h: Likewise.
71565         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71566         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71568 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71570         [BZ #411]
71571         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71573 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71575         * sysdeps/i386/sysdep.h: Include <features.h>.
71576         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71577         version.
71579 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71581         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71582         Define.
71583         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71584         LOAD_PIC_REG_STR.
71586 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71588         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71589         (SETUP_PIC_REG): Use GET_PC_THUNK.
71590         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71591         macro.
71593 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71595         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71596         for non-PIC compilation.
71597         (SETUP_PIC_REG): Add .p2align directive.
71598         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71599         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71600         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71601         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71602         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71603         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71604         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71605         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71606         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71607         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71608         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71609         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71610         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71611         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71612         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71613         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71614         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71615         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71616         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71617         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71618         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71619         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71620         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71621         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71622         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71623         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71624         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71625         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71626         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71627         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71628         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71629         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71630         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71631         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71632         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71633         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71634         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71635         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71636         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71637         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71638         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71640 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71642         * math/tst-CMPLX.c: Include <stdio.h>.
71644 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71646         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71647         float.
71648         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71649         * sysdeps/sparc/bits/mathdef.h: Likewise.
71651 2012-01-31  Marek Polacek  <polacek@redhat.com>
71653         * libio/libio.h: Don't define _PARAMS.
71654         * locale/programs/config.h: Don't define PARAMS.
71655         * stdlib/strtol_l.c: Likewise.
71656         (__strtol_l): Remove PARAMS from the prototype.
71658 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71660         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71661         names.  Just use the correct names.  Remove unnecessary wrapper
71662         functions.
71663         * malloc/arena.c: Likewise.
71664         * malloc/hooks.c: Likewise.
71666         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71667         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71668         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71670 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71672         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71673         into tail calls.
71674         (update_get_addr): New function.
71675         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71676         GET_ADDR_MODULE parameter.
71678 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71680         * crypt/cert.c: Remove __STDC__ conditionals.
71681         * crypt/crypt-entry.c: Likewise.
71682         * crypt/crypt_util.c: Likewise.
71683         * libio/filedoalloc.c: Likewise.
71684         * libio/fileops.c: Likewise.
71685         * libio/genops.c: Likewise.
71686         * libio/iofclose.c: Likewise.
71687         * libio/iofdopen.c: Likewise.
71688         * libio/iofopen.c: Likewise.
71689         * libio/iofopen64.c: Likewise.
71690         * libio/iogetdelim.c: Likewise.
71691         * libio/iopopen.c: Likewise.
71692         * libio/obprintf.c: Likewise.
71693         * libio/oldfileops.c: Likewise.
71694         * libio/oldiofclose.c: Likewise.
71695         * libio/oldiofdopen.c: Likewise.
71696         * libio/oldiofopen.c: Likewise.
71697         * libio/oldiopopen.c: Likewise.
71698         * libio/wfiledoalloc.c: Likewise.
71699         * libio/wgenops.c: Likewise.
71700         * locale/programs/xmalloc.c: Likewise.
71701         * misc/syslog.c: Likewise.
71702         * stdio-common/xbug.c: Likewise.
71703         * string/memchr.c: Likewise.
71704         * string/memcmp.c: Likewise.
71705         * string/memrchr.c: Likewise.
71706         * string/rawmemchr.c: Likewise.
71707         * sysdeps/posix/getcwd.c: Likewise.
71708         * time/strftime_l.c: Likewise.
71710 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71712         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71713         * config.make.in (config-cflags-sse2avx): Define.
71714         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71715         Fix typo.
71717 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71719         * scripts/config.guess: Update from upstream config git repository.
71720         * scripts/config.sub: Likewise.
71722 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71724         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71725         (EM_NUM): Update.
71726         (R_TILEPRO_*, R_TILEGX_*): New macros.
71728         * scripts/firstversions.awk: Fix bug in version range handling.
71730         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71732         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71734         * include/sys/epoll.h: New file.
71735         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71736         libc_hidden_def.
71738 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71740         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71741         Avoid unnecessary __WORDSIZE == 64 test.
71742         (fmaxf): Use VEX format if possible.
71743         (fmax): Likewise.
71744         (fminf): Likewise.
71745         (fmin): Likewise.
71747         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71748         * math/math_private.h: Remove libc_fegetround* and
71749         libc_fesetround*.
71750         * sysdeps/i386/configure.in: Check for -msse2avx.
71751         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71752         also if SSE2AVX is defined.
71753         Remove libc_fegetround* and libc_fesetround*.
71754         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71755         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71756         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71757         of HAS_YMM_USABLE.
71758         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71759         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71760         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71761         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71762         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71764         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71766 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71768         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71769         size is not set.
71770         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71772 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71774         [BZ #13618]
71775         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71776         relocation.
71777         * Makeconfig (libm): Define.
71778         * elf/Makefile: Add rules to build and run tst-relsort1.
71779         * elf/tst-relsort1.c: New file.
71780         * elf/tst-relsort1mod1.c: New file.
71781         * elf/tst-relsort1mod2.c: New file.
71783 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
71785         * math/s_ldexp.c: Remove __STDC__ conditionals.
71786         * math/s_ldexpf.c: Likewise.
71787         * math/s_ldexpl.c: Likewise.
71788         * math/s_nextafter.c: Likewise.
71789         * math/s_nexttowardf.c: Likewise.
71790         * math/s_significand.c: Likewise.
71791         * math/s_significandf.c: Likewise.
71792         * math/s_significandl.c: Likewise.
71793         * math/w_jnl.c: Likewise.
71794         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71795         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71796         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71797         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71798         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71799         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71800         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71801         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71802         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71803         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71804         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71805         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71806         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71807         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71808         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71809         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71810         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71811         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71812         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71813         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71814         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71815         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71816         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71817         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71818         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71819         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71820         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71821         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71822         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71823         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71824         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71825         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71826         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71827         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71828         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71829         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71830         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71831         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71832         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71833         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71834         * sysdeps/ieee754/k_standard.c: Likewise.
71835         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71836         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71837         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71838         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71839         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71840         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71841         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71842         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71843         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71844         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71845         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71846         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71847         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71848         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71849         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71850         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71851         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71852         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71853         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71854         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71855         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71856         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71857         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71858         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71859         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71860         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71861         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71862         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71864         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71865         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71866         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71867         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71868         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71869         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71870         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71871         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71872         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71873         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71874         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71875         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71877         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71878         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71879         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71880         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71881         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71882         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71883         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71884         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71885         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71886         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71887         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71888         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71889         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71890         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71891         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71892         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71893         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71894         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71895         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71896         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71897         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71898         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71899         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71900         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71901         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71902         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71903         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71904         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71905         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71906         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71907         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71908         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71909         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71910         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71911         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71912         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71913         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71914         * sysdeps/ieee754/s_matherr.c: Likewise.
71915         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71916         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71917         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71918         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71920 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71922         * crypt/md5.h: Remove __STDC__ conditionals.
71923         * libio/libioP.h: Likewise.
71924         * locale/programs/config.h: Likewise.
71925         * sysdeps/generic/sysdep.h: Likewise.
71926         * sysdeps/i386/asm-syntax.h: Likewise.
71927         * sysdeps/s390/asm-syntax.h: Likewise.
71928         * sysdeps/unix/sysdep.h: Likewise.
71929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71932 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71934         * libio/libio.h: Remove __STDC__ conditionals.
71935         * malloc/obstack.h: Likewise.
71936         * math/complex.h: Likewise.
71937         * math/math.h: Likewise.
71938         * sysdeps/generic/_G_config.h: Likewise.
71939         * sysdeps/gnu/_G_config.h: Likewise.
71940         * sysdeps/mach/hurd/_G_config.h: Likewise.
71941         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71942         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71943         * sysdeps/sparc/bits/mathdef.h: Likewise.
71945 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71947         [BZ #13583]
71948         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71949         Clean up HAS_* macros.
71950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71951         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71952         possible.
71953         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71954         HAS_AVX.
71955         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71956         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71957         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71958         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71959         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71961 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71963         * elf/tst-unique3.cc (gets): Remove declaration.
71964         * elf/tst-unique3lib.cc (gets): Likewise.
71965         * elf/tst-unique3lib2.cc (gets): Likewise.
71966         * elf/tst-unique4.cc (gets): Likewise.
71968 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71970         * include/stdio.h: Add C++ protection.  Add gets declarations and
71971         definitions.
71972         * debug/tst-chk1.c: Don't declare gets here.
71973         * stdio-common/tst-gets.c: Likewise.
71975 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71977         * posix/glob: Remove directory.
71979 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71981         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71983 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71985         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71986         of the non-standard EPFNOSUPPORT.
71988 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71990         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71991         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71992         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71994 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71996         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71998 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72000         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72001         transient errors.
72002         * nscd/grpcache.c (cache_addgr): Likewise.
72003         * nscd/hstcache.c (cache_addhst): Likewise.
72004         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72005         * nscd/pwdcache.c (cache_addpw): Likewise.
72006         * nscd/servicescache.c (cache_addserv): Likewise.
72008 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72010         * malloc/malloc.c: Various cleanups.
72011         * malloc/hooks.c: Likewise.
72013         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72014         * stdlib/bug-fmtmsg1.c: New file.
72016         * stdlib/fmtmsg.c (init): Add missing unlock.
72017         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72019 2012-01-12  Marek Polacek  <polacek@redhat.com>
72021         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72022         and _GNU_SOURCE.
72024 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72026         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72027         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72028         macro to ensure uniqueness of label name.
72029         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72030         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72032 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72034         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72036         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72037         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72038         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72039         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72041 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72043         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72045         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72046         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72047         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72049         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72051         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72052         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72053         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72054         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72056         * math/bits/math-finite.h: Add ldexp support.
72058 2012-01-10  Marek Polacek  <polacek@redhat.com>
72060         * locale/programs/localedef.h (show_archive_content): Add noreturn
72061         attribute.
72063 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72065         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72067 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72069         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72071         * io/Makefile (headers): Add bits/poll2.h.
72073 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72076         typo #include statement.
72078 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72080         * include/sys/cdefs.h: Define __attribute_alloc_size.
72081         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72082         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72083         * elf/pldd.c: Likewise.
72084         * iconv/iconv_charmap.c: Likewise.
72085         * iconv/iconvconfig.c: Likewise.
72086         * iconv/strtab.c: Likewise.
72087         * locale/programs/locale.c: Likewise.
72088         * locale/programs/localedef.h: Likewise.
72089         * locale/programs/simple-hash.c: Likewise.
72090         * nscd/nscd.h: Likewise.
72091         * nss/makedb.c: Likewise.
72092         * sysdeps/generic/ldconfig.h: Likewise.
72093         * locale/programs/localedef.c: Remove xmalloc prototype.
72094         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72096 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72098         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72099         appropriate.
72101 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72103         * math/Makefile (tests): Add tst-CMPLX.
72104         * math/tst-CMPLX.c: New file.
72106         * math/complex.h (CMPLXL): Fix typo.
72108         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72109         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72110         GLIBC_2.16.
72111         * debug/tst-chk1.c: Add poll and ppoll tests.
72112         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72113         * include/sys/poll.h: Add hidden proto for ppoll.
72114         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72115         * sysdeps/mach/hurd/ppoll.c: Likewise.
72116         * io/ppoll.c: Likewise.
72117         * debug/poll_chk.c: New file.
72118         * debug/ppoll_chk.c: New file.
72119         * include/bits/poll2.h: New file.
72120         * io/bits/poll2.h: New file.
72122         [BZ #1350]
72123         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72125         * configure.in: static is always set to yes.  Remove.
72126         * config.make.in: Don't set build-static.
72127         * Makeconfig: Remove use of build-static.
72128         * dlfcn/Makefile: Likewise.
72129         * elf/Makefile: Likewise.
72130         * math/Makefile: Likewise.
72131         * misc/Makefile: Likewise.
72132         * nptl/Makefile: Likewise.
72133         * sysdeps/mach/hurd/Makefile: Likewise.
72135         * configure.in: PWD_P is not used anymore.
72136         * config.make.in: Remove PWD_P entry.
72138         * configure.in: Remove last remnants of RANLIB.
72139         No need to check for signed size_t anymore.
72140         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72141         and IA-64.
72142         Remove __builtin_expect test because we require at least gcc 3.4.
72143         * aclocal.m4: Likewise.
72145         * wcsmbs/mbrtoc16.c: Implement using towc function.
72146         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72147         * wcsmbs/wcsmbsload.c: Likewise.
72148         * iconv/gconv_simple.c: Likewise.
72149         * iconv/gconv_int.h: Likewise.
72150         * iconv/gconv_builtin.h: Likewise.
72151         * iconv/iconv_prog.c: Remove CHAR16 handling.
72153         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72155         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72157         * configure.in: Remove --with-elf and --enable-bounded options.
72158         Dont set base_machine for ia64.  More non-ELF conditions removed.
72159         Remove testing and setting of leading underscore information.
72160         * config.make.in (build-bounded): Set to no.
72161         * config.h.in: Remove NO_UNDERSCORES entry.
72162         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72163         them.
72164         * csu/start.c: Remove !NO_UNDERSCORE code.
72165         * locale/localeinfo.h: Likewise.
72166         * sysdeps/generic/machine-gmon.h: Likewise.
72167         * sysdeps/generic/sysdep.h: Likewise.
72168         * sysdeps/i386/sysdep.h: Likewise.
72169         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72170         * sysdeps/mach/sysdep.h: Likewise.
72171         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72172         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72173         * sysdeps/sh/sysdep.h: Likewise.
72174         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72175         * sysdeps/unix/i386/sysdep.S: Likewise.
72176         * sysdeps/unix/sparc/start.c: Likewise.
72177         * sysdeps/unix/sparc/sysdep.S: Likewise.
72178         * sysdeps/unix/sparc/sysdep.h: Likewise.
72179         * sysdeps/unix/start.c: Likewise.
72180         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72181         * sysdeps/x86_64/sysdep.h: Likewise.
72183 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72185         [BZ #13553]
72186         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72187         for non-gcc.
72188         * argp/argp-fmtstream.h: Use const instead __const.
72189         * argp/argp.h: Likewise.
72190         * assert/assert.h: Likewise.
72191         * bits/fenv.h: Likewise.
72192         * bits/sched.h: Likewise.
72193         * bits/sigset.h: Likewise.
72194         * bits/sigthread.h: Likewise.
72195         * catgets/nl_types.h: Likewise.
72196         * conform/data/pthread.h-data: Likewise.
72197         * crypt/crypt-private.h: Likewise.
72198         * crypt/crypt.h: Likewise.
72199         * crypt/crypt_util.c: Likewise.
72200         * ctype/ctype.h: Likewise.
72201         * debug/execinfo.h: Likewise.
72202         * debug/mbsnrtowcs_chk.c: Likewise.
72203         * debug/mbsrtowcs_chk.c: Likewise.
72204         * debug/wcsnrtombs_chk.c: Likewise.
72205         * debug/wcsrtombs_chk.c: Likewise.
72206         * debug/wcstombs_chk.c: Likewise.
72207         * dirent/dirent.h: Likewise.
72208         * dlfcn/dlfcn.h: Likewise.
72209         * elf/neededtest4.c: Likewise.
72210         * grp/grp.h: Likewise.
72211         * gshadow/gshadow.h: Likewise.
72212         * iconv/gconv.h: Likewise.
72213         * iconv/gconv_int.h: Likewise.
72214         * iconv/gconv_simple.c: Likewise.
72215         * iconv/iconv.h: Likewise.
72216         * iconv/loop.c: Likewise.
72217         * iconv/skeleton.c: Likewise.
72218         * include/aio.h: Likewise.
72219         * include/aliases.h: Likewise.
72220         * include/argz.h: Likewise.
72221         * include/arpa/inet.h: Likewise.
72222         * include/assert.h: Likewise.
72223         * include/dirent.h: Likewise.
72224         * include/dlfcn.h: Likewise.
72225         * include/execinfo.h: Likewise.
72226         * include/fcntl.h: Likewise.
72227         * include/fenv.h: Likewise.
72228         * include/glob.h: Likewise.
72229         * include/grp.h: Likewise.
72230         * include/libintl.h: Likewise.
72231         * include/mntent.h: Likewise.
72232         * include/netdb.h: Likewise.
72233         * include/pwd.h: Likewise.
72234         * include/rpc/netdb.h: Likewise.
72235         * include/sched.h: Likewise.
72236         * include/search.h: Likewise.
72237         * include/shadow.h: Likewise.
72238         * include/signal.h: Likewise.
72239         * include/stdio.h: Likewise.
72240         * include/stdlib.h: Likewise.
72241         * include/string.h: Likewise.
72242         * include/sys/socket.h: Likewise.
72243         * include/sys/stat.h: Likewise.
72244         * include/sys/statfs.h: Likewise.
72245         * include/sys/statvfs.h: Likewise.
72246         * include/sys/syslog.h: Likewise.
72247         * include/sys/time.h: Likewise.
72248         * include/sys/uio.h: Likewise.
72249         * include/time.h: Likewise.
72250         * include/unistd.h: Likewise.
72251         * include/utmp.h: Likewise.
72252         * include/wchar.h: Likewise.
72253         * include/wctype.h: Likewise.
72254         * inet/aliases.h: Likewise.
72255         * inet/arpa/inet.h: Likewise.
72256         * inet/netinet/ether.h: Likewise.
72257         * inet/netinet/in.h: Likewise.
72258         * intl/libintl.h: Likewise.
72259         * io/bits/fcntl2.h: Likewise.
72260         * io/fcntl.h: Likewise.
72261         * io/ftw.h: Likewise.
72262         * io/sys/poll.h: Likewise.
72263         * io/sys/stat.h: Likewise.
72264         * io/sys/statfs.h: Likewise.
72265         * io/sys/statvfs.h: Likewise.
72266         * io/utime.h: Likewise.
72267         * libio/bits/stdio.h: Likewise.
72268         * libio/bits/stdio2.h: Likewise.
72269         * libio/libio.h: Likewise.
72270         * libio/libioP.h: Likewise.
72271         * libio/stdio.h: Likewise.
72272         * locale/lc-ctype.c: Likewise.
72273         * locale/locale.h: Likewise.
72274         * login/utmp.h: Likewise.
72275         * malloc/arena.c: Likewise.
72276         * malloc/malloc.c: Likewise.
72277         * malloc/malloc.h: Likewise.
72278         * malloc/mcheck.c: Likewise.
72279         * malloc/mtrace.c: Likewise.
72280         * math/bits/mathcalls.h: Likewise.
72281         * math/fenv.h: Likewise.
72282         * math/math_private.h: Likewise.
72283         * misc/bits/error.h: Likewise.
72284         * misc/bits/syslog.h: Likewise.
72285         * misc/err.h: Likewise.
72286         * misc/error.h: Likewise.
72287         * misc/fstab.h: Likewise.
72288         * misc/mntent.h: Likewise.
72289         * misc/regexp.h: Likewise.
72290         * misc/search.h: Likewise.
72291         * misc/sgtty.h: Likewise.
72292         * misc/sys/mman.h: Likewise.
72293         * misc/sys/syslog.h: Likewise.
72294         * misc/sys/uio.h: Likewise.
72295         * misc/sys/xattr.h: Likewise.
72296         * misc/ttyent.h: Likewise.
72297         * nis/rpcsvc/ypclnt.h: Likewise.
72298         * nss/nss.h: Likewise.
72299         * posix/bits/unistd.h: Likewise.
72300         * posix/fnmatch.h: Likewise.
72301         * posix/glob.h: Likewise.
72302         * posix/sched.h: Likewise.
72303         * posix/spawn.h: Likewise.
72304         * posix/sys/wait.h: Likewise.
72305         * posix/unistd.h: Likewise.
72306         * posix/wordexp.h: Likewise.
72307         * pwd/pwd.h: Likewise.
72308         * resolv/netdb.h: Likewise.
72309         * resource/sys/resource.h: Likewise.
72310         * rt/aio.h: Likewise.
72311         * rt/bits/mqueue2.h: Likewise.
72312         * rt/mqueue.h: Likewise.
72313         * shadow/shadow.h: Likewise.
72314         * signal/signal.h: Likewise.
72315         * socket/send.c: Likewise.
72316         * socket/sendto.c: Likewise.
72317         * socket/sys/socket.h: Likewise.
72318         * stdio-common/printf.h: Likewise.
72319         * stdlib/bits/stdlib.h: Likewise.
72320         * stdlib/fmtmsg.h: Likewise.
72321         * stdlib/monetary.h: Likewise.
72322         * stdlib/stdlib.h: Likewise.
72323         * stdlib/ucontext.h: Likewise.
72324         * streams/stropts.h: Likewise.
72325         * string/argz.h: Likewise.
72326         * string/bits/string2.h: Likewise.
72327         * string/string.h: Likewise.
72328         * string/strings.h: Likewise.
72329         * sunrpc/rpc/auth.h: Likewise.
72330         * sunrpc/rpc/auth_des.h: Likewise.
72331         * sunrpc/rpc/clnt.h: Likewise.
72332         * sunrpc/rpc/netdb.h: Likewise.
72333         * sunrpc/rpc/pmap_clnt.h: Likewise.
72334         * sunrpc/rpc/xdr.h: Likewise.
72335         * sysdeps/generic/inttypes.h: Likewise.
72336         * sysdeps/generic/net/if.h: Likewise.
72337         * sysdeps/generic/sys/swap.h: Likewise.
72338         * sysdeps/gnu/net/if.h: Likewise.
72339         * sysdeps/gnu/utmpx.h: Likewise.
72340         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72341         * sysdeps/i386/i486/bits/string.h: Likewise.
72342         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72343         * sysdeps/s390/bits/string.h: Likewise.
72344         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72345         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72346         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72347         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72348         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72349         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72350         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72351         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72352         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72353         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72354         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72355         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72356         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72357         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72358         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72359         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72360         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72361         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72362         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72363         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72364         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72365         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72366         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72367         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72368         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72369         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72370         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72371         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72372         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72373         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72374         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72375         * sysvipc/sys/ipc.h: Likewise.
72376         * sysvipc/sys/msg.h: Likewise.
72377         * sysvipc/sys/sem.h: Likewise.
72378         * sysvipc/sys/shm.h: Likewise.
72379         * termios/termios.h: Likewise.
72380         * time/sys/time.h: Likewise.
72381         * time/time.h: Likewise.
72382         * wcsmbs/bits/wchar2.h: Likewise.
72383         * wcsmbs/uchar.h: Likewise.
72384         * wcsmbs/wchar.h: Likewise.
72385         * wctype/wctype.h: Likewise.
72387         [BZ #13551]
72388         * Makeconfig: Remove all but ELF support including AIX support.
72389         * Makerules: Likewise.
72390         * config.h.in: Likewise.
72391         * config.make.in: Likewise.
72392         * configure: Likewise.
72393         * configure.in: Likewise.
72394         * csu/Makefile: Likewise.
72395         * csu/version.c: Likewise.
72396         * debug/Makefile: Likewise.
72397         * dlfcn/Makefile: Likewise.
72398         * elf/Makefile: Likewise.
72399         * extra-lib.mk: Likewise.
72400         * iconv/Makefile: Likewise.
72401         * include/libc-symbols.h: Likewise.
72402         * include/shlib-compat.h: Likewise.
72403         * resolv/Makefile: Likewise.
72404         * resolv/res_libc.c: Likewise.
72405         * rt/Makefile: Likewise.
72406         * sysdeps/i386/asm-syntax.h: Likewise.
72407         * sysdeps/i386/sysdep.h: Likewise.
72408         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72409         * sysdeps/mach/sysdep.h: Likewise.
72410         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72411         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72412         * sysdeps/s390/asm-syntax.h: Likewise.
72413         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72414         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72415         * sysdeps/sh/sysdep.h: Likewise.
72416         * sysdeps/unix/sparc/sysdep.h: Likewise.
72417         * sysdeps/wordsize-32/divdi3.c: Likewise.
72418         * sysdeps/x86_64/sysdep.h: Likewise.
72420         * argp/Versions: Remove _argp_unlock_xxx.
72422         [BZ #13559]
72423         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72424         * abilist/libBrokenLocale.abilist: Likewise.
72425         * abilist/libanl.abilist: Likewise.
72426         * abilist/libc.abilist: Likewise.
72427         * abilist/libcrypt.abilist: Likewise.
72428         * abilist/libdl.abilist: Likewise.
72429         * abilist/libm.abilist: Likewise.
72430         * abilist/libnsl.abilist: Likewise.
72431         * abilist/libpthread.abilist: Likewise.
72432         * abilist/libresolv.abilist: Likewise.
72433         * abilist/librt.abilist: Likewise.
72434         * abilist/libthread_db.abilist: Likewise.
72435         * abilist/libutil.abilist: Likewise.
72436         * abilist/libnss_db.abilist: New file.
72438         * scripts/abilist.awk: Add support for indirect functions.
72440         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72442         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72444         * shlib-versions: Remove entries for ports architectures.
72446         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72447         files in ports.
72448         * elf/stackguard-macros.h: Remove support for IA-64.
72449         * elf/tst-auditmod1.c: Likewise.
72450         * sysdeps/generic/ldsodefs.h: Likewise.
72452         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72453         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72454         configure files.
72456         [BZ #13552]
72457         * configure.in: Remove --enable-omitfp support.
72458         * FAQ.in: Adjust.
72459         * config.make.in: Likewise.
72460         * Makeconfig: Likewise.
72461         * manual/install.texi: Likewise.
72463         In case anyone cares, the IA-64 architecture could move to ports.
72464         * sysdeps/ia64/*: Removed.
72465         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72466         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72468         [BZ #13555]
72469         * configure.in: Remove entries for unsupported architectures.
72471         [BZ #13533]
72472         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72473         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72474         routines.
72475         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72476         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72477         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72478         fall back to using wcrtomb.
72479         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72480         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72481         renaming.
72482         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72483         * wcsmbs/tst-c16c32-1.c: New file.
72485         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72486         local variable.
72488         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72490         * elf/tst-unique3.cc: Add explicit declaration of gets.
72491         * elf/tst-unique3lib.cc: Likewise.
72492         * elf/tst-unique3lib2.cc: Likewise.
72493         * elf/tst-unique4.cc: Likewise.
72495         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72497 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72499         [BZ #13566]
72500         * assert/assert.h (static_assert): Don't define for C++.
72501         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72502         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72504 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72506         * iconv/loop.c (single loop): Fix assertion in storing of
72507         remaining bytes.
72509         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72511 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72513         * posix/getconf.c: Update copyright year.
72514         * nss/getent.c: Likewise.
72515         * nss/makedb.c: Likewise.
72516         * iconv/iconvconfig.c: Likewise.
72517         * iconv/iconv_prog.c: Likewise.
72518         * elf/ldconfig.c: Likewise.
72519         * elf/pldd.c: Likewise.
72520         * elf/sotruss.ksh: Likewise.
72521         * catgets/gencat.c: Likewise.
72522         * csu/version.c: Likewise.
72523         * elf/ldd.bash.in: Likewise.
72524         * elf/sprof.c (print_version): Likewise.
72525         * locale/programs/locale.c: Likewise.
72526         * locale/programs/localedef.c: Likewise.
72527         * login/programs/pt_chown.c: Likewise.
72528         * nscd/nscd.c (print_version): Likewise.
72529         * debug/xtrace.sh: Likewise.
72530         * malloc/memusage.sh: Likewise.
72531         * malloc/mtrace.pl: Likewise.
72532         * debug/catchsegv.sh: Likewise.
72534 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72536         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72537         pure attribute.
72539 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72541         [BZ #13533]
72542         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72543         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72544         transformations.
72545         * iconv/gconv_int.h: Likewise.
72546         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72547         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72548         from libc for GLIBC_2.16.
72549         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72550         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72551         * wcsmbs/uchar.h: Really define mbstate_t.
72552         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72553         * wcsmbs/c16rtomb.c: New file.
72554         * wcsmbs/mbrtoc16.c: New file.
72555         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72556         for C/POSIX locale.
72557         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72558         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72560         * wcsmbs/wchar.h: Add missing __restrict.
72562 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72564         [BZ #13532]
72565         * time/Makefile (routines): Add timespec_get.
72566         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72567         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72568         timespec for ISO C11.
72569         * time/timespec_get.c: New file.
72570         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72571         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72573         [BZ #13531]
72574         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72575         * stdlib/stdlib.h: Declare aligned_alloc.
72576         * Versions.def: Add GLIBC_2.16 for libc.
72577         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72579         [BZ 13527]
72580         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72581         ISO C11.
72583         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72584         code.
72586         [BZ #13528]
72587         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72589         [BZ #13529]
72590         * assert/assert.h (static_assert): Define.
72592         * version.h: Update for 2.16 development version.
72594         [BZ #13526]
72595         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72596         _ISOC11_SOURCE.
72598         * version.h (RELEASE): Bump for 2.15 release.
72599         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72601         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72602         Patch by Marek Polacek <mpolacek@redhat.com>.
72604         * bits/byteswap.h: Protect long long constants with __extension__.
72605         * sysdeps/i386/bits/byteswap.h: Likewise.
72606         * sysdeps/ia64/bits/byteswap.h: Likewise.
72607         * sysdeps/s390/bits/byteswap.h: Likewise.
72608         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72610 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72612         [BZ #13540]
72613         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72614         destination buffer.
72615         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72617 2011-12-23  Marek Polacek  <polacek@redhat.com>
72619         * elf/dl-addr.c (determine_info): Add inline keyword.
72620         * elf/tst-auditmod4b.c (check_avx): Likewise.
72621         * elf/tst-auditmod6b.c (check_avx): Likewise.
72622         * elf/tst-auditmod6c.c (check_avx): Likewise.
72623         * elf/tst-auditmod7b.c (check_avx): Likewise.
72625 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72627         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72628         !__SSE_MATH__.
72630 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72632         [BZ #13540]
72633         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72634         processing for last bytes.
72636 2011-08-06  Bruno Haible  <bruno@clisp.org>
72638         [BZ #13061]
72639         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72640         U+0385, not to U+1FEE.
72642         [BZ #13062]
72643         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72644         entry for U+00A5 U+0301.
72646 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72648         [BZ #13166]
72649         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72650         buffer for the output is too small.
72652         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72653         optimization.
72655         [BZ #13185]
72656         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72657         SSE flags if possible.
72659 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72661         [BZ #13540]
72662         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72663         processing for last bytes.
72665 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72667         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72668         (syscall-list-default-options, syscall-list-default-condition)
72669         (syscall-list-includes): Define.
72670         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72671         list of ABIs and options and #if conditions for each ABI.  Do not
72672         handle common syscalls between ABIs specially.
72673         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72674         Remove.
72675         (syscall-list-variants, syscall-list-32bit-options)
72676         (syscall-list-32bit-condition, syscall-list-64bit-options)
72677         (syscall-list-64bit-condition): Define.
72678         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72679         (syscall-list-variants, syscall-list-32bit-options)
72680         (syscall-list-32bit-condition, syscall-list-64bit-options)
72681         (syscall-list-64bit-condition): Define.
72682         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72683         Remove.
72684         (syscall-list-variants, syscall-list-32bit-options)
72685         (syscall-list-32bit-condition, syscall-list-64bit-options)
72686         (syscall-list-64bit-condition): Define.
72687         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72688         Remove.
72689         (syscall-list-variants, syscall-list-32bit-options)
72690         (syscall-list-32bit-condition, syscall-list-64bit-options)
72691         (syscall-list-64bit-condition): Define.
72693 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72695         * locale/iso-639.def: Add brx entry.
72697         [BZ #13328]
72698         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72699         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72701         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72702         __feraiseexcept_renamed.
72704 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72706         [BZ #13538]
72707         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72708         EPOLLET with unsigned values.
72709         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72710         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72712         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72713         to large cancellation.
72714         * math/s_cacoshf.c: Likewise.
72715         * math/s_cacoshl.c: Likewise.
72717 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72719         [BZ #13305]
72720         [BZ #12786]
72721         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72722         * math/s_cacoshf.c: Likewise.
72723         * math/s_cacoshl.c: Likewise.
72725 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72727         [BZ #13439]
72728         * iconv/gconv.h: Define __GCONV_SWAP.
72729         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72730         * iconvdata/utf-16.c: Likewise.
72731         * iconvdata/utf-32.c: Likewise.
72733 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72735         [BZ #13524]
72736         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72737         numerator after shifting it by one limb.
72739 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72741         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72742         under [__USE_EXTERN_INLINES].
72744 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72746         [BZ #13446]
72747         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72749 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72751         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72752         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72753         optimized code.
72754         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72755         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72756         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72757         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72758         for strncasecmp/strncasecmp_l compilation.
72759         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72760         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72762 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72764         [BZ #13484]
72765         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72766         of __asm__.
72768 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72770         [BZ #13506]
72771         * time/tzfile.c (__tzfile_read): Check values from file header.
72773 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72775         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72776         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72777         * powerpc/powerpc32/dl-start.S: Likewise.
72778         * powerpc/powerpc32/elf/start.S: Likewise.
72779         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72780         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72781         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72782         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72783         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72784         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72785         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72786         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72787         * powerpc/powerpc32/fpu/s_round.S: Likewise.
72788         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72789         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72790         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72791         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72792         * powerpc/powerpc32/memset.S: Likewise.
72793         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72794         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72795         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72796         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72797         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72798         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72799         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72800         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72801         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72802         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72803         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72804         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72805         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72807 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72809         * math/libm-test.inc: Added more nearbyint tests.
72810         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72811         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72812         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72815 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
72817         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72818         FD_CLOEXEC.
72820 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72822         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72823         Add wcscpy-ssse3 wcscpy-c.
72824         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72825         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72826         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72827         * sysdeps/x86_64/wcschr.S: New file.
72828         * sysdeps/x86_64/wcsrchr.S: New file.
72829         * string/test-strcmp.c: Remove checking of wcscmp function for
72830         wrong alignments.
72831         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72832         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72833         wcsrchr-sse2 wcsrchr-c.
72834         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72835         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72836         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72837         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72838         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72839         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72840         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72841         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72842         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72843         * wcsmbc/wcschr.c (WCSCHR): New macro.
72845 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72847         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72848         * wcsmbs/test-wcsrchr.c: New file.
72849         * string/test-strrchr.c: Add wcsrchr support.
72850         (WIDE): New macro.
72851         * wcsmbs/test-wcscpy.c: New file.
72852         * string/test-strcpy.c: Add wcscpy support.
72853         (WIDE): New macro.
72855 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72857         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72858         the inner loop.
72860 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72862         [BZ #13472]
72863         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72865 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72867         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72868         Minor optimizations.
72870         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72871         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72872         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72874 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72876         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72877         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72878         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72879         for gcc to avoid warnings.
72880         * inet/Makefile (tests): Add tst-checks.
72881         * inet/tst-checks.c: New file.
72883         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72884         warning.
72886         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72887         __wmemcmp_sse2.
72889         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72890         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72892         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72894 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72896         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72897         problem.
72899         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72901 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72903         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72904         conditional on GCC version.
72905         (__arch_compare_and_exchange_val_8_acq)
72906         (__arch_compare_and_exchange_val_16_acq)
72907         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72908         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72909         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72911 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72913         * sysdeps/sh/backtrace.c: New file.
72915 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72917         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72918         parenthesis.
72920 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72922         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72923         falling back to utime.
72925 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72927         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72928         expectations for float.
72930 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72932         * locale/weight.h (findidx): Add parameter len.
72933         * locale/weightwc.h (findidx): Likewise.
72934         * posix/fnmatch_loop.c (FCT): Adjust caller.
72935         * posix/regcomp.c (build_equiv_class): Likewise.
72936         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72937         * posix/regexec.c (check_node_accept_bytes): Likewise.
72938         * string/strcoll_l.c (STRCOLL): Likewise.
72939         * string/strxfrm_l.c (STRXFRM): Likewise.
72941 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72943         * Makefile.in: Remove CVSOPT handling.
72944         * configure.in: Remove use of AC_REVISION.
72945         * iconvdata/Makefile (distribute): No need to filter out CVS.
72946         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72947         handling.
72949 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72951         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72952         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72953         [USE_AS_STRNCASECMP_L]: Likewise.
72954         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72955         NO_TLS_DIRECT_SEG_REFS.
72956         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72957         Fix argument offsets for non-PIC.
72958         [USE_AS_STRNCASECMP_L]: Likewise.
72959         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72960         NO_TLS_DIRECT_SEG_REFS.
72962 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72964         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72965         O_CLOEXEC.
72966         * locale/loadlocale.c (_nl_load_locale): Likewise.
72968 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72970         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72971         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72972         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72973         (SYSCALL_GETTIME): Set errno on error.
72975         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72976         count references to noai6ai_cached.
72978 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72980         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72982         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72983         FD_CLOEXEC for /proc/self/maps.
72985         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72986         FD_CLOEXEC for /proc/meminfo.
72988         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72989         gai.conf.
72991         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72992         FD_CLOEXEC for given file.
72994         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72996         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72997         FD_CLOEXEC for /etc/hosts.
72998         (_gethtent): Likewise.
73000         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73002         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73003         cancellation and set FD_CLOEXEC for /etc/netgroup.
73005         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73006         reading /etc/publickey.
73008         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73009         allow cancellation when reading /etc/group.
73011         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73012         cancellation.
73013         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73015         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73016         when using data file.
73018         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73020         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73021         (write_nis_obj): Use "c" and "e" in fopen.
73023         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73025         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73027         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73029         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73031         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73032         locale.alias.
73034         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73036         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73038         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73040         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73041         file parsing and set FD_CLOEXEC.
73043 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73045         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73047 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73049         * malloc/arena.c (arena_get2): Don't call reused_arena when
73050         _int_new_arena failed.
73052 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73054         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73055         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73056         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73057         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73058         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73059         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73060         to compile strcasecmp and strncasecmp.
73061         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73062         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73064         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73066 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73068         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73069         locale-defines.sym to gen-as-const-headers.
73070         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73071         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73073         to compile strcasecmp and strncasecmp.
73074         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73075         strcasecmp_l and strncasecmp_l.
73076         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73077         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73078         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73079         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73080         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73081         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73082         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73083         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73084         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73085         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73086         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73088 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73090         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73091         result of SYSDEP_GETTIME_CPU to retval.
73092         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73093         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73095         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73096         variable.
73098         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73099         mantissa words.
73100         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73102         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73103         from unused variable.
73105         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73106         DWARF definitions.
73107         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73108         for assembling.
73110         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73111         over namespaces.
73113         * sunrpc/rpc_prot.c (rejected): Fix case value.
73115         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73116         unsigned long long int to avoid warnings in shift.
73118         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73119         of use of trans.
73120         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73121         variable tmp.
73123         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73124         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73125         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73127         * nis/nis_table.c (nis_list): Use variable of correct type for
73128         result of __follow_path call.
73130 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73132         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73133         of math functions ceil, trunc, floor, round, and sqrt, when
73134         avaliable on the platform.
73135         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73136         name clash.
73137         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73138         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73139         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73141 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73143         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73144         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73146 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73148         * include/unistd.h: Fix __readlink return type.
73149         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73151 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73153         * stdlib/ucontext.h: Undo last change for makecontext.
73155 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73157         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73159         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73160         * setjmp/setjmp.h: Mark functions as non-leaf.
73161         * setjmp/bits/setjmp2.h: Likewise.
73162         * stdlib/ucontext.h: Likewise.
73164 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73166         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73167         (reused_arena): Don't check arena limit.
73168         (arena_get2): Atomically check arena limit.
73170 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73172         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73173         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73175         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73176         instructions.
73178 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73180         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73181         handler when locking.
73183         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73184         Fix size of allocated buffer.
73186 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73188         [BZ #10103]
73189         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73190         declarations for long double functions.
73191         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73193         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73195 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73197         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73198         installed.
73200         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73201         is disabled.
73203 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73205         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73207 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73209         * include/alloca.h (stackinfo_alloca_round): Define.
73210         (extend_alloca): Use it.
73211         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73212         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73213         here.
73215         * scripts/check-local-headers.sh: Ignore libaudit.h.
73217         * nscd/Makefile (extra-objs): Make recursively expanded.
73219 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73221         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73222         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73224         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73225         * posix/tst-rfc3484-2.c: Likewise.
73226         * posix/tst-rfc3484-3.c: Likewise.
73228         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73229         process_vm_writev.
73230         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73231         process_vm_writev.
73232         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73233         process_vm_writev from libc using GLIBC_2.15 version.
73235         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73237 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73239         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73240         stack usage.
73242 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73244         [BZ #13367]
73245         * nss/getent.c (initgroups_keys): Show error message in case no group
73246         names are given.
73248         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73249         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73250         __bump_nl_timestamp.
73251         * nscd/connections (nscd_init): When host database is served open
73252         netlink socket and request notification about configuration changes.
73253         (main_loop_poll): Track netlink file descriptor and bump timestamp
73254         in case data becomes available.
73255         (main_loop_epoll): Likewise.
73256         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73257         (database_pers_head): Add extra_data fileds.
73258         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73259         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73260         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73261         Adjust caller.
73262         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73263         in6ai data, call __free_in6ai.
73264         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73265         Add -DHAVE_NETLINK.
73266         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73267         interface information.  Reuse previous data if netlink timestamp
73268         is not changed.
73269         (__bump_nl_timestamp): New function.
73270         (__free_in6ai): New function.
73272 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73274         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73275         close_not_cancel_no_status here.
73276         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73278 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73280         [BZ #13276]
73281         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73282         return value.
73284         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73285         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73286         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73288 2011-07-03  Andreas Jaeger  <aj@suse.de>
73290         [BZ #10709]
73291         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73292         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73293         * math/libm-test.inc (sin_test): Add test case.
73295 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73297         [BZ #13337]
73298         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73299         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73301         * elf/chroot_canon.c (chroot_canon): Cleanups.
73303         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73305         [BZ #13335]
73306         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73307         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73309         * string/test-strchr.c: Make usable for strchrnul testing.
73310         * string/test-strchrnul.c: New file.
73311         * string/Makefile (strop-tests): Add strchrnul.
73313         * po/it.po: Update from translation team.
73314         * po/es.po: Likewise.
73316 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73318         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73319         the three constants needed as parameters.  Drop the others.
73320         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73321         __m128i_strloadu_tolower.
73322         Create and initialize variable zero and use it in all the places
73323         where _mm_setzero_si128 was used.
73325         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73326         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73327         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73328         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73329         anymore.
73330         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73331         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73332         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73333         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73334         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73335         __mpranred, __mptan.
73336         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73337         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73338         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73339         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73340         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73341         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73342         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73343         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73344         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73346 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73348         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73349         redefine if SHARED.
73350         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73352         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73353         wide char related routines to wcsmbs subdir.
73355 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73357         [BZ #13344]
73358         * misc/sys/cdefs.h (__THROWNL): Define.
73359         * posix/unistd.h: Use __THREADNL instead of __THREAD
73360         for memory synchronization functions.
73362 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73364         [BZ #13349]
73365         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73366         doesn't exist.
73367         * manual/stdio.texi (Obstack Streams): Node removed.
73369 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73371         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73372         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73373         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73375         * math/math_private.h (math_force_eval): Allow non-addressable
73376         arguments.
73377         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73379 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73381         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73382         file is not needed.
73384         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73385         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73386         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73387         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73388         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73389         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73390         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73391         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73392         Add AVX variants.
73393         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73394         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73395         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73396         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73397         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73398         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73399         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73400         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73401         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73402         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73403         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73404         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73405         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73406         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73407         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73408         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73409         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73410         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73411         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73413         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73414         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73416         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73417         place.  Use VEX encoding when compiling for AVX.
73419 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73421         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73422         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73424         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73426 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73428         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73429         useless if() expression.
73430         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73431         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73432         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73433         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73434         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73435         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73436         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73437         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73438         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73439         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73440         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73441         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73442         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73443         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73444         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73445         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73446         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73447         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73448         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73450         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73452 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73454         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73455         condition.
73456         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73458 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73460         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73461         .text section.  Avoid duplicate constants.
73462         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73464         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73466         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73467         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73468         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73469         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73470         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73471         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73472         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73473         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73474         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73475         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73476         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73477         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73478         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73479         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73480         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73481         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73482         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73483         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73484         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73485         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73486         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73487         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73488         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73489         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73490         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73491         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73492         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73493         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73494         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73495         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73496         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73497         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73498         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73499         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73500         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73501         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73502         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73503         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73504         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73505         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73506         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73508 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73510         * sysdeps/x86_64/dla.h: Move to ...
73511         * sysdeps/x86_64/fpu/dla.h: ...here.
73512         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73513         situations.  Use __builtin_fma only for gcc 4.6 and up.
73515         * config.make.in: Add have-mfma4 entry.
73516         * configure.in: Substitute libc_cv_cc_fma4.
73517         * math/Makefile (dbl-only-routines): Add sincostab.
73518         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73519         Use __sincostab not sincos.
73520         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73521         name is a macro.
73522         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73523         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73524         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73525         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73526         using __copysign.
73527         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73528         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73529         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73530         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73531         and __inv.
73532         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73533         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73534         __copysign.
73535         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73536         define aliases when function name is a macro.
73537         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73538         sysdeps/ieee754/dbl-64/sincos.tbl.
73539         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73540         fma4-enabled routines.
73541         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73542         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73543         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73544         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73545         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73546         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73547         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73548         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73549         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73550         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73551         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73552         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73553         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73554         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73555         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73556         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73557         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73558         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73559         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73560         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73561         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73562         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73563         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73564         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73565         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73566         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73567         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73568         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73569         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73570         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73572         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73573         rename.
73574         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73577         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73578         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73579         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73580         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73581         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73583 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73585         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73587 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73589         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73591         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73592         prediction.
73593         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73595         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73596         Remove unused variable magic_bits.
73597         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73599         * string/strnlen.c: Define and use STRNLEN macro.
73600         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73601         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73602         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73603         * wcsmbs/wcslen.c: Define and use WCSLEN.
73604         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73605         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73606         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73607         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73608         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73609         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73610         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73612 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73615         strnlen-sse2-no-bsf.
73616         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73617         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73618         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73619         Add strnlen support.
73620         (USE_AS_STRNLEN): New macro.
73621         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73622         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73623         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73624         * sysdeps/x86_64/wcslen.S: New file.
73626 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73628         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73629         XMM-moves are used for copying on small sizes.
73631 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73633         * wcsmbs/Makefile (strop-tests): Add wcschr.
73634         * wcsmbs/test-wcschr.c: New file.
73635         * string/test-strchr.c: Update.
73636         Add wcschr support.
73637         (WIDE): New macro.
73639 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73641         * wcsmbs/Makefile (strop-tests): Add wcslen.
73642         * wcsmbs/test-wcslen.c: New file.
73643         * string/test-strlen.c: Update.
73644         Add wcslen support.
73645         (WIDE): New macro.
73647 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73649         * po/it.po: Update from translation team.
73651 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73653         * sysdeps/x86_64/wcscmp.S: Update.
73654         Fix wrong comparison semantics.
73655         wcscmp shall use signed comparison not unsigned.
73656         Don't use substraction to avoid overflow bug.
73657         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73658         * wcsmbc/wcscmp.c: Likewise.
73659         * string/test-strcmp.c: Likewise.
73660         Add new tests to check cases with negative values.
73662 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73664         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73665         * sysdeps/x86_64/dla.h: ...here.  New file.
73666         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73667         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73670         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73671         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73672         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73673         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73674         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73676 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73678         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73679         __ynl_finite aliases.
73681 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73685         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73686         define DLA_FMA.
73687         [DLA_FMA] (EMULV): Use DLA_FMA.
73688         [DLA_FMA] (MUL12): Use EMULV.
73689         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73690         that are not needed.
73691         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73692         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73693         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73694         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73695         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73696         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73697         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73699 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73701         * math/s_nan.c: Undef __nan.
73702         * math/s_nanf.c: Undef __nanf.
73703         * math/s_nanl.c: Undef __nanl.
73704         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73705         "math_private.h".
73707 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73709         * math/s_catan.c: Add branch predictions.
73710         * math/s_catanf.c: Likewise.
73711         * math/s_catanh.c: Likewise.
73712         * math/s_catanhf.c: Likewise.
73713         * math/s_catanhl.c: Likewise.
73714         * math/s_catanl.c: Likewise.
73715         * math/s_cexp.c: Likewise.
73716         * math/s_cexpf.c: Likewise.
73717         * math/s_cexpl.c: Likewise.
73718         * math/s_clog.c: Likewise.
73719         * math/s_clog10.c: Likewise.
73720         * math/s_clog10f.c: Likewise.
73721         * math/s_clog10l.c: Likewise.
73722         * math/s_clogf.c: Likewise.
73723         * math/s_clogl.c: Likewise.
73724         * math/s_csqrt.c: Likewise.
73725         * math/s_csqrtf.c: Likewise.
73726         * math/s_csqrtl.c: Likewise.
73727         * math/s_ctanf.c: Likewise.
73728         * math/s_ctanh.c: Likewise.
73729         * math/s_ctanhf.c: Likewise.
73730         * math/s_ctanhl.c: Likewise.
73731         * math/s_ctanl.c: Likewise.
73733         * math/math_private.h: Define __nan, __nanf, __nanl.
73734         * math/s_cacosh.c: Include <math_private.h>.
73735         * math/s_cacoshl.c: Likewise.
73736         * math/s_casinh.c: Likewise.
73737         * math/s_casinhf.c: Likewise.
73738         * math/s_casinhl.c: Likewise.
73739         * math/s_ccos.c: Rely entire on ccosh.
73740         * math/s_ccosf.c: Rely entire on ccoshf.
73741         * math/s_ccosl.c: Rely entirely on ccoshl.
73742         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73743         Remove tests for FE_INVALID.
73744         * math/s_ccoshf.c: Likewise.
73745         * math/s_ccoshl.c: Likewise.
73746         * math/s_csin.c: Likewise.
73747         * math/s_csinf.c: Likewise.
73748         * math/s_csinh.c Likewise.
73749         * math/s_csinhf.c: Likewise.
73750         * math/s_csinhl.c: Likewise.
73751         * math/s_csinl.c: Likewise.
73752         * math/s_ctan.c: Likewise.
73753         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73754         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73755         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73757 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73760         compilation problems.
73762         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73763         __builtin_expect.
73765 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73767         * sysdeps/i386/configure.in: Test for -mfma4 option.
73768         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73769         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73770         COMMON_CPUID_INDEX_80000001.
73771         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73772         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73773         use it if FMA3 is not supported.
73774         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73776         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73777         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73779 2011-10-20  Andreas Schwab  <schwab@redhat.com>
73781         [BZ #12892]
73782         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73783         it would create a cycle with a link time dependency.
73785 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
73787         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73788         instruction.
73789         * string/Makefile (strop-tests): Add rawmemchr.
73790         * string/test-rawmemchr.c: New file.
73792         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73793         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
73794         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
73795         when compiling str{,n}casecmp and when AVX is available.  Hook up
73796         new optimized code in initializers.
73798 2011-10-19  Andreas Schwab  <schwab@redhat.com>
73800         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73801         __feraiseexcept instead of feraiseexcept.
73803 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
73805         * math/math_private.h: Define defaults for libc_fetestexcept and
73806         libc_feupdateenv.
73807         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73808         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73809         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73810         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73811         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73812         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73813         libc_fetestexcept and libc_feupdateenv.
73815         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73816         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73817         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73818         * sysdeps/x86_64/fpu/math_private.h: Define special version of
73819         libc_feholdexcept_setround.
73821         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73822         Add s_nearbyint-c and s_nearbyintf-c.
73823         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73824         nearbyintf inlines.
73825         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73826         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73827         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73828         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73830         * math/math_private.h: Define defaults for libc_fegetround,
73831         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73832         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73833         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73834         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73835         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73836         standard functions.
73837         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73838         Remove comments and hacks for old compiler versions.
73839         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73840         libc_fegetround, libc_fesetround, libc_feholdexcept, and
73841         libc_feholdexceptl.
73843 2011-10-18  Andreas Schwab  <schwab@redhat.com>
73845         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73846         (__feraiseexcept_renamed): Add __NTH.
73847         (feraiseexcept): Add __NTH.  Rename local variables to fix
73848         namespace violations.
73850 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
73852         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73854         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73856         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73857         recently added interfaces.
73858         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73860         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73861         about macro parameter expansion.
73863         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73864         __NO_MATH_INLINES is defined.  Cleanups.
73866         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73867         and __floorf is target has SSE4.1.
73868         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73869         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73870         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73871         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73873         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73874         name.
73875         (floorf): Likewise.
73877         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73879 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73881         * misc/sys/cdefs.h: Fix last change.
73883         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73884         database lookup.
73886 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73888         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73890         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73891         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73892         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73893         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73894         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73895         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73896         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73897         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73898         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73899         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73900         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73901         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73902         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73903         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73904         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73905         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73906         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73907         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73908         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73909         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73910         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73911         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73913         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73914         ceil, ceilf, floor, floorf.
73916         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73917         Perform IRELATIVE relocations last.
73919         * elf/do-rel.h: Add another parameter nrelative, replacing the
73920         local variable with the same name.  Change name of the function
73921         to end in Rel or Rela (uppercase).
73922         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73923         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73924         elf_dynamic_do_##reloc function.
73926 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73928         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73929         is sufficient, at least on modern CPUs.
73931         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73933         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73934         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73936         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73937         __expl_finite.
73938         * math/bits/math-finite.h: Add entries for exp.
73939         * math/e_expl.c: Add __*_finite alias.
73940         * sysdeps/i386/fpu/e_exp.S: Likewise.
73941         * sysdeps/i386/fpu/e_expf.S: Likewise.
73942         * sysdeps/i386/fpu/e_expl.c: Likewise.
73943         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73944         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73945         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73946         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73947         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73948         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73949         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73951         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73952         is sufficient, at least on modern CPUs.
73954         * ctype/ctype-info.c (__ctype_init): Define.
73955         * include/ctype.h (__ctype_init): Declare.
73956         (__ctype_b_loc): The variable is always initialized.
73957         (__ctype_toupper_loc): Likewise.
73958         (__ctype_tolower_loc): Likewise.
73959         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73960         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73962 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73964         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73966         * configure.in: Also look in $cxxmachine/include for C++ system
73967         headers.
73969 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73971         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73972         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73973         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73974         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73975         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73976         (USE_AS_WMEMCMP): New macro.
73977         Fixing indents.
73978         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73979         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73980         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73981         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73982         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73983         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73984         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73985         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73986         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73987         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73988         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73989         (USE_AS_WMEMCMP): New macro.
73990         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73991         * sysdeps/string/test-memcmp.c: Update.
73992         Fix simple_wmemcmp.
73993         Add new tests.
73994         * wcsmbs/wmemcmp.c: Update.
73995         (WMEMCMP): New macro.
73996         Fix overflow bug.
73998 2011-10-12  Andreas Jaeger  <aj@suse.de>
74000         [BZ #13268]
74001         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74003 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74005         * libio/iofwide.c (do_length): Avoid warning.
74007         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74009 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74011         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74013         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74014         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74015         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74016         * sysdeps/i386/i686/fpu/e_log.S: New file.
74017         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74018         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74020         * ctype/ctype.h: Add support for inlined isXXX functions when
74021         compiling C++ code.
74023 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74025         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74027         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74029 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74031         [BZ #13291]
74032         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74034 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74036         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74037         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74038         feraiseexcept.
74040         * sysdeps/x86_64/memrchr.S: Check for zero size.
74042         * string/stratcliff.c: Add memrchr tests.
74044 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74047         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74048         rawmemchr-sse2 rawmemchr-sse2-bsf.
74049         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74050         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74051         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74052         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74053         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74054         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74055         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74056         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74057         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74058         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74059         * string/memrchr.c (MEMRCHR): New macro.
74061 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74063         Add integration with gcc's -ffinite-math-only and optimize wrapper
74064         functions in libm.
74065         * Versions.def: Define GLIBC_2.15 version for libm.
74066         * math/Makefile (headers): Add bits/math-finite.h.
74067         * math/bits/math-finite.h: New file.
74068         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74069         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74070         * math/e_acoshl.c: Add __*_finite alias.
74071         * math/e_acosl.c: Likewise.
74072         * math/e_asinl.c: Likewise.
74073         * math/e_atan2l.c: Likewise.
74074         * math/e_atanhl.c: Likewise.
74075         * math/e_coshl.c: Likewise.
74076         * math/e_exp10.c: Likewise.
74077         * math/e_exp10f.c: Likewise.
74078         * math/e_exp10l.c: Likewise.
74079         * math/e_exp2l.c: Likewise.
74080         * math/e_fmodl.c: Likewise.
74081         * math/e_gammal_r.c: Likewise.
74082         * math/e_hypotl.c: Likewise.
74083         * math/e_j0l.c: Likewise.
74084         * math/e_j1l.c: Likewise.
74085         * math/e_jnl.c: Likewise.
74086         * math/e_lgammal_r.c: Likewise.
74087         * math/e_log10l.c: Likewise.
74088         * math/e_log2l.c: Likewise.
74089         * math/e_logl.c: Likewise.
74090         * math/e_powl.c: Likewise.
74091         * math/e_sinhl.c: Likewise.
74092         * math/e_sqrtl.c: Likewise.
74093         * math/e_scalb.c: Completely rewritten and optimized.
74094         * math/e_scalbf.c: Likewise.
74095         * math/e_scalbl.c: Likewise.
74096         * math/w_acos.c: Likewise.
74097         * math/w_acosf.c: Likewise.
74098         * math/w_acosl.c: Likewise.
74099         * math/w_acosh.c: Likewise.
74100         * math/w_acoshf.c: Likewise.
74101         * math/w_acoshl.c: Likewise.
74102         * math/w_asin.c: Likewise.
74103         * math/w_asinf.c: Likewise.
74104         * math/w_asinl.c: Likewise.
74105         * math/w_atan2.c: Likewise.
74106         * math/w_atan2f.c: Likewise.
74107         * math/w_atan2l.c: Likewise.
74108         * math/w_atanh.c: Likewise.
74109         * math/w_atanhf.c: Likewise.
74110         * math/w_atanhl.c: Likewise.
74111         * math/w_exp10.c: Likewise.
74112         * math/w_exp10f.c: Likewise.
74113         * math/w_exp10l.c: Likewise.
74114         * math/w_fmod.c: Likewise.
74115         * math/w_fmodf.c: Likewise.
74116         * math/w_fmodl.c: Likewise.
74117         * math/w_j0.c: Likewise.
74118         * math/w_j0f.c: Likewise.
74119         * math/w_j0l.c: Likewise.
74120         * math/w_j1.c: Likewise.
74121         * math/w_j1f.c: Likewise.
74122         * math/w_j1l.c: Likewise.
74123         * math/w_jn.c: Likewise.
74124         * math/w_jnf.c: Likewise.
74125         * math/w_log.c: Likewise.
74126         * math/w_logf.c: Likewise.
74127         * math/w_logl.c: Likewise.
74128         * math/w_log10.c: Likewise.
74129         * math/w_log10f.c: Likewise.
74130         * math/w_log10l.c: Likewise.
74131         * math/w_log2.c: Likewise.
74132         * math/w_log2f.c: Likewise.
74133         * math/w_log2l.c: Likewise.
74134         * math/w_pow.c: Likewise.
74135         * math/w_powf.c: Likewise.
74136         * math/w_powl.c: Likewise.
74137         * math/w_remainder.c: Likewise.
74138         * math/w_remainderf.c: Likewise.
74139         * math/w_remainderl.c: Likewise.
74140         * math/w_scalb.c: Likewise.
74141         * math/w_scalbf.c: Likewise.
74142         * math/w_scalbl.c: Likewise.
74143         * math/w_sqrt.c: Likewise.
74144         * math/w_sqrtf.c: Likewise.
74145         * math/w_sqrtl.c: Likewise.
74146         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74147         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74148         used.
74149         * math/math_private.h: Declare __kernel_standard_f.
74150         * math/w_cosh.c: Remove cruft and optimize a bit.
74151         * math/w_coshf.c: Likewise.
74152         * math/w_coshl.c: Likewise.
74153         * math/w_exp2.c: Likewise.
74154         * math/w_exp2f.c: Likewise.
74155         * math/w_exp2l.c: Likewise.
74156         * math/w_hypot.c: Likewise.
74157         * math/w_hypotf.c: Likewise.
74158         * math/w_hypotl.c: Likewise.
74159         * math/w_lgamma.c: Likewise.
74160         * math/w_lgamma_r.c: Likewise.
74161         * math/w_lgammaf.c: Likewise.
74162         * math/w_lgammaf_r.c: Likewise.
74163         * math/w_lgammal.c: Likewise.
74164         * math/w_lgammal_r.c: Likewise.
74165         * math/w_sinh.c: Likewise.
74166         * math/w_sinhf.c: Likewise.
74167         * math/w_sinhl.c: Likewise.
74168         * math/w_tgamma.c: Likewise.
74169         * math/w_tgammaf.c: Likewise.
74170         * math/w_tgammal.c: Likewise.
74171         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74172         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74173         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74174         Minor optimizations.  Pretty printing.  Remove cruft.
74175         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74176         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74177         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74178         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74179         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74180         * sysdeps/i386/fpu/e_asin.S: Likewise.
74181         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74182         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74183         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74184         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74185         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74186         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74187         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74188         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74189         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74190         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74191         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74192         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74193         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74194         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74195         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74196         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74197         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74198         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74199         * sysdeps/i386/fpu/e_log.S: Likewise.
74200         * sysdeps/i386/fpu/e_log10.S: Likewise.
74201         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74202         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74203         * sysdeps/i386/fpu/e_log2.S: Likewise.
74204         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74205         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74206         * sysdeps/i386/fpu/e_logf.S: Likewise.
74207         * sysdeps/i386/fpu/e_logl.S: Likewise.
74208         * sysdeps/i386/fpu/e_pow.S: Likewise.
74209         * sysdeps/i386/fpu/e_powf.S: Likewise.
74210         * sysdeps/i386/fpu/e_powl.S: Likewise.
74211         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74212         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74213         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74214         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74215         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74216         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74217         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74218         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74219         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74220         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74221         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74222         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74223         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74224         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74225         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74226         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74227         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74228         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74229         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74230         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74231         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74232         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74233         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74234         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74235         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74236         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74237         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74238         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74239         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74240         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74241         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74242         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74243         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74244         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74245         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74246         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74247         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74248         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74249         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74250         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74251         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74252         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74253         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74254         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74255         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74256         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74257         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74258         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74259         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74260         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74261         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74262         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74263         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74264         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74265         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74266         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74267         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74268         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74269         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74270         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74271         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74272         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74273         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74274         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74275         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74276         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74277         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74278         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74279         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74280         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74281         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74282         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74283         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74284         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74285         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74286         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74287         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74288         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74289         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74290         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74291         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74292         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74293         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74294         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74295         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74296         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74297         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74298         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74299         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74300         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74301         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74302         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74303         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74304         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74305         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74306         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74307         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74308         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74309         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74310         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74311         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74312         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74313         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74314         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74315         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74316         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74317         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74318         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74319         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74320         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74321         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74322         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74323         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74324         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74325         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74326         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74327         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74328         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74329         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74330         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74331         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74332         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74333         (__isnanf): Likewise.
74334         (__isinf_ns): Likewise.
74335         (__isinf_nsf): Likewise.
74336         (__finite): Likewise.
74337         (__finitef): Likewise.
74338         (__ieee754_sqrt): Define as macro.
74339         (__ieee754_sqrtf): Define as macro.
74340         (__ieee754_sqrtl): Define as macro.
74341         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74342         inlined copy.
74343         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74344         __FINITE_MATH_ONLY__ consistent.
74345         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74347 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74349         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74350         of rawmemchr.
74352         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74354 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74356         * po/ja.po: Update from translation team.
74358 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74360         * locale/programs/locarchive.c (prepare_address_space): New function.
74361         (create_archive, enlarge_archive, open_archive): Use it.
74363         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74364         inside [SHARED], where it is used.
74366         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74368         * nss/getent.c (netgroup_keys): Remove unused variable.
74369         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74371 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74373         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74374         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74375         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74376         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74377         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74378         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74379         * math/Makefile (libm-calls): Add s_isinf_ns.
74380         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74381         * math/multc3.c: Likewise.
74382         * math/s_casin.c: Likewise.
74383         * math/s_casinf.c: Likewise.
74384         * math/s_casinl.c: Likewise.
74385         * math/s_ccos.c: Likewise.
74386         * math/s_ccosf.c: Likewise.
74387         * math/s_ccosl.c: Likewise.
74388         * math/s_ctan.c: Likewise.
74389         * math/s_ctanf.c: Likewise.
74390         * math/s_ctanh.c: Likewise.
74391         * math/s_ctanhf.c: Likewise.
74392         * math/s_ctanhl.c: Likewise.
74393         * math/s_ctanl.c: Likewise.
74394         * math/w_fmod.c: Likewise.
74395         * math/w_fmodf.c: Likewise.
74396         * math/w_fmodl.c: Likewise.
74397         * math/w_remainder.c: Likewise.
74398         * math/w_remainderf.c: Likewise.
74399         * math/w_remainderl.c: Likewise.
74400         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74401         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74402         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74403         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74404         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74405         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74406         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74407         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74409         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74410         of the number.
74411         * stdio-common/printf_fphex.c: Likewise.
74412         * stdio-common/printf_size.c: Likewise.
74414         * math/e_exp10.c: Include math_private.h using <...> not "...".
74415         * math/e_exp10f.c: Likewise.
74416         * math/e_exp10l.c: Likewise.
74417         * math/e_exp2l.c: Likewise.
74418         * math/e_j0l.c: Likewise.
74419         * math/e_j1l.c: Likewise.
74420         * math/e_jnl.c: Likewise.
74421         * math/e_lgammal_r.c: Likewise.
74422         * math/e_rem_pio2l.c: Likewise.
74423         * math/e_scalb.c: Likewise.
74424         * math/e_scalbf.c: Likewise.
74425         * math/e_scalbl.c: Likewise.
74426         * math/k_cosl.c: Likewise.
74427         * math/k_sinl.c: Likewise.
74428         * math/k_tanl.c: Likewise.
74429         * math/s_cacoshf.c: Likewise.
74430         * math/s_catan.c: Likewise.
74431         * math/s_catanf.c: Likewise.
74432         * math/s_catanh.c: Likewise.
74433         * math/s_catanhf.c: Likewise.
74434         * math/s_catanhl.c: Likewise.
74435         * math/s_catanl.c: Likewise.
74436         * math/s_ccosh.c: Likewise.
74437         * math/s_ccoshf.c: Likewise.
74438         * math/s_ccoshl.c: Likewise.
74439         * math/s_cexp.c: Likewise.
74440         * math/s_cexpf.c: Likewise.
74441         * math/s_cexpl.c: Likewise.
74442         * math/s_clog.c: Likewise.
74443         * math/s_clog10.c: Likewise.
74444         * math/s_clog10f.c: Likewise.
74445         * math/s_clog10l.c: Likewise.
74446         * math/s_clogf.c: Likewise.
74447         * math/s_clogl.c: Likewise.
74448         * math/s_csin.c: Likewise.
74449         * math/s_csinf.c: Likewise.
74450         * math/s_csinh.c: Likewise.
74451         * math/s_csinhf.c: Likewise.
74452         * math/s_csinhl.c: Likewise.
74453         * math/s_csinl.c: Likewise.
74454         * math/s_csqrt.c: Likewise.
74455         * math/s_csqrtf.c: Likewise.
74456         * math/s_csqrtl.c: Likewise.
74457         * math/s_ctan.c: Likewise.
74458         * math/s_ctanf.c: Likewise.
74459         * math/s_ctanh.c: Likewise.
74460         * math/s_ctanhf.c: Likewise.
74461         * math/s_ctanhl.c: Likewise.
74462         * math/s_ctanl.c: Likewise.
74463         * math/s_ldexp.c: Likewise.
74464         * math/s_ldexpf.c: Likewise.
74465         * math/s_ldexpl.c: Likewise.
74466         * math/s_significand.c: Likewise.
74467         * math/s_significandf.c: Likewise.
74468         * math/s_significandl.c: Likewise.
74469         * math/w_acos.c: Likewise.
74470         * math/w_acosf.c: Likewise.
74471         * math/w_acosh.c: Likewise.
74472         * math/w_acoshf.c: Likewise.
74473         * math/w_acoshl.c: Likewise.
74474         * math/w_acosl.c: Likewise.
74475         * math/w_asin.c: Likewise.
74476         * math/w_asinf.c: Likewise.
74477         * math/w_asinl.c: Likewise.
74478         * math/w_atan2.c: Likewise.
74479         * math/w_atan2f.c: Likewise.
74480         * math/w_atan2l.c: Likewise.
74481         * math/w_atanh.c: Likewise.
74482         * math/w_atanhf.c: Likewise.
74483         * math/w_atanhl.c: Likewise.
74484         * math/w_cosh.c: Likewise.
74485         * math/w_coshf.c: Likewise.
74486         * math/w_coshl.c: Likewise.
74487         * math/w_dremf.c: Likewise.
74488         * math/w_exp10.c: Likewise.
74489         * math/w_exp10f.c: Likewise.
74490         * math/w_exp10l.c: Likewise.
74491         * math/w_exp2.c: Likewise.
74492         * math/w_exp2f.c: Likewise.
74493         * math/w_fmod.c: Likewise.
74494         * math/w_fmodf.c: Likewise.
74495         * math/w_fmodl.c: Likewise.
74496         * math/w_hypot.c: Likewise.
74497         * math/w_hypotf.c: Likewise.
74498         * math/w_hypotl.c: Likewise.
74499         * math/w_j0.c: Likewise.
74500         * math/w_j0f.c: Likewise.
74501         * math/w_j0l.c: Likewise.
74502         * math/w_j1.c: Likewise.
74503         * math/w_j1f.c: Likewise.
74504         * math/w_j1l.c: Likewise.
74505         * math/w_jn.c: Likewise.
74506         * math/w_jnf.c: Likewise.
74507         * math/w_jnl.c: Likewise.
74508         * math/w_lgamma.c: Likewise.
74509         * math/w_lgamma_r.c: Likewise.
74510         * math/w_lgammaf.c: Likewise.
74511         * math/w_lgammaf_r.c: Likewise.
74512         * math/w_lgammal.c: Likewise.
74513         * math/w_lgammal_r.c: Likewise.
74514         * math/w_log.c: Likewise.
74515         * math/w_log10.c: Likewise.
74516         * math/w_log10f.c: Likewise.
74517         * math/w_log10l.c: Likewise.
74518         * math/w_log2.c: Likewise.
74519         * math/w_log2f.c: Likewise.
74520         * math/w_log2l.c: Likewise.
74521         * math/w_logf.c: Likewise.
74522         * math/w_logl.c: Likewise.
74523         * math/w_pow.c: Likewise.
74524         * math/w_powf.c: Likewise.
74525         * math/w_powl.c: Likewise.
74526         * math/w_remainder.c: Likewise.
74527         * math/w_remainderf.c: Likewise.
74528         * math/w_remainderl.c: Likewise.
74529         * math/w_scalb.c: Likewise.
74530         * math/w_scalbf.c: Likewise.
74531         * math/w_scalbl.c: Likewise.
74532         * math/w_sinh.c: Likewise.
74533         * math/w_sinhf.c: Likewise.
74534         * math/w_sinhl.c: Likewise.
74535         * math/w_sqrt.c: Likewise.
74536         * math/w_sqrtf.c: Likewise.
74537         * math/w_sqrtl.c: Likewise.
74538         * math/w_tgamma.c: Likewise.
74539         * math/w_tgammaf.c: Likewise.
74540         * math/w_tgammal.c: Likewise.
74542         * po/ja.po: Update from translation team.
74544 2011-09-29  Andreas Jaeger  <aj@suse.de>
74546         [BZ #13179]
74547         * sunrpc/netname.c (netname2host): Fix logic.
74549         [BZ #6779]
74550         [BZ #6783]
74551         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74552         correctly.
74553         * math/w_remainder.c (__remainder): Likewise.
74554         * math/w_remainderf.c (__remainderf): Likewise.
74555         * math/libm-test.inc (remainder_test): Add test cases.
74557 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74559         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74560         sdiv_qrnnd.
74562 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74564         * string/test-memcmp.c: Avoid unncessary #defines.
74565         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74567 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74569         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74570         Use new sse2 version for core i3 - i7 as it's faster
74571         than sse42 version.
74572         (bit_Prefer_PMINUB_for_stringop): New.
74573         * sysdeps/x86_64/rawmemchr.S: Update.
74574         Replace with faster SSE2 version.
74575         * sysdeps/x86_64/memrchr.S: New file.
74576         * sysdeps/x86_64/memchr.S: Update.
74577         Replace with faster SSE2 version.
74579 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74581         * elf/dl-load.c (lose): Add cast to avoid warning.
74583 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74585         * po/ca.po: Update from translation team.
74587         * inet/getnetgrent_r.c: Hook up nscd.
74588         * nscd/Makefile (routines): Add nscd_netgroup.
74589         (nscd-modules): Add netgroupcache.
74590         (CFLAGS-netgroupcache.c): Define.
74591         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74592         (cache_search): Add const to second parameter.
74593         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74594         INNETGR.
74595         (dbs): Add netgrdb entry.
74596         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74597         (verify_persistent_db): Handle netgrdb.
74598         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74599         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74600         GETFDNETGR.
74601         (netgroup_response_header): Define.
74602         (innetgroup_response_header): Define.
74603         (datahead): Add netgroup_response_header and innetgroup_response_header
74604         elements.
74605         * nscd/nscd.conf: Add entries for netgroup cache.
74606         * nscd/nscd.h (dbtype): Add netgrdb.
74607         (_PATH_NSCD_NETGROUP_DB): Define.
74608         (netgroup_iov_disabled): Declare.
74609         (xmalloc, xcalloc, xrealloc): Move declarations here.
74610         (cache_search): Adjust prototype.
74611         Add netgroup-related prototypes.
74612         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74613         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74614         (__nscd_innetgr): Declare.
74615         * nscd/selinux.c (perms): Use access_vector_t as element type and
74616         add netgroup-related initializers.
74617         * nscd/netgroupcache.c: New file.
74618         * nscd/nscd_netgroup.c: New file.
74619         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74620         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74621         For four parameters use innetgr.
74622         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74623         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74624         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74625         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74627         * nscd/connections.c (register_traced_file): Don't register file
74628         for disabled databases.
74630 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74632         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74634         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74635         from tree and freeing node.
74637 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74639         * nss/nsswitch.c (__nss_database_lookup): Handle
74640         nss_parse_service_list out of memory case.
74642 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74644         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74645         out of memory case.
74647 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74649         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74650         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74651         pass it down.
74652         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74653         elf_machine_rela, elf_machine_lazy_rel.
74654         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74655         (ELF_DYNAMIC_DO_REL): Likewise.
74656         (ELF_DYNAMIC_DO_RELA): Likewise.
74657         (ELF_DYNAMIC_RELOCATE): Likewise.
74658         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74659         to ELF_DYNAMIC_DO_REL.
74660         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74661         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74662         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74663         elf_machine_rela.
74664         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74665         skip_ifunc, don't call ifunc function if non-zero.
74666         (elf_machine_rela): Likewise.
74667         (elf_machine_lazy_rel): Likewise.
74668         (elf_machine_lazy_rela): Likewise.
74669         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74670         (elf_machine_lazy_rel): Likewise.
74671         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74672         Likewise.
74673         (elf_machine_lazy_rel): Likewise.
74674         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74675         Likewise.
74676         (elf_machine_lazy_rel): Likewise.
74677         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74678         (elf_machine_lazy_rel): Likewise.
74679         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74680         (elf_machine_lazy_rel): Likewise.
74681         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74682         (elf_machine_lazy_rel): Likewise.
74683         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74684         (elf_machine_lazy_rel): Likewise.
74685         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74686         (elf_machine_lazy_rel): Likewise.
74687         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74688         (elf_machine_lazy_rel): Likewise.
74690 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74692         * nss/nss_files/files-init.c (_nss_files_init): Use static
74693         initialization for all the *_traced_file variables.
74695 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74697         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74699 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74701         [BZ #13226]
74702         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74704 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74706         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74707         Reread the line before reparsing it.
74709 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74711         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74713 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74714             Maxim Kuvyrkov  <maxim@codesourcery.com>
74715             Joseph Myers  <joseph@codesourcery.com>
74717         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74718         if needed for __stack_chk_guard.
74720 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74722         * sysdeps/posix/spawni.c (script_execute): Always define it.
74723         It will be optimized away if unused.
74724         (maybe_script_execute): New function.
74725         (__spawni): Call it.
74727         * Makerules: Don't include tls.make.
74728         (config-tls): Always set to thread.
74729         * tls.make.c: File removed.
74731 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74733         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74734         * config.make.in (CPPFLAGS-config): New substituted variable.
74736 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74738         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74740         [BZ #13192]
74741         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74742         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74744 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74746         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74747         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74748         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74749         (CALL_FAIL): Likewise.
74750         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74751         (CALL_FAIL): Macro removed.
74752         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74754 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74756         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74757         for __FINITE_MATH_ONLY__ == 1.
74759 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74761         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74762         __ieee754_sqrt instead of sqrt.
74763         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74764         __ieee754_sqrtf instead of sqrtf.
74765         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74766         __floorf instead of floorf.
74767         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74768         __floorf, __truncf instead of floorf, truncf.
74770 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74772         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74774         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74775         __extern_always_inline.
74776         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74777         32-bit.
74779 2011-09-14  Andreas Schwab  <schwab@redhat.com>
74781         * elf/rtld.c (dl_main): Also relocate in dependency order when
74782         doing symbol dependency testing.
74784 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
74786         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74787         Always define `refsym'.
74789 2011-09-13  Andreas Schwab  <schwab@redhat.com>
74791         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74792         (__FD_ELT): Renamed from __FDELT.
74793         * misc/bits/select2.h (__FD_ELT): Likewise.
74794         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74795         __FD_MASK instead of __FDELT, __FDMASK.
74796         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74797         Likewise.
74798         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74799         Likewise.
74801         * elf/Makefile (gen-ldd): Fix pattern.
74803         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74804         (init_tls): Likewise.
74806 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
74808         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74810 2011-09-12  Andreas Schwab  <schwab@redhat.com>
74812         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74813         `struct cmsghdr *' instead of `void *'.
74814         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74815         Likewise.
74817 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
74819         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74820         if non-absolute.
74821         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74822         ldd_rewrite_script.
74824 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
74826         * configure.in: Remove --with-tls option.
74827         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74828         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74829         out in case it is missing.
74830         * sysdeps/ia64/elf/configure.in: Likewise.
74831         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74832         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74833         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74834         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74835         * sysdeps/sh/elf/configure.in: Likewise.
74836         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74837         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74838         * sysdeps/x86_64/elf/configure.in: Likewise.
74839         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74840         * sysdeps/mach/hurd/tls.h: Likewise.
74842         [BZ #13067]
74843         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74845         [BZ #13090]
74846         * configure.in: Fix use of AC_INIT.
74848         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74850 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
74852         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74853         __set_errno.
74854         * malloc/hooks.c: Likewise.
74856         [BZ #11929]
74857         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74858         variables statically.
74859         (narenas): Initialize.
74860         (list_lock): Initialize.
74861         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74862         initializtion of main_arena and list_lock.  Small cleanups.
74863         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74864         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74865         Add initializers to main_arena and mp_.
74866         (malloc_state): Remove pagesize member.  Change all users to use
74867         GLRO(dl_pagesize).
74869         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74870         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74871         is always initialized.
74873         * malloc/malloc.c: Removed unused configurations and dead code.
74874         * malloc/arena.c: Likewise.
74875         * malloc/hooks.c: Likewise.
74876         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74878         * include/tls.h: Removed.  USE___THREAD must always be defined.
74879         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74880         * elf/dl-libc.c: Likewise.
74881         * elf/dl-tsd.c: Likewise.
74882         * include/errno.h: Likewise.
74883         * include/netdb.h: Likewise.
74884         * include/resolv.h: Likewise.
74885         * inet/herrno-loc.c: Likewise.
74886         * inet/herrno.c: Likewise.
74887         * malloc/arena.c: Likewise.
74888         * malloc/hooks.c: Likewise.
74889         * malloc/malloc.c: Likewise.
74890         * resolv/res-state.c: Likewise.
74891         * resolv/res_libc.c: Likewise.
74892         * sysdeps/i386/dl-machine.h: Likewise.
74893         * sysdeps/ia64/dl-machine.h: Likewise.
74894         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74895         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74896         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74897         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74898         * sysdeps/sh/dl-machine.h: Likewise.
74899         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74900         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74901         * sysdeps/unix/i386/sysdep.S: Likewise.
74902         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74903         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74904         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74907         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74908         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74909         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74910         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74912         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74913         * sysdeps/x86_64/dl-machine.h: Likewise.
74914         * tls.make.c: Likewise.
74916         * configure.in: Remove --with-__thread option.  Make tests for
74917         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74918         tls_model attribute fail if no support is available.  Remove
74919         USE_IN_LIBIO.
74920         * Makeconfig: Adjust for dropped configure option.  All features are
74921         now mandatory.
74922         * Makerules: Likewise.
74923         * Versions.def: Likewise.
74924         * argp/argp-fmtstream.c: Likewise.
74925         * argp/argp-fmtstream.h: Likewise.
74926         * argp/argp-help.c: Likewise.
74927         * assert/assert.c: Likewise.
74928         * config.h.in: Likewise.
74929         * config.make.in: Likewise.
74930         * configure: Likewise.
74931         * configure.in: Likewise.
74932         * csu/Versions: Likewise.
74933         * csu/init.c: Likewise.
74934         * elf/tst-audit2.c: Likewise.
74935         * elf/tst-tls10.c: Likewise.
74936         * elf/tst-tls10.h: Likewise.
74937         * elf/tst-tls11.c: Likewise.
74938         * elf/tst-tls12.c: Likewise.
74939         * elf/tst-tls14.c: Likewise.
74940         * elf/tst-tlsmod11.c: Likewise.
74941         * elf/tst-tlsmod12.c: Likewise.
74942         * elf/tst-tlsmod13.c: Likewise.
74943         * elf/tst-tlsmod13a.c: Likewise.
74944         * elf/tst-tlsmod14a.c: Likewise.
74945         * elf/tst-tlsmod15b.c: Likewise.
74946         * elf/tst-tlsmod16a.c: Likewise.
74947         * elf/tst-tlsmod16b.c: Likewise.
74948         * elf/tst-tlsmod7.c: Likewise.
74949         * elf/tst-tlsmod8.c: Likewise.
74950         * elf/tst-tlsmod9.c: Likewise.
74951         * gmon/gmon.c: Likewise.
74952         * grp/fgetgrent_r.c: Likewise.
74953         * grp/putgrent.c: Likewise.
74954         * hurd/fopenport.c: Likewise.
74955         * include/libc-symbols.h: Likewise.
74956         * include/tls.h: Likewise.
74957         * intl/gettextP.h: Likewise.
74958         * intl/loadinfo.h: Likewise.
74959         * locale/global-locale.c: Likewise.
74960         * locale/localeinfo.h: Likewise.
74961         * mach/devstream.c: Likewise.
74962         * malloc/arena.c: Likewise.
74963         * malloc/set-freeres.c: Likewise.
74964         * misc/err.c: Likewise.
74965         * misc/getttyent.c: Likewise.
74966         * misc/mntent_r.c: Likewise.
74967         * posix/getopt.c: Likewise.
74968         * posix/wordexp.c: Likewise.
74969         * pwd/fgetpwent_r.c: Likewise.
74970         * resolv/Versions: Likewise.
74971         * resolv/res_hconf.c: Likewise.
74972         * shadow/fgetspent_r.c: Likewise.
74973         * shadow/putspent.c: Likewise.
74974         * stdio-common/printf_fphex.c: Likewise.
74975         * stdio-common/tmpfile.c: Likewise.
74976         * stdlib/abort.c: Likewise.
74977         * stdlib/fmtmsg.c: Likewise.
74978         * sunrpc/auth_unix.c: Likewise.
74979         * sunrpc/clnt_perr.c: Likewise.
74980         * sunrpc/clnt_tcp.c: Likewise.
74981         * sunrpc/clnt_udp.c: Likewise.
74982         * sunrpc/clnt_unix.c: Likewise.
74983         * sunrpc/openchild.c: Likewise.
74984         * sunrpc/svc_simple.c: Likewise.
74985         * sunrpc/svc_tcp.c: Likewise.
74986         * sunrpc/svc_udp.c: Likewise.
74987         * sunrpc/svc_unix.c: Likewise.
74988         * sunrpc/xdr.c: Likewise.
74989         * sunrpc/xdr_array.c: Likewise.
74990         * sunrpc/xdr_rec.c: Likewise.
74991         * sunrpc/xdr_ref.c: Likewise.
74992         * sunrpc/xdr_stdio.c: Likewise.
74994 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74996         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74998 2011-07-03  Andreas Jaeger  <aj@suse.de>
75000         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75001         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75002         regenerate with gen-libm-tests.pl.
75004 2010-05-12  Petr Baudis  <pasky@suse.cz>
75006         [BZ #11589]
75007         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75008         around j0() zero points by switching to j1().
75009         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75010         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75011         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75012         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75014 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75016         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75017         instead of 0.
75018         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75019         instead of 0.
75020         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75021         Patch in part by Pavel Roskin <proski@gnu.org>.
75023         [BZ #13138]
75024         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75025         realloc.
75026         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75027         Free memory block if necessary.
75029         [BZ #12847]
75030         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75031         be NULL.  Don't lock in this case.
75033 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75035         * elf/elf.h (ELFOSABI_GNU): New macro.
75036         (ELFOSABI_LINUX): Define to that.
75038 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75040         * string/strncat.c (strncat): Undef the symbol in case it has been
75041         defined in bits/string.h.
75043 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75045         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75047         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75048         link map.
75050 2011-08-17  Andreas Jaeger  <aj@suse.de>
75052         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75054 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75055             Ian Lance Taylor  <iant@google.com>
75057         * math/libm-test.inc (lround_test): New testcase.
75058         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75060 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75062         * Makefile: Remove support for automatic cvs check-ins.
75063         * Makerules: Likewise.
75064         * config.make.in: Likewise.
75065         * configure.in: Likewise.
75066         * intl/Makefile: Likewise.
75067         * locale/Makefile: Likewise.
75068         * po/Makefile: Likewise.
75069         * posix/Makefile: Likewise.
75070         * sysdeps/gnu/Makefile: Likewise.
75071         * sysdeps/mach/hurd/Makefile: Likewise.
75072         * sysdeps/sparc/sparc32/Makefile: Likewise.
75074         [BZ #13118]
75075         * posix/Makefile (bug-regex32-ENV): Define.
75076         Patch by John Stanley <jpsinthemix@verizon.net>.
75078         * misc/Makefile (headers): Add bits/select2.h.
75079         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75080         * misc/bits/select2.h: New file.
75081         * include/bits/select2.h: New file.
75082         * debug/Makefile (routines): Add fdelt_chk.
75083         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75084         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75085         FD_ISSET.
75086         * debug/fdelt_chk.c: New file.
75088         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75089         * wcsmbs/test-wmemcmp.c: Likewise.
75090         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75091         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75093 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75095         * string/Makefile (strop-tests): Add memcmp.
75096         * string/test-wmemcmp.c: New file.
75097         * string/test-memcmp.c: Add wmemcmp support.
75099 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75101         [BZ #13153]
75102         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75103         2011-07-19 change.
75105         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75106         garbage value in a __mach_port_mod_refs call in the cases of the
75107         task-self and thread-self ports.
75109 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75111         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75113 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75115         * elf/dl-load.c (lose): Check for non-null L.
75117 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75119         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75121         * elf/dl-libc.c (dlerror_run): Pass back error code from
75122         dl_catch_error.
75124         [BZ #13123]
75125         * elf/dl-load.c (lose): Free l_origin if it is valid.
75127         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75128         names.
75129         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75130         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75131         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75132         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75133         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75134         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75136 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75138         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75139         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75140         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75141         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75142         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75143         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75144         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75145         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75146         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75147         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75149 2011-08-15  Alan Modra  <amodra@gmail.com>
75151         [BZ #13092]
75152         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75153         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75154         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75155         ppc_mcount to static-only-routines.
75156         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75157         __mcount_internal.
75158         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75159         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75161 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75163         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75164         for finite and infinity parameters.
75166 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75168         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75169         and add nop instructions for throughput optimization.
75170         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75172 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75174         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75175         aligned copy for power7 with vector-scalar instructions.
75176         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75178 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75181         AVX check.
75183 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75185         [BZ #13144]
75186         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75187         last change.
75189 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75191         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75192         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75193         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75194         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75195         clock_gettime.
75197 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75199         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75200         Forgot to demangle the pointer.
75202         * sysdeps/i386/sysdep.h: Define atom_text_section.
75203         * sysdeps/x86_64/sysdep.h: Likewise.
75204         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75205         section with atom_text_section.
75206         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75207         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75208         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75209         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75210         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75212         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75213         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75214         already be defined.  Change to take two parameters and don't assign
75215         result to variable.  Adjust all users.
75216         Define INTERNAL_GETTIME if not already defined.
75217         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75218         call.
75219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75220         HAVE_CLOCK_GETTIME_VSYSCALL.
75221         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75223         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75224         gettimeofday vsyscall, just use time.
75226 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75228         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75229         <errno.h>.
75231 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75233         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75234         syscall on x86-64.
75235         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75236         syscall.
75237         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75238         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75239         syscall if possible.
75241 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75243         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75244         e_ident.  Don't pass to find_mapsXX.
75245         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75247 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75249         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75250         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75251         * sysdeps/x86_64/multiarch/strchr.S: Update.
75252         Check bit_slow_BSF bit.
75253         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75254         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75255         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75257 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75259         [BZ #13134]
75260         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75261         before glibc 2.15.
75262         (tryshell): Define.
75263         (__spawni): Change last parameter to be flag.  Test
75264         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75265         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75266         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75267         * posix/spawni.c: Likewise.
75268         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75269         * posix/spawnp.c: Likewise.  Change normal version to use
75270         SPAWN_XFLAGS_USE_PATH.
75271         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75272         SPAWN_XFLAGS_TRY_SHELL.
75274         [BZ #13150]
75275         * posix/glob.h: Remove gcc 1.x support.
75277         [BZ #13068]
75278         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75280 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75282         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75283         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75284         strrchr-sse2-bsf
75285         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75286         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75287         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75288         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75289         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75290         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75292 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75294         * sysdeps/x86_64/wcscmp.S: New file.
75296         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75297         wcscmp-c wcscmp-sse2
75298         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75299         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75300         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75301         * wcsmbs/wcscmp.c: Allow renaming.
75303 2011-09-05  David S. Miller  <davem@davemloft.net>
75305         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75306         stack slot, rather than the struct return pointer slot.
75307         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75308         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75310         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75312 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75314         * po/ja.po: Update from translation team.
75316         [BZ #13144]
75317         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75318         kernel in 64-bit binaries.
75320 2011-09-01  David S. Miller  <davem@davemloft.net>
75322         * elf/elf.h (HWCAP_SPARC_*): Move to..
75323         * sysdeps/sparc/sysdep.h: this new file and add new values.
75324         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75325         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75326         _DL_HWCAP_COUNT to 24.
75327         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75328         entries.
75329         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75330         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75331         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75333         instead of magic constants.
75334         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75336 2011-08-31  David S. Miller  <davem@davemloft.net>
75338         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75339         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75340         Reimplement to do errno handling inline.
75341         (SYSCALL_ERROR_HANDLER): New macro.
75342         (__SYSCALL_STRING): Do not do errno handling in asm.
75343         (__CLONE_SYSCALL_STRING): Delete.
75344         (__INTERNAL_SYSCALL_STRING): Delete.
75345         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75346         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75347         (PSEUDO): Reimplement to do errno handling inline.
75348         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75349         (SYSCALL_ERROR_HANDLER): New macro.
75350         (__SYSCALL_STRING): Do not do errno handling in asm.
75351         (__CLONE_SYSCALL_STRING): Delete.
75352         (__INTERNAL_SYSCALL_STRING): Delete.
75353         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75354         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75355         i386.
75356         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75357         (inline_syscall*): Add 'err' argument.
75358         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75359         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75360         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75361         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75363         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75364         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75366 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75368         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75370 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75372         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75373         directive.
75375 2011-08-24  David S. Miller  <davem@davemloft.net>
75377         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75379 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75381         * elf/Makefile: Add rules to build and run unload8 test.
75382         * elf/unload8.c: New file.
75383         * elf/unload8mod1.c: New file.
75384         * elf/unload8mod1x.c: New file.
75385         * elf/unload8mod2.c: New file.
75386         * elf/unload8mod3.c: New file.
75388         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75389         it wasn't used.
75391 2011-08-23  David S. Miller  <davem@davemloft.net>
75393         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75394         subtract stack bias.
75395         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75396         %sp not %fp in calculations.
75397         (_JMPBUF_UNWINDS_ADJ): Likewise.
75399         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75400         (aio_suspend): Call it to force an exception region around the
75401         AIO_MISC_WAIT() invocation.
75403 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75405         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75406         backslash.
75408 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75410         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75411         protection macro.
75412         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75413         and <dl-machine.h>.
75414         (Elf64_FuncDesc): Remove.
75416 2011-08-22  David S. Miller  <davem@davemloft.net>
75418         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75419         sigaltstack check, add missing cfi directives.
75420         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75421         missing cfi directives, and sigaltstack handling.
75423 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75425         [BZ #11724]
75426         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75427         object is seen twice.
75428         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75430         * elf/Makefile (distribute): Add tst-initorder2.c.
75431         (tests): Add tst-initorder2.
75432         (modules-names): Add tst-initorder2a tst-initorder2b
75433         tst-initorder2c tst-initorder2d.  Add rules to build them.
75434         ($(objpfx)tst-initorder2.out): New rule.
75435         * elf/tst-initorder2.c: New file.
75436         * elf/tst-initorder2.exp: New file.
75438 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75440         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75442         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75443         dependencies back to end of function.
75445         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75446         $(elfobjdir)/ld.so.
75448 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75450         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75451         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75452         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75453         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75454         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75455         of __vdso_gettimeofday.
75456         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75457         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75458         attribute_hidden.
75459         (_libc_vdso_platform_setup): Remove initialization of
75460         __vdso_gettimeofday and __vdso_time.
75462 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75464         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75465         and fgetc_unlocked.
75466         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75467         getc_unlocked.
75469         * elf/dl-open.c (add_to_global): Report additions to the global scope
75470         for LD_DEBUG=scopes.
75471         (dl_open_worker): Also print scope of newly loaded dependencies.
75472         (_dl_show_scope): Indicate if there is no scope.
75474         [BZ #13114]
75475         * stdio-common/Makefile (tests): Add bug24.
75476         * stdio-common/bug24.c: New file.
75478 2011-08-19  Andreas Jaeger  <aj@suse.de>
75480         [BZ #13114]
75481         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75482         non-existant file when using close-on-exec mode.
75484 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75487         the very first instruction.
75489         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75490         the CFI state in the end.
75491         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75492         inclusion of dl-trampoline.h.
75493         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75495 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75497         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75498         expectations for long double.
75500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75501         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75503 2011-08-14  David S. Miller  <davem@davemloft.net>
75505         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75506         artificual limit depends upon the system page size.
75508 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75510         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75511         * resolv/Makefile: Define CFLAGS-libresolv.
75513 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75515         * nss/makedb.c (compute_tables): Make variables used in nested
75516         function static.
75518 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75520         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75521         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75522         if buffer was too small.
75524         * elf/pldd.c (main): Attach to all threads in the process.
75525         Rewrite /proc handling to use *at functions.
75527 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75529         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75530         specifies first scope to show.
75531         (dl_open_worker): Update callers.  Move printing scope of new
75532         object to before the relocation.
75533         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75534         * sysdeps/generic/ldsodefs.h: Update declaration.
75536         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75537         string for the scope number.
75539 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75541         * nscd/servicescache.c (cache_addserv): Make sure written is always
75542         initialized.
75544 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75546         * sysdeps/i386/i486/bits/atomic.h
75547         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75548         statement expression, so as to suppress "set but not used" warning.
75549         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75551         * string/strncat.c (STRNCAT): Use prototype definition.
75553         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75554         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75555         -Iprograms here.
75556         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75557         (localedef-modules): Add localedef.
75558         (locale-modules): Add locale.
75560         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75561         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75562         to avoid a warning.
75564 2011-08-14  David S. Miller  <davem@davemloft.net>
75566         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75567         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75569 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75571         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75572         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75573         * elf/rtld.c (dl_main): Set l_name of vDSO.
75574         Call _dl_show_scope when DL_DEBUG_SCOPES.
75575         (process_dl_debug): Recognize scopes flag and also set it for all.
75576         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75577         Declare _dl_show_scope.
75579         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75580         (do_dlopen): Pass caller_dlopen to dl_open.
75581         (__libc_dlopen_mode): Initialize caller_dlopen.
75583         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75584         of libc.  Make tolower call locale-independent.  Optimize a bit by
75585         using isdigit instead of isalnum.
75586         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75588 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75590         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75591         was a dependency or dynamically loaded.
75593 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75595         * intl/l10nflist.c: Allow architecture-specific pop function.
75596         * sysdeps/x86_64/l10nflist.c: New file.
75598         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75599         classification.
75601 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75603         * include/dirent.h: Add libc_hidden_proto for scandirat and
75604         scandirat64.  Don't declare __scandirat64.
75605         * dirent/scandirat.c: Add libc_hidden_def.
75606         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75607         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75609 2011-08-10  David S. Miller  <davem@davemloft.net>
75611         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75612         enum.
75613         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75614         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75615         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75617 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75619         * Versions.def [libc]: Add GLIBC_2.15.
75620         * dirent/Makefile (routines): Add scandirat and scandirat64.
75621         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75622         GLIBC_2.15.
75623         * dirent/dirent.h: Declare scandirat and scandirat64.
75624         * dirent/scandirat.c: New file.
75625         * dirent/scandirat64.c: New file.
75626         * sysdeps/wordsize-64/scandirat.c: New file.
75627         * sysdeps/wordsize-64/scandirat64.c: New file.
75628         * dirent/opendir.c: Define opendirat.
75629         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75630         using scandirat.
75631         * dirent/scandir64.c: Adjust for scandir.c change.
75632         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75633         __scandirat64, and __scandir_cancel_handler.
75634         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75635         additional parameter and use openat instead of open (outside of ld.so).
75636         Add new __opendir as wrapper around __opendirat.
75637         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75638         here without requiring old scandirat implementation.
75640 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75642         * dirent/scandir.c (cancel_handler): Renamed to
75643         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75644         defined.  Adjust users.
75645         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75646         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75648 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75650         * string/test-string.h (IMPL): Use __STRING to expand name and then
75651         stringify it.
75653         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75654         of cleanups.
75656 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75658         * string/Makefile: Update.
75659         (strop-tests): Append strncat.
75660         * string/test-wcscmp.c: New file.
75661         New comprehensive test for wcscmp.
75662         * string/test-strcmp.c: Update.
75663         (WIDE): New define.
75665 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75667         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75668         line.
75670 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75673         encoding to ACE if AI_IDN.
75675 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75677         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75678         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75680 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75682         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75683         Fix overflow bug in strncat.
75684         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75686         * string/test-strncat.c: Update.
75687         Add new tests for checking overflow bugs.
75689 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75691         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75692         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75693         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75694         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75695         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75696         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75697         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75698         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75699         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75701         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75702         (USE_AS_STRCAT): Define.
75703         Add strcat and strncat support.
75704         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75706 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75708         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75709         __n bigger than INT_MAX+1.
75710         (__strncmp_g): Likewise.
75712 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75714         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75715         * libio/stido.h: Likewise.
75717         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75718         (AF_NFC): Define.
75719         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75720         (AF_NFC): Define.
75722         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75723         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75724         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75725         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75726         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75728         [BZ #13021]
75729         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75730         installed.
75732         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75733         typo.
75734         (_dl_x86_64_save_sse): Likewise.
75736 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75738         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75739         OSXSAVE.
75740         (_dl_x86_64_save_sse): Likewise.
75742         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75744         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75746 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75748         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75749         change.
75750         (_dl_x86_64_save_sse): Use correct AVX check.
75752 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75754         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75755         bug in strncpy/strncat.
75756         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75758 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75760         * string/tester.c (test_strcat): Add tests for different alignments
75761         of source and destination.
75762         (test_strncat): Likewise.
75764 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75766         [BZ #12852]
75767         * posix/glob.c (glob): Check passed in values before using them in
75768         expressions to avoid some overflows.
75769         (glob_in_dir): Likewise.
75771         [BZ #13007]
75772         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75773         check for AVX enablement so that we don't crash with old kernels and
75774         new hardware.
75775         * elf/tst-audit4.c: Add same checks here.
75776         * elf/tst-audit6.c: Likewise.
75778         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75780 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
75782         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75784 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75786         * po/cs.po: Update from translation team.
75787         * po/bg.po: Likewise.
75789 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
75791         * misc/sys/cdefs.h: Add support for const attribute.
75792         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75793         to gnu_dev_{major,minor,makedev} functions.
75795 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
75797         * intl/dcigettext.c (get_output_charset): Add missing bracket.
75799 2011-07-20  Andreas Schwab  <schwab@redhat.com>
75801         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75802         strlen results.
75804 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75806         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75807         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75808         register in order to avoid conflicts with the soft frame pointer
75809         being held in r11 when necessary.
75810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75811         (INTERNAL_VSYSCALL_NCS): Likewise.
75813 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
75815         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75816         * elf/dl-fini.c (_dl_fini): Adjust caller.
75817         * elf/dl-close.c (_dl_close_worker): Likewise.
75818         * sysdeps/generic/ldsodefs.h: Adjust declaration.
75820 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75822         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75823         "aux_cache->nlibs < 0".
75825         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75826         in the reload-count case.
75828 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75831         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75832         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75833         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75834         * sysdeps/x86_64/multiarch/strcat.S: New file.
75835         * sysdeps/x86_64/multiarch/strncat.S: New file.
75836         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75837         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75838         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75839         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75840         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75841         (USE_AS_STRCAT): Define.
75842         Add strcat and strncat support.
75843         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75844         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75845         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75846         * string/strncat.c: Update.
75847         (USE_AS_STRNCAT): Define.
75848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75849         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75850         and i7.
75851         * sysdeps/x86_64/multiarch/init-arch.h
75852         (bit_Prefer_PMINUB_for_stringop): New.
75853         (index_Prefer_PMINUB_for_stringop): Likewise.
75854         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75855         bit_Prefer_PMINUB_for_stringop.
75857 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75859         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75860         buffer64.
75861         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75862         of casting of buffer.
75863         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75864         buffer32 and buffer64.
75865         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75866         writes instead of casting of buffer.
75867         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75868         buffer32.
75869         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75870         casting of buffer.
75872 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75874         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75876 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75878         * nscd/nscd.c (termination_handler): Don't do anything for a database
75879         if it has not yet been initialized.
75881 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75883         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75885 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75887         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75889 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75891         * po/nl.po: Update from translation team.
75892         * po/sv.po: Likewise.
75894 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75896         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75897         now disallowed by GCC.
75899         * configure.in (use-default-link): Default to yes if a test -shared
75900         link meets our qualifications.
75901         * configure: Regenerated.
75903         * config.make.in (output-format): New variable.
75904         * configure.in: Check for ld --print-output-format support.
75905         * configure: Regenerated.
75906         * Makerules ($(common-objpfx)format.lds)
75907         [$(output-format) != unknown]: Just use $(output-format),
75908         instead of the linker-script munging.
75910 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75912         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75913         of $(common-objpfx)shlib.lds.
75914         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75916         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75917         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75919         * configure.in (-z relro check): Adjust test code to add a large
75920         writable data section after it.
75921         * configure: Regenerated.
75923 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75925         * configure.in (-z relro check): Fix test code to make the variable
75926         truly const.
75927         * configure: Regenerated.
75929 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75931         * nscd/nscd.h (struct traced_file): Define.
75932         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75933         elements.  Add traced_files.
75934         (inotify_fd): Declare.
75935         (register_traced_file): Declare.
75936         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75937         (inotify_fd): Export.
75938         (resolv_conf_descr): Remove.
75939         (nscd_init): Move inotify descriptor creation to main.
75940         Don't register files for notification here.
75941         (register_traced_file): New function.
75942         (invalidate_cache): Don't use reset_res to determine whether to call
75943         res_init, go through the list of registered files.
75944         (main_loop_poll): The inotify descriptors are now stored in the
75945         structures for the traced files.
75946         (main_loop_epoll): Likewise.
75947         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75948         to __nss_disable_nscd.
75949         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75950         for a database anymore.  Check the records for all the registered
75951         files instead.
75952         * nss/Makefile (libnss_files-routines): Add files-init.
75953         (libnss_db-routines): Add db-init.
75954         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75955         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75956         * nss/nss_db/db-init.c: New file.
75957         * nss/nss_files/files-init.c: New file.
75958         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75959         __nss_lookup_function.
75960         (__nss_lookup_function): Call nss_load_library.
75961         (nss_load_all_libraries): New function.
75962         (__nss_disable_nscd): Take parameter with callback function for files
75963         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75964         used for the cached services.
75965         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75966         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75967         options for features to all the files in nscd.
75969         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75971 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75973         * csu/elf-init.c (__libc_csu_init): Comment typo.
75975 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75977         * po/pl.po: Update from translation team.
75978         * po/ja.po: Likewise.
75979         * po/ru.po: Likewise.
75980         * po/ko.po: Likewise.
75981         * po/fr.po: Likewise.
75983 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75985         * configure.in (.ctors/.dtors header and trailer check):
75986         Use an empirical test on a built program.
75987         * configure: Regenerated.
75989         * configure.in (-z relro check): Use an empirical test on a built DSO.
75990         Detect, but do not require, on ia64.
75991         * configure: Regenerated.
75993         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75994         Update tests that use readelf to use $READELF instead.
75995         * configure: Regenerated.
75997 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75999         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76000         if the result is not used.
76002 2011-07-05  Andreas Jaeger  <aj@suse.de>
76004         [BZ#9696]
76005         * stdlib/tst-strtod.c: Add testcase.
76007 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76009         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76010         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76011         The latter has a higher limit.  Take additional parameter to pass to
76012         the new function.
76013         (__pathconf): Pass file to __statfs_link_max.
76014         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76015         __statfs_link_max.
76016         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76017         __statfs_link_max.
76019         [BZ #12868]
76020         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76021         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76022         Handle Lustre.
76023         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76024         (__statfs_filesize_max): Likewise.
76025         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76027 2011-07-05  Andreas Jaeger  <aj@suse.de>
76029         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76031 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76033         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76034         `status' variable.
76035         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76036         Likewise.
76038 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76040         * Makefile (strop-tests): Add strncat.
76041         * string/test-strncat.c: New file.
76043 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76045         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76047 2011-06-21  Andreas Jaeger  <aj@suse.de>
76049         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76050         Copy rule from iconvdata/Makefile.
76052 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76054         [BZ #12922]
76055         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76056         but no long options are defined, just return 'W'.
76058 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76060         [BZ #9696]
76061         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76063 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76065         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76066         netgroups to read.
76067         (innetgr): Likewise.
76069 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76071         * config.make.in (install_root): Default to $(DESTDIR).
76073 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76075         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76077 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76079         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76081         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76082         containing directory rather than embedding absolute directory names.
76084         * scripts/check-local-headers.sh: Rewritten using awk.
76085         Match by word, not by line.  Print error messages for matches.
76086         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76088         * Makerules [shlib-lds-flags empty]:
76089         ($(common-objpfx)libc_pic.opts): New target.
76090         ($(common-objpfx)libc_pic.os.clean): New target.
76091         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76093         * config.make.in (OBJCOPY): New variable.
76094         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76095         * configure: Regenerated.
76097         * config.make.in (use-default-link): New variable.
76098         * configure.in (use_default_link): Grok --with-default-link to set it.
76099         * configure: Regenerated.
76100         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76101         (shlib-lds, shlib-lds-flags): Define to empty.
76103         * Makerules (shlib-lds): New variable.
76104         (shlib-lds-flags): New variable.
76105         (build-shlib, build-moduile, build-module-asneeded): Use it.
76106         ($(common-objpfx)libc.so): Use $(shlib-lds).
76107         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76108         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76110         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76111         DT_FLAGS/DT_FLAGS_1 with zero flags.
76113         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76114         linker script munging.
76116 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76118         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76119         as 128-bit value.
76120         * crypt/sha512.c (sha512_process_block): Perform total addition using
76121         128-bit if possible.
76122         (__sha512_finish_ctx): Likewise.
76123         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76124         as 64-bit value.
76125         * crypt/sha256.c (SWAP64): Define.
76126         (sha256_process_block): Perform total addition using 64-bit if
76127         possible.
76128         (__sha256_finish_ctx): Likewise.
76130 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76132         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76133         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76134         * nscd/hstcache.c (cache_addhst): Likewise.
76135         * nscd/grpcache.c (cache_addgr): Likewise.
76136         * nscd/aicache.c (addhstaiX): Likewise.
76137         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76139 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76141         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76142         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76143         * nscd/hstcache.c (cache_addhst): Likewise.
76144         * nscd/grpcache.c (cache_addgr): Likewise.
76145         * nscd/aicache.c (addhstaiX): Likewise.
76147 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76149         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76150         domain only when needed.
76152 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76155         is always restored.
76157 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76159         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76160         are re-adding the entry.
76161         * nscd/servicescache.c (cache_addserv): Likewise.
76163 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76165         * sysdeps/generic/dl-irel.h: fix protection against multiple
76166         inclusions.
76167         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76169 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76171         [BZ #12935]
76172         * malloc/memusage.sh: Fix quoting in message.
76173         * debug/xtrace.sh: Likewise.
76175         * configure.in: Remove support for --experimental-malloc option, make
76176         it the default.
76177         * config.make.in: Likewise.
76178         * malloc/Makefile: Likewise.
76180 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76182         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76183         two-byte characters.
76185 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76187         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76188         AC_CACHE_CHECK invocation.
76189         * configure: Regenerated.
76191         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76193 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76195         [BZ #12350]
76196         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76197         bit from old_res_options.
76199         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76201         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76202         value type for setfct.
76204 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76206         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76207         __gettimeofday instead of gettimeofday.
76209 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76211         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76213 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76215         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76217         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76218         info.
76220 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76223         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76224         strcpy-sse2-unaligned strncpy-sse2-unaligned
76225         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76226         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76227         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76228         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76229         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76230         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76231         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76232         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76233         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76234         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76235         (STRCPY): Support SSE2 and SSSE3 versions.
76237 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76239         [BZ #12874]
76240         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76241         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76242         kernels which artificially limit size of requests.
76244 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76246         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76247         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76248         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76249         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76250         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76251         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76252         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76253         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76254         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76255         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76256         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76257         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76258         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76259         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76260         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76262         Enable unaligned load optimization for Intel Core i3, i5 and i7
76263         processors.
76264         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76265         Define.
76266         (index_Fast_Unaligned_Load): Define.
76267         (HAS_FAST_UNALIGNED_LOAD): Define.
76269 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76271         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76273 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76275         [BZ #12907]
76276         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76277         until it is clear that the information is realy needed.
76278         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76280 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76284 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76286         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76287         /sys/devices/system/cpu/online if it is usable.
76289         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76290         reading the information from the /proc filesystem to once a second.
76292 2011-06-21  Andreas Jaeger  <aj@suse.de>
76294         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76295         NULL after inclusion of kernel headers.
76297 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76299         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76300         calls to internal_setent.
76302         [BZ #12885]
76303         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76304         addresses using gethostbyname4_r ignore IPv4 addresses.
76306         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76307         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76309         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76311 2011-06-20  David S. Miller  <davem@davemloft.net>
76313         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76314         inclusions.
76315         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76317         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76318         (elf_irel): Use it.
76319         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76320         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76321         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76322         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76323         * sysdeps/x86_64/dl-irel.h: Likewise.
76325         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76326         * elf/dl-sym.c: Likewise.
76328 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76330         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76331         need to dereference resplen2.
76333 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76335         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76337 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76339         * Makeconfig: Define vardbdir and inst_vardbdir.
76340         * nss/Makefile: Add rules to install db-Makefile.
76342         * nss/nss_db/db-XXX.c: Cleanup.
76344         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76345         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76346         GLIBC_PRIVATE.
76347         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76348         * nss/makedb.c: Implement -g option to specify that value strings
76349         are generated and should not be added to table iterated over for
76350         get*ent calls.
76351         * nss/nss_db/db-initgroups.c: New file.
76353         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76354         interface.
76356         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76357         (internal_getgrouplist): Adjust to name change.
76358         Update use_initgroups_entry if this is not the first call.
76359         * nss/databases.def: Add initgroups entry.
76361         * nss/makedb.c (compute_tables): Check result of multiple hash table
76362         sizes to minimize maximum chain length.
76364 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76366         * Versions.def: Add entry for libnss_db.
76367         * shlib-versions: Likewise.
76368         * nss/Makefile: Add rules to build libnss_db.
76369         * nss/Versions: Add libnss_db information.  Organize libnss_files
76370         entries better.
76371         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76372         makedb progra.  Some minor improvements to generate smaller files.
76373         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76374         here from...
76375         * nss/makedb.c: ...here.
76376         Improve database format to be smaller and require less memory at
76377         runtime.
76378         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76379         db anymore.
76380         * nss/nss_db/db-netgrp.c: Likewise.
76381         * nss/nss_db/db-open.c: Likewise.
76382         * nss/nss_files/flies-XXX.x: Adjust comments.
76383         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76384         * nss/nss_files/files-grp.c: Likewise.
76385         * nss/nss_files/files-hosts.c: Likewise.
76386         * nss/nss_files/files-network.c: Likewise.
76387         * nss/nss_files/files-proto.c: Likewise.
76388         * nss/nss_files/files-pwd.c: Likewise.
76389         * nss/nss_files/files-rpc.c: Likewise.
76390         * nss/nss_files/files-service.c: Likewise.
76391         * nss/nss_files/files-sgrp.c: Likewise.
76392         * nss/nss_files/files-spwd.c: Likewise.
76393         * nss/nss_db/db-alias.c: Removed.
76394         * nss/nss_db/dummy-db.h: Removed.
76396 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76398         * nss/makedb.c: Rewritten to not use database library.
76399         * nss/Makefile: Update to build new makedb program.
76401 2011-06-14  Andreas Jaeger  <aj@suse.de>
76403         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76404         memset declaration.
76406 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76408         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76409         tmpbuf.
76411 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76413         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76414         * elf/Makefile ($(objpfx)ld.so): Likewise.
76416         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76417         Don't list ld.so twice in dependencies.
76419         * posix/bug-regex31.c: Include <stdlib.h>.
76421         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76423         * nis/nss_compat/compat-spwd.c
76424         (getspent_next_nss_netgr): Remove unused variable.
76425         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76427         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76428         nonmembers" output to use the right array.
76430         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76432         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76434         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76435         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76436         * catgets/gencat.c (read_input_file): Likewise.
76437         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76439         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76440         variable definition inside #if's controlling its use.
76442         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76444         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76446         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76448         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76449         unreachable code.
76451         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76453         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76454         * configure: Regenerated.
76456         * Makerules: Revert last change.
76457         * elf/Makefile: Likewise.
76459 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76461         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76462         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76463         (reloc-link): Likewise.
76465 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76467         * elf/Makefile: Add rules to build pldd.
76468         * elf/pldd.c: New file.
76469         * elf/pldd-xx.c: New file.
76471 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76473         * version.h: Update for 2.15 development version.
76475 2011-06-07  David S. Miller  <davem@davemloft.net>
76477         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76478         ifuncs.
76479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76480         elf_machine_lazy_rel): Likewise.
76481         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76482         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76483         elf_machine_lazy_rel): Likewise.
76484         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76485         dl_hwcap via passed in argument.
76486         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76487         Likewise.
76489 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76491         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76493 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76495         [BZ #12849]
76496         * manual/fdl-1.1.texi: New file, verbatim from:
76497         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76498         * manual/lgpl-2.1.texi: New file, verbatim from:
76499         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76500         * manual/Makefile (licenses): New variable, list those new file names.
76501         (texis): Use it.
76502         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76504         * manual/fdl.texi: File removed.
76505         * manual/lesser.texi: File removed.
76506         * manual/libc.texinfo (Copying, Documentation License):
76507         Use new @include file names, put @appendix directive before @include.
76509 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76511         [BZ #12841]
76512         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76513         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76514         (mq_open): Add __NTH.
76516 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76519         Assume Intel Core i3/i5/i7 processor if AVX is available.
76521 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76523         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76524         typo.
76526 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76528         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76529         memory.  Use alloca_account.  Fix memory leak when retrying.
76531 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76533         * version.h (RELEASE): Bump for 2.14 release.
76534         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76536         * config.make.in (RANLIB): Remove entry.
76538 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76540         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76541         (libc.pot): Work around missing support for .ksh extension in xgettext.
76543         [BZ #12684]
76544         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76545         if both request failed.
76546         (send_dg): In case of server errors clear resplen or *resplen2.
76548         [BZ #12454]
76549         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76550         when there are multiple maps.
76551         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76552         (_dl_fini): Remove test here.
76554         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76556 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76558         [BZ #12350]
76559         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76560         bit from old_res_options.
76561         (gaih_inet): Likewise.
76563         [BZ #11099]
76564         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76565         as signed.
76567         * resolv/res_init.c (res_setoptions): Make the code more compact.
76569         [BZ #11558]
76570         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76571         set RES_USEVC.
76573         [BZ #11634]
76574         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76576         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76578         [BZ #11781]
76579         * malloc/malloc.h: Declare malloc hook variables as volatile.
76581         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76582         in last patch.
76584         [BZ #11799]
76585         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76586         raise in the comment.
76587         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76588         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76589         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76591 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76593         [BZ #12811]
76594         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76595         grow the buffers more if it already has to be sufficient.
76596         (build_wcs_upper_buffer): Likewise.
76597         * posix/regexec.c (check_matching): Likewise.
76598         (clean_state_log_if_needed): Likewise.
76599         (extend_buffers): Don't enlarge buffers beyond size of the input
76600         buffer.
76601         Patches mostly by Emil Wojak <emil@wojak.eu>.
76602         * posix/bug-regex32.c: New file.
76603         * posix/Makefile (tests): Add bug-regex32.
76605         * locale/findlocale.c (_nl_find_locale): Return right away if
76606         _nl_explode_name failed.
76607         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76609         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76611         * debug/xtrace.sh: Unify messages.
76612         * malloc/memusage.sh: Likewise.
76614         [BZ #12813]
76615         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76616         time symbol from vDSO.  Substitute with vsyscall if not available.
76617         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76618         __vdso_time.
76620         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76621         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76622         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76623         Add sendmmsg and internal_sendmmsg.
76624         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76625         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76626         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76628         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76629         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76630         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76632 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76634         [BZ #12813]
76635         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76636         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76637         available.
76638         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76639         __vdso_getcpu.
76641         [BZ #12814]
76642         * iconvdata/Makefile (tests): Add bug-iconv9.
76643         * iconvdata/bug-iconv9.c: New file.
76645 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76647         [BZ #12814]
76648         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76650 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76652         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76653         (struct user_regs_struct): Change intcs field back to cs.
76655 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76657         * po/ja.po: Update from translation team.
76659 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76661         [BZ #12795]
76662         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76663         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76665 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76667         * stdlib/longlong.h: Update from GCC.
76669 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76671         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76672         parameter name.
76673         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76674         Add parameter name.
76675         (__sysconf): Pass it down.
76677 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76679         [BZ #12671]
76680         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76681         some situations.
76682         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76683         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76684         add in in __libc_use_alloca calls.  Adjust callers.
76685         (glob): Use malloc in some situations.
76687         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76688         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76689         pltexit.
76691 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76693         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76694         and CLOCK_BOOTTIME_ALARM.
76696         [BZ #12782]
76697         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76698         is returned.
76700         * string/_strerror.c (__strerror_r): Print negative errors as signed
76701         numbers.
76703         [BZ #12777]
76704         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76705         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76706         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76708         * configure.in: Fix typo in redirection and correct removal of test
76709         files in two cases.
76711         [BZ #12788]
76712         * locale/setlocale.c (new_composite_name): Fix test to check for
76713         identical name of all categories.
76715         [BZ #12792]
76716         * libio/filedoalloc.c (local_isatty): New function.
76717         (_IO_file_doallocate): Use local_isatty.
76718         * stdio-common/perror.c (perror): In case a new stream is used
76719         forward the stream error.
76720         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76721         error flag.
76723 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76725         [BZ #11884]
76726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76727         alloca.
76728         * include/alloca.h (extend_alloca_account): Define.
76730         [BZ #11857]
76731         * posix/regex.h: Fix comments with documentation of user-accessible
76732         fields after compilation and describe correct free'ing of pattern
76733         after re_compile_pattern.
76734         Patch by Reuben Thomas <rrt@sc3d.org>.
76736 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76738         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76739         and -mno-altivec to prevent the compiler from using Altivec and/or
76740         VSX instructions when the corresponding registers are not available.
76742 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76744         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76746 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76748         * libio/freopen.c (freopen): Use __dup2, not dup2.
76749         * libio/freopen64.c (freopen64): Likewise.
76751 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76753         [BZ #12775]
76754         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76755         * math/Makefile (tests): Add test-powl.
76756         (CFLAGS-test-powl.c): Define.
76757         * math/test-powl.c: New file.
76759 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76761         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76763 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76765         [BZ #11837]
76766         * iconvdata/gb18030.c: Update to GB18020-2005.
76768 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76770         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76771         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76772         Patch by Aharon Robbins <arnold@skeeve.com>.
76774         [BZ #11892]
76775         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76776         on the stack.
76778         [BZ #11895]
76779         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76780         through underflows.
76782         [BZ #12766]
76783         * misc/error.c (error_at_line): Ensure file_name and old_file_name
76784         point to strings before performing equality test for error_one_per_line
76785         mode.
76787         [BZ #11697]
76788         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76790         [BZ #11820]
76791         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76792         (struct user_fpregs_struct): Avoid __uint*_t types.
76794         [BZ #6420]
76795         * malloc/mtrace.c (tr_where): Add additional parameter to point to
76796         symbol info.  Use it instead of calling _dl_addr locally.
76797         (lock_and_info): New function.
76798         (tr_freehook): Call lock_and_info and pass symbol info as additional
76799         parameter to tr_where.
76800         (tr_mallochook): Likewise.
76801         (tr_reallochook): Likewise.
76802         (tr_memalignhook): Likewise.
76804         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
76805         used and couldn't be at all thread-safe.
76807 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
76809         * libio/freopen.c (freopen): Don't close old file descriptor
76810         before the new one is opened.  Instead dup the new file descriptor
76811         to the old one after the new stream is created.
76812         * libio/freopen64.c (freopen64): Likewise.
76813         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76814         * libio/fileops.c (_IO_new_file_close_it): Handle new
76815         _IO_FLAGS2_NOCLOSE flag.
76816         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76817         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76818         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76819         _IO_FLAGS2_NOCLOSE flag.
76820         * include/unistd.h: Add hidden_proto for dup3.
76821         Define __have_dup3.
76822         * io/dup3.c: Define hidden symbol.
76823         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76825         [BZ #7101]
76826         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76827         when an incomplete long option is used.
76828         * posix/tst-getopt_long1.c: New file.
76829         * posix/Makefile (tests): Add tst-getopt_long1.
76831         [BZ #10138]
76832         * scripts/config.guess: Update from autoconf-2.68.
76833         * scripts/config.sub: Likewise.
76835         [BZ #10157]
76836         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76837         tests into ...
76838         (has_cpuclock): ...this.  New function.
76839         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76840         macro here based on has_cpuclock code.
76842         [BZ #10149]
76843         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76844         First byte (not low byte) is now always NUL.
76845         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76847         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76848         Use non-cancelable interfaces.
76850         [BZ #9809]
76851         * locale/iso-639.def: Add entry for Sorani.
76853         [BZ #11901]
76854         * include/stdlib.h: Move include protection to the right place.
76855         Define abort_msg_s.  Declare __abort_msg with it.
76856         * stdlib/abort.c (__abort_msg): Adjust type.
76857         * assert/assert.c (__assert_fail_base): New function.  Majority
76858         of code from __assert_fail.  Allocate memory for __abort_msg with
76859         mmap.
76860         (__assert_fail): Now call __assert_fail_base.
76861         * assert/assert-perr.c: Remove bulk of implementation.  Use
76862         __assert_fail_base.
76863         * include/assert.hL Declare __assert_fail_base.
76864         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76865         mmap.
76866         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76868 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76870         [BZ #11952]
76871         [BZ #12453]
76872         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76873         until all modules are registered in the DTV.
76874         * elf/Makefile: Add rules to build and run tst-tls19.
76875         * elf/tst-tls19.c: New file.
76876         * elf/tst-tls19mod1.c: New file.
76877         * elf/tst-tls19mod2.c: New file.
76878         * elf/tst-tls19mod3.c: New file.
76879         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76881         [BZ #12083]
76882         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76883         correctly.
76885         [BZ #12601]
76886         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76887         two-byte sequence errors.
76888         * iconvdata/Makefile (tests): Add bug-iconv8.
76889         * iconvdata/bug-iconv8.c: New file.
76891         [BZ #12626]
76892         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76893         buf2 definition.
76895         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76897         [BZ #12432]
76898         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76899         (dummy_getcfa): New function.
76900         (init): Get _Unwind_GetCFA address, use dummy if not found.
76901         (backtrace_helper): In recursion check, also check whether CFA changes.
76902         (__backtrace): Completely initialize arg.
76904         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76905         storing incomplete byte sequence in state object.  Avoid testing for
76906         guaranteed too small input if we know there is enough data available.
76908 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76910         * Makeconfig (+link-pie): Indent.
76911         * Rules (binaries-pie): Define if $(have-fpie) and
76912         $(build-shared).
76913         (binaries-shared): Also filter out $(binaries-pie).
76914         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76915         * nscd/Makefile (others-pie): Add nscd.
76916         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76917         ($(objpfx)nscd): Remove command override.
76918         * login/Makefile (others-pie): Add pt_chown.
76919         ($(objpfx)pt_chown): Remove command override.
76920         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76921         remove command overrides.
76923 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76925         * libio/tst_putwc.c: Fix error messages.
76927         [BZ #12724]
76928         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76929         currently writing and seek to current position when not.
76930         * libio/Makefile (tests): Add bug-fclose1.
76931         * libio/bug-fclose1.c: New file.
76933 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76935         [BZ #12511]
76936         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76937         don't set DF_1_NODELETE here.
76938         (do_lookup_x): When entering new entry test for copy relocation
76939         and if necessary set DF_1_NODELETE flag.
76940         * elf/tst-unique4.cc: New file.
76941         * elf/tst-unique4.h: New file.
76942         * elf/tst-unique4lib.cc: New file.
76943         * elf/Makefile: Add rules to build and run tst-unique4.
76944         Patch by Piotr Bury <pbury@goahead.com>.
76946 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76948         [BZ #12052]
76949         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76951         [BZ #12625]
76952         * misc/mntent_r.c (addmntent): Flush the stream after the output
76954         [BZ #12393]
76955         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76956         (is_trusted_path_normalize): Skip initial colon.  Append slash
76957         to empty buffer.  Duplicate is_trusted_path code but allow
76958         constructed patch to be prefix.
76959         (is_dst): Allow $ORIGIN followed by /.
76960         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76961         Correct testing of result of is_trusted_path_normalize
76962         (decompose_rpath): Fix warning.
76964 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76966         [BZ #11257]
76967         * grp/initgroups.c (internal_getgrouplist): When we found the service
76968         list through the initgroups entry in nsswitch.conf do not always
76969         continue on a successful lookup.  Don't always use the
76970         __nss_group_database value if it is set.
76971         * nss/nsswitch.conf (initgroups): Change action for successful db
76972         lookup to continue for compatibility.
76974 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76976         [BZ #11532]
76977         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76978         and CP774 modules.
76979         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76980         and CP774 modules.
76981         * iconvdata/tst-tables.sh: Likewise.
76982         * iconvdata/cp770.c: New file.
76983         * iconvdata/cp771.c: New file.
76984         * iconvdata/cp772.c: New file.
76985         * iconvdata/cp773.c: New file.
76986         * iconvdata/cp774.c: New file.
76987         * iconvdata/testdata/CP770: New file.
76988         * iconvdata/testdata/CP770..UTF8: New file.
76989         * iconvdata/testdata/CP771: New file.
76990         * iconvdata/testdata/CP771..UTF8: New file.
76991         * iconvdata/testdata/CP772: New file.
76992         * iconvdata/testdata/CP772..UTF8: New file.
76993         * iconvdata/testdata/CP773: New file.
76994         * iconvdata/testdata/CP773..UTF8: New file.
76995         * iconvdata/testdata/CP774: New file.
76996         * iconvdata/testdata/CP774..UTF8: New file.
76998         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76999         END CHARMAP line.
77000         * iconvdata/gen-8bit-gap.sh: Likewise.
77001         * iconvdata/gen-8bit.sh: Likewise.
77003         * locale/iso-639.def: Add ary entry.
77005         [BZ #11258]
77006         * locale/C-translit.h.in: Add U20A1 transliteration.
77008         [BZ #12178]
77009         * locale/iso-639.def: Add wae entry.
77010         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77012         [BZ #12545]
77013         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77014         for n.
77016         [BZ #12711]
77017         * locale/C-translit.h.in: Add entry for U20B9.
77018         Patch by pravin.d.s@gmail.com.
77020 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77022         [BZ #12713]
77023         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77024         ENAMETOOLONG use generic getcwd.
77025         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77026         in rtld.  Use *stat64.
77027         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77028         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77029         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77030         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77031         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77032         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77033         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77034         __fstatat64 macros.
77035         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77036         * dirent/rewinddir.c: Add libc_hidden_def.
77037         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77038         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77040         * include/dirent.h (__alloc_dir): Add flags parameter.
77041         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77042         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77043         __alloc_dir.
77044         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77045         from fdopendir if O_CLOEXEC is already set.
77047 2011-03-15  Alan Modra  <amodra@gmail.com>
77049         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77050         l_tls_firstbyte_offset non-zero.  Save padding offset in
77051         l_tls_firstbyte_offset for later use.
77052         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77053         freeing static tls block.
77055 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77057         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77058         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77059         being defined by the kernel headers.
77061 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77063         [BZ #12734]
77064         * resolv/resolv.h: Define RES_NOTLDQUERY.
77065         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77066         no-tld-query and set RES_NOTLDQUERY.
77067         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77068         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77069         modern BIND to search name as TLD unless forbidden.
77071 2011-05-07  Petr Baudis  <pasky@suse.cz>
77072             Ulrich Drepper  <drepper@gmail.com>
77074         [BZ #12393]
77075         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77076         (is_trusted_path): ...to here.
77077         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77078         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77079         using is_trusted_path_normalize() in setuid scripts.
77081 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77083         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77084         __BEGIN/__END_DECLS.
77086 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77088         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77089         NSS_STATUS_NOTFOUND if no record was found.
77091 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77093         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77094         (headers-not-in-tirpc): Remove rpc/netdb.h
77095         * resolv/netdb.h: Revert last change.
77097 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77099         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77100         circular dependency between libgcc.a and libc.a.
77102 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77104         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77105         * nis/Makefile: Don't install rpcsvc/*.
77106         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77107         instead of <rpc/types.h>.
77108         (MAXHOSTNAMELEN): Define.
77110 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77112         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77114 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77116         [BZ #12714]
77117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77118         gethostbyname4_r when IPv6 results are possible.
77120 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77122         [BZ #12723]
77123         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77124         _PC_PIPE_BUF handling.
77126 2011-04-30  Bruno Haible  <bruno@clisp.org>
77128         [BZ #12717]
77129         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77130         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77131         to 'int'.
77132         * inet/getnameinfo.c (getnameinfo): Likewise.
77134 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77136         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77137         to groups setting in database lookup.
77138         * nss/nsswitch.conf: Add initgroups entry.
77140 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77142         [BZ #12685]
77143         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77144         mode string.
77145         Patch by Eric Blake <eblake@redhat.com>.
77147 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77149         * sunrpc/Makefile (need-export-routines): Add svc_run.
77150         (routines): Remove svc_run.
77151         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77152         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77153         * sunrpc/svc_run.c (svc_run): Likewise.
77154         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77156 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77158         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77159         problem in reallocation in last patch.
77161 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77163         * sunrpc/Makefile: Move inclusion of Rules.
77165 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77167         * nss/nss_files/files-initgroups.c: New file.
77168         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77169         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77170         _nss_files_initgroups_dyn.
77172 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77174         * elf/elf.h (R_ARM_IRELATIVE): Define.
77176 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77178         * po/ru.po: Update from translation team.
77180 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77182         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77183         dependencies.
77185 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77187         [BZ #12653]
77188         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77189         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77190         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77191         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77192         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77194 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77196         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77197         differing bytes.
77198         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77199         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77200         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77202 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77204         [BZ #12420]
77205         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77206         storing it.
77207         * stdlib/bug-getcontext.c: New file.
77208         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77210 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77212         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77213         instructions into .machine "z9-109".
77214         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77215         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77217 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77219         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77220         between environment variables and auxiliary vector.
77222 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77224         * Makefile: Add rules to build linkobj/libc.so.
77225         * include/libc-symbols.h: Define libc_hidden_nolink.
77226         * include/rpc/auth.h: Mark functions which are to be hidden.
77227         * include/rpc/auth_des.h: Likewise.
77228         * include/rpc/auth_unix.h: Likewise.
77229         * include/rpc/clnt.h: Likewise.
77230         * include/rpc/des_crypt.h: Likewise.
77231         * include/rpc/key_prot.h: Likewise.
77232         * include/rpc/pmap_clnt.h: Likewise.
77233         * include/rpc/pmap_prot.h: Likewise.
77234         * include/rpc/pmap_rmt.h: Likewise.
77235         * include/rpc/rpc_msg.h: Likewise.
77236         * include/rpc/svc.h: Likewise.
77237         * include/rpc/svc_auth.h: Likewise.
77238         * include/rpc/xdr.h: Likewise.
77239         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77240         * nss/Makefile: Likewise.
77241         * sunrpc/Makefile: Don't install headers.  Build library with normal
77242         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77243         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77244         for the compat linking library.  Remove use of INTDEF/INTUSE.
77245         * sunrpc/auth_none.c: Likewise.
77246         * sunrpc/auth_unix.c: Likewise.
77247         * sunrpc/authdes_prot.c: Likewise.
77248         * sunrpc/authuxprot.c: Likewise.
77249         * sunrpc/clnt_gen.c: Likewise.
77250         * sunrpc/clnt_perr.c: Likewise.
77251         * sunrpc/clnt_raw.c: Likewise.
77252         * sunrpc/clnt_simp.c: Likewise.
77253         * sunrpc/clnt_tcp.c: Likewise.
77254         * sunrpc/clnt_udp.c: Likewise.
77255         * sunrpc/clnt_unix.c: Likewise.
77256         * sunrpc/des_crypt.c: Likewise.
77257         * sunrpc/des_soft.c: Likewise.
77258         * sunrpc/get_myaddr.c: Likewise.
77259         * sunrpc/key_call.c: Likewise.
77260         * sunrpc/key_prot.c: Likewise.
77261         * sunrpc/netname.c: Likewise.
77262         * sunrpc/pm_getmaps.c: Likewise.
77263         * sunrpc/pm_getport.c: Likewise.
77264         * sunrpc/pmap_clnt.c: Likewise.
77265         * sunrpc/pmap_prot.c: Likewise.
77266         * sunrpc/pmap_prot2.c: Likewise.
77267         * sunrpc/pmap_rmt.c: Likewise.
77268         * sunrpc/publickey.c: Likewise.
77269         * sunrpc/rpc_cmsg.c: Likewise.
77270         * sunrpc/rpc_common.c: Likewise.
77271         * sunrpc/rpc_dtable.c: Likewise.
77272         * sunrpc/rpc_prot.c: Likewise.
77273         * sunrpc/rpc_thread.c: Likewise.
77274         * sunrpc/rtime.c: Likewise.
77275         * sunrpc/svc.c: Likewise.
77276         * sunrpc/svc_auth.c: Likewise.
77277         * sunrpc/svc_authux.c: Likewise.
77278         * sunrpc/svc_raw.c: Likewise.
77279         * sunrpc/svc_run.c: Likewise.
77280         * sunrpc/svc_simple.c: Likewise.
77281         * sunrpc/svc_tcp.c: Likewise.
77282         * sunrpc/svc_udp.c: Likewise.
77283         * sunrpc/svc_unix.c: Likewise.
77284         * sunrpc/svcauth_des.c: Likewise.
77285         * sunrpc/xcrypt.c: Likewise.
77286         * sunrpc/xdr.c: Likewise.
77287         * sunrpc/xdr_array.c: Likewise.
77288         * sunrpc/xdr_float.c: Likewise.
77289         * sunrpc/xdr_intXX_t.c: Likewise.
77290         * sunrpc/xdr_mem.c: Likewise.
77291         * sunrpc/xdr_rec.c: Likewise.
77292         * sunrpc/xdr_ref.c: Likewise.
77293         * sunrpc/xdr_sizeof.c: Likewise.
77294         * sunrpc/xdr_stdio.c: Likewise.
77296 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77298         [BZ #12650]
77299         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77300         * sysdeps/ia64/dl-tls.h: Likewise.
77301         * sysdeps/powerpc/dl-tls.h: Likewise.
77302         * sysdeps/s390/dl-tls.h: Likewise.
77303         * sysdeps/sh/dl-tls.h: Likewise.
77304         * sysdeps/sparc/dl-tls.h: Likewise.
77305         * sysdeps/x86_64/dl-tls.h: Likewise.
77306         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77308 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77310         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77311         rpath element also skip the following colon.
77312         (expand_dynamic_string_token): Add is_path parameter and pass
77313         down to DL_DST_REQUIRED and _dl_dst_substitute.
77314         (decompose_rpath): Call expand_dynamic_string_token with
77315         non-zero is_path.  Ignore empty rpaths.
77316         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77317         with zero is_path.
77319 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77322         Make cancelable.
77324 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77326         [BZ #12655]
77327         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77328         Patch by Filipe David Manana <fdmanana@apache.org>.
77330 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77332         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77333         Maintain aligned stack.
77334         (CHECK_RSP): Remove unused macro.
77336 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77338         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77339         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77341 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77343         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77345         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77347 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77349         [BZ #12518]
77350         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77351         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77352         * sysdeps/x86_64/memmove.c: New file.
77353         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77354         (memcpy): Renamed to ...
77355         (__new_memcpy): This.
77356         (memcpy): Provide GLIBC_2_14 memcpy.
77357         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77358         (memcpy): Provide GLIBC_2_2_5 memcpy.
77360 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77362         [BZ #12631]
77363         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77365 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77367         * misc/syncfs.c: New file.
77368         * misc/Makefile (routines): Add syncfs.
77369         * posix/unistd.h: Declare syncfs.
77370         * sysdeps/unix/syscalls.list: Add syncfs.
77372 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77374         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77375         open_by_handle_at.
77376         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77377         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77379         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77381         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77382         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77384 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77386         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77387         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77388         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77389         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77390         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77391         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77392         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77394         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77395         sync_file_range.c with -fexceptions.
77396         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77397         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77398         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77399         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77400         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77401         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77402         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77403         sync_file_range as cancellation point
77404         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77405         now a wrapper around __call_sync_file_range with cancellation handling.
77406         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77407         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77408         function name to __call_sync_file_range.
77409         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77410         Add call_sync_file_range.
77412 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77415         bits/timex.h.
77417 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77419         * iconv/iconv.h: Fix typo in comment.
77420         * io/fcntl.h: Likewise.
77421         * libio/stdio.h: Likewise.
77422         * posix/spawn.h: Likewise.
77423         * posix/unistd.h: Likewise.
77424         * stdlib/stdlib.h: Likewise.
77425         * time/time.h: Likewise.
77426         * wcsmbs/wchar.h: Likewise.
77428         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77429         open_by_handle): Add.
77430         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77431         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77432         Augment a few comments.
77433         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77434         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77435         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77437         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77438         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77439         open_by_handle.
77441         * io/fcntl.h (AT_EMPTY_PATH): Define.
77443 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77445         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77446         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77447         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77448         to...
77449         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77450         * Versions.def: Add GLIBC_2.14.
77451         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77452         Export.
77454 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77456         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77457         round counter.
77458         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77460 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77462         [BZ #12597]
77463         * string/test-strncmp.c (do_page_test): New function.
77464         (check2): Likewise.
77465         (test_main): Call check2.
77466         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77468 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77470         [BZ #12587]
77471         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77472         Handle cache information in CPU leaf 4.
77473         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77475 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77477         [BZ #12583]
77478         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77479         character representation.
77480         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77482 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77484         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77485         END(__isnan) to END(__isnanf) to match function entry point/label
77486         EALIGN(__isnanf,...).
77488 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77490         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77492 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77494         [BZ #12510]
77495         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77496         copy from the symbol referenced in the relocation to initialize the
77497         used variable.
77498         Patch by Piotr Bury <pbury@goahead.com>.
77499         * elf/Makefile: Add rules to build and tst-unique3.
77500         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77501         * elf/tst-unique3.cc: New file.
77502         * elf/tst-unique3.h: New file.
77503         * elf/tst-unique3lib.cc: New file.
77504         * elf/tst-unique3lib2.cc: New file.
77506         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77508 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77510         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77511         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77512         to _start.
77514 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77516         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77517         to-be-loaded object along a path to loader is ld.so.
77519 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77520             Ulrich Drepper  <drepper@gmail.com>
77522         * sysdeps/x86_64/memset.S: After aligning destination, code
77523         branches to different locations depending on the value of
77524         misalignment, when multiarch is enabled. Fix this.
77526 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77528         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77529         Set _x86_64_preferred_memory_instruction for AMD processsors.
77530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77531         Set bit_Prefer_SSE_for_memop for AMD processors.
77533 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77535         * libio/fmemopen.c (fmemopen): Optimize a bit.
77537 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77539         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77541 2011-03-03  Roland McGrath  <roland@redhat.com>
77543         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77545 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77547         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77548         __bzero_ultra1 instead of __memset_ultra1.
77550 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77551             Ulrich Drepper  <drepper@gmail.com>
77553         [BZ #12509]
77554         * include/link.h (struct link_map): Add l_orig_initfini.
77555         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77556         returning unsuccessfully.
77557         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77558         close of a file loaded at startup, restore the original l_initfini
77559         list.
77560         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77561         list, store the pointer.
77562         * elf/Makefile ($(objpfx)noload-mem): New rule.
77563         (noload-ENV): Define.
77564         (tests): Add $(objpfx)noload-mem.
77565         * elf/noload.c: Include <memcheck.h>.
77566         (main): Call mtrace.  Close all opened handles.
77568 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77570         [BZ #12454]
77571         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77572         dependencies are missing.
77574 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77576         Fix __if_freereq crash: Unlike the generic version which uses free,
77577         Hurd needs munmap.
77578         * sysdeps/mach/hurd/ifreq.h: New file.
77580 2011-01-27  Petr Baudis  <pasky@suse.cz>
77581             Ulrich Drepper  <drepper@gmail.com>
77583         [BZ 12445]#
77584         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77585         to extend_alloca().
77586         * stdio-common/bug23.c: New file.
77587         * stdio-common/Makefile (tests): Add bug23.
77589 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77590             Ulrich Drepper  <drepper@gmail.com>
77592         [BZ #12489]
77593         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77594         before performing relro protection.  At old place add assertion
77595         to make sure nothing changed.
77597 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77598             Glauber de Oliveira Costa  <glommer@gmail.com>
77600         * elf/elf.h: Add new ARM TLS relocs.
77602 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77605         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77606         cast from r3.
77607         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77608         'tests' variable.
77609         * sysdeps/wordsize-64/tst-writev.c: New file.
77611 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77613         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77614         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77615         insns in _dl_start to prevent a TOC reference before relocs are
77616         resolved.
77618 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77620         [BZ #12469]
77621         * Makeconfig: Remove RANLIB definition.
77622         * Makerules: Don't use RANLIB.
77623         * aclocal.m4: Remove ranlib test.
77624         * configure.in: No need to check for ranlib.
77625         * elf/rtld-Rules: Don't use RANLIB.
77627 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77629         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77630         protection macro.
77631         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77632         inclusion protection macro.
77634         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77635         SIGRTMIN and SIGRTMAX and print information in that case only when
77636         SIGRTMIN is defined.
77638 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77640         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77641         arginfo fn returning -1.
77643         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77644         and thousands string is zero terminated.
77646 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77649         sysdeps/unix/sysv/linux/bits/socket.h.
77651 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77653         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77654         (__CPU_COUNT): Remove old macros.
77655         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77656         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77657         (__CPU_ALLOC, __CPU_FREE): Add macros.
77658         (__sched_cpualloc, __sched_cpufree): Add declarations.
77660 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77662         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77663         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77664         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77665         (readdhstai): Return value of addhstaiX call.
77666         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77667         (addgrbyX): Return value returned by cache_addgr.
77668         (readdgrbyname): Return value returned by addgrbyX.
77669         (readdgrbygid): Likewise.
77670         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77671         (addpwbyX): Return value returned by cache_addpw.
77672         (readdpwbyname): Return value returned by addhstbyX.
77673         (readdpwbyuid): Likewise.
77674         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77675         (addservbyX): Return value returned by cache_addserv.
77676         (readdservbyname): Return value returned by addservbyX:
77677         (readdservbyport): Likewise.
77678         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77679         (addhstbyX): Return value returned by cache_addhst.
77680         (readdhstbyname): Return value returned by addhstbyX.
77681         (readdhstbyaddr): Likewise.
77682         (readdhstbynamev6): Likewise.
77683         (readdhstbyaddrv6): Likewise.
77684         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77685         (readdinitgroups): Return value returned by addinitgroupsX.
77686         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77687         (prune_cache): Keep track of timeout value of re-added entries.
77688         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77689         * nscd/nscd.h: Adjust prototypes of readd* functions.
77691 2011-02-04  Roland McGrath  <roland@redhat.com>
77693         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77694         (nis_stats): Likewise.
77695         * nis/nis_modify.c (nis_modify): Likewise.
77696         * nis/nis_remove.c (nis_remove): Likewise.
77697         * nis/nis_add.c (nis_add): Likewise.
77699         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77701         * posix/fnmatch_loop.c: Add some consts.
77703         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77705 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77707         [BZ #12460]
77708         * config.make.in (config-cflags-novzeroupper): Define.
77709         * configure.in: Substitute libc_cv_cc_novzeroupper.
77710         * elf/Makefile (AVX-CFLAGS): Define.
77711         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77712         (CFLAGS-tst-auditmod4a.c): Likewise.
77713         (CFLAGS-tst-auditmod4b.c): Likewise.
77714         (CFLAGS-tst-auditmod6b.c): Likewise.
77715         (CFLAGS-tst-auditmod6c.c): Likewise.
77716         (CFLAGS-tst-auditmod7b.c): Likewise.
77717         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77719 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77721         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77722         function to the callback.
77723         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77725 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77727         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77728         of errno.
77730 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77732         [BZ #11724]
77733         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77734         of constructors.
77735         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77736         of destructors.
77737         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77739         [BZ #11724]
77740         * elf/Makefile: Add rules to build and run new test.
77741         * elf/tst-initorder.c: New file.
77742         * elf/tst-initorder.exp: New file.
77743         * elf/tst-initordera1.c: New file.
77744         * elf/tst-initordera2.c: New file.
77745         * elf/tst-initordera3.c: New file.
77746         * elf/tst-initordera4.c: New file.
77747         * elf/tst-initorderb1.c: New file.
77748         * elf/tst-initorderb2.c: New file.
77749         * elf/tst-order-a1.c: New file.
77750         * elf/tst-order-a2.c: New file.
77751         * elf/tst-order-a3.c: New file.
77752         * elf/tst-order-a4.c: New file.
77753         * elf/tst-order-b1.c: New file.
77754         * elf/tst-order-b2.c: New file.
77755         * elf/tst-order-main.c: New file.
77756         New test case by George Gensure <werkt0@gmail.com>.
77758 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77761         decoding ACE if AI_CANONIDN.
77763 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77765         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77767 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77769         * version.h (RELEASE): Bump for 2.13 release.
77770         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77772         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77774         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77775         MADV_NOHUGEPAGE.
77776         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77777         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77778         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77779         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77780         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77781         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77783         * posix/getconf.c: Update copyright year.
77784         * catgets/gencat.c: Likewise.
77785         * csu/version.c: Likewise.
77786         * debug/catchsegv.sh: Likewise.
77787         * debug/xtrace.sh: Likewise.
77788         * elf/ldconfig.c: Likewise.
77789         * elf/ldd.bash.in: Likewise.
77790         * elf/sprof.c (print_version): Likewise.
77791         * iconv/iconv_prog.c: Likewise.
77792         * iconv/iconvconfig.c: Likewise.
77793         * locale/programs/locale.c: Likewise.
77794         * locale/programs/localedef.c: Likewise.
77795         * malloc/memusage.sh: Likewise.
77796         * malloc/mtrace.pl: Likewise.
77797         * nscd/nscd.c (print_version): Likewise.
77798         * nss/getent.c: Likewise.
77800         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77801         PF_CAIF, and PF_ALG.
77802         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77804 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
77806         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77807         (modules-names): Use them.
77808         (ifunc-test-modules, ifunc-pie-tests): Define.
77809         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77810         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77811         (test-extras): Likewise.
77812         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77813         $(compile-command.c).
77814         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77815         (all-built-dso): Define.
77816         (check-textrel.out, check-execstack.out): Depend on it.
77818         * configure.in: Don't override --enable-multi-arch.
77820 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
77822         [BZ #6812]
77823         * nscd/hstcache.c (tryagain): Define.
77824         (cache_addhst): Return tryagain not notfound for temporary errors.
77825         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77826         failed.
77828 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
77830         [BZ #10563]
77831         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77832         to make the syscall.
77833         * sysdeps/unix/sysv/linux/setgroups.c: New file.
77835         [BZ #12378]
77836         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77837         and fall back to matching as normal character if the string ends before
77838         the matching ']' is found.  This is what POSIX requires.
77839         * posix/testfnm.c: Adjust test result.
77840         * posix/globtest.sh: Adjust test result.  Add new test.
77841         * posix/tst-fnmatch.input: Likewise.
77842         * posix/tst-fnmatch2.c: Add new test.
77844 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
77846         * elf/Makefile (check-execstack): Revert last change.  Depend on
77847         check-execstack.h.
77848         (check-execstack.h): New target.
77849         (generated): Add check-execstack.h.
77850         * elf/check-execstack.c: Include "check-execstack.h".
77851         (main): Revert last change.
77852         (handle_file): Return zero if GNU_STACK is absent and
77853         DEFAULT_STACK_PERMS doesn't include PF_X.
77855 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77857         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77858         in child fails because the descriptor is already closed.
77859         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77860         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77861         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77863         [BZ #12397]
77864         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77865         syscall.
77867         [BZ #10484]
77868         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77869         temporary buffer used to handle multi lookups locally.
77870         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77872 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77874         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77875         loader is ld.so.
77877 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77879         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77880         alignment for SSE2.
77882 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77884         [BZ #12394]
77885         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77886         characters.  When rounding increased number of integer digits recompute
77887         number of groups.
77888         * stdio-common/tst-grouping.c: New file.
77889         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77891 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77893         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77894         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77896         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77897         void.
77898         * bits/select.h: Likewise.
77900 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77902         * po/ja.po: Update from translation team.
77904 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77906         [BZ #11155]
77907         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77908         implementation just like for lxstat, fxstatat, et al.
77910 2010-12-27  Jim Meyering  <meyering@redhat.com>
77912         [BZ #12348]
77913         * posix/regexec.c (build_trtable): Return failure indication upon
77914         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77916 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77918         [BZ #12201]
77919         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77920         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77921         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77922         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77924         [BZ #12207]
77925         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77927         [BZ #12204]
77928         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77929         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77931 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77933         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77934         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77935         script has SORT_BY_INIT_PRIORITY.
77936         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77937         NO_CTORS_DTORS_SECTIONS is defined.
77938         * elf/soinit.c: Likewise.
77939         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77940         NO_CTORS_DTORS_SECTIONS is defined.
77941         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77942         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77943         * sysdeps/sh/init-first.c: Likewise.
77944         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77946 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77948         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77949         always use the slow path.
77951 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77953         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77954         similar rule which adds the sysdep directories to the header search in
77955         order to pick up the correct platform stackinfo.h.
77956         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77957         perform test if it is, otherwise return successfully without testing.
77958         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77959         DEFAULT_STACK_PERMS define in stackinfo.h.
77960         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77961         defined in stackinfo.h.
77962         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77963         DEFAULT_STACK_PERMS defined in stackinfo.h.
77964         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77965         * sysdeps/ia64/stackinfo.h: Likewise.
77966         * sysdeps/s390/stackinfo.h: Likewise.
77967         * sysdeps/sh/stackinfo.h: Likewise.
77968         * sysdeps/sparc/stackinfo.h: Likewise.
77969         * sysdeps/x86_64/stackinfo.h: Likewise.
77970         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77971         PF_X for powerpc64.  Retain PF_X for powerpc32.
77973 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77975         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77976         accurately.
77977         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77978         GETDENTS_64BIT_ALIGNED.
77980 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77982         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77984 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77986         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77987         _GNU_SOURCE.
77989         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77990         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77991         Remove __restrict.
77992         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77993         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77995 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77997         [BZ #11655]
77998         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77999         are initialized.
78001 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78003         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78005 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78007         * po/it.po: Update from translation team.
78009 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78011         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78012         unused codes.
78014 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78016         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78018 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78020         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78021         specially.
78022         (gaih_getanswer_slice): Likewise.
78024 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78026         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78028 2010-05-31  Petr Baudis  <pasky@suse.cz>
78030         [BZ #11149]
78031         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78032         silently even in the chroot mode.
78034 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78036         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78037         last patch a bit.  Pretty printing
78039 2010-05-31  Petr Baudis <pasky@suse.cz>
78041         [BZ #10085]
78042         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78043         initialization of skip_initgroups_dyn.
78045 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78047         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78048         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78050 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78052         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78054 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78056         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78057         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78058         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78059         ($(objpfx)tst-fnmatch-mem): New rule.
78060         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78061         * posix/tst-fnmatch.c (main): Call mtrace.
78063 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78066         Support Intel processor model 6 and model 0x2c.
78068 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78070         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78071           signed comparison.
78073 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78075         [BZ #12205]
78076         * string/test-strncasecmp.c (check_result): New function.
78077         (do_one_test): Use it.
78078         (check1): New function.
78079         (test_main): Use it.
78080         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78081         Support strcasecmp and strncasecmp.
78083 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78085         [BZ #12194]
78086         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78087         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78089 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78091         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78092         IFUNC support.
78093         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78094         memset-x86-64.
78095         * sysdeps/x86_64/multiarch/bzero.S: New file.
78096         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78097         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78098         * sysdeps/x86_64/multiarch/memset.S: New file.
78099         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78100         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78101         Set bit_Prefer_SSE_for_memop for Intel processors.
78102         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78103         Define.
78104         (index_Prefer_SSE_for_memop): Define.
78105         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78107 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78109         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78110         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78112 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78114         [BZ #12191]
78115         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78116         (__x86_64_raw_data_cache_size_half): Likewise.
78117         (__x86_64_raw_shared_cache_size): Likewise.
78118         (__x86_64_raw_shared_cache_size_half): Likewise.
78120         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78121         (__x86_64_raw_data_cache_size_half): Likewise.
78122         (__x86_64_raw_shared_cache_size): Likewise.
78123         (__x86_64_raw_shared_cache_size_half): Likewise.
78124         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78125         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78126         and __x86_64_raw_shared_cache_size_half.  Round
78127         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78128         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78129         to multiple of 256 bytes.
78131 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78133         [BZ #12167]
78134         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78135         of inacessible symlinks.  Verify result of symlink before returning it.
78136         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78137         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78139 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78141         * math/math.h (isinf): Fix typo in comment.
78143 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78145         * po/da.po: Update from translation team.
78147 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78149         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78150         is added to the list.
78152 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78153             Ulrich Drepper  <drepper@gmail.com>
78155         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78156         the global list here.  Move code to...
78157         (_dl_add_to_namespace_list): ...here.  New function.
78158         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78159         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78160         * elf/dl-load.c (lose): Don't remove the element from the list.
78161         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78162         (_dl_map_object): Likewise.
78164 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78166         [BZ #12159]
78167         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78168         into all bytes of SSE register.
78169         Patch by Richard Li <richardpku@gmail.com>.
78171 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78173         [BZ #12140]
78174         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78175         perturbing.
78177 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78179         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78180         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78181         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78182         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78184         submachine.
78185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78187 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78189         * include/dlfcn.h (__RTLD_SECURE): Define.
78190         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78191         mode & __RTLD_SECURE instead.
78192         (open_path): Rename preloaded parameter to secure.
78193         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78194         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78195         * elf/dl-deps.c (openaux): Likewise.
78196         * elf/rtld.c (struct map_args): Remove is_preloaded.
78197         (map_doit): Don't use it.
78198         (dl_main): Likewise.
78199         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78200         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78202 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78204         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78205         (sysd-rules-targets): Remove duplicates.
78206         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78207         rtld-%.$o dependency.
78209 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78211         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78212         _dl_map_object do it.
78214 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78216         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78217         fast fma builtins, define the macros in the C99 standard.
78218         (FP_FAST_FMAF): Likewise.
78219         (FP_FAST_FMAL): Likewise.
78220         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78222         * bits/mathdef.h: Update copyright year.
78223         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78225 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78227         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78228         builtins, define the macros in the C99 standard.
78229         (FP_FAST_FMAF): Likewise.
78230         (FP_FAST_FMAL): Likewise.
78231         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78232         multiply/add.
78233         (FP_FAST_FMAF): Likewise.
78235 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78237         [BZ #3268]
78238         * math/libm-test.inc (fma_test): Some new testcases.
78239         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78240         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78241         y and infinite z.  Do multiplication by C already in long double.
78242         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78244         y and infinite z.  Do bitwise or of inexact bit into u.d.
78245         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78246         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78247         * sysdeps/i386/fpu/s_fma.S: Removed.
78248         * sysdeps/i386/fpu/s_fmal.S: Removed.
78250 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78252         [BZ #3268]
78253         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78254         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78255         computation is not scheduled after fetestexcept.  Fix value
78256         of minimum denormal long double.
78258 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78260         [BZ #3268]
78261         * math/libm-test.inc (fma_test): Add some more tests.
78262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78263         correctly.
78265 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78267         * scripts/data/localplt-s390-linux-gnu.data: New file.
78268         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78270 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78272         [BZ #3268]
78273         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78274         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78275         instead of dbl-64.
78276         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78277         inlines.
78278         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78280         if one of x and y is very large and the other is subnormal.
78281         * sysdeps/s390/fpu/s_fmaf.c: New file.
78282         * sysdeps/s390/fpu/s_fma.c: New file.
78283         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78284         * sysdeps/powerpc/fpu/s_fma.S: New file.
78285         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78286         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78287         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78289 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78291         [BZ #3268]
78292         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78293         fma tests.
78294         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78295         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78296         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78297         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78298         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78299         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78300         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78302 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78304         [BZ #12078]
78305         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78306         * posix/bug-regex31.input: Add test case.
78308 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78310         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78311         * posix/bug-regex31.input: New file.
78313         [BZ #12078]
78314         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78315         (parse_sub_exp): Fix last change, use postorder.
78317         * posix/bug-regex31.c: New file.
78318         * posix/Makefile: Add rules to build and run bug-regex31.
78320         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78322         [BZ #12078]
78323         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78325         [BZ #12108]
78326         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78327         to have entries in sys_siglist.
78329         [BZ #12093]
78330         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78331         be NULL.
78333 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78335         [BZ #3268]
78336         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78337         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78338         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78339         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78340         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78341         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78342         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78343         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78344         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78345         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78346         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78347         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78348         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78349         * math/ftestexcept.c (fetestexcept): Likewise.
78350         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78351         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78352         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78353         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78354         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78355         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78356         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78358 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78360         [BZ #12107]
78361         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78362         newline.
78364 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78366         * string/bug-strstr1.c: New file.
78367         * string/Makefile: Add rules to build and run bug-strstr1.
78369 2010-10-05  Eric Blake  <eblake@redhat.com>
78371         [BZ #12092]
78372         * string/str-two-way.h (two_way_long_needle): Always clear memory
78373         when skipping input due to the shift table.
78375 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78377         [BZ #12005]
78378         * malloc/mcheck.c: Handle large requests.
78380         [BZ #12077]
78381         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78382         for strncmp and strncasecmp.
78383         * string/stratcliff.c: Add tests for strcmp and strncmp.
78384         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78386 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78388         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78389         __set_fpscr.
78391 2010-09-30  Andreas Jaeger  <aj@suse.de>
78393         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78394         (CGROUP_SUPER_MAGIC): Define.
78395         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78396         Handle btrfs and cgroup file systems.
78397         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78398         Likewise.
78400 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78402         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78403         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78405 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78407         [BZ #12067]
78408         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78409         trying to locate the ELF header.
78411 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78413         [BZ #11611]
78414         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78415         Mask out sign-bit copies when constructing f_fsid.
78417 2010-09-24  Petr Baudis <pasky@suse.cz>
78419         * debug/stack_chk_fail_local.c: Add missing licence exception.
78420         * debug/warning-nop.c: Likewise.
78422 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78424         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78425         implementing getdents64 using getdents syscall, set d_type if
78426         __ASSUME_GETDENTS32_D_TYPE.
78428 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78430         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78431         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78433 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78435         [BZ #12037]
78436         * posix/unistd.h: Undo change of feature selection for ftruncate from
78437         2010-01-11.
78439 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78441         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78442         detection.
78444 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78446         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78447         fanotify_mark.
78448         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78450 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78452         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78453         variables after CHECK_SP call.
78454         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78456 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78457             Ulrich Drepper  <drepper@redhat.com>
78459         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78460         re-relocationg ld.so.
78461         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78462         _dl_init_paths call.
78463         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78464         here anymore.
78466 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78468         * resolv/res_init.c (__res_vinit): Count the default server we added.
78470 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78471             Ulrich Drepper  <drepper@redhat.com>
78473         [BZ #11968]
78474         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78475         (____longjmp_chk): Use %ebx for saving value across system call.
78476         Add unwind info.
78478 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78480         * manual/Makefile: Don't mix pattern rules with normal rules.
78482 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78484         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78485         operation.
78486         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78487         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78488         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78489         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78491         Likewise.
78493 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78495         [BZ #11979]
78496         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78497         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78499 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78501         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78502         * sysdeps/x86_64/addmul_1.S: Likewise.
78503         * sysdeps/x86_64/lshift.S: Likewise.
78504         * sysdeps/x86_64/mul_1.S: Likewise.
78505         * sysdeps/x86_64/rshift.S: Likewise.
78506         * sysdeps/x86_64/sub_n.S: Likewise.
78507         * sysdeps/x86_64/submul_1.S: Likewise.
78509 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78511         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78512         Define __sched_param instead of SCHED_* and sched_param when
78513         <bits/sched.h> is included with __need_schedparam defined.
78514         * bits/sched.h [__need_schedparam]
78515         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78516         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78517         (__defined_schedparam): Define to 1.
78518         (__sched_param): New structure, identical to sched_param.
78519         (__need_schedparam): Undefine.
78521 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78523         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78524         (epoll_create1): Declare.
78526         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78528 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78530         [BZ #7066]
78531         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78532         shifting retval into place.
78534 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78536         * nis/rpcsvc/nis.h: Update copyright notice.
78537         * nis/rpcsvc/nis.x: Likewise.
78538         * nis/rpcsvc/nis_callback.h: Likewise.
78539         * nis/rpcsvc/nis_callback.x: Likewise.
78540         * nis/rpcsvc/nis_object.x: Likewise.
78541         * nis/rpcsvc/nis_tags.h: Likewise.
78542         * nis/rpcsvc/yp.h: Likewise.
78543         * nis/rpcsvc/yp.x: Likewise.
78544         * nis/rpcsvc/ypupd.h: Likewise.
78545         * nis/yp_xdr.c: Likewise.
78546         * nis/ypupdate_xdr.c: Likewise.
78548         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78549         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78550         (pmap_getport): Use __libc_rpc_getport.
78551         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78552         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78553         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78555 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78558         fanotify_mark.
78560 2010-08-27  Roland McGrath  <roland@redhat.com>
78562         * sysdeps/i386/i686/multiarch/Makefile
78563         (CFLAGS-varshift.c): New variable.
78565 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78567         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78568         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78570         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78572         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78574 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78576         * sysdeps/x86_64/strlen.S: Unroll the loop.
78577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78578         strlen-sse2 strlen-sse2-bsf.
78579         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78580         __strlen_no_bsf if bit_Slow_BSF is set.
78581         (__strlen_sse42): Removed.
78582         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78583         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78585 2010-08-25  Roland McGrath  <roland@redhat.com>
78587         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78588         * sysdeps/x86_64/multiarch/varshift.c: New file.
78589         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78590         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78591         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78592         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78594 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78597         strlen-sse2 strlen-sse2-bsf.
78598         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78599         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78600         (__strlen_sse2): Removed.
78601         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78602         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78604         bit_Slow_BSF for Atom.
78605         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78606         (index_Slow_BSF): Define.
78607         (HAS_SLOW_BSF): Define.
78609 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78611         [BZ #10851]
78612         * resolv/res_init.c (__res_vinit): When no server address at all
78613         is given default to loopback.
78615 2010-08-24  Roland McGrath  <roland@redhat.com>
78617         * configure.in: Remove config-name.h generation.
78618         * configure: Regenerated.
78619         * config-name.in: File removed.
78620         * scripts/config-uname.sh: New file.
78621         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78622         ($(objdir)config-name.h): New target.
78624         * sunrpc/rpc_parse.h: Avoid nested comment.
78626 2010-08-24  Richard Henderson  <rth@redhat.com>
78627             Ulrich Drepper  <drepper@redhat.com>
78628             H.J. Lu  <hongjiu.lu@intel.com>
78630         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78631         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78632         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78633         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78634         _mm_alignr_epi8 with _mm_loadu_si128.
78635         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78636         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78637         (__m128i_shift_right): Removed.
78638         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78639         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78640         * sysdeps/x86_64/multiarch/varshift.h: New file.
78641         * sysdeps/x86_64/multiarch/varshift.S: New file.
78643 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78645         * configure.in: Move assembler checks to before sysdep dir checking.
78647 2010-08-20  Petr Baudis  <pasky@suse.cz>
78649         * LICENSES: Sync the sunrpc license.
78651 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78653         * sunrpc/auth_des.c: Update copyright notice once again.
78654         * sunrpc/auth_none.c: Likewise.
78655         * sunrpc/auth_unix.c: Likewise.
78656         * sunrpc/authdes_prot.c: Likewise.
78657         * sunrpc/authuxprot.c: Likewise.
78658         * sunrpc/bindrsvprt.c: Likewise.
78659         * sunrpc/clnt_gen.c: Likewise.
78660         * sunrpc/clnt_perr.c: Likewise.
78661         * sunrpc/clnt_raw.c: Likewise.
78662         * sunrpc/clnt_simp.c: Likewise.
78663         * sunrpc/clnt_tcp.c: Likewise.
78664         * sunrpc/clnt_udp.c: Likewise.
78665         * sunrpc/clnt_unix.c: Likewise.
78666         * sunrpc/des_crypt.c: Likewise.
78667         * sunrpc/des_soft.c: Likewise.
78668         * sunrpc/get_myaddr.c: Likewise.
78669         * sunrpc/getrpcport.c: Likewise.
78670         * sunrpc/key_call.c: Likewise.
78671         * sunrpc/key_prot.c: Likewise.
78672         * sunrpc/openchild.c: Likewise.
78673         * sunrpc/pm_getmaps.c: Likewise.
78674         * sunrpc/pm_getport.c: Likewise.
78675         * sunrpc/pmap_clnt.c: Likewise.
78676         * sunrpc/pmap_prot.c: Likewise.
78677         * sunrpc/pmap_prot2.c: Likewise.
78678         * sunrpc/pmap_rmt.c: Likewise.
78679         * sunrpc/rpc/auth.h: Likewise.
78680         * sunrpc/rpc/auth_unix.h: Likewise.
78681         * sunrpc/rpc/clnt.h: Likewise.
78682         * sunrpc/rpc/des_crypt.h: Likewise.
78683         * sunrpc/rpc/key_prot.h: Likewise.
78684         * sunrpc/rpc/netdb.h: Likewise.
78685         * sunrpc/rpc/pmap_clnt.h: Likewise.
78686         * sunrpc/rpc/pmap_prot.h: Likewise.
78687         * sunrpc/rpc/pmap_rmt.h: Likewise.
78688         * sunrpc/rpc/rpc.h: Likewise.
78689         * sunrpc/rpc/rpc_des.h: Likewise.
78690         * sunrpc/rpc/rpc_msg.h: Likewise.
78691         * sunrpc/rpc/svc.h: Likewise.
78692         * sunrpc/rpc/svc_auth.h: Likewise.
78693         * sunrpc/rpc/types.h: Likewise.
78694         * sunrpc/rpc/xdr.h: Likewise.
78695         * sunrpc/rpc_clntout.c: Likewise.
78696         * sunrpc/rpc_cmsg.c: Likewise.
78697         * sunrpc/rpc_common.c: Likewise.
78698         * sunrpc/rpc_cout.c: Likewise.
78699         * sunrpc/rpc_dtable.c: Likewise.
78700         * sunrpc/rpc_hout.c: Likewise.
78701         * sunrpc/rpc_main.c: Likewise.
78702         * sunrpc/rpc_parse.c: Likewise.
78703         * sunrpc/rpc_parse.h: Likewise.
78704         * sunrpc/rpc_prot.c: Likewise.
78705         * sunrpc/rpc_sample.c: Likewise.
78706         * sunrpc/rpc_scan.c: Likewise.
78707         * sunrpc/rpc_scan.h: Likewise.
78708         * sunrpc/rpc_svcout.c: Likewise.
78709         * sunrpc/rpc_tblout.c: Likewise.
78710         * sunrpc/rpc_util.c: Likewise.
78711         * sunrpc/rpc_util.h: Likewise.
78712         * sunrpc/rpcinfo.c: Likewise.
78713         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78714         * sunrpc/rpcsvc/key_prot.x: Likewise.
78715         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78716         * sunrpc/rpcsvc/mount.x: Likewise.
78717         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78718         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78719         * sunrpc/rpcsvc/rex.x: Likewise.
78720         * sunrpc/rpcsvc/rstat.x: Likewise.
78721         * sunrpc/rpcsvc/rusers.x: Likewise.
78722         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78723         * sunrpc/rpcsvc/spray.x: Likewise.
78724         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78725         * sunrpc/rtime.c: Likewise.
78726         * sunrpc/svc.c: Likewise.
78727         * sunrpc/svc_auth.c: Likewise.
78728         * sunrpc/svc_authux.c: Likewise.
78729         * sunrpc/svc_raw.c: Likewise.
78730         * sunrpc/svc_run.c: Likewise.
78731         * sunrpc/svc_simple.c: Likewise.
78732         * sunrpc/svc_tcp.c: Likewise.
78733         * sunrpc/svc_udp.c: Likewise.
78734         * sunrpc/svc_unix.c: Likewise.
78735         * sunrpc/svcauth_des.c: Likewise.
78736         * sunrpc/xcrypt.c: Likewise.
78737         * sunrpc/xdr.c: Likewise.
78738         * sunrpc/xdr_array.c: Likewise.
78739         * sunrpc/xdr_float.c: Likewise.
78740         * sunrpc/xdr_mem.c: Likewise.
78741         * sunrpc/xdr_rec.c: Likewise.
78742         * sunrpc/xdr_ref.c: Likewise.
78743         * sunrpc/xdr_sizeof.c: Likewise.
78744         * sunrpc/xdr_stdio.c: Likewise.
78746         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78747         handling.
78749 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78751         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78753 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78755         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78756         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78757         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78758         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78759         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78760         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78761         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78762         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78763         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78764         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78765         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78766         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78767         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78768         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78770 2010-07-26  Anton Blanchard  <anton@samba.org>
78772         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78773         * malloc/arena.c (heap_trim): Likewise.
78775 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78777         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78778         here.  Not...
78779         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78780         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78782 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
78784         * sysdeps/i386/elf/Makefile: New file.
78786 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78788         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78789         from fanotify_init.
78790         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78793 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
78795         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78796         of strncasecmp_l.
78797         * sysdeps/multiarch/strcmp.S: Likewise.
78799 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
78801         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78802         strncase_l-nonascii.
78803         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78804         Add strncase_l-ssse3.
78805         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78806         * sysdeps/x86_64/strcmp.S: Likewise.
78807         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78808         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78809         * sysdeps/x86_64/strncase.S: New file.
78810         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78811         * sysdeps/x86_64/strncase_l.S: New file.
78812         * string/Makefile (strop-tests): Add strncasecmp.
78813         * string/test-strncasecmp.c: New file.
78815         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78816         warning.
78818         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78819         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78821 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78823         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78825 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
78827         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78828         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78829         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78831 2010-05-01  Alan Modra  <amodra@gmail.com>
78833         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78834         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78835         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78836         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78837         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78838         tidying.  Don't tail-call __sigjmp_save for static lib.
78839         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78840         save location.
78841         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78842         (CALL_MCOUNT): Add eh info, and nop after bl.
78843         (TAIL_CALL_SYSCALL_ERROR): New macro.
78844         (PSEUDO_RET): Use it.
78845         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78846         Correct save location of integer regs and cr.
78847         (_dl_profile_resolve): Correct cr save location.  Delete nops
78848         after bl when SHARED.  Reduce cfi size a little by better
78849         placement of cfi directives.
78850         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78851         make a stack frame.  Instead use parm save area as a temp.
78852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78853         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78855         Don't make a stack frame for parent, use parm save area.
78856         Increase child stack frame to 112 bytes.  Don't save unused reg,
78857         and adjust reg usage.  Set up cfi on error recovery and
78858         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78860         (__makecontext): Add dummy nop after jump to exit.
78861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78862         Use correct parm save area and cr save, reduce stack frame.
78863         Correct cfi for possible PSEUDO_RET frame setup.
78864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78865         Branch to local label emitted by PSEUDO_RET rather than
78866         __syscall_error.
78868 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78870         [BZ #11904]
78871         * locale/programs/locale.c (print_assignment): New function.
78872         (show_locale_vars): Use it.
78874 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78876         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78877         field.
78878         (struct statfs64): Likewise.
78879         (_STATFS_F_FLAGS): Define.
78880         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78881         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78882         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78883         (ST_VALID): Define locally.
78884         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78885         __statvfs_getflags, use the provided value.
78886         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78887         __ASSUME_STATFS_F_FLAGS.
78889         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78891         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78892         Add sys/fanotify.h.
78893         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78894         fanotify_mask for GLIBC_2.13.
78895         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78896         fanotify_init and fanotify_mark.
78897         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78898         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78900         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78901         Add prlimit.
78902         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78903         prlimit64 for GLIBC_2.13.
78904         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78905         prlimit64.
78906         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78907         syscall.
78908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78909         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78910         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78911         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78912         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78913         add prlimit alias.
78914         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78916         [BZ #11903]
78917         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78918         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78920         * nss/Makefile: Add rules to build and run tst-nss-test1.
78921         * shlib-versions: Add entry for libnss_test1.
78922         * nss/nss_test1.c: New file.
78923         * nss/tst-nss-test1.c: New file.
78925         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78926         (__nss_configure_lookup): Set appropriate entry in
78927         __nss_configure_lookup to true.
78928         * nss/nsswitch.h: Define enum with indeces of databases in
78929         databases and __nss_database_custom arrays.  Declare
78930         __nss_database_custom.
78931         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78932         to avoid using nscd when custom rules are installed.
78933         * nss/getXXbyYY_r.c: Likewise.
78934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78936         * nss/nss_files/files-parse.c: Whitespace fixes.
78938 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78940         [BZ #11883]
78941         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78942         * posix/fnmatch_loop.c: Likewise.
78944 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78946         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78947         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78948         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78949         * Versions.def [GLIBC_2.13]: Add.
78951 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78953         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78954         Also fail if tpwd after pwuid call is NULL.
78956 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78958         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78959         when converting to ms.
78961 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78963         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78964         EOPNOTSUPP errors with ENOTTY.
78965         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78966         EOPNOTSUPP errors with ENOTTY.
78968 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78970         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78971         Add strcasecmp_l-ssse3.
78972         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78973         strcasecmp.
78974         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78975         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78976         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78978 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78980         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78982         * string/Makefile (strop-tests): Add strcasecmp.
78983         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78984         strcasecmp_l-nonascii.
78985         (gen-as-const-headers): Add locale-defines.sym.
78986         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78987         * sysdeps/x86_64/strcasecmp.S: New file.
78988         * sysdeps/x86_64/strcasecmp_l.S: New file.
78989         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78990         * sysdeps/x86_64/locale-defines.sym: New file.
78991         * string/test-strcasecmp.c: New file.
78993         * string/test-strcasestr.c: Test both ends of the range of characters.
78994         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78996 2010-07-29  Roland McGrath  <roland@redhat.com>
78998         [BZ #11856]
78999         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79001 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79003         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79004         for ld.so.
79006 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79008         * manual/memory.texi (Malloc Tunable Parameters): Document
79009         M_PERTURB.
79011 2010-07-26  Roland McGrath  <roland@redhat.com>
79013         [BZ #11840]
79014         * configure.in (-fgnu89-inline check): Set and substitute
79015         gnu89_inline, not libc_cv_gnu89_inline.
79016         * configure: Regenerated.
79017         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79019 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79021         * string/test-strnlen.c: New file.
79022         * string/Makefile (strop-tests): Add strnlen.
79023         * string/tester.c (test_strnlen): Add a few more test cases.
79024         * string/tst-strlen.c: Better error reporting.
79026         * sysdeps/x86_64/strnlen.S: New file.
79028 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79030         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79031         lower-latency instructions.
79033 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79035         * string/test-strcasestr.c: New file.
79036         * string/test-strstr.c: New file.
79037         * string/Makefile (strop-tests): Add strstr and strcasestr.
79038         * string/str-two-way.h: Don't undefine MAX.
79039         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79041 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79043         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79044         strcasestr-nonascii.
79045         (CFLAGS-strcasestr-nonascii.c): Define.
79046         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79047         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79048         Remove unused attribute.
79050 2010-07-20  Roland McGrath  <roland@redhat.com>
79052         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79053         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79054         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79055         like LD_HWCAP_MASK can disable hwcaps.
79057 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79059         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79061 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79063         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79064         call in strcasestr.
79065         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79066         __strcasestr_sse42_nonascii.
79067         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79068         strcasestr-nonascii.c.
79069         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79071 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79073         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79074         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79075         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79076         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79078 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79080         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79081         fcntl.
79083 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79085         [BZ #11577]
79086         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79087         dl_signal_cerror.
79089 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79091         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79092         _PC_PIPE_BUF using F_GETPIPE_SZ.
79094 2010-07-05  Roland McGrath  <roland@redhat.com>
79096         * manual/arith.texi (Rounding Functions): Fix rint description
79097         implicit in round description.
79099 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79101         * elf/Makefile: Fix linking for a few tests to make recent linker
79102         happy.
79104 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79106         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79107         $(common-objpfx)libc_nonshared.a.
79109 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79111         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79112         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79113         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79114         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79115         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79116         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79117         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79118         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79133         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79134         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79135         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79136         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79137         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79138         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79139         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79140         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79141         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79142         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79143         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79144         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79160 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79162         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79163         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79164         * string/memmove.c (memmove): Renamed to ...
79165         (MEMMOVE): ...this.  Default to memmove.
79166         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79167         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79168         (END_CHK): Define.
79169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79170         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79171         mempcpy-ssse3-back memmove-ssse3-back.
79172         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79173         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79174         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79175         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79176         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79177         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79178         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79179         * sysdeps/x86_64/multiarch/memmove.c: New file.
79180         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79181         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79182         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79183         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79184         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79185         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79186         Define.
79187         (index_Fast_Copy_Backward): Define.
79188         (HAS_ARCH_FEATURE): Define.
79189         (HAS_FAST_REP_STRING): Define.
79190         (HAS_FAST_COPY_BACKWARD): Define.
79192 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79194         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79195         Restore proper fallback handling.
79197 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79199         [BZ #11701]
79200         * posix/group_member.c (__group_member): Correct checking loop.
79202         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79203         OOM in getpwuid_r correctly.  Return error number when the caller
79204         should return, otherwise -1.
79205         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79206         call returning > 0 value.
79207         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79209 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79211         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79212         libc_nonshared.a from targets in modules-names.
79214 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79216         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79217         requires it.
79219 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79221         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79222         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79223         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79224         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79226 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79228         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79230 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79232         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79233         and F_GETPIPE_SZ.
79234         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79235         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79236         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79237         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79238         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79239         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79241 2010-06-14  Roland McGrath  <roland@redhat.com>
79243         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79245 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79247         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79248         __REDIRECT followed by __THROW.
79249         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79250         * posix/getopt.h (getopt): Likewise.
79252 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79254         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79255         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79256         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79257         in AT_FLAGS.
79258         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79259         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79261 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79263         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79265 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79267         [BZ #11640]
79268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79269         Properly check family and model.
79271 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79273         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79275 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79277         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79279 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79281         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79282         symbol reference.
79284 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79286         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79287         symbol reference.
79289 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79291         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79292         and internal_recvmmsg.
79293         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79294         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79295         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79296         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79298         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79299         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79300         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79302 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79304         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79306 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79308         POWER7 optimizations.
79309         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79310         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79312 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79314         * version.h: Update for 2.13 development version.
79316 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79318         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79319         exceptions.  Return 0.
79321 2010-05-07  Roland McGrath  <roland@redhat.com>
79323         * elf/ldconfig.c (main): Add a const.
79325 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79327         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79328         (args_options): Add no-idn option.
79329         (ahosts_keys_int): Add idn_flags to ai_flags.
79330         (parse_option): Handle 'i' option to clear idn_flags.
79332         * malloc/malloc.c (_int_free): Possible race in the most recently
79333         added check.  Only act on the data if no current modification
79334         happened.
79336 See ChangeLog.17 for earlier changes.