Add femode_t functions: sparc.
[glibc.git] / ChangeLog
blobea062d20c30c1bca05efb2852fbfd88fe0cd6349
1 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/sparc/fpu/fegetmode.c: New file.
4         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
7         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9         * sysdeps/s390/fpu/fegetmode.c: New file.
10         * sysdeps/s390/fpu/fesetmode.c: Likewise.
12         * sysdeps/powerpc/fpu/fegetmode.c: New file.
13         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
14         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
16         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
19         * sysdeps/mips/fpu/fegetmode.c: New file.
20         * sysdeps/mips/fpu/fesetmode.c: Likewise.
22         * sysdeps/m68k/fpu/fegetmode.c: New file.
23         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
25         * sysdeps/ia64/fpu/fegetmode.c: New file.
26         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
28         * sysdeps/hppa/fpu/fegetmode.c: New file.
29         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
31         * sysdeps/arm/fegetmode.c: New file.
32         * sysdeps/arm/fesetmode.c: Likewise.
34         * sysdeps/alpha/fpu/fegetmode.c: New file.
35         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
37         * sysdeps/aarch64/fpu/fegetmode.c: New file.
38         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
40         * math/fegetmode.c: New file.
41         * math/fesetmode.c: Likewise.
42         * sysdeps/i386/fpu/fegetmode.c: Likewise.
43         * sysdeps/i386/fpu/fesetmode.c: Likewise.
44         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
45         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
46         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
47         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
48         declaration.
49         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
50         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
51         typedef.
52         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
53         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
54         (femode_t): New typedef.
55         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
56         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
57         (femode_t): New typedef.
58         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
59         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
60         (femode_t): New typedef.
61         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
62         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
63         (femode_t): New typedef.
64         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
65         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
66         (femode_t): New typedef.
67         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
68         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
69         (femode_t): New typedef.
70         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
71         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
72         (femode_t): New typedef.
73         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
74         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
75         (femode_t): New typedef.
76         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
77         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
78         (femode_t): New typedef.
79         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
80         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
81         (femode_t): New typedef.
82         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
83         declaration.
84         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
85         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
86         (femode_t): New typedef.
87         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
88         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
89         (femode_t): New typedef.
90         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
91         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
92         (femode_t): New typedef.
93         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
94         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
95         (femode_t): New typedef.
96         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
97         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
98         (femode_t): New typedef.
99         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
100         * manual/arith.texi (FE_DFL_MODE): Document macro.
101         (fegetmode): Document function.
102         (fesetmode): Likewise.
103         * math/Versions (fegetmode): New libm symbol at version
104         GLIBC_2.25.
105         (fesetmode): Likewise.
106         * math/Makefile (libm-support): Add fegetmode and fesetmode.
107         (tests): Add test-femode and test-femode-traps.
108         * math/test-femode-traps.c: New file.
109         * math/test-femode.c: Likewise.
110         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
111         alias for __fe_dfl_env.
112         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
113         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
114         (__fe_dfl_mode): Likewise.
115         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
116         version GLIBC_2.25.
117         * sysdeps/nacl/libm.abilist: Update.
118         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
119         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
120         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
121         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
122         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
123         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
124         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
125         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
126         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
127         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
128         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
129         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
131         Likewise.
132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
133         Likewise.
134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
135         Likewise.
136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
137         Likewise.
138         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
139         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
140         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
141         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
142         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
144         Likewise.
145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
146         Likewise.
147         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
148         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
149         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
151 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
153         [BZ #20495]
154         [BZ #20508]
155         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
156         processors, set Use_dl_runtime_resolve_slow and set
157         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
158         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
159         New.
160         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
161         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
162         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
163         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
164         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
165         if Use_dl_runtime_resolve_opt is set.  Use
166         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
167         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
168         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
169         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
170         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
171         New.
172         (_dl_runtime_resolve_opt): Likewise.
173         (_dl_runtime_profile): Define only if _dl_runtime_profile is
174         defined.
176 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
178         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
179         __libc_memalign with "+ RELA R_390_GLOB_DAT".
181 2016-09-06  Florian Weimer  <fweimer@redhat.com>
183         Convert malloc to __libc_lock.  Automated part, using this Perl
184         s/// command:
185           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
186             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
187         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
188         conversion.
190 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
192         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
193         (linknamespace-symlists-tests): Likewise.
194         (linknamespace-header-tests): Likewise.
196 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
198         [BZ #19810]
199         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
200         * elf/tst-noload.c: New test case.
201         * elf/Makefile (tests): Add tst-noload.
203 2016-09-02  Roland McGrath  <roland@hack.frob.com>
205         * sysdeps/nacl/dup.c: Add libc_hidden_def.
207         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
208         not any more.
210         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
212 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
214         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
215         (do_cos_slow): Likewise.
216         (do_sin): Likewise.
217         (do_sin_slow): Likewise.
218         (slow): Likewise.
219         (slow1): Likewise.
220         (slow2): Likewise.
221         (sloww): Likewise.
222         (sloww1): Likewise.
223         (sloww2): Likewise.
224         (bsloww): Likewise.
225         (bsloww1): Likewise.
226         (bsloww2): Likewise.
227         (cslow2): Likewise.
229         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
231         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
232         arguments.  Consolidate input partitioning from callers here.
233         (do_cos_slow): Likewise.
234         (do_sin): Likewise.
235         (do_sin_slow): Likewise.
236         (do_sincos_1): Remove the no longer necessary input partitioning.
237         (do_sincos_2): Likewise.
238         (__sin): Likewise.
239         (__cos): Likewise.
240         (slow1): Likewise.
241         (slow2): Likewise.
242         (sloww1): Likewise.
243         (sloww2): Likewise.
244         (bsloww1): Likewise.
245         (bsloww2): Likewise.
246         (cslow2): Likewise.
248 2016-09-02  Florian Weimer  <fweimer@redhat.com>
250         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
251         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
252         outside of allocated array.
254 2016-09-02  Florian Weimer  <fweimer@redhat.com>
256         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
257         instead of MB_CUR_MAX to avoid variable-length array.
259 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
261         * math/Makefile (libm-calls): Remove k_rem_pio2F.
262         (type-double-routines): Add k_rem_pio2.
263         (type-float-routines): Add k_rem_pio2f.
265         * sysdeps/generic/math_private.h:
266         (__kernel_rem_pio2l): Removed.
268         * math/k_rem_pio2l.c: Removed.
269         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
270         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
271         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
272         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
274 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
276         * math/Makefile (gen-libm-calls): Add s_fmin
277         (libm-calls): Remove above.
279         * math/s_fmin.c: Refactor into ...
280         * math/s_fmin_template.c: New file.
282         * math/s_fminf.c: Removed.
283         * math/s_fminl.c: Removed.
284         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
285         (LDOUBLE_fmin_libm_version): New macro.
287         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
288         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
290 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
292         * math/Makefile: (gen-libm-calls): Add s_fmax.
293         (libm-calls): Remove above.
295         * math/s_fmax.c: Refactor into ...
296         * math/s_fmax_template.c: New file.
297         * math/s_fmaxf.c: Removed.
298         * math/s_fmaxl.c: Removed.
300         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
301         (LDOUBLE_fmaxl_libm_version): New macro.
303         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
304         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
306         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
307         s_fmin.c to pick the aarch64 version of the file.
308         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
309         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
311 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
313         * math/Makefile: (gen-libm-calls): Add s_nextdown.
314         (libm-calls): Remove above.
316         * math/s_nextdown.c: Refactor into ...
317         * math/s_nextdown_template.c: New file.
318         * math/s_nextdownf.c: Removed.
319         * math/s_nextdownl.c: Removed.
321         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
323 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
325         * math/Makefile (gen-libm-calls): Add s_fdim.
326         (libm-calls): Move to above.
328         * math/s_fdim.c: Renamed and refactored into to ...
329         * math/s_fdim_template.c: New file.
330         * math/s_fdiml.c: Removed.
331         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
332         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
334         * sysdeps/generic/math-type-macros-double.h:
335         (declare_mgen_alias): Don't declare if already declared.
336         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
337         Likewise.
339         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
340         (declare_mgen_alias): Don't declare if already declared.
341         (M_LIBM_NEED_COMPAT): Likewise.
342         (declare_mgen_libm_compat): Likewise.
343         (LDOUBLE_fdiml_libm_version): New macro.
345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
346         Include math/s_fdim.c now that ldbl-opt version is not needed.
347         (declare_mgen_alias): New macro to disable aliasing.
349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
350         (declare_mgen_alias): Likewise.
351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
352         (declare_mgen_alias): Likewise.
353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
354         (declare_mgen_alias): Likewise.
355         (M_LIBM_NEED_COMPAT): Likewise.
357 2016-09-01  Florian Weimer  <fweimer@redhat.com>
359         [BZ #20525]
360         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
361         Include <linux/quota.h>.
362         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
363         and btodb.
364         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
365         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
366         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
367         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
368         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
369         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
370         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
371         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
372         types.
373         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
374         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
376 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
378         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
379         (gammal_positive): Fix spacing.
380         (__ieee754_gammal_r): Likewise.
382 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
384         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
385         (_Float128): Define as long double, always.
386         (L): Apply long double type suffix, always.
388         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
389         _Float128, excepting comments.
391         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
392         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
393         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
394         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
395         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
396         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
397         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
398         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
399         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
400         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
401         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
402         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
403         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
404         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
405         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
406         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
407         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
408         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
409         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
410         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
411         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
412         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
413         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
414         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
415         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
416         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
417         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
418         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
419         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
420         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
421         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
422         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
423         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
424         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
425         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
426         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
427         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
428         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
429         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
430         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
431         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
432         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
433         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
434         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
435         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
436         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
437         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
438         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
439         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
440         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
441         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
442         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
443         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
444         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
445         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
446         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
447         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
448         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
449         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
450         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
451         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
452         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
453         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
454         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
455         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
456         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
457         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
458         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
460         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
461         _Float128, and include math_private.h.
462         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
464         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
465         long double semantics.
466         (_Float128): Likewise.
467         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
468         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
469         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
470         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
472 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
474         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
475         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
476         * sysdeps/s390/configure: Regenerated.
477         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
478         instruction for raising over-/underflow if z196 zarch is supported
479         by default.
480         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
482 2016-08-30  Svante Signell  <svante.signell@gmail.com>
484         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
485         it point to a dumb buffer for RPC to fill it.
487 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
489         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
490         instead of if/else.
491         (do_sin_slow): Likewise.
492         (do_sincos_1): Use fabs instead of if/else.
493         (do_sincos_2): Likewise.
494         (__sin): Likewise.
495         (__cos): Likewise.
496         (slow2): Likewise.
497         (sloww): Likewise.
498         (sloww1): Likewise.  Drop argument M.
499         (sloww2): Use fabs instead of if/else.
500         (bsloww): Likewise.
501         (bsloww1): Likewise.
502         (bsloww2): Likewise.
504         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
505         fall through comment.
506         (do_sincos_1): Likewise.
508         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
509         Consolidate switch cases 0 and 2.
511 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
513         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
514         (libm-calls): Remove the above.
516         * math/s_cexp_template.c: Update using type-generic macros.
517         * math/s_clog10_template.c: Likewise.
518         * math/s_cpow_template.c: Likewise.
519         * math/s_clog_template.c: Likewise.
520         * math/s_cproj_template.c: Likewise.
521         * math/s_csqrt_template.c: Likewise.
523         * math/s_cexp.c: Removed.
524         * math/s_cexpf.c: Removed.
525         * math/s_cexpl.c: Removed.
526         * math/s_clog10.c: Removed.
527         * math/s_clog10f.c: Removed.
528         * math/s_clog10l.c: Removed.
529         * math/s_cpow.c: Removed.
530         * math/s_cpowf.c: Removed.
531         * math/s_cpowl.c: Removed.
532         * math/s_clog.c: Removed.
533         * math/s_clogf.c: Removed.
534         * math/s_clogl.c: Removed.
535         * math/s_cproj.c: Removed.
536         * math/s_cprojf.c: Removed.
537         * math/s_cprojl.c: Removed.
538         * math/s_csqrt.c: Removed.
539         * math/s_csqrtf.c: Removed.
540         * math/s_csqrtl.c: Removed.
542         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
543         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
544         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
545         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
546         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
547         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
549         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
550         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
551         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
552         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
553         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
554         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
555         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
556         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
557         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
558         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
559         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
561         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
562         version.
564         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
565         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
566         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
567         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
569 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
571         * s_cexp_template.c: Copy of s_cexp.c.
572         * s_clog_template.c: Copy of s_clog.c.
573         * s_clog10_template.c: Copy of s_clog10.c.
574         * s_cpow_template.c: Copy of s_cpow.c.
575         * s_cproj_template.c: Copy of s_cproj.c.
576         * s_csqrt_template.c: Copy of s_csqrt.c.
578 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
580         [BZ #20517]
581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
582         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
583         exported.
585 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
587         * math/fetestexceptflag.c: New file.
588         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
589         Stefan Liebler.
590         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
591         (fetestexceptflag): New function declaration.
592         * manual/arith.texi (fetestexceptflag): Document function.
593         * math/Versions (fetestexceptflag): New libm symbol at version
594         GLIBC_2.25.
595         * math/Makefile (libm-support): Add fetestexceptflag.
596         (tests): Add test-fetestexceptflag.
597         * math/test-fetestexceptflag.c: New file.
598         * sysdeps/nacl/libm.abilist: Update.
599         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
600         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
601         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
602         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
603         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
604         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
605         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
606         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
607         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
608         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
609         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
610         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
612         Likewise.
613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
614         Likewise.
615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
616         Likewise.
617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
618         Likewise.
619         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
620         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
621         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
622         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
623         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
625         Likewise.
626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
627         Likewise.
628         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
629         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
630         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
632 2016-08-26  Florian Weimer  <fweimer@redhat.com>
634         [BZ #20432]
635         Avoid strong references to malloc-internal symbols when linking
636         statically, to support statically interposed mallocs.
637         * include/libc-symbols.h (call_function_static_weak): New macro.
638         * malloc/Makefile (tests): Add tst-interpose-nothread,
639         tst-interpose-thread, tst-interpose-static-nothread,
640         tst-interpose-static-thread.
641         (tests-static): Add tst-interpose-static-nothread,
642         tst-interpose-static-thread.
643         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
644         tst-interpose-aux-thread.o.
645         (test-extras): Add tst-interpose-aux-nothread,
646         tst-interpose-aux-thread.
647         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
648         tst-interpose-aux-nothread.o.
649         (tst-interpose-thread, tst-interpose-static-thread): Link with
650         tst-interpose-aux-thread.o and libthread.
651         * malloc/tst-interpose-aux-nothread.c: New file.
652         * malloc/tst-interpose-aux-thread.c: Likewise.
653         * malloc/tst-interpose-aux.c: Likewise.
654         * malloc/tst-interpose-aux.h: Likewise.
655         * malloc/tst-interpose-nothread.c: Likewise.
656         * malloc/tst-interpose-skeleton.c: Likewise.
657         * malloc/tst-interpose-static-nothread.c: Likewise.
658         * malloc/tst-interpose-static-thread.c: Likewise.
659         * malloc/tst-interpose-thread.c: Likewise.
660         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
661         * sysdeps/mach/hurd/fork.c (__fork): Only call
662         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
663         __malloc_fork_unlock_child if defined.
664         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
666 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
668         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
669         timespec C99 designated initialization.
671 2016-08-26  Florian Weimer  <fweimer@redhat.com>
673         [BZ #19946]
674         Avoid expected SIGALRM signals.
675         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
676         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
677         (xpthread_create, xpthread_detach, xpthread_join)
678         (delayed_exit_thread, delayed_exit): New functions.
679         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
680         (tf): Use xpthread_cond_wait.
681         (do_test): Likewise.  Replace alarm with delayed_exit.
682         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
683         (do_test): Call delayed_exit.  Report failure.
684         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
685         (do_test): Call delayed_exit.
686         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
687         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
688         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
689         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
690         error.
691         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
692         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
693         error.
694         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
695         (do_test): Call delayed_exit.
696         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
697         (do_test): Call delayed_exit.
698         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
699         (do_test): Call delayed_exit instead of alarm.  Use
700         xpthread_mutex_lock.
701         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
702         (do_test): Call delayed_exit instead of alarm.  Use
703         xpthread_mutex_lock.
704         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
705         (do_test): Call delayed_exit instead of alarm.
706         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
707         (do_test): Call delayed_exit instead of alarm.  Use
708         xpthread_spin_lock.
709         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
710         (do_test): Call delayed_exit instead of alarm.  Use
711         xpthread_join.
713 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
715         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
716         adjust CFA when allocating register save area on re-aligned
717         stack.
719 2016-08-26  Florian Weimer  <fweimer@redhat.com>
721         * string/tst-cmp.c: New test.
722         * string/Makefile (tests): Add it.
724 2016-08-25  Mark Wielaard  <mark@klomp.org>
726         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
727         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
728         (check_tree_recurse): Use newly defined accessors.
729         (check_tree): Likewise.
730         (maybe_split_for_insert): Likewise.
731         (__tfind): Likewise.
732         (__tdelete): Likewise.
733         (trecurse): Likewise.
734         (tdestroy_recurse): Likewise.
735         (__tsearch): Likewise. And add asserts for malloc alignment.
736         (__twalk): Cast root to node in case CHECK_TREE is defined.
738 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
740         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
742 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
744         * math/Makefile (libm-gen-calls): Add
745         catan, catanh, ctan, ctanh.
746         (libm-calls): Remove the above.
748         * math/s_catan_template.c: Update using type-generic macros.
749         * math/s_catanh_template.c: Likewise.
750         * math/s_ctan_template.c: Likewise.
751         * math/s_ctanh_template.c: Likewise.
753         * math/s_catanf.c: Removed.
754         * math/s_catan.c: Removed.
755         * math/s_catanl.c: Removed.
756         * math/s_catanhf.c: Removed.
757         * math/s_catanh.c: Removed.
758         * math/s_catanhl.c: Removed.
759         * math/s_ctanf.c: Removed.
760         * math/s_ctan.c: Removed.
761         * math/s_ctanl.c: Removed.
762         * math/s_ctanhf.c: Removed.
763         * math/s_ctanh.c: Removed.
764         * math/s_ctanhl.c: Removed.
766         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
767         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
768         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
769         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
770         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
771         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
773         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
774         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
775         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
776         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
778 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
780         * s_catan_template.c: Copy of s_catan.c.
781         * s_catanh_template.c: Copy of s_catanh.c.
782         * s_ctan_template.c: Copy of s_ctan.c.
783         * s_ctanh_template.c: Copy of s_ctanh.c.
785 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
787         * math/Makefile (gen-libm-calls): Move
788         casin, casinh, csin, csinh here.
789         (libm-calls): Remove the above.
791         * math/s_casin_template.c: Update using type-generic macros.
792         * math/s_casinh_template.c: Likewise.
793         * math/s_csin_template.c: Likewise.
794         * math/s_csinh_template.c: Likewise.
795         * math/k_casinh_template.c: Likewise.
797         * math/s_casinf.c: Removed.
798         * math/s_casin.c: Removed.
799         * math/s_casinl.c: Removed.
800         * math/s_casinh.c: Removed.
801         * math/s_casinhf.c: Removed.
802         * math/s_casinhl.c: Removed.
803         * math/s_csin.c: Removed.
804         * math/s_csinf.c: Removed.
805         * math/s_csinl.c: Removed.
806         * math/s_csinh.c: Removed.
807         * math/s_csinhf.c: Removed.
808         * math/s_csinhl.c: Removed.
809         * math/k_casinh.c: Removed.
810         * math/k_casinhf.c: Removed.
811         * math/k_casinhl.c: Removed.
813         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
814         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
815         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
816         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
818         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
819         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
820         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
821         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
822         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
823         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
824         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
825         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
827         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
828         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
829         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
830         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
832         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
833         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
834         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
835         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
837 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
839         * s_casin_template.c: Copy of s_casin.c.
840         * s_casinh_template.c: Copy of s_casinh.c.
841         * s_csin_template.c: Copy of s_csin.c.
842         * s_csinh_template.c: Copy of s_csinh.c.
843         * k_casinh_template.c: Copy of k_casinh.c.
845 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
847         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
849 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
851         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
852         (mul_split) Remove, rename as mul_splitl, remove
853         redundant float.h include, and include via mul_splitl.h
855         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
856         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
857         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
858         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
859         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
861         * math/mul_splitl.h: New file.
863         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
864         Move into mul_split.h, and remove redundant float.h include.
866         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
867         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
868         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
869         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
871         * math/mul_split.h: New file.
873 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
875         * math/Makefile (libm-gen-calls): Move
876         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
877         (libm-calls): Remove above.
879         * math/s_cacos_template.c: Update using type-generic macros.
880         * math/s_cacosh_template.c: Likewise.
881         * math/s_ccos_template.c: Likewise.
882         * math/s_ccosh_template.c: Likwise.
884         * math/s_cacosf.c: Removed.
885         * math/s_cacos.c: Removed.
886         * math/s_cacosl.c: Removed.
887         * math/s_cacoshf.c: Removed.
888         * math/s_cacosh.c: Removed.
889         * math/s_cacoshl.c: Removed.
890         * math/s_ccosf.c: Removed.
891         * math/s_ccos.c: Removed.
892         * math/s_ccosl.c: Removed.
893         * math/s_ccoshf.c: Removed.
894         * math/s_ccosh.c: Removed.
895         * math/s_ccoshl.c: Removed.
897         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
898         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
899         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
900         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
901         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
902         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
904         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
905         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
906         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
907         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
909         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
910         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
911         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
912         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
914 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
916         * s_cacos_template.c: Copy of s_cacos.c.
917         * s_cacosh_template.c: Copy of s_cacosh.c.
918         * s_ccos_template.c: Copy of s_ccos.c.
919         * s_ccosh_template.c: Copy of s_ccosh.c.
921 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
923         * stdlib/tst-strtod-round-skeleton.c:
924         Refactored from tst-strtod-round.c.
926         (L_): New macro to apply literal modifier.
927         (FNPFX): New macro to select str or wcs prefix.
928         (CHAR): New macro to choose wchar_t or char.
929         (STRM): New macro to choose printf for tested character type.
931         (STRTO): New macro to choose appropriate string -> real function.
932         (FNPFXS): Stringitized version of FNPFX.
933         (STR): Support for above macro.
934         (STRX): Likewise.
936         (TEST): Update with above macros.
937         (test): Likewise.
938         (GEN_ONE_TEST): Likewise.
939         (test_in_one_mode): Likewise.
941         * stdlib/tst-strtod-round.c: New file.
942         * wcsmbs/tst-wcstod-round.c: New file.
944         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
945         (tst-wcstod-round): Add libm depencency for fesetround.
947 2016-08-19  Zack Weinberg  <zackw@panix.com>
949         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
951 2016-08-18  Torvald Riegel  <triegel@redhat.com>
953         [BZ #20477]
954         * resolv/res_hconf.c (do_init): Use atomic access.
955         * resolv/res_hconf.h: Add comments.
956         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
957         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
960 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
962         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
963         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
964         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
965         Likewise.
967 2016-08-18  Florian Weimer  <fweimer@redhat.com>
969         [BZ #16907]
970         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
971         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
972         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
973         (__attribute__): Remove definition.
975 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
977         * sysdeps/ieee754/ldbl-128/e_asinl.c:
978         Remove unused sqrtl declaration.
980 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
982         * math/Makefile: (gen-libm-templates.stmp): New rule.
983         (libm-calls): Move carg conj cimag and cabs into ...
984         (gen-libm-calls): New variable.
985         (generated): Inform Make objects from gen-libm-calls
986         may be generated.
988         * sysdeps/generic/math-type-macros.h: New file.
989         * sysdeps/generic/math-type-macros-float.h: Likewise.
990         * sysdeps/generic/math-type-macros-double.h: Likewise.
991         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
992         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
993         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
995         * math/cabs.c: Refactor into
996         * math/cabs_template.c: new file.
997         * math/cabsf.c: Removed.
998         * math/cabsl.c: Removed.
999         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1000         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1002         * math/carg.c: Refactor into
1003         * math/carg_template.c: new file.
1004         * math/cargf.c: Removed.
1005         * math/cargl.c: Removed.
1006         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1007         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1009         * math/conj.c: Refactor into
1010         * math/conj_template.c: new file.
1011         * math/conjf.c: Removed.
1012         * math/conjl.c: Removed.
1013         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1014         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1016         * math/cimag.c: Refactor into
1017         * math/cimag_template.c: new file.
1018         * math/cimagf.c: Removed.
1019         * math/cimagl.c: Removed.
1020         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1021         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1023         * math/cimag.c: Refactor into
1024         * math/cimag_template.c: new file.
1025         * math/cimagf.c: Removed.
1026         * math/cimagl.c: Removed.
1027         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1028         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1030 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1032         Reduce time to expected nptl/tst-once5 failure.
1033         * nptl/tst-once5.cc (TIMEOUT): Define.
1035 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1037         [BZ #20452]
1038         Avoid additional copies of objects in libc.a in static libraries.
1039         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1040         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1041         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1042         rt-sysdep.
1043         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1044         Add nptl-sysdep.
1045         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1046         Add ptw-sysdep.
1047         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1048         rt-sysdep.
1049         * sysdeps/unix/sysv/linux/alpha/Makefile
1050         (libpthread-shared-only-routines): Add ptw-sysdep,
1051         ptw-sigprocmask, ptw-rt_sigaction.
1052         * sysdeps/unix/sysv/linux/ia64/Makefile
1053         (librt-shared-only-routines): Add rt-sysdep.
1054         * sysdeps/unix/sysv/linux/i386/Makefile
1055         (libpthread-shared-only-routines): Add libc-do-syscall.
1056         * sysdeps/unix/sysv/linux/microblaze/Makefile
1057         (libpthread-shared-only-routines): Add sysdep.
1058         * sysdeps/unix/sysv/linux/powerpc/Makefile
1059         (librt-shared-only-routines): Add rt-sysdep.
1060         (libpthread-shared-only-routines): Add sysdep.
1061         * sysdeps/unix/sysv/linux/s390/Makefile
1062         (librt-shared-only-routines): Add rt-sysdep.
1063         * sysdeps/unix/sysv/linux/sparc/Makefile
1064         (librt-shared-only-routines): Add rt-sysdep.
1065         (libpthread-shared-only-routines): Add sysdep.
1066         * sysdeps/unix/sysv/linux/tile/Makefile
1067         (libpthread-shared-only-routines): Likewise.
1069 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1071         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1072         Mask implicit bit out of unpacked value.
1073         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1074         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1075         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1077         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1079         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1081         * sysdeps/s390/fpu/fesetexcept.c: New file.
1083         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1084         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1085         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1087         * sysdeps/mips/fpu/fesetexcept.c: New file.
1089         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1091         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1093         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1095         * sysdeps/arm/fesetexcept.c: New file.
1097         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1099         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1101         * math/fesetexcept.c: New file.
1102         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1103         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1104         * math/fenv.h: Define
1105         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1106         <bits/libc-header-start.h> instead of including <features.h>.
1107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1108         declaration.
1109         * manual/arith.texi (fesetexcept): Document function.
1110         * math/Versions (fesetexcept): New libm symbol at version
1111         GLIBC_2.25.
1112         * math/Makefile (libm-support): Add fesetexcept.
1113         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1114         * math/test-fesetexcept.c: New file.
1115         * math/test-fesetexcept-traps.c: Likewise.
1116         * sysdeps/nacl/libm.abilist: Update.
1117         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1118         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1119         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1120         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1121         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1122         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1123         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1124         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1125         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1126         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1127         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1128         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1130         Likewise.
1131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1132         Likewise.
1133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1134         Likewise.
1135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1136         Likewise.
1137         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1138         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1139         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1140         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1141         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1143         Likewise.
1144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1145         Likewise.
1146         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1147         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1148         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1150 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1152         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1153         New.
1154         (do_test): Apply default_stack_size_in_mb if not set.
1155         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1157 2016-08-15  Andreas Schwab  <schwab@suse.de>
1159         [BZ #20435]
1160         CVE-2016-6323
1161         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1162         as .cantunwind.
1164 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1166         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1167         comment from fraiseexcpt.c.
1169         * math/test-fexcept.c (feraiseexcept_exact): New function.
1170         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1171         (test_except): Likewise.
1173 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1175         [BZ #20455]
1176         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1177         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1178         to be restored.
1180         * math/test-fexcept-traps.c: New file.
1181         * math/test-fexcept.c: Likewise.
1182         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1183         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1184         macro.
1185         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1186         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1188 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1190         * include/atomic.h (atomic_fetch_and_relaxed,
1191         atomic_fetch_and_release, atomic_fetch_or_release,
1192         atomic_fetch_xor_release): New.
1194 2016-08-06  Christian Seiler  <christian@iwakd.de>
1196         [BZ #20444]
1197         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1198         MACH_PORT_NULL.
1200 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1202         * math/s_fdim.c: Avoid alias renamed.
1203         * math/s_fdimf.c: Likewise.
1204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1205         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1206         Add s_fdimf-vis3, s_fdim-vis3.
1207         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1208         (CFLAGS-s_fdim-vis3.c): Likewise.
1209         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1210         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1212 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1215         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1216         Remove s_fdimf-vis3, s_fdim-vis3.
1217         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1218         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1225         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1226         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1228 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1230         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1231         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1232         -Wa,-Av9a -mvis.
1234 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1236         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1237         LIT() to individual constants in simple expressions
1238         after splitting on spaces.
1239         (_apply_lit): Rename replaced version, and use it to
1240         apply to what appears to be a token.
1242         * math/libm-test.inc: Fix many, many issues with
1243         spacing.
1245 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1247         * math/math.h: Move comment about <bits/mathdef.h> definitions
1248         above inclusion of <bits/mathdef.h>.  Do not mention
1249         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1251 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1253         * include/atomic.h (atomic_exchange_relaxed): New.
1255 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1257         * math/e_scalb.c: Do not include <fenv.h>.
1258         (invalid_fn): Do calculation resulting in NaN instead of raising
1259         FE_INVALID and returning a NaN explicitly.
1260         * math/e_scalbf.c: Do not include <fenv.h>.
1261         (invalid_fn): Do calculation resulting in NaN instead of raising
1262         FE_INVALID and returning a NaN explicitly.
1263         * math/e_scalbl.c: Do not include <fenv.h>.
1264         (invalid_fn): Do calculation resulting in NaN instead of raising
1265         FE_INVALID and returning a NaN explicitly.
1267 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1269         * po/de.po: Updated from Translation Project.
1270         * po/fi.po: Likewise.
1271         * po/sv.po: Likewise.
1273 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1275         [BZ #20452]
1276         Use sysdep.o from libc.a in static libraries.
1277         * sysdeps/unix/sysv/linux/i386/Makefile
1278         (libpthread-shared-only-routines): Add sysdep.
1279         (librt-shared-only-routines): Likewise.
1281 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1283         * math/tgmath.h (nextdown): Define if
1284         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1285         (nextup): Likewise.
1287         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1288         macro.
1289         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1290         Document.
1291         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1292         Document macro.
1293         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1294         (exp10f): Likewise.
1295         (exp10l): Likewise.
1296         * math/bits/mathcalls.h (exp10): Declare if
1297         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1299         * manual/arith.texi (nextup): Fix typo in last change.
1301 2016-08-03  Zack Weinberg  <zackw@panix.com>
1303         [BZ #19239]
1304         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1305         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1306         define major, minor, and makedev to issue deprecation warnings on use.
1307         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1308         previously-activated deprecation warnings for these macros and prevent
1309         subsequent inclusions of this header from having any effect.
1310         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1311         including <sys/sysmacros.h>, and undefine it again afterward.
1313 2016-08-03  Zack Weinberg  <zackw@panix.com>
1315         * sysdeps/generic/sys/sysmacros.h: Delete file.
1316         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1317         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1318         * bits/sysmacros.h: ... here; this encoding is now the generic
1319         encoding.  Now defines only the following macros:
1320         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1321         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1322         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1324         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1325         bits/sysmacros.h and the above new macros to generate the
1326         public implementations of major, minor, and makedev.
1327         * misc/tst-makedev.c: New test.
1328         * include/sys/sysmacros.h: New wrapper.
1330         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1331         (routines): Add makedev.
1332         (tests): Add tst-makedev.
1333         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1334         gnu_dev_makedev.
1335         * posix/Makefile (headers): Remove sys/sysmacros.h.
1336         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1338         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1339         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1340         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1341         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1342         * sysdeps/unix/sysv/linux/arm/libc.abilist
1343         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1344         * sysdeps/unix/sysv/linux/i386/libc.abilist
1345         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1346         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1347         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1348         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1349         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1350         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1351         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1352         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1353         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1358         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1359         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1360         * sysdeps/unix/sysv/linux/sh/libc.abilist
1361         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1362         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1365         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1366         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1367         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1368         Add GLIBC_2.25.
1370         * include/features.h (__glibc_clang_prereq): New macro.
1371         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1372         (__attribute_deprecated_msg__): New macros.
1374 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1376         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1377         macro.
1378         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1379         * manual/arith.texi (issignaling): Document as ISO from TS
1380         18661-1:2014.
1381         (nextup): Likewise.
1382         (nextupf): Likewise.
1383         (nextupl): Likewise.
1384         (nextdown): Likewise.
1385         (nextdownf): Likewise.
1386         (nextdownl): Likewise.
1387         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1388         macro.
1389         * math/math.h: Define
1390         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1391         <bits/libc-header-start.h> instead of including <features.h>.
1392         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1393         [__USE_GNU].
1394         * math/bits/mathcalls.h (nextdown): Declare if
1395         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1396         (nextup): Likewise.
1397         (__issignaling): Likewise.
1399 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1401         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1402         check, and remove __glibc_likely hint
1403         from FP_INFINITE check.
1404         * s_csinhf.c (__csinhf): Likewise.
1406         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1407         hint from FP_INFINITE check.
1408         * s_csinhl.c (__csinhl): Likewise.
1410 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1412         * math/Makefile (libm-calls): Insert F placeholder into
1413         object names.  Move w_lgamma_compat* routines into
1414         (libm-compat-calls): New variable.
1415         (libm-compat-calls-ldouble-yes): New variable.
1416         (calls): Insert F placeholder.
1417         (generated): Redefine using new type-foreach macro call.
1418         (routines): Likewise.
1420         (types): New variable to hold a list of symbolic names
1421         for each type supported by the target machine.
1422         (libm-routines): Redefine using new types variable.
1423         (type-foreach): macro to replace fooF with the
1424         appropriately suffixed foo for each types.
1426         (type-ldouble-suffix): New variable.
1427         (type-ldouble-routines): Likewise.
1428         (type-ldouble-yes): Likewise.
1429         (type-double-suffix): Likewise.
1430         (type-double-routines): Likewise.
1431         (type-float-suffix): Likewise.
1432         (type-float-routines): Likewise.
1434         (dbl-only-routines): Remove.
1435         (long-c-yes): Likewise.
1436         (long-m-routines): Likewise.
1437         (long-m-support): Likewise.
1438         (long-m-yes): Likewise.
1439         (test-longdouble-yes): Likewise.
1441         (test-float.o): Simplify by increasing the scope of the
1442         recipe which adds libm-test.stmp to the vector types.
1443         (test-ifloat.o): Likewise.
1444         (test-float-finite.o): Likewise.
1445         (test-double.o): Likewise
1446         (test-idouble.o): Likewise.
1447         (test-double-finite.o): Likewise.
1448         (test-ldouble.o): Likewise
1449         (test-ildoubl.o): Likewise.
1450         (test-ldouble-finite.o): Likewise.
1452         (libm-tests): Redefine type tests using foreach and the
1453         list of types in types.
1455         (CPPFLAGS-test-ildoubl.c): Rename to
1456         (CPPFLAGS-test-ildouble.c): New variable
1458         * math/test-ildoubl.c: Rename to
1459         * math/test-ildouble.c: New file.
1461 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1463         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1464         Use fabsl instead of fabs.
1465         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1466         Likewise.
1467         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1468         Add long double suffix to constant to ensure proper
1469         promotion to long double.
1471 2016-08-03  Tom Tromey  <tom@tromey.com>
1473         [BZ #20311]
1474         * nptl_db/Makefile (headers): Add proc_service.h.
1475         * nptl_db/proc_service.h: Add include guard.  Use
1476         __BEGIN/__END_DECLS.
1477         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1478         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1479         arguments.
1482 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1484         [BZ #17730]
1485         Avoid using memalign for TCB allocations.
1486         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1487         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1488         Avoid alignment gap in the TLS_DTV_AT_TP case.
1489         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1490         determine the pointer to free.
1491         * nptl/tst-tls3-malloc.c: New test.
1492         * nptl/Makefile (tests): Add it.
1493         (tst-tls3-malloc): Link with libdl, libpthread.
1494         (LDFLAGS-tst-tls3-malloc): Set.
1495         (tst-tls3-malloc.out): Depend on DSO used in test.
1497 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1499         [BZ #17730]
1500         Avoid using memalign for TLS allocations.
1501         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1502         is_static member with to_free member.
1503         (union dtv): Use struct dtv_pointer.
1504         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1505         dtv_pointer instead of is_static.
1506         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1507         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1508         instead of val.
1509         (allocate_dtv_entry): New function.
1510         (allocate_and_init): Return struct dtv_pointer.  Call
1511         allocate_dtv_entry instead of __libc_memalign.
1512         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1513         instead of val.
1514         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1515         instead of is_static.  Adjust call to allocate_and_init.
1516         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1517         struct dtv_pointer instead of val.
1519 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1521         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1522         (MALLOC_ALIGN_MASK): Move ...
1523         * malloc/malloc-internal.h: ... to here.
1524         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1526 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1528         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1529         (UDP_ENCAP_GTP1U): Likewise.
1531         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1532         (PF_MAX): Update value.
1533         (AF_QIPCRTR): New macro.
1535 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1537         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1538         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1539         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1540         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1541         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1542         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1543         s_truncf-vis3, s_trunc-vis3.
1544         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1545         (CFLAGS-s_ceil-vis3.c): Likewise.
1546         (CFLAGS-s_floorf-vis3.c): Likewise.
1547         (CFLAGS-s_floor-vis3.c): Likewise.
1548         (CFLAGS-s_truncf-vis3.c): Likewise.
1549         (CFLAGS-s_trunc-vis3.c): Likewise.
1550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1551         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1552         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1553         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1557         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1558         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1559         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1560         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1561         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1563 2016-08-02  David S. Miller  <davem@davemloft.net>
1565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1566         (__nearbyint_vis3): Don't check for sNaN before float register is
1567         loaded with the incoming argument.
1568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1569         (__nearbyintf_vis3): Likewise.
1570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1571         Likewise.
1572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1573         Likewise.
1575         * string/test-strncmp.c (do_test_limit): Make sure the test data
1576         stream is aligned as required for the type "CHAR".
1577         (do_test): Likewise.
1579 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1581         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1582         by beq instructions jumping to the end of the function.
1583         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1584         clobber list. Use "i" constraint instead of "X".
1585         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1586         of "X".
1588 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1590         * bits/libc-header-start.h: New file.
1591         * Makefile (headers): Add bits/libc-header-start.h.
1592         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1593         (__GLIBC_USE): New macro.
1594         * libio/stdio.h: Define
1595         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1596         <bits/libc-header-start.h> instead of including <features.h>.
1597         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1598         (open_memstream): Likewise.
1599         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1600         (__asprintf): Likewise.
1601         (asprintf): Likewise.
1602         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1603         (getdelim): Likewise.
1604         (getline): Likewise.
1605         * string/string.h: Define
1606         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1607         <bits/libc-header-start.h> instead of including <features.h>.
1608         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1609         (strndup): Likewise.
1610         * wcsmbs/wchar.h: Define
1611         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1612         <bits/libc-header-start.h> instead of including <features.h>.
1613         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1614         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1616 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1618         Support linking against compatibility symbols, for use in tests.
1619         * include/libc-symbols.h (symbol_version_reference): New macro.
1620         (symbol_version): Use it.
1621         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1622         (compat_symbol): Use compat_symbol_reference.
1623         (compat_symbol_1, compat_symbol_2): Remove.
1624         (compat_symbol_reference, compat_symbol_reference_1)
1625         (compat_symbol_reference_2): New macro.  Use
1626         symbol_version_reference.
1628 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1630         [BZ #19469]
1631         * malloc/Makefile (CPPFLAGS): Compile tests with
1632         -DTEST_NO_MALLOPT.
1633         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1635 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1637         [BZ #20033]
1638         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1639         finite version.
1640         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1641         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1642         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1643         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1644         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1645         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1646         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1647         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1648         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1649         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1650         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1651         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1652         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1653         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1654         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1655         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1656         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1657         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1658         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1659         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1660         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1661         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1662         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1663         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1664         in zero power.
1666 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1668         [BZ #20370]
1669         * malloc/arena.c (get_free_list): Update comment.  Assert that
1670         arenas on the free list have no attached threads.
1671         (remove_from_free_list): New function.
1672         (reused_arena): Call it.
1674 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1676         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1677         when it is a NaN.
1678         [_IEEE_FP_INEXACT] Remove.
1679         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1680         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1681         when it is a NaN.
1682         [_IEEE_FP_INEXACT] Remove.
1683         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1684         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1685         when it is a NaN.
1686         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1687         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1688         when its absolute value is greater than 0x1.0p52.
1689         [_IEEE_FP_INEXACT] Remove.
1690         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1691         when its absolute value is greater than 0x1.0p23.
1692         [_IEEE_FP_INEXACT] Remove.
1694 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1696         * version.h (RELEASE): Set to "development"
1697         (VERSION): Set to 2.24.90.
1698         * NEWS: Add 2.25 section.
1700         * version.h (RELEASE): Set to "stable"
1701         (VERSION): Set to 2.24.
1702         * include/features.h (__GLIBC_MINOR__): Set to 24.
1704         * NEWS: Add 2.24 fixed bugs.
1705         * po/libc.pot: Regenerate.
1707 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1710         [$(subdir) = math] (libm-sysdep_routines): Remove.
1711         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1712         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1713         s_truncf-vis3, s_trunc-vis3.
1714         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1716         file.
1717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1740         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1741         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1743         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1745         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1750         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1751         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1752         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1753         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1754         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1755         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1756         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1757         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1758         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1759         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1761 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1763         [BZ #20384]
1764         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1765         test-double-libmvec-sincos-avx-main.o,
1766         test-double-libmvec-sincos-avx2-main.o,
1767         test-double-libmvec-sincos-main.o,
1768         test-float-libmvec-sincosf-avx-main.o,
1769         test-float-libmvec-sincosf-avx2-main.o and
1770         test-float-libmvec-sincosf-main.o.
1771         test-float-libmvec-sincosf-avx512-main.o.
1772         ($(objpfx)test-double-libmvec-sincos): Also link with
1773         $(objpfx)test-double-libmvec-sincos-main.o.
1774         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1775         $(objpfx)test-double-libmvec-sincos-avx-main.o.
1776         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1777         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1778         ($(objpfx)test-float-libmvec-sincosf): Also link with
1779         $(objpfx)test-float-libmvec-sincosf-main.o.
1780         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1781         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1782         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1783         test-double-libmvec-sincos-avx512-main.o and
1784         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1785         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1786         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1787         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1788         (CFLAGS-test-double-libmvec-sincos.c): Removed.
1789         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1790         (CFLAGS-test-double-libmvec-sincos-main.c): New.
1791         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1792         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1793         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1794         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1795         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1796         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1797         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1798         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1799         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1800         -DREQUIRE_AVX2.
1801         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1802         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1803         -DREQUIRE_AVX512F.
1804         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1805         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1806         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1807         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1808         file.
1809         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1810         Likewise.
1811         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1812         Likewise.
1813         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1814         Likewise.
1815         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1816         Likewise.
1817         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1818         Likewise.
1819         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1820         Likewise.
1821         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1822         Likewise.
1824 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
1826         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1828 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
1830         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1831         and typo in a comment about AT_HWCAP entry.
1833 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1835         * sysdeps/aarch64/libm-test-ulps: Updated.
1837 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1839         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1840         of r13 as it is not restored in mvcle case.
1842 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1844         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1845         Rename "ret" to "__ret".
1846         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1847         inline_syscall5, inline_syscall6): Likewise.
1849 2016-07-19   Will Newton  <will.newton@gmail.com>
1851         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1852         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1853         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1854         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1855         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1857 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1859         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1860         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1861         -mfpmath=387 with $(rtld-CFLAGS).
1862         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1863         $(rtld-CFLAGS).
1865 2016-07-18   Ross Burton  <ross.burton@intel.com>
1866              Khem Raj  <raj.khem@gmail.com>
1868         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1869         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1870         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1871         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1872         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1873         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1874         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1875         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1876         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1877         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1878         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1879         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1880         R_METAG_TLS_DTPOFF): New.
1882 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1883             Matt Clay  <mclay@lycos.com>
1885         [BZ #20357]
1886         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1887         to call __mpsin/__mpcos and to negate values.
1888         * math/auto-libm-test-in: Add test.
1889         * math/auto-libm-test-out: Regenerate.
1891 2016-07-18  Zack Weinberg  <zackw@panix.com>
1893         * grp/Makefile: Don't install the internal header grp-merge.h.
1895 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1897         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1899 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1901         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1903 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1905         [BZ #15368]
1906         * sysdeps/unix/sysv/linux/nptl-signals.h
1907         (__nptl_clear_internal_signals): New function.
1908         (__libc_signal_block_all): Likewise.
1909         (__libc_signal_block_app): Likewise.
1910         (__libc_signal_restore_set): Likewise.
1911         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1912         implementation.
1913         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1914         the cached pid/tid value in pthread structure.
1916 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1918         [BZ #20347]
1919         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1921 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1923         [BZ #20348]
1924         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1925         preadv64, pwrite64 and pwritev64.
1927 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1929         [BZ #20350]
1930         * posix/tst-preadwrite.c: Renamed to ...
1931         * posix/tst-preadwrite-common.c: This.
1932         (PREAD): Removed.
1933         (PWRITE): Likewise.
1934         (STRINGIFY): Likewise.
1935         (STRINGIFY2): Likewise.
1936         (do_prepare): Make it static and remove function arguments.
1937         (do_test): Likewise.
1938         (PREPARE): Updated.
1939         (TEST_FUNCTION): New.
1940         (name): Make it static.
1941         (fd): Likewise.
1942         (do_prepare): Use create_temp_file.
1943         (do_test): Renamed to ...
1944         (do_test_with_offset): This.  Make it static and accept offset.
1945         Properly check return value of PWRITE and PREAD.  Return bytes
1946         read.  Don't close fd nor unlink name.
1947         * posix/tst-preadwrite.c: Rewrite.
1948         * posix/tst-preadwrite64.c: Likewise.
1950 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1952         [BZ #20309]
1953         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1954         -mtls-dialect=gnu2 works.
1955         * configure: Regenerated.
1956         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1957         (tests): Add tst-gnu2-tls1.
1958         (modules-names): Add tst-gnu2-tls1mod.
1959         ($(objpfx)tst-gnu2-tls1): New.
1960         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1961         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1962         * elf/tst-gnu2-tls1.c: New file.
1963         * elf/tst-gnu2-tls1mod.c: Likewise.
1964         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1965         bytes for push in the PLT entry to align the stack.
1967 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1969         [BZ #20349]
1970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1972 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1974         [BZ #18707]
1975         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1976         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1978 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1980         * sysdeps/unix/sysv/linux/sysdep.h
1981         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1982         guards.
1983         * misc/tst-preadvwritev-common.c: New file.
1984         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1985         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1986         a check for files larger than 2GB.
1988         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1989         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1990         * sysdeps/unix/sysv/linux/pread.c
1991         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1992         __OFF_T_MATCHES_OFF64_T.
1993         * sysdeps/unix/sysv/linux/pread64.c
1994         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1995         * sysdeps/unix/sysv/linux/preadv.c
1996         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1997         * sysdeps/unix/sysv/linux/preadv64.c
1998         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1999         * sysdeps/unix/sysv/linux/pwrite.c
2000         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2001         * sysdeps/unix/sysv/linux/pwrite64.c
2002         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2003         * sysdeps/unix/sysv/linux/pwritev.c
2004         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2005         * sysdeps/unix/sysv/linux/pwritev64.c
2006         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2008 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2010         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2011         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2013 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2015         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2017 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2019         [BZ #20240]
2020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2021         (CFLAGS-s_modf-ppc32.c): New variable.
2022         (CFLAGS-s_modff-ppc32.c): Likewise.
2023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2024         (CFLAGS-s_modf-ppc64.c): Likewise.
2025         (CFLAGS-s_modff-ppc64.c): Likewise.
2027 2016-07-07  Andreas Schwab  <schwab@suse.de>
2029         [BZ #20263]
2030         * nptl/tst-robust10.c: New test.
2031         * nptl/Makefile (tests): Add tst-robust10.
2033 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2035         [BZ #20263]
2036         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2038 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2040         * sysdeps/s390/linkmap.h (struct link_map_machine):
2041         Remove member gotplt and add member jmprel.
2042         * sysdeps/s390/s390-32/dl-machine.h
2043         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2044         instead of gotplt with &got[3].
2045         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2046         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2048 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2050         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2052 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2054         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2055         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2056         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2057         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2058         * libio/vtables.c (_IO_vtable_check)
2059         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2060         * libio/libioP.h (IO_set_accept_foreign_vtables)
2061         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2063 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2065         [BZ #20314]
2066         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2067         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2068         $(common-objpfx)cmath.
2069         ($(common-objpfx)cstdlib): New target.
2070         ($(common-objpfx)cmath): Likewise.
2072 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2074         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2076 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2078         [BZ #20327]
2079         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2080         are not part of the string.
2082 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2084         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2085         * nptl/tst-cancel4-common.h (fifoname): New variable.
2086         (fifofd): Likewise.
2087         (cl_fifo): New function.
2088         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2089         SIGINT.
2090         (tf_open): Add early cancel test.
2092 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2094         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2096 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2098         * sysdeps/generic/ldsodefs.h
2099         (dl_symbol_visibility_binds_local_p): New inline function.
2100         * elf/dl-addr.c (determine_info): Treat hidden and internal
2101         symbols as local.
2102         * elf/dl-lookup.c (do_lookup_x): Likewise.
2103         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2105 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2107         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2108         invalid exception for a sNaN input.
2109         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2110         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2111         (__nearbyint_vis3): Likewise
2112         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2113         (__nearbyintf_vis3): Likewise
2114         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2115         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2116         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2117         Likewise.
2118         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2119         Likewise.
2121 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2123         [BZ #20139]
2124         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2125         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2126         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2127         2.24 or above.
2128         (HAVE_AVX512_ASM_SUPPORT): Removed.
2129         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2130         * sysdeps/x86_64/configure: Regenerated.
2131         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2132         check unconditional.
2133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2134         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2135         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2136         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2137         Likewise.
2138         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2139         Likewise.
2140         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2141         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2142         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2143         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2144         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2145         Likewise.
2146         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2147         Likewise.
2148         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2149         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2150         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2151         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2152         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2153         Likewise.
2154         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2155         Likewise.
2156         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2157         Likewise.
2158         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2159         Likewise.
2160         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2161         Likewise.
2162         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2163         Likewise.
2164         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2165         Likewise.
2166         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2167         Likewise.
2168         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2169         Likewise.
2170         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2171         Likewise.
2172         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2173         Likewise.
2175 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2177         [BZ #20024]
2178         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2179         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2180         of this implementation of vector function.
2181         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2182         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2183         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2184         Likewise.
2185         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2187         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2188         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2189         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2190         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2191         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2192         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2193         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2194         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2195         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2196         for testing vector sincos with fixed ABI.
2197         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2198         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2199         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2200         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2201         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2202         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2203         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2204         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2205         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2206         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2207         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2208         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2209         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2210         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2211         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2212         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2214 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2216         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2218 2016-06-30  Anton Blanchard  <anton@samba.org>
2220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2221         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2222         s_sinf-ppc64.
2223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2226         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2228 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2232         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2233         e_expf-ppc64.
2234         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2236         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2237         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2239 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2241         [BZ #20277]
2242         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2243         when SHARED is defined.
2245 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2247         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2248         (index_arch_Prefer_ERMS): Likewise.
2249         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2250         __memcpy_erms for Prefer_ERMS.
2251         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2252         (__memmove_erms): Enabled for libc.a.
2253         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2254         __memmove_erms or Prefer_ERMS.
2255         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2256         __mempcpy_erms for Prefer_ERMS.
2257         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2258         __memset_erms for Prefer_ERMS.
2260 2016-06-30  Andreas Schwab  <schwab@suse.de>
2262         [BZ #20262]
2263         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2264         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2265         of memory.
2267 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2269         [BZ #18645]
2270         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2271         (test-extras): Add tst-cleanupx4aux.
2272         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2273         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2274         tst-cleanupx4aux.o.
2275         * nptl/tst-cleanupx4aux.c: New file.
2277 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2279         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2281 2016-06-29  Andreas Schwab  <schwab@suse.de>
2283         [BZ #20260]
2284         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2285         address before the beginning of the string as an integer to avoid
2286         array-bounds warning.
2288 2016-06-28  Richard Henderson  <rth@redhat.com>
2290         * elf/elf.h (EM_BPF): New.
2291         (EM_NUM): Update.
2292         (R_BPF_NONE, R_BPF_MAP_FD): New.
2294         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2295         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2296         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2297         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2298         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2299         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2300         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2301         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2302         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2303         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2304         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2305         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2306         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2307         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2308         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2309         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2310         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2311         (EM_NUM): Update.
2313 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2315         [BZ #18960]
2316         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2317         Set _nl_current_LC_CATEGORY_used to two instead of one.
2319 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2321         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2322         (do_test): ... this.
2323         (TEST_FUNCTION): New macro.
2324          Include test-skeleton.c.
2325         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2326         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2328 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2330         [BZ #15479]
2331         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2332         floating-point environment rather than just control word.
2333         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2334         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2335         floating-point environment, with "invalid" exceptions merged in,
2336         rather than just control word.
2337         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2338         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2339         "inexact" exceptions.
2341         [BZ #15479]
2342         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2343         floating-point environment rather than just control word.
2344         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2345         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2346         floating-point environment, with "invalid" exceptions merged in,
2347         rather than just control word.
2348         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2349         * math/libm-test.inc (floor_test_data): Do not allow spurious
2350         "inexact" exceptions.
2352         [BZ #15479]
2353         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2354         floating-point environment rather than just control word.
2355         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2356         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2357         floating-point environment, with "invalid" exceptions merged in,
2358         rather than just control word.
2359         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2360         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2361         "inexact" exceptions.
2363 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2365         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2366         __libc_vfork.
2367         (__vfork) [IS_IN (libc)]: Remove alias.
2368         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2369         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2370         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2372 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2374         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2375         of atomic_compare_and_exchange_bool_rel.
2376         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2377         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2378         catomic_compare_and_exchange_bool_rel): Remove.
2379         * sysdeps/aarch64/atomic-machine.h
2380         (atomic_compare_and_exchange_bool_rel): Likewise.
2381         * sysdeps/alpha/atomic-machine.h
2382         (atomic_compare_and_exchange_bool_rel): Likewise.
2383         * sysdeps/arm/atomic-machine.h
2384         (atomic_compare_and_exchange_bool_rel): Likewise.
2385         * sysdeps/mips/atomic-machine.h
2386         (atomic_compare_and_exchange_bool_rel): Likewise.
2387         * sysdeps/microblaze/atomic-machine.h
2388         ( __arch_compare_and_exchange_bool_8_rel,
2389         __arch_compare_and_exchange_bool_16_rel): Likewise.
2390         * sysdeps/powerpc/atomic-machine.h
2391         ( __arch_compare_and_exchange_bool_8_rel,
2392         __arch_compare_and_exchange_bool_16_rel): Likewise.
2393         * sysdeps/powerpc/powerpc32/atomic-machine.h
2394         ( __arch_compare_and_exchange_bool_32_rel,
2395         __arch_compare_and_exchange_bool_64_rel): Likewise.
2396         * sysdeps/powerpc/powerpc64/atomic-machine.h
2397         ( __arch_compare_and_exchange_bool_32_rel,
2398         __arch_compare_and_exchange_bool_64_rel): Likewise.
2399         * sysdeps/tile/atomic-machine.h
2400         (atomic_compare_and_exchange_bool_rel): Likewise.
2402 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2404         [BZ #20296]
2405         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2406         when either argument is a NaN.
2407         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2408         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2410         * math/libm-test.inc (snan_value_ld): New macro.
2411         (isgreater_test_data): Add sNaN tests.
2412         (isgreaterequal_test_data): Likewise.
2413         (isless_test_data): Likewise.
2414         (islessequal_test_data): Likewise.
2415         (islessgreater_test_data): Likewise.
2416         (isunordered_test_data): Likewise.
2417         (nextafter_test_data): Likewise.
2418         (nexttoward_test_data): Likewise.
2419         (remainder_test_data): Likewise.
2420         (remquo_test_data): Likewise.
2421         (significand_test_data): Likewise.
2422         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2424 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2426         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2427         environment macros are defined.
2428         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2430 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2432         [BZ #20191]
2433         Implement vtable verification in libio.
2434         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2435         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2436         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2437         _IO_new_file_init_internal instead of _IO_file_init.
2438         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2439         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2440         * libio/Makefile (routines): Add vtables.
2441         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2442         (_IO_init): Remove, not for internal use.
2443         (_IO_init_internal): Declare, internal replacement for _IO_init.
2444         (_IO_file_init): Remove, not for internal use.
2445         (_IO_new_file_init): Remove, not for internal use.
2446         (_IO_new_file_init_internal): Declare, internal replacement for
2447         _IO_new_file_init.
2448         (_IO_old_file_init): Remove, not for internal use.
2449         (_IO_old_file_init_internal): Declare, internal replacement for
2450         _IO_old_file_init.
2451         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2452         internal use.
2453         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2454         Declare.
2455         (libio_vtable): New macro.
2456         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2457         functions.
2458         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2459         _IO_new_file_init.
2460         (_IO_new_file_init): New externally visible wrapper which disables
2461         vtable verification.
2462         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2463         Define as vtables.
2464         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2465         (_IO_init): New externally visible wrapper which disables
2466         vtable verification.
2467         * libio/iofdopen.c (_IO_new_fdopen): Call
2468         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2469         comment.
2470         * libio/iofopen.c (__fopen_internal): Call
2471         _IO_new_file_init_internal instead of _IO_file_init.
2472         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2473         Define as vtables.
2474         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2475         _IO_new_file_init_internal instead of _IO_file_init.
2476         * libio/iopopen.c (_IO_new_popen): Likewise.
2477         (_IO_proc_jumps): Define as vtable.
2478         * libio/iovdprintf.c (_IO_vdprintf): Call
2479         _IO_new_file_init_internal instead of _IO_file_init.
2480         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2481         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2482         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2483         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2484         _IO_old_file_init.
2485         (_IO_old_file_init): New externally visible wrapper which disables
2486         vtable verification.
2487         (_IO_old_file_jumps): Define as vtable.
2488         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2489         _IO_old_file_init_internal instead of _IO_old_file_init.
2490         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2491         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2492         (_IO_old_proc_jumps): Define as vtable.
2493         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2494         Define as vtables.
2495         * libio/vtables.c: New file.
2496         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2497         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2498         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2499         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2500         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2501         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2502         instead of _IO_init.
2504 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2506         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2508 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2510         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2511         potentially unused.
2513 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2515         * test-skeleton.c (write_message): New function.
2516         * malloc/tst-mallocfork2.c (write_message): Remove.
2517         * debug/tst-longjmp_chk2.c (write_indented): New function.
2518         (write_message): Remove.
2519         (stackoverflow_handler): Call write_indented.
2521 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2523         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2524         "inexact" exceptions after fnstenv.
2525         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2526         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2527         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2529 2015-06-22  Zack Weinberg  <zackw@panix.com>
2531         * sysdeps/generic/bits/hwcap.h: Moved to ...
2532         * bits/hwcap.h: Here.
2534 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2536         * sysdeps/aarch64/memcpy.S (memcpy):
2537         Further tuning for performance.
2539 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2541         [BZ #20284]
2542         * malloc/arena.c (reused_arena): Do not return NULL if we start
2543         out with a non-corrupted arena.
2545 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2547         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2548         * misc/tst-preadvwritev.c: New file.
2549         * misc/tst-preadvwritev64.c: Likewise.
2550         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2551         usage.
2552         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2553         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2554         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2555         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2557 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2559         [BZ #19654]
2560         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2561         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2562         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2563         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2564         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2565         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2566         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2567         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2568         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2569         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2570         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2571         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2572         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2573         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2574         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2575         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2576         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2577         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2578         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2579         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2580         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2581         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2582         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2583         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2584         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2585         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2587 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2589         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2590         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2592 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2594         * sysdeps/aarch64/memcpy.S (memcpy):
2595         Rewrite of optimized memcpy and memmove.
2596         * sysdeps/aarch64/memmove.S (memmove): Remove
2597         memmove code (merged into memcpy.S).
2599 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2601         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2602         * sysdeps/generic/dl-dtv.h: New file.
2603         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2604         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2605         (dtv_t): Remove.
2606         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2607         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2608         (dtv_t): Remove.
2609         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2610         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2611         (dtv_t): Remove.
2612         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2613         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2614         (dtv_t): Remove.
2615         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2616         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2617         (dtv_t): Remove.
2618         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2619         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2620         (dtv_t): Remove.
2621         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2622         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2623         (dtv_t): Remove.
2624         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2625         (dtv_t): Remove.
2626         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2627         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2628         (dtv_t): Remove.
2629         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2630         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2631         (dtv_t): Remove.
2632         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2633         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2634         (dtv_t): Remove.
2635         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2636         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2637         (dtv_t): Remove.
2638         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2639         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2640         (dtv_t): Remove.
2641         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2642         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2643         (dtv_t): Remove.
2644         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2645         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2646         (dtv_t): Remove.
2647         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2648         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2649         (dtv_t): Remove.
2651 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2653         Revert symbol poisoning of  __malloc_initialize_hook.
2654         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2655         poisoning.
2656         * malloc/Makefile: Remove un-poisoning.
2657         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2658         instead of old__malloc_initialize_hook.
2659         * malloc/malloc-hooks.h: Likewise.
2660         * malloc/malloc.c: Likewise.
2661         * malloc/mcheck-init.c: Likewise.
2663 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2665         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2667 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2669         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2670         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2671         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2672         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2674 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2676         * NEWS: Mention addition of nextup and nextdown.
2677         * manual/arith.texi: Document nextup and nextdown.
2678         * manual/libm-err-tab.pl: Add nextup and nextdown.
2679         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2680         * math/Versions (libm): Add GLIBC_2.24.
2681         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2682         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2683         Add new test.
2684         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2685         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2686         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2687         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2688         (nextup_test_data): Likewise.
2689         (nextdown_test_data): Likewise.
2690         * math/s_nextdown.c: New file.
2691         * math/s_nextdownf.c: Likewise.
2692         * math/s_nextdownl.c: Likewise.
2693         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2694         F(nextup): New function.
2695         F(nextdown): Likewise.
2696         * math/tgmath.h: Add nextup and nextdown.
2697         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2698         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2699         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2700         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2701         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2702         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2703         Add nextup and nextdown.
2704         (CFLAGS-nldbl-nextup.c): New variable.
2705         (CFLAGS-nldbl-nextdown.c): Likewise.
2706         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2707         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2708         * sysdeps/nacl/libm.abilist: Update.
2709         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2710         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2711         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2712         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2713         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2714         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2715         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2716         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2717         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2718         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2719         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2723         Likewise.
2724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2726         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2727         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2728         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2729         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2730         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2733         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2734         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2735         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2736         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2738 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2740         * manual/pattern.texi: Fix typos & grammar errors.
2742 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2744         * manual/search.texi: Fix typos & grammar errors.
2746 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2748         * manual/message.texi: Fix typos & grammar errors.
2750 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2752         * manual/contrib.texi: Fix spelling typos.
2753         * manual/crypt.texi: Likewise.
2754         * manual/filesys.texi: Likewise.
2755         * manual/locale.texi: Likewise.
2756         * manual/message.texi: Likewise.
2757         * manual/nss.texi: Likewise.
2758         * manual/string.texi: Likewise.
2760 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2762         * manual/locale.texi: Fix typos & grammar errors.
2764 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2766         * manual/charset.texi: Fix typos & grammar errors.
2768 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2770         * manual/string.texi: Fix typos.
2772 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2774         * manual/ctype.texi: Fix typos.
2776 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2778         * manual/memory.texi: Fix various typos & grammar errors.
2780 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
2782         [BZ #20255]
2783         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
2784         * math/libm-test.inc (fdim_test_data): Add another test.
2786         [BZ #6796]
2787         [BZ #20255]
2788         [BZ #20256]
2789         * math/s_fdim.c: Include <math_private.h>.
2790         (__fdim): Use math_narrow_eval on result.
2791         * math/s_fdimf.c: Include <math_private.h>.
2792         (__fdimf): Use math_narrow_eval on result.
2793         * sysdeps/i386/fpu/s_fdim.S: Remove file.
2794         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2795         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2796         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2797         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2798         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2799         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2800         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2801         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2802         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2803         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2804         * math/libm-test.inc (fdim_test_data): Expect errno setting on
2805         overflow.  Add sNaN tests.
2807         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2808         fpclassify.
2809         * math/s_fdimf.c (__fdimf): Likewise.
2810         * math/s_fdiml.c (__fdiml): Likewise.
2812 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2814         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2815         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2817         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2818         ifunc'ed strcasecmp/strncasecmp.
2819         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2820         [EALIGN]: Removed.
2821         [END]: Likewise.
2822         [__strcasecmp]: Define instead of the above to control symbol name.
2823         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2824         for __strcasecmp_power8.
2825         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2826         for __strncasecmp_power8.
2827         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2828         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2829         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2830         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2831         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2832         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2834 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
2836         [BZ #20252]
2837         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2838         arguments when second argument is a NaN.
2839         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2840         qNaN tests.
2842         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2843         (conj_test_data): Likewise.
2844         (copysign_test_data): Likewise.
2845         (creal_test_data): Likewise.
2846         (fma_test_data): Likewise.
2847         (fmod_test_data): Likewise.
2849         [BZ #20250]
2850         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2851         itself.
2852         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2853         zero input to itself.
2854         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2855         Likewise.
2856         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2857         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2858         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2859         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2860         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2862 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2864         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2865         * nptl/tst-cancel4-common.c: New file.
2866         * nptl/tst-cancel4-common.h: Likewise.
2867         * nptl/tst-cancel4.c: Move common definitions to
2868         tst-cancel4-common.{c,h} file.
2869         * nptl/tst-cancel4_1.c: New test.
2870         * nptl/tst-cancel4_2.c: New test.
2872 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2874         [BZ #20248]
2875         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2876         (write_message): New function.
2877         (stackoverflow_handler): Call it instead of printf, to avoid
2878         excessive stack usage by printf.
2879         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2881 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2883         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2884         (prio_inherit_missing): Remove define.
2885         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2886         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2887         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2888         Likewise.
2889         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2890         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2891         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2892         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2893         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2894         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2896 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2898         [BZ #19670]
2899         [BZ #19672]
2901         * io/test-lfs.c (do_prepare): Use xmalloc.
2902         * io/tst-fcntl.c (do_prepare): Likewise.
2903         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2904         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2905         * login/tst-utmp.c (do_prepare): Likewise.
2906         * posix/tst-exec.c (do_prepare): Likewise.
2907         * posix/tst-pathconf.c (prepare): Likewise.
2908         * posix/tst-spawn.c (do_prepare): Likewise.
2909         * posix/tst-truncate.c (do_prepare): Likewise.
2910         * rt/tst-aio.c (do_prepare): Likewise.
2911         * rt/tst-aio64.c (do_prepare): Likewise.
2913 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2915         [BZ #20237]
2916         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2917         (get*ent): Set entidx to NULL during initialization.  If entidx is
2918         NULL, start iteration from the beginning.
2920 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2922         * malloc/malloc.c (musable): Return correct size for dumped fake
2923         mmapped chunk.
2925 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2927         [BZ #20222]
2928         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2929         (_IO_cookie_write): Likewise.
2930         (_IO_cookie_seek): Likewise.
2931         (_IO_cookie_close): Likewise.
2932         (_IO_old_cookie_seek): Likewise.
2933         (set_callbacks): New function.
2934         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2936 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2938         * locale/programs/localedef.c (oldstyle_tables): Remove.
2939         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2941 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2943         [BZ #20240]
2944         * math/Makefile (CFLAGS-s_modf.c): New variable.
2945         (CFLAGS-s_modff.c): Likewise.
2946         (CFLAGS-s_modfl.c): Likewise.
2947         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2949 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2951         [BZ #20215]
2952         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2953         [!__GNUC_PREREQ (3,2)]: Likewise.
2955 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2957         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2958         (msghdr.msg_controllen): Likewise.
2959         (cmsghdr.cmsg_len): Likewise.
2960         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2961         ptw-oldsendmsg.
2962         (CFLAGS-oldrecvmsg.c): Remove rule.
2963         (CFLAGS-oldsendmsg.c): Likewise.
2964         (CFLAGS-recvmsg.c): Add rule.
2965         (CFLAGS-sendmsg.c): Likewise.
2966         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2967         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2968         (CFLAGS-recvmsg.c): Remove rule.
2969         (CFLAGS-sendmsg.c): Likewise.
2970         (CFLAGS-oldrecvmsg.c): Likewise.
2971         (CFLAGS-oldsendmsg.c): Likewise.
2972         (CFLAGS-recvmmsg.c): Likewise.
2973         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2974         to kernel defined interfaces.
2975         (msghdr.msg_controllen): Likewise.
2976         (cmsghdr.cmsg_len): Likewise.
2977         (msghdr.__glibc_reserved1): Remove member.
2978         (msghdr.__glibc_reserved2): Likewise.
2979         (cmsghdr.__glibc_reserved1): Likewise.
2980         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2981         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2982         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2983         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2984         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2985         version.
2986         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2987         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2988         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2989         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2990         Remove recvmsg and sendmsg.
2991         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2992         Likewise.
2993         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2994         Likewise.
2995         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2996         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2997         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2998         Likewise.
2999         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3000         Likewise.
3001         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3002         [libc] (GLIBC_2.24): Likewise.
3003         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3004         Likewise.
3005         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3006         Likewise.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3008         [libc] (GLIBC_2.24): Likewise.
3009         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3010         Likewise.
3011         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3012         Likewise.
3013         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3014         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3015         Likewise.
3016         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3017         Likewise.
3018         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3019         Likewise.
3020         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3021         Likewise.
3022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3023         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3024         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3025         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3026         version for {recv,send,recm,sendm}msg.
3027         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3028         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3029         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3030         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3031         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3032         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3033         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3034         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3035         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3036         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3037         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3040         Likewise.
3041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3042         Likewise.
3043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3045         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3048         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3053         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3054         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3055         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3057 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3059         [BZ #19564]
3060         Remove __malloc_initialize_hook from the API.
3061         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3062         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3063         #pragma GCC poison.
3064         * malloc/malloc-hooks.h: New file.
3065         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3066         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3067         (old__malloc_initialize_hook): Rename from
3068         __malloc_initialize_hook to evade poisoning.  Turn into compat
3069         symbol.
3070         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3071         __malloc_initialize_hook.
3072         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3073         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3074         * manual/memory.texi (Hooks for Malloc): Remove
3075         __malloc_initialize_hook.  Adjust hook example.
3077 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3079         [BZ #20235]
3080         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3081         itself.
3082         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3083         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3085         [BZ #20234]
3086         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3087         infinity or NaN input to itself.
3089         [BZ #20233]
3090         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3091         to itself.
3093         [BZ #20232]
3094         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3095         itself.
3097 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3099         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3100         __libc_start_main via GOT.
3102 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3104         * sysdeps/x86_64/memcopy.h: New file.
3105         * sysdeps/x86_64/wordcopy.c: Likewise.
3107 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3109         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3110         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3111         <cstdlib>.
3112         (optimization_barrier): New.
3113         (do_test): Use it.  Call quick_exit in the global namespace.
3114         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3115         instead of <cstdlib>, <thread>.
3116         (optimization_barrier): New.
3117         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3118         Call quick_exit in the global namespace.
3119         (do_test): Call optimization_barrier.  Use pthread_create,
3120         pthread_join instead of std::thread.
3122 2016-06-09  Andreas Schwab  <schwab@suse.de>
3124         [BZ #19755]
3125         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3126         new entries in auto-propagate mode.
3127         * nscd/grpcache.c (cache_addgr): Likewise.
3129 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3131         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3132         New functions.
3133         (add_temp_file): Use them.
3135 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3137         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3139 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3141         [BZ #20229]
3142         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3143         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3144         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3146         [BZ #20228]
3147         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3148         itself.
3149         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3150         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3152         [BZ #20227]
3153         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3154         itself.
3155         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3156         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3157         * math/libm-test.inc (log_test_data): Add sNaN tests.
3159         [BZ #20226]
3160         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3161         itself.
3162         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3163         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3164         (exp10_test_data): Likewise.
3165         (expm1_test_data): Likewise.
3167         [BZ #20225]
3168         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3169         itself.
3170         * math/s_ldexpf.c (__ldexpf): Likewise.
3171         * math/s_ldexpl.c (__ldexpl): Likewise.
3172         * math/w_scalbln.c (__w_scalbln): Likewise.
3173         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3174         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3175         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3176         (scalbln_test_data): Likewise.
3178         [BZ #20224]
3179         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3180         argument to itself.
3181         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3183 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3185         [BZ #19776]
3186         * sysdeps/x86_64/memcpy.S: Make it dummy.
3187         * sysdeps/x86_64/mempcpy.S: Likewise.
3188         * sysdeps/x86_64/memmove.S: New file.
3189         * sysdeps/x86_64/memmove_chk.S: Likewise.
3190         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3191         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3192         * sysdeps/x86_64/memmove.c: Removed.
3193         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3194         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3195         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3196         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3197         Likewise.
3198         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3199         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3200         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3201         memcpy-sse2-unaligned, memmove-avx-unaligned,
3202         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3203         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3204         (__libc_ifunc_impl_list): Replace
3205         __memmove_chk_avx512_unaligned_2 with
3206         __memmove_chk_avx512_unaligned.  Remove
3207         __memmove_chk_avx_unaligned_2.  Replace
3208         __memmove_chk_sse2_unaligned_2 with
3209         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3210         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3211         with __memmove_avx512_unaligned.  Replace
3212         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3213         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3214         with __memcpy_chk_avx512_unaligned.  Remove
3215         __memcpy_chk_avx_unaligned_2.  Replace
3216         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3217         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3218         Replace __memcpy_avx512_unaligned_2 with
3219         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3220         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3221         with __mempcpy_chk_avx512_unaligned.  Remove
3222         __mempcpy_chk_avx_unaligned_2.  Replace
3223         __mempcpy_chk_sse2_unaligned_2 with
3224         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3225         Replace __mempcpy_avx512_unaligned_2 with
3226         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3227         Replace __mempcpy_sse2_unaligned_2 with
3228         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3229         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3230         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3231         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3232         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3233         (ENTRY): Removed.
3234         (END): Likewise.
3235         (ENTRY_CHK): Likewise.
3236         (libc_hidden_builtin_def): Likewise.
3237         Don't include ../memcpy.S.
3238         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3239         __memcpy_chk_avx512_unaligned_erms and
3240         __memcpy_chk_avx512_unaligned.  Use
3241         __memcpy_chk_avx_unaligned_erms and
3242         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3243         Default to __memcpy_chk_sse2_unaligned.
3244         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3245         Change function suffix from unaligned_2 to unaligned.
3246         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3247         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3248         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3249         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3250         (ENTRY): Removed.
3251         (END): Likewise.
3252         (ENTRY_CHK): Likewise.
3253         (libc_hidden_builtin_def): Likewise.
3254         Don't include ../mempcpy.S.
3255         (mempcpy): New.  Add a weak alias.
3256         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3257         __mempcpy_chk_avx512_unaligned_erms and
3258         __mempcpy_chk_avx512_unaligned.  Use
3259         __mempcpy_chk_avx_unaligned_erms and
3260         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3261         Default to __mempcpy_chk_sse2_unaligned.
3263 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3265         [BZ #19881]
3266         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3267         into ...
3268         * sysdeps/x86_64/memset.S: This.
3269         (__bzero): Removed.
3270         (__memset_tail): Likewise.
3271         (__memset_chk): Likewise.
3272         (memset): Likewise.
3273         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3274         defined.
3275         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3276         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3277         (__memset_zero_constant_len_parameter): Check SHARED instead of
3278         PIC.
3279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3280         memset-avx2 and memset-sse2-unaligned-erms.
3281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3282         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3283         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3284         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3285         (__bzero): Enabled.
3286         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3287         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3288         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3289         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3290         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3291         (memset): Removed.
3292         (__memset_chk): Likewise.
3293         (MEMSET_SYMBOL): New.
3294         (libc_hidden_builtin_def): Replace __memset_sse2 with
3295         __memset_sse2_unaligned.
3296         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3297         __memset_chk_sse2 and __memset_chk_avx2 with
3298         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3299         Use __memset_chk_sse2_unaligned_erms or
3300         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3301         __memset_chk_avx512_unaligned_erms and
3302         __memset_chk_avx512_unaligned.
3304 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3306         * math/gen-auto-libm-test.c (fp_format_desc): remove
3307         suffix member.
3308         (output_generic_value): Remove usage of suffix member,
3309         and the resulting unuse of the fp_format argument.
3310         (output_for_one_input_case): Remove unused fp_format
3311         parameter.
3313         * math/auto-libm-test-out: Regenerate.
3315         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3316         usage with TEST_COND_ibm128.
3317         (TEST_COND_flt_32): Remove.
3318         (TEST_COND_dbl_64): Remove.
3319         (TEST_COND_ldbl_96_intel): Remove.
3320         (TEST_COND_ldbl_96_m68k): Remove.
3321         (TEST_COND_ldbl_128): Remove.
3323 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3325         * auto-libm-test-in:
3326         Replace flt-32 usage with binary32.
3327         Replace dbl-64 usage with binary64.
3328         Replace ldbl-intel-96 usage with intel96.
3329         Replace ldbl-m68k-96 usage with m68k96.
3330         Replace ldbl-128ibm usage with ibm128.
3331         Replace ldbl-128 usage with binary128.
3333         * auto-libm-test-out: Regenerate.
3335 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3337         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3338         (parse_ulps): Dynamically generate type name matching
3339         string from all_floats.
3340         (get_ulps): Generate the ulps as an array instead.
3341         (output_ulps): Dynamically compose the type based
3342         on the number of supported formats, and print
3343         the indices as type specific helper macros.
3345         * math/libm-test.inc: Remove comment about CHOOSE.
3346         (ulp_data): Generate the type in libm-test-ulps.h.
3347         (ULP_IDX): New macro.
3348         (find_ulps): Update usage of max_ulp.
3350         * math/test-double-vlen2.h (CHOOSE): Remove.
3351         * math/test-double-vlen4.h (CHOOSE): Likewise.
3352         * math/test-double-vlen8.h (CHOOSE): Likewise.
3353         * math/test-float.c (CHOOSE): Likewise.
3354         * math/test-float-finite.c (CHOOSE): Likewise.
3355         * math/test-double.c (CHOOSE): Likewise.
3356         * math/test-double-finite.c (CHOOSE): Likewise.
3357         * math/test-idouble.c (CHOOSE): Likewise.
3358         * math/test-ifloat.c (CHOOSE): Likewise.
3359         * math/test-ildoubl.c (CHOOSE): Likewise.
3360         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3361         * math/test-ldouble.c (CHOOSE): Likewise.
3363         * math/test-float.h (TEST_FLOAT): Remove.
3364         * math/test-double.h (TEST_DOUBLE): Likewise.
3365         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3367 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3369         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3370         (parse_args): Strip C suffix from floating point literals
3371         typed with 'f' and wrap them with LIT().
3373         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3374         (test_ff_f_data_nexttoward): Rename to
3375         (test_fj_f_data): New struct.
3376         (nexttoward_test_data): Relabel tests as
3377         TEST_fj_f instead of TEST_ff_f.
3379 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3381         Emacs bug 23726.
3382         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3383         (__libc_realloc): Correct size computation for dumped fake mmapped
3384         chunks.
3386 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3388         [BZ #20219]
3389         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3390         to itself.
3391         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3393         [BZ #20218]
3394         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3395         to itself.
3396         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3398 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3400         [BZ #20195]
3401         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3402         check to ...
3403         (init_cpu_features): Here.
3405 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3407         [BZ #20214]
3408         * sysdeps/unix/sysv/linux/bits/in.h
3409         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3410          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3411         Define to 1.
3412         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3413          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3414         Define to 0.
3415         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3416         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3418 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3420         [BZ #20198]
3421         * stdlib/Makefile (tests): Add tst-quick_exit, and
3422         tst-thread-quick_exit.
3423         [ifeq ($(have-cxx-thread_local),yes)]
3424         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3425         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3426         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3427         (LDLIBS-tst-thread-quick_exit): Likewise.
3428         [ifneq ($(have-cxx-thread_local),yes)]
3429         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3430         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3431         If run_dtors is true call __call_tls_dtors.
3432         (exit): Call __run_exit_handlers with run_dtors set to true.
3433         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3434         definition.
3435         * stdlib/quick_exit.c (quick_exit): Remove function.
3436         (__new_quick_exit): New function.
3437         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3438         function.
3439         * stdlib/tst-quick_exit.cc: New file.
3440         * stdlib/tst-thread-quick_exit.cc: New file.
3441         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3442         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3443         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3444         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3445         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3446         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3447         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3448         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3449         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3450         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3451         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3452         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3453         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3454         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3455         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3456         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3461         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3462         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3463         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3464         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3465         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3468         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3469         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3470         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3472 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3474         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3475         a typo in comments.
3477 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3479         [BZ #20213]
3480         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3481         argument to itself.
3482         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3484 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3486         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3487         required flags.
3488         (CFLAGS-pwritev64.c): Likewise.
3489         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3490         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3491         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3492         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3493         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3494         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3495         syscall from auto-generation.
3496         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3497         [WORDSIZE == 64] (pwritev64): Remove macro.
3498         [!PWRITEV] (PWRITEV): Likewise.
3499         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3500         [!PWRITEV] (PWRITE): Likewise.
3501         [!PWRITEV] (OFF_T): Likewise.
3502         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3503         (LO_HI_LONG): Remove macro.
3504         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3505         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3506         (PWRITEV): Remove macro.
3507         (PWRITEV_REPLACEMENTE): Likewise.
3508         (PWRITE): Likewise.
3509         (OFF_T): Likewise.
3510         (pwritev64): New function.
3511         * nptl/tst-cancel4.c (tf_writev): Add test.
3513         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3514         required flags.
3515         (CFLAGS-preadv64.c): Likewise.
3516         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3517         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3518         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3519         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3520         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3521         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3522         syscall from auto-generation.
3523         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3524         [WORDSIZE == 64] (preadv64): Remove macro.
3525         [!PREADV] (PREADV): Likewise.
3526         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3527         [!PREADV] (PREAD): Likewise.
3528         [!PREADV] (OFF_T): Likewise.
3529         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3530         (LO_HI_LONG): Remove macro.
3531         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3532         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3533         (PREADV): Remove macro.
3534         (PREADV_REPLACEMENTE): Likewise.
3535         (PREAD): Likewise.
3536         (OFF_T): Likewise.
3537         (preadv64): New function.
3538         * nptl/tst-cancel4.c (tf_preadv): Add test.
3540 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3542         [BZ #20212]
3543         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3544         argument to itself.
3545         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3547 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3549         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3550         New symbol defined as libc_hidden_def.
3551         (strcasestr): Became a weak alias to __strcasestr.
3552         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3553         according to multi-arch support.  Move __stpncpy hidden
3554         definition from here to...
3555         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3556         symbol stpncpy.
3557         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3558         libc_hidden_builtin_def.
3559         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3560         memset symbol to use when multi-arch support is available.
3562 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3564         * dlfcn/tst-rec-dlopen.c: Include string.h.
3566 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3568         * manual/install.texi: Remove mention of --without-tls
3569         * INSTALL: Regenerate.
3571 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3573         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3574         Remove.
3575         (call_function, interposed_malloc_called): New variables.
3576         (malloc): New function.
3577         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3578         and clear call_function as needed.
3580 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3582         * include/wchar.h (__wmemset): Use __typeof.
3584 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3586         * include/wchar.h (__wmemset): Declare function without typeof.
3588 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3590         [BZ #20205]
3591         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3592         exponent when incrementing negative subnormal with low mantissa
3593         word zero.
3594         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3595         Add another test.
3597 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3599         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3600         __wmemset instead of wmemset.
3602 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3604         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3605         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3606         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3607         __USE_KERNEL_IPV6_DEFS to 0.
3608         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3609         Update comment.
3611 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3613         [BZ #19861]
3614         Do not use IFUNC resolver with potentially unrelocated symbol.
3615         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3616         (DEFINE_FORK): Remove macro and inline definition.
3617         (fork_alias): Renamed from fork_ifunc.
3618         (__fork_alias): Renamed from __fork_ifunc.
3620 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3622         [BZ 19653]
3623         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3624         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3626 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3628         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3629         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3630         i386-linux-gnu).
3631         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3632         Set to no.
3633         * sysdeps/mach/hurd/configure: Refresh.
3635 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3637         [BZ #20178]
3638         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3639         on failure instead of exit.
3641 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3643         [BZ #3629]
3644         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3645         of POSIX.1-2008.
3647 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3649         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3650           Use PLT entry for calling _hurd_self_sigstate.
3652 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3654         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3655         available logical processors with SMT level type sharing L2
3656         cache for Intel processors.
3658 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3660         [BZ #20160]
3661         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3662         argument to itself before returning the result.
3663         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3664         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3665         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3666         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3667         Likewise.
3668         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3669         Likewise.
3670         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3671         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3672         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3673         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3674         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3675         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3677         [BZ #20160]
3678         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3679         argument to itself before returning the result.
3680         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3681         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3682         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3683         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3684         Likewise.
3685         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3686         Likewise.
3687         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3688         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3689         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3690         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3691         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3692         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3694 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3696         * libm-test.inc: Replace usage of M_El with
3697         (lit_e): New macro.
3699 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3701         * libm-test.inc: Replace usage of M_PI_4l with
3702         (lit_pi_4_d): New macro.
3704 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3706         * libm-test.inc: Replace usage of M_PIl with
3707         (lit_pi): New macro.
3709 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3711         * libm-test.inc: Replace usage of M_PI2l with
3712         (lit_pi_2_d): New macro.
3714         * math/test-double.h (LITM): New macro.
3715         * math/test-float.h (LITM): Likewise.
3716         * math/test-ldouble.h (LITM): Likewise.
3718 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3720         * libm-test.inc (M_PI_34l): Rename to
3721         (lit_pi_3_m_4_d): New Macro.
3722         (M_PI_34_LOG10El): Rename to
3723         (lit_pi_3_m_4_ln10_m_d): New Macro.
3724         (M_PI2_LOG10El): Rename to
3725         (lit_pi_2_ln10_m_d):  New Macro.
3726         (M_PI4_LOG10El): Rename to
3727         (lit_pi_4_ln10_m_d):  New Macro.
3728         (M_PI_LOG10El): Rename to
3729         (lit_pi_ln10_d):  New Macro.
3731 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3733         [BZ #20157]
3734         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3735         determine whether to negate low half if [_ARCH_PPCGR], and integer
3736         comparison otherwise.
3737         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3738         determine whether to negate low half.
3740         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3741         (NO_TEST_INLINE_DOUBLE): Likewise.
3742         (TEST_COND_x86_64): Likewise.
3743         (TEST_COND_x86): Likewise.
3744         (M_PI_6l): Likewise.
3746 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3748         * math/libm-test.inc:
3749         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3750         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3751         (TEST_LDOUBLE): Update usage to evaluate as true if
3752         the guarded tests match the property being tested.
3753         (LDBL_MAX_EXP): Change to MAX_EXP.
3754         (LDBL_MIN_EXP): Change to MIN_EXP.
3755         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3756         nexttoward tests.
3758 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3760         * math/libm-test.inc:
3761         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3762         (TYPE_MIN): Likewise.
3763         (TYPE_TRUE_MIN): Likewise.
3764         (TYPE_MAX): Likewise.
3765         (MIN_EXP): Likewise.
3766         (MAX_EXP): Likewise.
3767         (MANT_DIG): Likewise.
3769         (FSTR_MAX): New macro.
3770         (__CONCATX): Likewise.
3771         (QTYPE_STR): Likewise.
3772         (TEST_COND_binary32): Likewise.
3773         (TEST_COND_binary64): Likewise.
3774         (TEST_COND_binary128): Likewise.
3775         (TEST_COND_ibm128): Likewise.
3776         (TEST_COND_intel96): Likewise.
3777         (TEST_COND_m68k96): Likewise.
3779         (TEST_COND_flt_32): Redefine as equivalent format test macro.
3780         (TEST_COND_dbl_64): Likewise.
3781         (TEST_COND_ldbl_96_intel): Likewise.
3782         (TEST_COND_ldbl_96_m68k): Likewise.
3783         (TEST_COND_ldbl_128): Likewise.
3784         (TEST_COND_ldbl_128ibm): Likewise.
3786         (plus_zero): Redefine using LIT macro.
3787         (minus_zero): Likewise.
3788         (plus_infty): Redefine as (INF).
3789         (minux_infty): Redefine as (-INF).
3790         (max_value): Redefine as TYPE_MAX.
3791         (min_value): Redefine as TYPE_MIN.
3792         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3794         (print_float): Refactor to use snprintf to convert FLOAT values
3795         to string. This brings it closer to dropin replacement of strtof
3796         for the TS 18661 defined types.
3797         (update_stats): Likewise.
3798         (print_complex_function_ulps): Likewise.
3799         (print_max_error): Likewise.
3800         (print_complex_max_error): Likewise.
3801         (check_float_internal): Likewise.
3803         * math/test-float.h (PREFIX): New macro.
3804         (LIT): Likewise.
3805         (TYPE_STR): Likewise.
3806         (FTOSTR): Likewise.
3808         * math/test-double.h (PREFIX): New macro.
3809         (LIT): Likewise.
3810         (TYPE_STR): Likewise.
3811         (FTOSTR): Likewise.
3813         * math/test-ldouble.h (PREFIX): New macro.
3814         (LIT): Likewise.
3815         (TYPE_STR): Likewise.
3816         (FTOSTR): Likewise.
3818 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3820         [BZ #20156]
3821         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3822         to itself when zero or not finite.
3823         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3824         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3825         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3826         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3828 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
3830         [BZ #20153]
3831         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3832         x * x + x for infinities and NaNs.
3834         [BZ #20151]
3835         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3836         argument to itself before returning result.
3837         (__ieee754_y0l): Likewise.
3838         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3839         (__ieee754_y1l).
3841         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3842         (atan_test_data): Likewise.
3843         (ceil_test_data): Likewise.
3844         (cos_test_data): Likewise.
3845         (cosh_test_data): Likewise.
3846         (erf_test_data): Likewise.
3847         (exp2_test_data): Likewise.
3848         (fabs_test_data): Likewise.
3849         (floor_test_data): Likewise.
3850         (ilogb_test_data): Likewise.
3851         (j0_test_data): Likewise.
3852         (j1_test_data): Likewise.
3853         (jn_test_data): Likewise.
3854         (lgamma_test_data): Likewise.
3855         (lrint_test_data): Likewise.
3856         (llrint_test_data): Likewise.
3857         (logb_test_data): Likewise.
3858         (lround_test_data): Likewise.
3859         (llround_test_data): Likewise.
3860         (nearbyint_test_data): Likewise.
3861         (rint_test_data): Likewise.
3862         (round_test_data): Likewise.
3863         (sin_test_data): Likewise.
3864         (sincos_test_data): Likewise.
3865         (sinh_test_data): Likewise.
3866         (sqrt_test_data): Likewise.
3867         (tan_test_data): Likewise.
3868         (tanh_test_data): Likewise.
3869         (tgamma_test_data): Likewise.
3870         (trunc_test_data): Likewise.
3871         (y0_test_data): Likewise.
3872         (y1_test_data): Likewise.
3873         (yn_test_data): Likewise.
3875         * math/libm-test.inc: Update comment about NaN testing.
3876         (TEST_SNAN): New macro.
3877         (snan_value): Likewise.
3878         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3879         (fpclassify_test_data): Add sNaN tests.
3880         (isfinite_test_data): Likewise.
3881         (isinf_test_data): Likewise.
3882         (isnan_test_data): Likewise.
3883         (isnormal_test_data): Likewise.
3884         (issignaling_test_data): Likewise.
3885         (signbit_test_data): Likewise.
3886         * math/gen-libm-test.pl (%beautify): Add snan_value.
3887         (show_exceptions): Add argument $test_snan.
3888         (parse_args): Handle snan_value as non-finite.  Update call to
3889         show_exceptions.
3890         * math/Makefile (libm-test-no-inline-cflags): Add
3891         -fsignaling-nans.
3893 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3895         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3896         (CFLAGS-oldsendmsg.c): Add rule.
3897         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3898         Correct recvmsg symbol name.
3899         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3900         Likewise.
3902 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3904         * sysdeps/unix/sysv/linux/Makefile
3905         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3906         oldsendmmsg.
3907         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3908         sendmmsg.
3909         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3910         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3911         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3912         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3915         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3917         Likewise.
3918         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3919         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3920         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3921         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3922         iovlen and controllen fields to adjust to POSIX specification.
3923         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3925         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3926         and change to correct expected type.
3927         (msghdr.msg_controllen): Likewise.
3928         (cmsghdr.cmsg_len): Likewise.
3929         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3930         expected POSIX assumption about the size.
3931         (msghdr.msg_controllen): Likewise.
3932         (msghdr.__glibc_reserved1): Likewise.
3933         (msghdr.__glibc_reserved2): Likewise.
3934         (cmsghdr.cmsg_len): Likewise.
3935         (cmsghdr.__glibc_reserved1): Likewise.
3936         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3937         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3938         (CFLAGS-sendmsg.c): Remove rule.
3939         (CFLAGS-recvmsg.c): Likewise.
3940         (CFLAGS-oldsendmsg.c): Add rule.
3941         (CFLAGS-oldrecvmsg.c): Likewise.
3942         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3943         recvmsg and sendmsg.
3944         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3945         Likewise.
3946         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3947         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3948         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3949         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3950         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3951         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3952         Likewise.
3953         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3954         Likewise.
3955         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3956         Likewise.
3957         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3958         Likewise.
3959         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3960         Likewise.
3961         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3962         Likewise.
3963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3964         (GLIBC_2.24): Likewise.
3965         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3966         Likewise.
3967         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3968         Likewise.
3969         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3970         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3971         Likewise.
3972         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3973         Likewise.
3974         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3975         Likewise.
3976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3977         (GLIBC_2.24): Likewise.
3978         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3979         Likewise.
3980         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3981         Likewise.
3982         * sysdeps/unix/sysv/linux/Makefile
3983         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3984         (CFLAGS-sendmsg.c): Add rule.
3985         (CFLAGS-recvmsg.c): Likewise.
3986         (CFLAGS-oldsendmsg.c): Likewise.
3987         (CFLAGS-oldrecvmsg.c): Likewise.
3988         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3989         initialization.
3990         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3991         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3992         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3993         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3994         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3995         iovlen and controllen fields to adjust to POSIX specification.
3996         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3997         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3998         added recvmsg and sendmsg.
3999         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4000         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4001         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4002         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4003         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4004         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4005         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4006         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4007         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4008         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4009         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4010         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4012         Likewise.
4013         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4015         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4016         Likewise.
4017         Likewise.
4018         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4019         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4020         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4021         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4022         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4023         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4025         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4027         Likewise.
4028         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4029         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4031         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4032         from auto-generation.
4033         (sendmsg): Likewise.
4034         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4035         (sendmsg): Likewise.
4036         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4037         (sendmsg): Likewise.
4038         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4039         (sendmsg): Likewise.
4040         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4041         (sendmsg): Likewise.
4042         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4043         (sendmsg): Likewise.
4044         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4045         Likewise.
4046         (sendmsg): Likewise.
4047         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4048         (sendmsg): Likewise.
4049         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4050         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4051         Remove.
4052         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4053         Likewise.
4054         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4055         Undefine.
4056         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4057         Likewise.
4058         * sysdeps/unix/sysv/linux/kernel-features.h
4059         (__ASSUME_SENDMSG_SYSCALL): Define.
4060         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4061         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4062         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4063         Remove.
4064         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4065         Likewise.
4066         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4067         Undefine.
4068         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4069         Likewise.
4070         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4071         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4072         Remove.
4073         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4074         Likewise.
4075         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4076         Undefine.
4077         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4078         Likewise.
4079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4080         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4081         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4082         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4083         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4084         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4085         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4086         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4087         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4089 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4091         * stdlib/gen-tst-strtod-round.c: Add backslash to
4092         compile command in comment.
4093         (printfp): Remove the literal suffix, and define an infinite
4094         value as INF to avoid expansion clash with INFINITY.
4095         (round_str): Remove the literal suffix.
4096         (round_for_all): Likewise, remove the now duplicate ldbl-64
4097         entry, and remove some magic constants.
4099         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4100         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4101         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4102         (_CONCAT): New macro.
4103         (CONCAT): Likewise.
4104         (CHOOSE_ld): Likewise.
4105         (CHOOSE_f): Likewise.
4106         (CHOOSE_d): Likewise.
4107         (FTYPE_MEMBER): Likewise.
4108         (BOOL_MEMBER): Likewise.
4109         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4110         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4111         (_XNTRY): Likewise.
4112         (XNTRY): Likewise.
4113         (_ENTRY): Likewise.
4114         (ENTRY): Likewise.
4115         (test_exactness): Generate members via macro.
4116         (test_results): Likewise.
4117         (test): Update members.
4118         (TEST): Redefine using new macros.
4119         (INF): New macro.
4120         (fetestmodes): New structure.
4121         (do_test): Refactor to be type generic.
4122         (test_in_one_mode): Refactor duplicate code into
4123         (GEN_ONE_TEST): New macro.
4125         * stdlib/tst-strtod-round-data.h: Regenerate.
4127         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4128         Extend to pass additional arbitrary parameters to
4129         generators.
4131 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4133         [BZ #15479]
4134         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4135         floating-point state after first floating-point operation on
4136         input.  Restore full floating-point state instead of just rounding
4137         mode.
4138         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4139         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4140         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4141         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4142         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4144         [BZ #15479]
4145         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4146         floating-point state after first floating-point operation on
4147         input.  Restore full floating-point state instead of just rounding
4148         mode.
4149         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4150         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4151         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4152         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4153         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4155 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4157         [BZ #19727]
4158         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4159         valid high surrogate.
4160         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4161         of an utf16 surrogate.
4162         * iconv/gconv_simple.c (BODY): Likewise.
4163         * iconvdata/bug-iconv12.c: New file.
4164         * iconvdata/Makefile (tests): Add bug-iconv12.
4166 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4168         [BZ #19726]
4169         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4170         outptrp in case of an illegal input.
4171         * iconv/tst-iconv6.c: New file.
4172         * iconv/Makefile (tests): Add tst-iconv6.
4174 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4176         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4177         an error in case of a value in range of an utf16 low surrogate.
4179 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4181         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4182         an error in case of a value in range of an utf16 low surrogate.
4184 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4186         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4187         Move to ...
4188         * sysdeps/s390/Makefile: ... here.
4189         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4190         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4191         (BRANCH_ON_COUNT): New define.
4192         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4193         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4194         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4195         run on s390-32, too.
4196         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4197         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4198         run on s390-32, too.
4199         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4200         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4201         run on s390-32, too.
4203 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4205         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4206         etf3eh or new vector loop-variant.
4208 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4210         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4211         etf3eh or new vector loop-variant.
4213 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4215         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4216         or new vector loop-variant.
4218 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4220         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4221         Rename to TR_LOOP and usage of tr instead of troo instruction.
4223 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4225         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4226         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4228 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4230         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4231         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4232         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4233         New override define.
4234         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4236 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4238         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4239         * sysdeps/s390/configure.ac: Add test for S390 vector register
4240         support in gcc.
4241         * sysdeps/s390/configure: Regenerated.
4243 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4245         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4246         Install file from $(objpfx)gconv-modules.
4247         ($(objpfx)gconv-modules): Concatenate architecture specific file
4248         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4249         * sysdeps/s390/gconv-modules: New file.
4250         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4251         Deleted.
4252         ($(objpfx)gconv-modules-s390): Deleted.
4253         (sysdeps-gconv-modules): New variable.
4255 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4257         [BZ #15479]
4258         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4259         of immediate operand to rounding instruction.
4260         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4261         Likewise.
4262         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4263         Likewise.
4264         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4265         Likewise.
4267 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4269         * math/libm-test.inc (MIN_EXP): Directly define as
4270         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4272 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4274         * math/libm-test.inc (MANT_DIG): Directly define as
4275         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4277 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4279         * stdlib/gen-tst-strtod-round.c (main):
4280           Change usage to more closely match the generated
4281           output.  Add usage and compilation instructions.
4282           (string_to_fp): Add and use FILE* parameter as
4283           output target.
4284           (print_fp): Likewise.
4285           (round_str): Likewise.
4286           (round_for_all): Likewise.
4287         * stdlib/tst-strtod-round.c (tests): Move into
4288         * stdlib/tst-strtod-round-data.h: New file.
4290 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4292         [BZ #15479]
4293         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4294         (__round): Do not force "inexact" exception.
4295         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4296         variable.
4297         (__round): Do not force "inexact" exception.
4298         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4299         (__roundf): Do not force "inexact" exception.
4300         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4301         (__roundl): Do not force "inexact" exception.
4302         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4303         (__roundl): Do not force "inexact" exception.
4304         * math/libm-test.inc (round_test_data): Do not allow spurious
4305         "inexact" exceptions.
4307         [BZ #15479]
4308         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4309         exception in comment.
4310         (huge): Remove variable.
4311         (__floor): Do not force "inexact" exception.
4312         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4313         "inexact" exception in comment.
4314         (huge): Remove variable.
4315         (__floor): Do not force "inexact" exception.
4316         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4317         exception in comment.
4318         (huge): Remove variable.
4319         (__floorf): Do not force "inexact" exception.
4320         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4321         exception in comment.
4322         (huge): Remove variable.
4323         (__floorl): Do not force "inexact" exception.
4325         [BZ #15479]
4326         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4327         exception in comment.
4328         (huge): Remove variable.
4329         (__ceil): Do not force "inexact" exception.
4330         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4331         "inexact" exception in comment.
4332         (huge): Remove variable.
4333         (__ceil): Do not force "inexact" exception.
4334         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4335         (__ceilf): Do not force "inexact" exception.
4336         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4337         exception in comment.
4338         (huge): Remove variable.
4339         (__ceill): Do not force "inexact" exception.
4341 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4343         * config.h.in (BIND_NOW): New.
4344         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4345         * configure: Regenerated.
4346         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4347         indirect branch via the GOT slot.
4349 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4351         [BZ #19765]
4352         * sysdeps/s390/mempcpy.S: New File.
4353         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4354         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4355         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4356         Add mempcpy variants.
4357         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4358         (memcpy): Adjust to be usable from mempcpy entry point.
4359         (__memcpy_mvcle): Likewise.
4360         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4361         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4362         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4363         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4364         (__memcpy_z10): Likewise.
4365         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4367 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4369         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4370         Remove __GI_ symbol.
4371         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4372         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4373         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4374         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4375         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4376         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4378 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4380         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4381         Use cghi instead of chi to compare 64bit value.
4383 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4385         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4386         Jump to 1MB check before executing mvc-loop.
4388 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4390         [BZ #6527]
4391         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4392         unconditionally.
4393         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4395 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4397         * stdlib/tst-strtod6.c (do_test): Use new type generic
4398         invocation of the test function.
4399         (test): Refactor into ...
4400         (TEST_STRTOD): New macro base function.
4402 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4404         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4405         (TEST_STRTOD): New macro.
4406         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4408 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4410         * stdlib/tst-strtod6.c (do_test): Use new type generic
4411         invocation of the test function.
4412         (test): Refactor into ...
4413         (TEST_STRTOD): New macro base function.
4415 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4417         CVE-2016-4429
4418         [BZ #20112]
4419         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4420         payload.
4422 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4424         [BZ #20111]
4425         * bits/sockaddr.h (_SS_SIZE): Define.
4426         * bits/socket.h (_SS_SIZE): Remove.
4427         (_SS_PADSIZE): Adjust to account for all padding.
4428         (struct sockaddr_storage): Update comment.  Avoid implicit
4429         padding.
4430         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4431         (_SS_PADSIZE): Adjust to account for all padding.
4432         (struct sockaddr_storage): Update comment.  Avoid implicit
4433         padding.
4434         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4435         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4436         (_SS_PADSIZE): Adjust to account for all padding.
4437         (struct sockaddr_storage): Update comment.  Avoid implicit
4438         padding.
4439         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4440         __SS_SIZE is 126 in this version.
4441         * inet/tst-sockaddr.c: New file.
4442         * inet/Makefile (tests): Add tst-sockaddr.c
4443         (tst-sockaddr.c): Compile with non-strict aliasing.
4445 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4447         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4448         [XPG3 || XPG4].
4449         (NL_ARGMAX): Also expect for [XPG3].
4450         (NL_LANGMAX): Likewise.
4451         (NL_MSGMAX): Likewise.
4452         (NL_NMAX): Likewise.
4453         (NL_SETMAX): Likewise.
4454         (NL_TEXTMAX): Likewise.
4455         (NZERO): Likewise.
4456         (TMP_MAX): Likewise.
4457         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4458         variable.
4460         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4461         (PF_MAX): Update value.
4462         (AF_KCM): New macro.
4463         (SOL_NETBEUI): Likewise.
4464         (SOL_LLC): Likewise.
4465         (SOL_DCCP): Likewise.
4466         (SOL_NETLINK): Likewise.
4467         (SOL_TIPC): Likewise.
4468         (SOL_RXRPC): Likewise.
4469         (SOL_PPPOL2TP): Likewise.
4470         (SOL_BLUETOOTH): Likewise.
4471         (SOL_PNPIPE): Likewise.
4472         (SOL_RDS): Likewise.
4473         (SOL_IUCV): Likewise.
4474         (SOL_CAIF): Likewise.
4475         (SOL_ALG): Likewise.
4476         (SOL_NFC): Likewise.
4477         (SOL_KCM): Likewise.
4478         (MSG_BATCH): New enum value and macro.
4480 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4482         [BZ #18185]
4483         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4484         sharing L2 cache to 2 for Knights Landing.
4486 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4488         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4489         (FTW_DP): Do not expect for [XPG3 || XPG4].
4490         (FTW_SL): Do not expect for [XPG3].
4491         (FTW_SLN): Likewise.
4492         (FTW_PHYS): Likewise.
4493         (FTW_MOUNT): Likewise.
4494         (FTW_DEPTH): Likewise.
4495         (FTW_CHDIR): Likewise.
4496         (nftw): Likewise.
4497         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4498         variable.
4500 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4502         * manual/errno.texi: Fix various typos & grammar errors.
4504 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4506         * manual/intro.texi: Fix duplicated typo.
4508 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4510         [BZ #13304]
4511         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4512         <float.h>, <math_private.h> and <stdlib.h>.
4513         (add_split): New function.
4514         (mul_split): Likewise.
4515         (ext_val): New typedef.
4516         (store_ext_val): New function.
4517         (mul_ext_val): New function.
4518         (compare): New function.
4519         (add_split_ext): New function.
4520         (__fmal): After checking for Inf, NaN and zero, compute result as
4521         an exact sum of scaled double values in round-to-nearest before
4522         adding those up and adjusting for other rounding modes.
4523         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4524         tests of fma.
4525         * math/auto-libm-test-out: Regenerated.
4527 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4529         [BZ #20119]
4530         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4531         processor level type mask for CPUID with EAX == 11.
4533 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4535         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4536         logical threads if the HTT bit is 0.
4537         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4538         (index_cpu_HTT): Likewise.
4539         (reg_HTT): Likewise.
4541 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4543         [BZ #20115]
4544         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4545         Remove alignments on jump targets.
4547 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4549         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4550         (getpwent): Likewise.
4551         (setpwent): Likewise.
4552         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4553         variable.
4555         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4556         (remque): Likewise.
4557         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4558         variable.
4560 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4562         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4563         not being tested.
4565 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4567         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4568         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4569         call.
4570         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4571         (__condvar_cleanup1): Likewise.
4573 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4575         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4576         New
4577         (__pthread_unwind): Renamed to ...
4578         (PTHREAD_UNWIND): This.
4579         (__pthread_enable_asynccancel): Replace
4580         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4582 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4584         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4585         (CLONE_NEWCGROUP): New macro.
4587         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4588         (Q_GETNEXTQUOTA): New macro.
4590 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4592         [BZ #19907]
4593         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4594         buffer updated by the previous run.
4595         * string/test-memcpy.c (do_one_test): Likewise.
4596         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4597         * string/test-memmove.c (do_one_test): Likewise.
4599 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4601         [BZ #20094]
4602         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4603         not [__USE_XOPEN].
4604         (unlockpt): Likewise.
4605         (ptsname): Likewise.
4606         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4607         variable.
4609         [BZ #20076]
4610         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4611         instead of [__USE_UNIX98].
4612         (S_ISSOCK): Likewise.
4613         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4614         variable.
4616         [BZ #20074]
4617         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4618         [__USE_POSIX].
4619         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4620         variable.
4622         [BZ #20051]
4623         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4624         (ttyslot): Do not declare.
4625         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4626         (ttyslot): New prototype.
4627         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4628         variable.
4629         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4631 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4633         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4635 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4637         Fix race condition in tst-mallocfork2, use fewer resources.
4638         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4639         to current process group.
4640         (signal_sender): Yield in the non-sleeping case.
4642 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4644         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4645         (ecvt): Likewise.
4646         (fcvt): Likewise.
4647         (gcvt): Likewise.
4648         (getsubopt): Likewise.
4649         (grantpt): Likewise.
4650         (initstate): Likewise.
4651         (l64a): Likewise.
4652         (mktemp): Likewise.
4653         (mkstemp): Likewise.
4654         (ptsname): Likewise.
4655         (random): Likewise.
4656         (realpath): Likewise.
4657         (setstate): Likewise.
4658         (srandom): Likewise.
4659         (ttyslot): Likewise.
4660         (unlockpt): Likewise.
4661         (valloc): Likewise.
4663         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4664         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4665         variable.
4667 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4669         [BZ #20072]
4670         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4671         init_cpu_features only if SHARED is defined.
4672         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4674 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4676         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4677         non-inclusive caches on Intel processors.
4679 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4681         * malloc/malloc.c (dumped_main_arena_start)
4682         (dumped_main_arena_end): New variables.
4683         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4684         (do_check_chunk): Skip dumped fake mmapped chunks.
4685         (munmap_chunk): Likewise.
4686         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4687         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4688         mmapped chunks.
4689         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4690         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4691         and dumped_main_arena_end to cover the dumped heap.
4693 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4695         * conform/data/time.h-data (getdate_err): Do not expect for
4696         [XPG3].
4697         (getdate): Likewise.
4698         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4699         variable.
4701         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4702         (F_ULOCK): Likewise.
4703         (F_TEST): Likewise.
4704         (F_TLOCK): Likewise.
4705         (useconds_t): Likewise.
4706         (intptr_t): Do not expect for [XPG3] or [XPG4].
4707         (brk): Do not expect for [XPG3]
4708         (fchown): Likewise.
4709         (fchdir): Likewise.
4710         (ftruncate): Likewise.
4711         (getdtablesize): Likewise.
4712         (gethostid): Likewise.
4713         (getpagesize): Likewise.
4714         (getpgid): Likewise.
4715         (getsid): Likewise.
4716         (getwd): Likewise.
4717         (lchown): Likewise.
4718         (lockf): Likewise.
4719         (readlink): Likewise.
4720         (sbrk): Likewise.
4721         (setpgrp): Likewise.
4722         (setregid): Likewise.
4723         (setreuid): Likewise.
4724         (symlink): Likewise.
4725         (sync): Likewise.
4726         (truncate): Likewise.
4727         (ualarm): Likewise.
4728         (usleep): Likewise.
4729         (vfork): Likewise.
4730         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4731         variable.
4733         [BZ #20054]
4734         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4735         not [__USE_UNIX98].
4736         * conform/data/unistd.h-data (gethostname): Do not expect for
4737         [XPG3].
4739         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4740         [!POSIX] (S_IFBLK): Likewise.
4741         [!POSIX] (S_IFCHR): Likewise.
4742         [!POSIX] (S_IFIFO): Likewise.
4743         [!POSIX] (S_IFREG): Likewise.
4744         [!POSIX] (S_IFDIR): Likewise.
4745         [!POSIX] (S_IFLNK): Likewise.
4746         [!POSIX] (S_IFSOCK): Likewise.
4747         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4748         variable.
4749         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4751 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4753         * sysdeps/aarch64/memset.S (__memset):
4754         Rewrite of optimized memset.
4756 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4758         [BZ #19703]
4759         Partially async-signal-safe fork for single-threaded processes.
4760         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4761         variable.  Do not acquire and reset/release malloc and libio locks
4762         in single-threaded processes.
4763         * malloc/tst-mallocfork2.c: New file.
4764         * malloc/Makefile (tests): Add it.
4766 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4768         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4769         argument.  Use scratch buffer instead of extend_alloca.
4770         (gethosts): Use scratch buffer instead of extend_alloca.
4771         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
4772         extend_alloca.
4773         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4775 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
4777         [BZ #20055]
4778         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4779         instead of [__USE_UNIX98].
4780         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4781         [__USE_UNIX98].
4782         * conform/data/termios.h-data (tcgetsid): Do not expect for
4783         [XPG3].
4784         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4785         variable.
4786         (test-xfail-XPG4/termios.h/conform): Likewise.
4788 2016-05-11  Florian Weimer  <fweimer@redhat.com>
4790         Do not use mcheck in localedef.
4791         * locale/programs/localedef.c (turn_on_mcheck)
4792         (__malloc_initialize_hook): Remove.
4794 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4796         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4797         * sysdeps/s390/s390-64/Makefile: Likewise.
4799 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4801         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4802         Remove ifunc-defines.sym.
4803         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4804         Likewise.
4805         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4806         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4807         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4808         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4809         rtld-global-offsets.sym.
4810         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4811         * sysdeps/x86/cpu-features-offsets.sym: This.
4812         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4813         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4815 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
4817         [BZ #20073]
4818         * io/sys/stat.h (fchmod): Declare for
4819         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4820         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4821         variable.
4823         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4824         [XPG3] (S_IFSOCK): Likewise.
4825         [XPG3] (S_ISVTX): Likewise.
4826         [XPG3] (S_ISLNK): Likewise.
4827         [XPG3] (S_ISSOCK): Likewise.
4828         [XPG3] (fchmod): Likewise.
4829         [XPG3] (lstat): Likewise.
4830         [XPG3] (mknod): Likewise.
4832         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4833         [XPG3].  Expect type long and XFAIL for [XPG4].
4834         (st_blocks): Likewise.
4836         [BZ #20044]
4837         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4838         (pthread_atfork): New prototype.
4839         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4840         variable.
4842         [BZ #20043]
4843         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4844         prototype.
4846 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4848         [BZ #20017]
4849         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4850         gmtime.
4852 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4854         [BZ #19994]
4855         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4856         flag in _res.options.
4858 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4860         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4861         [XPG3 || XPG4].
4862         (blksize_t): Likewise.
4863         (clockid_t): Likewise.
4864         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4865         variable.
4866         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4868 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4870         * sysdeps/unix/sysv/linux/s390/init-first.c:
4871         Add VDSO_SYMBOL(getcpu).
4872         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4873         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4874         Add VDSO_SYMBOL(getcpu).
4875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4876         New define HAVE_GETCPU_VSYSCALL.
4877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4879 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4881         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4882         instead of <sysdeps/x86_64/cacheinfo.c>.
4883         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4884         * sysdeps/x86/cacheinfo.c: Here.
4886 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4888         * malloc/malloc-internal.h: Adjust header file guard.
4890 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4892         [BZ #19787]
4893         * inet/getnameinfo.c (check_sprintf_result): New function.
4894         (CHECKED_SNPRINTF): New macro.
4895         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4896         to the host buffer.
4897         (gni_host_local): Use checked_copy to copy the host name.
4898         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4899         (gni_serv_local): Use checked_copy to copy the service name.
4900         (getnameinfo): Remove unnecessary truncation of result buffers.
4902 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4904         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4905         in case of inet_ntop failure.
4907 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4909         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4910         avoid long lines.
4911         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4912         variables.
4913         (gni_host_inet, gni_host_local): Add comment.
4914         (gni_host): Add comment.  Use temporary to avoid long lines.
4916 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4918         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4919         registers specifiers where general purpose registers specifiers should
4920         have been used.
4922 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4924         [BZ #19779]
4925         CVE-2016-1234
4926         Avoid copying names of directory entries.
4927         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4928         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4929         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4930         (struct readdir_result): New type.
4931         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4932         (GL_READDIR): New macros.
4933         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4934         (convert_dirent, convert_dirent64): New functions.
4935         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4936         convert_dirent64.  Adjust references to the readdir result.
4937         * sysdeps/unix/sysv/linux/i386/glob64.c:
4938         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4939         * posix/bug-glob2.c (LONG_NAME): Define.
4940         (filesystem): Add LONG_NAME.
4941         (my_DIR): Increase the size of room_for_dirent.
4943 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4945         [BZ #20041]
4946         * misc/sys/select.h (__need_timespec): Only define if
4947         [__USE_XOPEN2K].
4948         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4949         variable.
4950         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4951         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4952         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4954 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4955             Segher Boessenkool  <segher@gcc.gnu.org>
4957         [BZ #20004]
4958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4959         (__novec_swapcontext): Add missing load.
4961 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4963         [BZ #20023]
4964         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4965         <time.h>.
4966         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4967         variable.
4968         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4970 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4973         flags CLONE_VM compare.
4975 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4977         [BZ #20031]
4978         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4979         completely empty.
4981 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4983         [BZ #19573]
4984         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4985         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4986         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4987         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4988         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4989         (hesiod_free_list): Mark as hidden.
4990         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4991         res_set, res_get.
4992         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4993         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4994         (hesiod_init): Remove obsolete res_ninit call.
4995         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4996         (hesiod_bind): Do not call init.
4997         (get_txt_records): Use res_mkquery, res_send instead of
4998         res_nmkquery, res_nsend.
4999         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5000         instead of _nss_hesiod_init.
5001         (_nss_hesiod_initgroups_dyn): Likewise.
5002         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5003         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5004         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5006 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5008         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5009         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5011 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5013         * hesiod/hesiod.h: Remove RCS keyword.
5014         * hesiod/hesiod_p.h: Likewise.
5016         * hesiod/hesiod.c: Likewise.
5018 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5020         [BZ #12450]
5021         * locale/iso-639.def: Add Samogitian/sgs.
5023 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5025         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5027         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5029 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5030             Carlos O'Donell  <carlos@redhat.com>
5032         [BZ #19072]
5033         * grp/Makefile (headers): Add grp-merge.h
5034         (routines): Add grp-merge.
5035         * grp/getgrgid_r.c: Include grp-merge.h.
5036         (DEEPCOPY_FN): Define.
5037         (MERGE_FN): Define.
5038         * grp/getgrname_r.c: Include grp-merge.h.
5039         (DEEPCOPY_FN): Define.
5040         (MERGE_FN): Define.
5041         * grp/grp-merge.c: New file.
5042         * grp/grp-merge.h: New file.
5043         * include/grp-merge.h: New file.
5044         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5045         __copy_grp@GLIBC_PRIVATE.
5046         * manual/nss.texi (Actions in the NSS configuration): Describe
5047         return, continue, and merge.
5048         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5049         (DEEPCOPY_FN): Define.
5050         (MERGE_FN): Define.
5051         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5052         (DEEPCOPY_FN): Define.
5053         (MERGE_FN): Define.
5054         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5055         [!MERGE_FN]: Define __merge_einval.
5056         (CHECK_MERGE): Define.
5057         (REENTRANT_NAME): Process merge if do_merge is true.
5058         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5059         (__nss_getent_r): Likewise.
5060         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5061         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5063 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5065         [BZ #20012]
5066         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5067         length to calculate the buffer to read.
5068         (fmemopen_write): Set the buffer position based on bytes written.
5069         (fmemopen_seek): Return EINVAL for invalid whence modes.
5071         [BZ #19957]
5072         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5073         tst-getpid2.
5074         (test): Add tst-clone2.
5075         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5076         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5077         pid/tid fields for CLONE_VM.
5078         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5079         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5080         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5081         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5082         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5083         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5084         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5085         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5087         Likewise.
5088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5089         Likewise.
5090         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5091         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5092         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5093         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5094         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5095         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5096         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5097         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5099 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5101         [BZ #19642]
5102         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5103         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5104         (gni_serv_local, gni_serv): New functions extracted from
5105         getnameinfo.
5106         (getnameinfo): Call gni_host and gni_serv to perform the
5107         processing.  Always free scratch buffer.
5109 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5111         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5112         remaining bytes in the dest string, with zeros.
5114 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5116         [BZ #20010]
5117         CVE-2016-3706
5118         * sysdeps/posix/getaddrinfo.c
5119         (convert_hostent_to_gaih_addrtuple): New function.
5120         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5121         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5122         AF_INET data.
5124 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5126         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5127         callback function gl_readdir.
5128         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5129         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5130         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5131         memcpy to copy the name.
5132         * manual/pattern.texi (Calling Glob): Document requirements for
5133         implementations of the gl_readdir callback function.
5134         * manual/examples/mkdirent.c: New example.
5135         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5136         per the manual guidance.
5137         * posix/tst-gnuglob.c (my_readdir): Likewise.
5139 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5141         [BZ #20014]
5142         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5143         not [__USE_POSIX].
5144         (getchar_unlocked): Likewise.
5145         (putc_unlocked): Likewise.
5146         (putchar_unlocked): Likewise.
5147         (flockfile): Likewise.
5148         (ftrylockfile): Likewise.
5149         (funlockfile): Likewise.
5150         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5151         variable.
5152         (test-xfail-XPG4/stdio.h/conform): Likewise.
5154         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5155         Expect constant.
5156         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5157         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5158         variable.
5159         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5160         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5162         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5163         [__USE_LARGEFILE64] (off64_t): Likewise.
5164         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5165         variable.
5167 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5169         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5171 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5173         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5174         * resolv/res_init.c: Likewise.
5175         * resolv/res_mkquery.c: Likewise.
5177 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5179         * resolv/res_init.c (isascii): Do not define.  Use definition in
5180         <ctype.h>.
5181         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5182         (LOG_AUTH): Remove.
5183         (SPRINTF): Remove, adjust caller.
5184         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5186 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5188         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5189         SUNSECURITY conditional.
5190         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5192 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5194         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5195         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5196         Remove BSD-related preprocessor conditionals.
5197         * conf/portability.h: Remove.
5199 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5201         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5202         * resolv/res_data.c: Likewise.
5204 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5206         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5207         * resolv/res_data.c: Remove code conditional on ultrix.
5209 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5211         * resolv/res_init.c (RFC1535): Do not define.  Remove
5212         RFC1535 preprocessor conditionals.
5213         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5214         because there configuration options which make the resolver
5215         behavior different.
5217 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5219         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5220         RESOLVSORT preprocessor conditionals.
5221         * resolv/nss_dns/dns-host.c: Likewise.
5222         * resolv/res_init.c: Likewise.
5224 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5226         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5227         is never defined.
5229 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5231         * inet/inet_lnaof.c: Remove SCSS keyword.
5232         * inet/inet_mkadr.c: Likewise.
5233         * inet/inet_net.c: Likewise.
5234         * inet/inet_netof.c: Likewise.
5235         * inet/rcmd.c: Likewise.
5236         * inet/rexec.c: Likewise.
5237         * inet/ruserpass.c: Likewise.
5239 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5241         * resolv/inet_addr.c: Remove _LIBC conditionals.
5242         * resolv/res_data.c: Likewise.
5243         * resolv/res_init.c: Likewise.
5244         * resolv/res_mkquery.c: Likewise.
5245         * resolv/res_libc.c: Update comment.
5246         * resolv/README: Update.
5248 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5250         * resolv/gethnamaddr.c: Remove SCSS keyword.
5251         * resolv/herror.c: Likewise.
5252         * resolv/inet_addr.c: Likewise.
5253         * resolv/inet_net_ntop.c: Likewise.
5254         * resolv/inet_net_pton.c: Likewise.
5255         * resolv/inet_neta.c: Likewise.
5256         * resolv/inet_ntop.c: Likewise.
5257         * resolv/inet_pton.c: Likewise.
5258         * resolv/ns_date.c: Remove RCS keyword.
5259         * resolv/ns_name.c: Likewise.
5260         * resolv/ns_netint.c: Likewise.
5261         * resolv/ns_parse.c: Likewise.
5262         * resolv/ns_print.c: Likewise.
5263         * resolv/ns_samedomain.c: Likewise.
5264         * resolv/ns_ttl.c: Likewise.
5265         * resolv/nsap_addr.c: Likewise.
5266         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5267         * resolv/res_data.c: Remove RCS keyword.
5268         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5269         * resolv/res_init.c: Likewise.
5270         * resolv/res_mkquery.c: Likewise.
5271         * resolv/res_query.c: Likewise.
5272         * resolv/res_send.c: Likewise.
5274 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5276         * conform/data/stdio.h-data (fdopen): Expect also for
5277         [XPG3 || XPG4].
5279         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5280         (fseeko): Likewise.
5281         (ftello): Likewise.
5282         (ftrylockfile): Likewise.
5283         (funlockfile): Likewise.
5284         (getc_unlocked): Likewise.
5285         (getchar_unlocked): Likewise.
5286         (putc_unlocked): Likewise.
5287         (putchar_unlocked): Likewise.
5289 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5291         [BZ #19868]
5292         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5293         DNS packet syntax checks (which were not needed before).  Skip
5294         over non-PTR records.
5296 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5298         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5299         definition.  Include <stddef.h> instead.
5301 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5303         [BZ #19831]
5304         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5305         function.
5306         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5307         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5309 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5311         [BZ #19862]
5312         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5313         (getanswer_r): Do not call syslog.
5314         (gaih_getanswer_slice): Likewise.
5315         * resolv/gethnamaddr.c (AskedForGot): Remove.
5316         (getanswer): Do not call syslog.
5317         (gethostbyaddr): Likewise.
5319 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5321         * conform/data/signal.h-data (union sigval): Expect also if
5322         [XOPEN2K].
5323         (struct sigevent): Likewise.
5324         (SIGEV_NONE): Likewise.
5325         (SIGEV_SIGNAL): Likewise.
5326         (SIGEV_THREAD): Likewise.
5327         (SIGRTMIN): Likewise.
5328         (SIGRTMAX): Likewise.
5329         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5330         variable.
5331         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5333 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5335         [BZ #19830]
5336         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5337         (gaih_getanswer_slice): Likewise.
5338         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5339         Also check for availability of RR metadata.
5341 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5343         [BZ #19825]
5344         * resolv/res_send.c (send_vc): Remove early *resplen2
5345         initialization.  Set *resplen2 on socket error.  Call
5346         close_and_return_error for other errors.
5348 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5350         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5351         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5352         (SCM_IUCV_TRGCLS): New define.
5354 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5356         [BZ #20005]
5357         * libio/fmemopen.c (fmemopen_write): Update internal position after
5358         write.
5359         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5360         * stdio-common/tst-fmemopen4.c: New file..
5362 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5364         [BZ #19996]
5365         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5366         not [__USE_XOPEN2K].
5367         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5368         variable.
5370         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5371         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5372         variable.
5374         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5375         [__USE_XOPEN2K8].
5376         [__USE_LARGEFILE64] (off64_t): Likewise.
5377         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5378         variable.
5380 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5382         [BZ #19989]
5383         * libio/stdio.h (cuserid): Do not declare if
5384         [__USE_XOPEN2K && !__USE_GNU].
5385         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5386         variable.
5388 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5390         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5391         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5393         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5394         ifunc'ed strcspn.
5395         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5396         [EALIGN]: Removed.
5397         [END]: Likewise
5398         [STRSPN]: Define instead of the above to control symbol name.
5399         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5400         New file.
5401         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5402         Likewise.
5403         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5404         Likewise.
5405         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5406         Likewise.
5407         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5408         [INITIAL_MASK]: New macro.
5409         [STRCSPN]: Likewise.
5410         [UPDATE_MASK]: Likewise.
5411         [USE_AS_STRCSPN]: Lisewise.
5413 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5415         [BZ #19931]
5416         * stdio-common/tst-vfprintf-width-prec.c: New file.
5417         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5418         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5419         (generated): Add mtrace-related files.
5420         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5421         (tst-%-mem.out): New pattern rule, replaces
5422         tst-printf-bz18872-mem.out.
5423         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5424         specifier, deallocate any previously allocated work buffer.
5426 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5428         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5429         Add nop before __startcontext, add explaining comments.
5431 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5433         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5434         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5435         completely different API.
5437         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5438         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5439         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5440         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5441         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5442         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5443         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5444         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5445         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5446         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5448 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5450         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5452 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5454         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5455         when it is the default of 0.
5457 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5459         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5460         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5461         (sysdep_routines): Add new strcasestr targets.
5462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5463         (__libc_ifunc_impl_list): Likewise.
5464         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5465         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5466         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5467         * sysdeps/powerpc/powerpc64/power8/Makefile:
5468         New file to add strcasestr-ppc64 to sysdep_routines.
5469         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5470         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5472 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5474         * benchtests/Makefile (wcsmbs-benchset): Include only for
5475         native builds and runs.
5476         (LOCALES): Likewise.
5477         (bench-build): Build timing-type here instead of the bench
5478         target.  Generate locale only for native builds.
5479         * benchtests/README: Add note for cross-building.
5481         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5483         * benchtests/README: Update README to include instructions on
5484         using bench-build.
5486         * Makefile.in (bench-build): New target.
5487         * Rules (PHONY): Add bench-build target.
5488         * benchtests/Makefile (bench): Depend on bench-build.
5489         (bench-build): New target.
5491 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5493         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5494         profil_reply_port.
5495         (profile_waiter): Do not initialize profil_reply_port.
5496         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5497         frequency instead of tick length in us.
5499 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5501         [BZ #18712]
5502         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5503         (__old_mempcpy_small): Likewise.
5504         (__old_strcpy_small): Likewise.
5505         (__old_stpcpy_small): Likewise.
5506         (__old_strpbrk_c2): Fix compat symbol name.
5507         (__old_strpbrk_c3): Likewise.
5508         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5509         (__mempcpy_small): Remove.
5510         (__strcpy_small): Remove.
5511         (__stpcpy_small): Remove.
5513 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5515         [BZ #19400]
5516         * locale/iso-639.def: Add the Talossan/tzl language.
5518 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5520         [BZ #16983]
5521         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5522         comment.  Add "ln" to strchr check on postal_fmt.
5524 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5526         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5527         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5528         tel_dom_fmt.
5530 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5532         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5533         (sysdep_routines): Added __strlen_power8.
5534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5535         __strlen_power8 entry.
5536         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5537         Implementation for POWER8.
5538         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5539         for __strlen_power8.
5540         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5541         Implementation for POWER8.
5543 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5545         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5547 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5549         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5550         Goldmont and Airmont processors.
5552 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5554         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5555         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5556         (__STRING2_SMALL_GET32): Remove.
5557         (memset): Remove.
5558         (__memset_1): Remove.
5559         (__memset_gc): Remove.
5560         (__mempcpy): Remove.
5561         (mempcpy): Remove.
5562         (__mempcpy_args): Remove.
5563         (strchr): Remove.
5564         (strcpy): Remove.
5565         (strcpy_args): Remove.
5566         (__stpcpy_args): Remove.
5567         (__strcmp_cc): Remove.
5568         (__strcmp_gc): Remove.
5569         (strstr): Remove.
5571 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5573         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5574         * nis/nis_call.c (nis_server_cache_add): Likewise.
5576 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5578         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5580 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5582         * malloc/arena.c (__malloc_fork_lock_parent)
5583         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5584         internal_function attribute.
5586 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5588         * stdio-common/printf_fp.c (__printf_fp_l):
5589         Rename ___printf_fp_l to __printf_fp_l and
5590         remove strong alias. Use libc_hidden_def instead
5591         of ldbl_hidden_def macro.
5593 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5595         Remove malloc hooks from fork handler.  They are no longer needed
5596         because malloc runs right before fork, and no malloc calls from
5597         other fork handlers are not possible anymore.
5598         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5599         declarations.
5600         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5601         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5602         (atfork_recursive_cntr): Remove.
5603         (__malloc_fork_lock_parent): Do not override malloc hooks and
5604         thread_arena.
5605         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5606         thread_arena.
5607         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5608         thread_arena instead of save_arena.
5610 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5612         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5613         (thread_atfork, thread_atfork_static): Remove.
5614         * sysdeps/mach/hurd/malloc-machine.h:
5615         (thread_atfork, thread_atfork_static): Remove.
5617 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5619         [BZ #19431]
5620         Run the malloc fork handler as late as possible to avoid deadlocks.
5621         * malloc/malloc-internal.h: New file.
5622         * malloc/malloc.c: Include it.
5623         * malloc/arena.c (ATFORK_MEM): Remove.
5624         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5625         Update comment.
5626         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5627         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5628         Remove outdated comment.
5629         (ptmalloc_init): Do not call thread_atfork.  Remove
5630         thread_atfork_static.
5631         * malloc/tst-malloc-fork-deadlock.c: New file.
5632         * Makefile (tests): Add tst-malloc-fork-deadlock.
5633         (tst-malloc-fork-deadlock): Link against libpthread.
5634         * manual/memory.texi (Aligned Memory Blocks): Update safety
5635         annotation comments.
5636         * sysdeps/nptl/fork.c (__libc_fork): Call
5637         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5638         __malloc_fork_unlock_child.
5639         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5641 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5643         [BZ #19613]
5644         Remove union wait.
5645         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5646         (w_stopsig, w_stopval): Remove.
5647         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5648         stat_loc argument.
5649         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5650         (__WAIT_STATUS_DEFN): Remove.
5651         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5652         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5653         (wait, wait3, wait4): Use int * for the stat_loc argument.
5654         * posix/wait.c (__wait): Likewise.
5655         * posix/wait3.c (__wait3): Likewise.
5656         * posix/wait4.c (__wait4): Likewise.
5657         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5658         (__WAIT_STATUS_DEFN): Remove.
5659         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5660         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5661         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5662         argument.
5663         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5664         * sysdeps/posix/wait3.c (__wait3): Likewise.
5665         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5666         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5667         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5668         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5669         stat_loc argument.
5670         * manual/process.texi (BSD Wait Functions): Remove union wait.
5672 2016-04-13  Andreas Schwab  <schwab@suse.de>
5674         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5675         (test-extras): Add tst-tlsalign-vars.
5676         * math/Makefile: Wrap long lines.
5677         (libm-vec-test-wrappers): Define.
5678         (test-extras): Add $(libm-vec-test-wrappers).
5679         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5680         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5681         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5682         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5683         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5684         (extra-test-objs): Add corresponding objects.
5686 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5688         [BZ #19928]
5689         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5690         New.
5691         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5692         times of shared cache size.
5693         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5694         (VMOVNT): New.
5695         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5696         (VMOVNT): Likewise.
5697         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5698         (VMOVNT): Likewise.
5699         (VMOVU): Changed to movups for smaller code sizes.
5700         (VMOVA): Changed to movaps for smaller code sizes.
5701         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5702         comments.
5703         (PREFETCH): New.
5704         (PREFETCH_SIZE): Likewise.
5705         (PREFETCHED_LOAD_SIZE): Likewise.
5706         (PREFETCH_ONE_SET): Likewise.
5707         Rewrite to use forward and backward loops, which move 4 vector
5708         registers at a time, to support overlapping addresses and use
5709         non temporal store if size is above the threshold and there is
5710         no overlap between destination and source.
5712 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5714         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5715         Include dl-vdso.
5716         * sysdeps/unix/sysv/linux/mips/Versions: Add
5717         __vdso_clock_gettime.
5718         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5719         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5720         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5721         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5722         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5723         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5724         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5725         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5726         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5728 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5730         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5731         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5732         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5734         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5735         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5738         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5739         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5740         syscalls generation.
5741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5742         [__NR_pwrite64] (__NR_write): Remove define.
5743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5744         [__NR_pwrite64] (__NR_write): Remove define.
5745         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5746         Remove define.
5747         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5748         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5749         Remove define.
5750         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5751         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5752         Linux implementation as base.
5753         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5755         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5756         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5757         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5758         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5761         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5762         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5763         syscall generation.
5764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5765         [__NR_pread64] (__NR_pread): Remove define.
5766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5767         [__NR_pread64] (__NR_pread): Likewise.
5768         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5769         define.
5770         (__libc_pread): Use SYSCALL_LL macro on offset argument.
5771         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5772         Remove define.
5773         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5774         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5775         Linux implementation as base.
5776         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5777         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5778         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5780         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5781         definition.
5782         (__ALIGNMENT_COUNT): Likewise.
5783         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5784         (__ALIGNMENT_COUNT): Likewise.
5785         (SYSCALL_LL): New define.
5786         (SYSCALL_LL64): Likewise.
5787         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5788         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5789         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5790         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5792         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5793         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5794         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5795         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5796         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5797         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5799 2016-04-11  Florian Weimer  <fweimer@redhat.com>
5801         [BZ #19865]
5802         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5803         original buffer before retry.
5805 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5807         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5808         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5809         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5810         GLRO(dl_auxv) list.
5811         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5812         including <ldsodefs.h>.
5813         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5815 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
5817         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5818         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5819         $(CPPFLAGS).
5821 2016-04-09  Khem Raj  <raj.khem@gmail.com>
5823         [BZ #17950]
5824         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5825         Add -mfpmath=387.
5827 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
5829         * sysdeps/i386/configure.ac: Change == to = when calling test.
5830         * sysdeps/x86_64/configure.ac: Likewise.
5831         * sysdeps/i386/configure: Regenerated.
5832         * sysdeps/x86_64/configure: Likewise.
5834 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
5836         [BZ #16137]
5837         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5838         * benchtests/bench-strcoll.c (input_files): Likewise.
5839         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5840         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5841         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5843 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5845         [BZ #19929]
5846         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5847         [__USE_XOPEN2K8 && !__USE_GNU].
5848         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5849         variable.
5851         [BZ #19925]
5852         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5853         define if [!__USE_MISC && __USE_XOPEN2K].
5854         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5855         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5856         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5857         Likewise.
5858         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5859         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5860         variable.
5861         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5863 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5865         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5866         (sysdep_routines): Add new strspn targets.
5867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5868         (__libc_ifunc_impl_list): Add strspn.
5869         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5870         New file.
5871         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5872         Likewise.
5873         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5874         Likewise.
5875         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5876         Likewise.
5878 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5880         * misc/hsearch_r.c: Include <limits.h>.
5882 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5884         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5886 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5888         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5889         (MEMCPY_SYMBOL): New.
5890         (MEMPCPY_SYMBOL): Likewise.
5891         (MEMMOVE_CHK_SYMBOL): Likewise.
5892         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5893         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5894         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5895         Provide alias for memcpy in libc.a and ld.so.
5897 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5899         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5900         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5901         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5902         Disabled fro now.
5903         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5904         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5906 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5908         * benchtests/Makefile (string-benchset): Add memcpy-large,
5909         memmove-large and memset-large.
5910         * benchtests/bench-memcpy-large.c: New file.
5911         * benchtests/bench-memmove-large.c: Likewise.
5912         * benchtests/bench-memmove-large.c: Likewise.
5913         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5915 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5917         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5918         32-bit displacement to avoid long nop between instructions.
5920 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5922         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5923         a comment on VMOVU and VMOVA.
5925 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5927         [BZ #19633]
5928         Use specified locale for number formatting in strfmon_l.
5929         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5930         (__nl_lookup_word): New inline functions.
5931         * include/printf.h (__print_fp_l): Declare.
5932         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5933         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5934         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5935         (___printf_fp): New function.
5936         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5937         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5938         * stdlib/tst-strfmon_l.c (do_test): New test.
5939         * stdlib/Makefile (tests): Add kt.
5940         (LOCALES): Build additional locales.
5941         (tst-strfmon_l.out): Require locales.
5943 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5945         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5946         if not in libc.
5947         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5948         Likewise.
5949         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5950         Likewise.
5951         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5952         Likewise.
5954 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5956         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5957         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5958         with unaligned_erms.
5959         (__memmove_erms): Skip if source == destination.
5960         (__memmove_unaligned_erms): Don't check source == destination
5961         first.
5963 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5965         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5966         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5968 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5970         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5971         * string/strspn.c (strspn): Likewise.
5973 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5975         * benchtests/bench-memset.c (do_test): Support 64-byte
5976         alignment.
5977         (test_main): Test 64-byte alignment.
5979 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5981         * benchtests/bench-memmove.c (test_main): Test 64-byte
5982         alignment.
5984 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5986         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5988 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5990         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5991         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5992         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5994         * string/strpbrk.c (strpbrk): Rewrite function.
5995         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5996         (__strpbrk_c2): Likewise.
5997         (__strpbrk_c3): Likewise.
5998         * string/string-inlines.c
5999         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6000         Likewise.
6001         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6002         Likewise.
6004         * string/strspn.c (strcspn): Rewrite function.
6005         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6006         (__strspn_c1): Remove inline function.
6007         (__strspn_c2): Likewise.
6008         (__strspn_c3): Likewise.
6009         * string/string-inlines.c
6010         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6011         compatibility symbol.
6012         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6013         Likewise.
6014         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6015         Likewise.
6016         * string/string-inlines.c: Include generic version.
6018 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6019             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6021         * string/Version (libc): Add GLIBC_2.24.
6022         * string/strcspn.c (strcspn): Rewrite function.
6023         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6024         (__strcspn_c1): Remove inline function.
6025         (__strcspn_c2): Likewise.
6026         (__strcspn_c3): Likewise.
6027         * string/string-inline.c
6028         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6029         compatibility symbol.
6030         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6031         Likewise.
6032         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6033         Likewise.
6034         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6036 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6038         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6039         Use ahi instead of aghi to adjust stack pointer.
6041 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6043         [BZ #19853]
6044         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6045         TEST to take significant digits as second parameter.
6046         [TEST]: Redefine in terms of TEST_N taking 30
6047         significant digits.
6048         (do_test): Add test case to demonstrate precision
6049         failure in the ldbl-128ibm printf.
6050         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6051         (__mpn_extract_long_double): Carry 7 extra intermediate
6052         bits of precision to aide computing difference when
6053         signs differ.
6055 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6057         [BZ #19881]
6058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6059         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6060         memset-avx512-unaligned-erms.
6061         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6062         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6063         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6064         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6065         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6066         __memset_sse2_unaligned_erms, __memset_erms,
6067         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6068         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6069         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6070         file.
6071         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6072         Likewise.
6073         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6074         Likewise.
6075         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6076         Likewise.
6078 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6080         [BZ #19776]
6081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6082         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6083         memmove-avx512-unaligned-erms.
6084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6085         (__libc_ifunc_impl_list): Test
6086         __memmove_chk_avx512_unaligned_2,
6087         __memmove_chk_avx512_unaligned_erms,
6088         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6089         __memmove_chk_sse2_unaligned_2,
6090         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6091         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6092         __memmove_avx512_unaligned_erms, __memmove_erms,
6093         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6094         __memcpy_chk_avx512_unaligned_2,
6095         __memcpy_chk_avx512_unaligned_erms,
6096         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6097         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6098         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6099         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6100         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6101         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6102         __mempcpy_chk_avx512_unaligned_erms,
6103         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6104         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6105         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6106         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6107         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6108         __mempcpy_erms.
6109         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6110         file.
6111         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6112         Likwise.
6113         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6114         Likwise.
6115         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6116         Likwise.
6118 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6120         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6121         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6122         (La_s390_64_regs): Likewise.
6123         (La_s390_32_retval): Append vector register lrv_v24.
6124         (La_s390_64_retval): Likeweise.
6125         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6126         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6127         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6128         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6130 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6132         [BZ #19916]
6133         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6134         to create a non-vector/vector version for _dl_runtime_resolve and
6135         _dl_runtime_profile. Move implementation to ...
6136         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6137         (_dl_runtime_resolve) Save and restore fpr/vrs.
6138         (_dl_runtime_profile) Save and restore vrs and fix some issues
6139         if _dl_call_pltexit is called.
6140         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6141         Choose the correct resolver function if running on a machine with vx.
6142         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6143         to create a non-vector/vector version for _dl_runtime_resolve and
6144         _dl_runtime_profile. Move implementation to ...
6145         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6146         (_dl_runtime_resolve) Save and restore fpr/vrs.
6147         (_dl_runtime_profile) Save and restore vrs and fix some issues
6148         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6149         Choose the correct resolver function if running on a machine with vx.
6151 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6153         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6155 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6157         [BZ #19509]
6158         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6159         skip_map != NULL.
6160         * elf/tst-dlsym-error.c: New file.
6161         * elf/Makefile (tests): Add tst-dlsym-error.
6162         (tst-dlsym-error): Link against libdl.
6164 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6166         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6167         (__ASSUME_FUTIMESAT): Remove macro.
6168         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6170 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6172         [BZ #19879]
6173         CVE-2016-3075
6174         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6175         copy name.
6177 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6179         [BZ #19837]
6180         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6181         error if parse_line fails.
6183 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6185         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6186         (index_cpu_ERMS): Likewise.
6187         (reg_ERMS): Likewise.
6189 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6191         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6192         PER_LINUX_FDPIC): Add.
6194 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6197         memcpy-avx512-no-vzeroupper.
6198         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6199         to ...
6200         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6201         (MEMCPY): Don't define.
6202         (MEMCPY_CHK): Likewise.
6203         (MEMPCPY): Likewise.
6204         (MEMPCPY_CHK): Likewise.
6205         (MEMPCPY_CHK): Renamed to ...
6206         (__mempcpy_chk_avx512_no_vzeroupper): This.
6207         (MEMPCPY_CHK): Renamed to ...
6208         (__mempcpy_chk_avx512_no_vzeroupper): This.
6209         (MEMCPY_CHK): Renamed to ...
6210         (__memmove_chk_avx512_no_vzeroupper): This.
6211         (MEMCPY): Renamed to ...
6212         (__memmove_avx512_no_vzeroupper): This.
6213         (__memcpy_avx512_no_vzeroupper): New alias.
6214         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6216 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6218         [BZ #18858]
6219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6220         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6221         and mempcpy-avx512-no-vzeroupper.
6222         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6223         New.
6224         (MEMPCPY): Likewise.
6225         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6226         (MEMPCPY_CHK): New.
6227         (MEMPCPY): Likewise.
6228         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6229         (MEMPCPY): Likewise.
6230         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6231         (MEMPCPY): Likewise.
6232         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6233         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6234         Likewise.
6235         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6236         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6238 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6239              Amit Pawar  <Amit.Pawar@amd.com>
6241         [BZ #19583]
6242         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6243         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6244         processors.  Set Fast_Copy_Backward for AMD Excavator
6245         processors.
6246         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6247         New.
6248         (index_arch_Fast_Unaligned_Copy): Likewise.
6249         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6250         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6252 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6254         [BZ #19791]
6255         * resolv/res_send.c (close_and_return_error): New function.
6256         (send_dg): Initialize *resplen2 after reopen failure.  Call
6257         close_and_return_error for error returns.  On error paths without
6258         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6259         successful return.
6261 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6263         [BZ# 19860]
6264         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6265         zero if the compiler does not provide the AVX512F bit.
6267 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6269         [BZ #19848]
6270         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6271         from 8 to 4.
6272         (__ieee754_powl): Compare integer exponent against 4 not 8.
6273         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6274         from 8 to 4.
6275         (__ieee754_powl): Compare integer exponent against 4 not 8.
6276         * math/auto-libm-test-in: Add more tests of pow.
6277         * math/auto-libm-test-out: Regenerated.
6278         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6281 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6283         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6284         Make code unconditional.
6285         [!__NR_utimensat]: Remove conditional code.
6286         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6287         Make code unconditional.
6288         [!__NR_utimensat]: Remove conditional code.
6289         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6290         Make code unconditional.
6291         [!__NR_utimensat]: Remove conditional code.
6293 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6295         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6296         Make code unconditional.
6298 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6300         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6301         call-clobbered %eax on retry path.
6302         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6304 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6306         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6307         Don't set %rcx twice before "rep movsb".
6309 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6311         [BZ #19583]
6312         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6313         inline.  Check family before setting family, model and
6314         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6315         bits here.
6316         (init_cpu_features): Replace HAS_CPU_FEATURE and
6317         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6318         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6319         for Intel processors with usable AVX2.  Call get_common_indeces
6320         for other processors with family == NULL.
6321         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6322         (CPU_FEATURES_ARCH_P): Likewise.
6323         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6324         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6326 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6328         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6329         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6330         $(shared-thread-library) instead of hardcoding the path to libpthread.
6332 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6334         * sysdeps/unix/sysv/linux/kernel-features.h
6335         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6336         * sysdeps/unix/sysv/linux/getdents.c
6337         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6338         [!have_no_getdents64_defined]: Likewise.
6339         (__GETDENTS): Remove __have_no_getdents64 conditional.
6341 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6343         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6344         Remove macro.
6345         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6346         <kernel-features.h>.
6347         (signalfd) [__NR_signalfd4]: Make code unconditional.
6348         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6350 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6352         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6353         style.
6355 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6357         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6358         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6359         __pthread_unwind.
6360         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6361         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6362         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6363         (__condvar_cleanup1): Likewise.
6365 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6367         [BZ #19822]
6368         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6369         move it to the final $@ location.
6371 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6373         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6374         access where posix_spawn success and pid argument is null.
6375         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6376         success case.
6378 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6380         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6382         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6384         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6385         and __fcntl.
6386         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6387         __fcntl only.
6388         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6389         adding attribute_hidden to __open and __fcntl.
6391         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6392         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6393         depend on libc-modules.h,
6394         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6396 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6398         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6399         Remove macro.
6400         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6401         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6402         entry.
6404         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6405         Remove macro.
6406         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6407         include <kernel-features.h>.
6408         [!__ASSUME_FALLOCATE]: Remove conditional code.
6409         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6411 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6413         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6414         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6415         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6416         (_ZGVdN4v_cos_avx2): Likewise.
6417         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6418         (_ZGVdN4v_cos): Likewise.
6419         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6420         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6421         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6422         (_ZGVdN4v_exp_avx2): Likewise.
6423         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6424         (_ZGVdN4v_exp): Likewise.
6425         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6426         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6427         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6428         (_ZGVdN4v_log_avx2): Likewise.
6429         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6430         (_ZGVdN4v_log): Likewise.
6431         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6432         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6433         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6434         (_ZGVdN4vv_pow_avx2): Likewise.
6435         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6436         (_ZGVdN4vv_pow): Likewise.
6437         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6438         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6439         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6440         (_ZGVdN4v_sin_avx2): Likewise.
6441         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6442         (_ZGVdN4v_sin): Likewise.
6443         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6444         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6445         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6446         (_ZGVdN4vvv_sincos_avx2): Likewise.
6447         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6448         (_ZGVdN4vvv_sincos): Likewise.
6449         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6450         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6451         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6452         (_ZGVbN4v_cosf_sse4): Likewise.
6453         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6454         (_ZGVdN8v_cosf_avx2): Likewise.
6455         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6456         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6457         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6458         (_ZGVbN4v_expf_sse4): Likewise.
6459         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6460         (_ZGVdN8v_expf_avx2): Likewise.
6461         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6462         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6463         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6464         (_ZGVbN4v_logf_sse4): Likewise.
6465         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6466         (_ZGVdN8v_logf_avx2): Likewise.
6467         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6468         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6469         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6470         (_ZGVbN4vv_powf_sse4): Likewise.
6471         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6472         (_ZGVdN8vv_powf_avx2): Likewise.
6473         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6474         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6475         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6476         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6477         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6478         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6479         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6480         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6481         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6482         (_ZGVbN4v_sinf_sse4): Likewise.
6483         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6484         (_ZGVdN8v_sinf_avx2): Likewise.
6485         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6486         Use JUMPTARGET to call callee.
6487         (WRAPPER_IMPL_SSE2_ff): Likewise.
6488         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6489         (WRAPPER_IMPL_AVX): Likewise.
6490         (WRAPPER_IMPL_AVX_ff): Likewise.
6491         (WRAPPER_IMPL_AVX_fFF): Likewise.
6492         (WRAPPER_IMPL_AVX512): Likewise.
6493         (WRAPPER_IMPL_AVX512_ff): Likewise.
6494         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6495         Likewise.
6496         (WRAPPER_IMPL_SSE2_ff): Likewise.
6497         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6498         (WRAPPER_IMPL_AVX): Likewise.
6499         (WRAPPER_IMPL_AVX_ff): Likewise.
6500         (WRAPPER_IMPL_AVX_fFF): Likewise.
6501         (WRAPPER_IMPL_AVX512): Likewise.
6502         (WRAPPER_IMPL_AVX512_ff): Likewise.
6503         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6505 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6507         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6508         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6509         qualifier.
6510         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6511         internal_function qualifiers.
6513 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6515         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6516         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6517         * math/atest-exp.c (exp_mpn): Mark chk unused.
6518         * math/atest-exp2.c (exp_mpn): Likwise.
6519         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6520         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6522 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6524         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6525         Remove macro.
6526         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6527         <kernel-features.h>.
6528         [__NR_ppoll]: Make code unconditional.
6529         [!__ASSUME_PPOLL]: Remove conditional code.
6531         * sysdeps/unix/sysv/linux/kernel-features.h
6532         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6533         (__ASSUME_ACCEPT4): Likewise.
6534         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6535         Define.
6536         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6537         Likewise.
6538         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6539         Likewise.
6540         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6541         Likewise.
6542         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6543         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6544         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6545         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6546         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6547         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6548         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6549         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6550         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6551         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6552         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6553         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6554         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6555         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6556         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6557         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6558         Likewise.
6559         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6560         Likewise.
6561         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6562         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6563         0x040300].
6564         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6565         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6566         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6567         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6568         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6569         0x030300].
6570         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6571         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6572         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6573         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6574         0x040300].
6575         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6576         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6577         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6578         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6579         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6580         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6581         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6582         0x030300].
6583         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6584         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6585         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6586         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6587         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6588         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6589         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6590         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6591         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6592         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6593         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6594         0x040300].
6595         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6596         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6597         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6598         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6599         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6600         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6601         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6602         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6603         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6604         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6605         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6606         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6607         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6608         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6609         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6610         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6611         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6612         Likewise.
6613         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6614         Likewise.
6616 2016-03-15  Andreas Schwab  <schwab@suse.de>
6618         [BZ #19257]
6619         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6620         statp->_u._ext.nscount as loop count.
6622 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6624         * math/test-signgam-finite-c99.c: Also #undef
6625         __LIBC_INTERNAL_MATH_INLINES.
6626         * math/test-signgam-main.c: Likewise.
6628 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6630         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6631         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6632         (MADV_FREE): Likewise.
6633         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6634         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6635         EPOLLEXCLUSIVE.
6637 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6639         * timezone/README: Remove mention of checktab.awk. Mention wiki
6640         SharedSourceFiles.
6642 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6644         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6645         WUNTRACED.
6647 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6649         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6650         order to match the type of p when calling atomic_exchange_acq().
6652 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6654         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6655         cfi_offset calls.
6656         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6657         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6658         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6659         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6660         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6662 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6664         * timezone/checktab.awk: Removed.
6666 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6668         * manual/math.texi (Errors in Math Functions): Document relaxed
6669         accuracy goals for IBM long double.
6670         * math/libm-test.inc (test_exceptions): Always allow spurious
6671         "underflow" and "inexact" exceptions for IBM long double.
6673 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6675         [BZ #19762]
6676         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6677         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6678         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6679         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6680         (bit_arch_*): This for feature array.
6681         (bit_*): Renamed to ...
6682         (bit_cpu_*): This for cpu array.
6683         (index_*): Renamed to ...
6684         (index_arch_*): This for feature array.
6685         (index_*): Renamed to ...
6686         (index_cpu_*): This for cpu array.
6687         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6688         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6689         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6690         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6691         bit_##name with index_cpu_##name and bit_cpu_##name.
6692         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6693         bit_##name with index_arch_##name and bit_arch_##name.
6695 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6697         [BZ #19792]
6698         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6699         Terminate FDE before return label.
6701 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6703         [BZ #19790]
6704         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6705         (rintl): Define as macro.
6706         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6707         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6708         of fesetround.  Ensure results are evaluated before end of scope.
6709         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6710         USE_AS_NEARBYINTL and include s_rintl.c.
6711         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6712         Disable exception traps in new environment.
6713         (libc_feholdsetround_ppc_ctx): Likewise.
6715 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6717         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6718         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6719         (tst_audit10_aux) [__AVX512F__]: ... here.
6721 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6723         * include/sys/auxv.h: New file.
6725 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6727         [BZ #19759]
6728         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6730 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6732         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6733         operand modifier.
6734         (feclearexcept): Likewise.
6736 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6738         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6739         to reflect the entire 32-bit HWCAP.
6740         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6741         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6743 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6745         [BZ #19783]
6746         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6747         $(test-via-rtld-prefix).
6748         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6750 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6752         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6753         union wait.  Report any non-zero exit status as error.
6755 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6757         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6758         configured with --enable-hardcoded-path-in-tests.
6760 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6762         [BZ #19677]
6763         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6764         (__ieee754_remainderl): Put zero low parts in canonical form.
6765         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6766         file.  Based on
6767         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6768         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6769         with wrapper round test-fmodrem-ldbl-128ibm.c.
6770         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6771         file.
6772         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6773         Likewise.
6774         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6775         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6777 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6779         [BZ #19610]
6780         * elf/ldconfig.c (opt_link): Update comment.
6781         (options): Update help string for option -X.
6782         (search_dir): Unlink stale symbolic link only if updating symbolic
6783         links.
6784         * elf/tst-ldconfig-X.sh: New file.
6785         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6786         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6788 2016-03-07  Andreas Schwab  <schwab@suse.de>
6790         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6791         needed arguments.
6793 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
6795         [BZ #15333]
6796         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6797         to lstat64.
6799 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6801         * libio/filedoalloc.c (isatty): Remove.
6802         (local_isatty): Add comment.  Call __isatty directly.
6803         (_IO_file_doallocate): Update comment.  Assume _LIBC.
6804         * libio/wfiledoalloc.c (isatty): Remove.
6805         (_IO_wfile_doallocate): Update comment.
6807 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6809         [BZ #19269]
6810         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6811         tst-audit4-aux.o.
6812         (tst-audit10): Depend on tst-audit10-aux.o.
6813         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6814         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6815         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6816         instead of inline AVX code.
6817         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6818         instead of inline AVX512 code.
6819         * sysdeps/x86_64/tst-audit4-aux.c: New file
6820         * sysdeps/x86_64/tst-audit10-aux.c: New file
6822         [BZ #19648]
6823         * test-skeleton.c (main): Do not set RLIMIT_DATA.
6825 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6827         [BZ #14750]
6828         [BZ #10354]
6829         [BZ #18433]
6830         * include/sched.h (__clone): Add hidden prototype.
6831         (__clone2): Likewise.
6832         * include/unistd.h (__dup): Likewise.
6833         * posix/Makefile (tests): Add tst-spawn2.
6834         * posix/tst-spawn2.c: New file.
6835         * sysdeps/posix/dup.c (__dup): Add hidden definition.
6836         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6837         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6838         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6839         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6840         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6841         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6842         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6843         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6844         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6845         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6847         Likewise.
6848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6849         Likewise.
6850         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6851         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6852         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6853         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6854         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6855         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6856         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6857         * sysdeps/unix/sysv/linux/nptl-signals.h
6858         (____nptl_is_internal_signal): New function.
6859         * sysdeps/unix/sysv/linux/spawni.c: New file.
6861         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6862         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6863         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6864         * posix/tst-execvp2.c (do_test): Likewise.
6865         * posix/tst-execvp3.c (do_test): Likewise.
6866         * posix/tst-execvp4.c (do_test): Likewise.
6867         * posix/tst-execvpe1.c: New file.
6868         * posix/tst-execvpe2.c: Likewise.
6869         * posix/tst-execvpe3.c: Likewise.
6870         * posix/tst-execvpe4.c: Likewise.
6871         * posix/tst-execvpe5.c: Likewise.
6872         * posix/tst-execvpe6.c: Likewise.
6874         [BZ #19534]
6875         * posix/execl.c (execl): Remove dynamic memory allocation.
6876         * posix/execle.c (execle): Likewise.
6877         * posix/execlp.c (execlp): Likewise.
6879 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6881         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6882         Replace .text with .text.avx512.
6883         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6884         Likewise.
6886 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6888         * sysdeps/generic/libnsl.abilist: New file.
6889         * sysdeps/generic/libutil.abilist: New file.
6891 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6893         [BZ #19762]
6894         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6895         HAS_ARCH_FEATURE with Fast_Rep_String.
6896         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6897         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6898         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6899         Likewise.
6900         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6901         Likewise.
6902         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6903         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6904         Likewise.
6905         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6906         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6907         Likewise.
6909 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6911         [BZ #19745]
6912         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6913         with *%rax in call.
6915 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6917         [BZ #19745]
6918         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6919         with *__libc_start_main@GOTPCREL(%rip) in call.
6921 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6923         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6924         inside conditional for nonempty $(CXX).
6926         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6927         nonempty.
6929         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6930         to test for empty $(CXX) rather than $(CXX) of "no".
6932 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6934         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6936 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6937             H.J. Lu  <hongjiu.lu@intel.com>
6939         [BZ #18880]
6940         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6941         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6942         enable __memcpy_ssse3_back.
6944 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6946         [BZ #19758]
6947         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6948         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6950 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6952         [BZ #19490]
6953         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6954         (__fentry__): Likewise.
6956 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6958         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6959         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6961 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6963         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6964         __mcount_internal directly.
6965         (C_LABEL(__fentry__)): Likewise.
6966         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6967         directly.
6969 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6971         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6972         (__start_context): Call __setcontext directly.
6974 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6976         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6977         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6978         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6979         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6980         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6981         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6982         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6983         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6984         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6985         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6986         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6987         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6988         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6989         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6990         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6991         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6992         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6993         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6994         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6995         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6996         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6997         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6998         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6999         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7000         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7001         Remove conditional code.
7002         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7003         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7004         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7005         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7006         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7007         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7008         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7009         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7010         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7011         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7012         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7013         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7015 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7017         * NEWS (2.23): Fix typo in bug 19048 text.
7019 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7021         [BZ #14259]
7022         * Makeconfig: Rename msgcatdir to localedir.
7023         Rename inst_msgcatdir to inst_localedir.
7024         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7025         * config.make.in: Add localedir.
7026         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7027         (ldd-rewrite): Likewise.
7028         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7029         (install-others): Use inst_localedir.
7030         (CPPFLAGS): Use localedir.
7031         * locale/Makefile (locale-CPPFLAGS): Likewise.
7032         * po/Makefile (mo-installed): Use inst_localedir.
7034         [BZ #19575]
7035         * localedata/charmaps/GB18030: Update comments regarding PAU to
7036         non-PUA mappings.
7038 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7040         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7041         test for header.
7042         * sysdeps/unix/sysv/linux/configure: Regenerated.
7043         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7044         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7045         Remove conditional code.
7046         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7048         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7049         Define to 3.2.0.
7050         (arch_minimum_kernel): Likewise.
7051         * sysdeps/unix/sysv/linux/configure: Regenerated.
7052         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7053         Define to 2.6.32.
7054         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7055         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7056         (arch_minimum_kernel): Define to 2.6.32.
7057         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7058         * README: Document Linux 3.2 requirement.
7059         * manual/install.texi (Linux): Document Linux 3.2 headers
7060         requirement.
7061         * INSTALL: Regenerated.
7063 2016-02-24  Andreas Schwab  <schwab@suse.de>
7065         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7066         if !NO_LONG_DOUBLE.
7068 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7070         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7071         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7073 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7075         [BZ #19512]
7076         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7078 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7080         * posix/tst-dir.c: Include libc-internal.h.
7082 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7084         [BZ #19056]
7085         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7086         * manual/filesys.texi (Reading/Closing Directory): Mention
7087         deprecaion.
7088         * posix/tst-dir.c (main): Disable deprecation warning in test.
7090 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7092         [BZ #19679]
7093         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7094         Renamed to ...
7095         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7096         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7097         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7098         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7099         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7100         * sysdeps/x86_64/dl-trampoline.h
7101         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7102         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7104 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7106         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7108 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7110         * elf/elf.h (R_386_GOT32X): New.
7111         (R_386_NUM): Update.
7112         (R_X86_64_GOTPCRELX: New.
7113         (R_X86_64_REX_GOTPCRELX): New.
7114         (R_X86_64_NUM): Update.
7116 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7118         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7120 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7122         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7123         assign attr->stackaddr to it, and adjust it down when
7124         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7125         [_STACK_GROWS_UP]: Delete assert.
7126         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7127         Implement stack grows up logic.
7128         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7129         stack grows up logic.
7131 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7133         * NEWS: Update with 2.24 template.
7135 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7137         [BZ #19678]
7138         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7139         Ensure +0.0 is returned when taking the next value below the least
7140         positive value.
7142 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7144         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7145         available.  Do not define NO_THREADS.
7146         * malloc/malloc.c: Do not check NO_THREADS.
7147         * malloc/arena.c: Likewise.
7149 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7151         * malloc/malloc.c (__libc_mallinfo): Update comment.
7152         (struct malloc_par): Remove max_total_mem member, it was always 0.
7153         (int_mallinfo): Store 0 into usmblks (no functional change).
7154         * malloc/hooks.c (struct malloc_state): Document that
7155         max_total_mem is always 0.
7156         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7157         always 0.
7158         * manual/memory.texi (Statistics of Malloc): Likewise.
7160 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7162         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7163         * malloc/arena.c (arena_max): Remove.
7164         (heap_trim, _int_new_arena): Do not update arena_max.
7166 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7168         * resolv/res_init.c (res_ninit): Update comment.
7170 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7172         [BZ #19505]
7173         * posix/spawn_int.h: Add headers and include guard.
7174         (__spawn_valid_fd): New function.
7175         * posix/spawn_faction_addopen.c
7176         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7177         * posix/spawn_faction_addclose.c
7178         (posix_spawn_file_actions_addclose): Likewise.
7179         * posix/spawn_faction_adddup2.c
7180         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7181         second file descriptor.
7182         * posix/spawn_valid_fd.c: New file.
7183         * posix/tst-posix_spawn-fd.c: New file.
7184         * posix/Makefile (routines): Add spawn_valid_fd.
7185         (tests): Add tst-posix_spawn-fd.
7187 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7189         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7190         (do_test): Limit the number of arenas, so that we can use fewer
7191         outer threads.  Limit timeout to 3 seconds, in preparation for a
7192         larger TIMEOUT value.
7194 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7196         [BZ #19674]
7197         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7198         sign in overflowing and underflowing results when overflow or
7199         underflow is detected early.  Include sign in result before rather
7200         than after scaling.
7202         [BZ #19603]
7203         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7204         (__ieee754_remainderl): Adjust sign of integer version of low part
7205         when taking absolute value of high part.
7206         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7207         * math/libm-test.inc (remainder_test_data): Add another test.
7208         (remquo_test_data): Likewise.
7210 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7212         [BZ #19602]
7213         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7214         equal high parts and both low parts zero specially.
7215         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7216         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7217         Add test-fmodl-ldbl-128ibm.
7219         [BZ #19595]
7220         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7221         common logic for all cases of shifting subnormal results.  Do not
7222         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7223         exponent to ldbl_insert_mantissa in subnormal case.
7225         [BZ #19594]
7226         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7227         on high and low parts then adjust result and use
7228         ldbl_canonicalize_int if needed.
7230         [BZ #19593]
7231         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7232         on high part and __floor or __ceil on low part then use
7233         ldbl_canonicalize_int if needed.
7235         [BZ #19592]
7236         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7237         high and low parts then use ldbl_canonicalize_int if needed.
7239         [BZ #17899]
7240         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7241         New function.
7242         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7243         on high and low parts then use ldbl_canonicalize_int if needed.
7245 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7247         * configure: Regenerated.
7249         * po/libc.pot: Regenerated.
7251         * po/be.po: Updated translation.
7252         * po/bg.po: Likewise.
7253         * po/ca.po: Likewise.
7254         * po/cs.po: Likewise.
7255         * po/da.po: Likewise.
7256         * po/el.po: Likewise.
7257         * po/eo.po: Likewise.
7258         * po/es.po: Likewise.
7259         * po/fi.po: Likewise.
7260         * po/fr.po: Likewise.
7261         * po/gl.po: Likewise.
7262         * po/hr.po: Likewise.
7263         * po/hu.po: Likewise.
7264         * po/ia.po: Likewise.
7265         * po/id.po: Likewise.
7266         * po/it.po: Likewise.
7267         * po/ja.po: Likewise.
7268         * po/lt.po: Likewise.
7269         * po/nb.po: Likewise.
7270         * po/nl.po: Likewise.
7271         * po/pt_BR.po: Likewise.
7272         * po/rw.po: Likewise.
7273         * po/sk.po: Likewise.
7274         * po/sl.po: Likewise.
7275         * po/sv.po: Likewise.
7276         * po/tr.po: Likewise.
7277         * po/zh_CN.po: Likewise.
7278         * po/zh_TW.po: Likewise.
7280         * version.h (RELEAES): Set to "development".
7281         (VERSION): Set to 2.23.90.
7283         * version.h (RELEASE): Set to "stable".
7284         (VERSION): Set to 2.23.
7285         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7287         * NEWS: Updated fixed bugs.
7289 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7290             Wilco Dijkstra  <wdijkstr@arm.com>
7292         [BZ #19462]
7293         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7294         (_STRING_INLINE_unaligned): This.
7295         * include/string.h: Include <string_private.h>.
7296         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7297         _STRING_INLINE_unaligned.
7298         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7299         (_STRING_INLINE_unaligned): New.
7300         * sysdeps/aarch64/string_private.h: New file.
7301         * sysdeps/generic/string_private.h: Likewise.
7302         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7303         * sysdeps/s390/string_private.h: Likewise.
7304         * sysdeps/x86/string_private.h: Likewise.
7305         * sysdeps/m68k/m680x0/m68020/bits/string.h
7306         (_STRING_ARCH_unaligned): Renamed to ...
7307         (_STRING_INLINE_unaligned): This.
7308         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7309         to ...
7310         (_STRING_INLINE_unaligned): This.
7311         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7312         to ...
7313         (_STRING_INLINE_unaligned): This.
7314         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7315         to ...
7316         (_STRING_INLINE_unaligned): This.
7318 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7319             H.J. Lu  <hongjiu.lu@intel.com>
7321         [BZ #19590]
7322         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7323         relocation.
7325 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7327         [BZ #18665]
7328         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7329         *herrno_p.
7330         (gaih_getanswer): Document functional behviour. Return tryagain
7331         if any result is tryagain.
7332         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7333         when freed.
7334         * resolv/res_send.c: Add copyright text.
7335         (__libc_res_nsend): Document that MAXPACKET is expected.
7336         (send_vc): Document. Remove buffer reuse.
7337         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7338         size of the buffer. Add Dprint for truncated UDP buffer.
7340 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7342         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7343         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7344         * INSTALL: Regenerate.
7346 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7347             Jonathan Wakely  <jwakely@redhat.com>
7348             Carlos O'Donell  <carlos@redhat.com>
7350         [BZ 19439]
7351         * math/Makefile (tests): Add test-math-isinff.
7352         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7353         * math/bits/mathcalls.h [__USE_MISC]: Use
7354         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7355         functions not in C++11 and which don't conflict e.g. isinff,
7356         isinfl etc.
7357         * math/test-math-isinff.cc: New file.
7359 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7361         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7363 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7365         [BZ #19529]
7366         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7368 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7370         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7372 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7374         [BZ #19550]
7375         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7376         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7377         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7378         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7379         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7380         New syscall entry.
7381         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7382         New syscall entry.
7383         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7384         syscall entry.
7386 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7388         [BZ #18240]
7389         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7390         unsigned int wraparound.
7392 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7394         [BZ #18240]
7395         * misc/bug18240.c: New test.
7396         * misc/Makefile (tests): Add it.
7398 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7399             Joseph Myers  <joseph@codesourcery.com>
7401         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7402         load in branch delay slot when less than a word of input left.
7404 2016-01-27  Andreas Schwab  <schwab@suse.de>
7406         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7407         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7408         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7409         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7411 2016-01-26  David S. Miller  <davem@davemloft.net>
7413         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7415 2016-01-25  David S. Miller  <davem@davemloft.net>
7417         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7418         __sqrtl_finite.
7419         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7420         instead using versioned_symbol.
7421         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7422         of entries.
7424         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7425         __sqrtl_finite to GLIBC_2.23
7427 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7429         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7431 2016-01-25  Andreas Schwab  <schwab@suse.de>
7433         [BZ #17514]
7434         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7435         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7436         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7437         * nptl/tst-mutex-errorcheck.c: New file.
7439 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7441         [BZ #18560]
7442         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7443         (IPCOP_semop): Likewise.
7444         (IPCOP_semget): Likewise.
7445         (IPCOP_semctl): Likewise.
7446         (IPCOP_msgsnd): Likewise.
7447         (IPCOP_msgrcv): Likewise.
7448         (IPCOP_msgget): Likewise.
7449         (IPCOP_msgctl): Likewise.
7450         (IPCOP_shmat): Likewise.
7451         (IPCOP_shmdt): Likewise.
7452         (IPCOP_shmget): Likewise.
7453         (IPCOP_shmctl): Likewise.
7455 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7457         * string/tst-endian.c: Include <libc-internal.h>.
7458         (do_test): Ignore tautological-compare warnings around
7459         "htobeXX (beXXtoh (i)) != i" and
7460         "htoleXX (leXXtoh (i)) != i" if-statements.
7462 2016-01-24  David S. Miller  <davem@davemloft.net>
7464         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7465         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7466         alias.
7467         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7468         __sqrtl_finite.
7470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7472 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7474         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7475         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7476         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7478 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7480         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7481         (thread_func): Use new function to simplify barrier check.
7482         (do_test): Use new function to simplify checking barrier exit
7483         code, and actually join the child thread.
7485 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7487         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7488         semicolon.
7489         (__libc_tend): Likewise.
7490         (__libc_tabort): Likewise.
7492 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7494         * sysdeps/nios2/libm-test-ulps: Update.
7495         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7496         (__gtsf2): Likewise.
7497         (__unorddf2): Likewise.
7498         (__unordsf2): Likewise.
7499         (__ledf2): Likewise.
7501 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7503         * nis/nis_table.c (__follow_path): Disable diagnostic for
7504         uninitialized variable that is a false positive for gcc 4.7.
7505         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7507 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7509         * sysdeps/nacl/lowlevellock-futex.h
7510         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7511         Always evaluate PRIVATE argument.
7513 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7515         [BZ #19490]
7516         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7517         (pthread_cond_broadcast): Use ENTRY/END
7518         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7519         (pthread_cond_signal): Likewise.
7520         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7521         Likewise.
7522         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7523         Likewise.
7524         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7525         Likewise.
7527 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7529         * sysdeps/ieee754/dbl-64/s_finite.c
7530         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7531         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7532         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7533         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7534         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7537         (__gtsf2): Add as optional for libc.so.
7538         (__unordsf2): Likewise.
7539         (__signbit): Remove for libc.so.
7540         (__signbitl): Likewise.
7542 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7544         * iconvdata/bug-iconv11.c (test_ibm93x):
7545         Use %zu printf format specifier for size_t argument.
7547 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7549         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7550         already-recorded ulps.
7551         * sysdeps/arm/libm-test-ulps: Regenerated.
7552         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7553         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7554         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7556 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7557             Paul Pluzhnikov  <ppluzhnikov@google.com>
7559         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7560         assembler not supporting AVX-512.
7562 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7564         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7566 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7568         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7569         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7571         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7573         * sysdeps/arm/libm-test-ulps: Regenerated.
7575 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7577         [BZ #19451]
7578         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7580 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7582         [BZ #19486]
7583         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7584         * sysdeps/generic/fix-fp-int-convert-overflow.h
7585         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7586         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7587         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7588         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7589         Likewise.
7590         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7591         Avoid conversions to long int where inexact exceptions
7592         could be raised.
7593         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7594         Likewise.
7595         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7596         Avoid conversions to long long int where inexact exceptions
7597         could be raised.
7598         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7599         Likewise.
7601 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7603         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7604         * configure: Regenerated.
7606 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7608         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7610 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7612         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7613         outside of comment.
7615 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7617         * nptl/tst-barrier1.c: Add description on first line.
7618         * nptl/tst-barrier2.c: Likewise.
7619         * nptl/tst-barrier3.c: Likewise.
7620         * nptl/tst-barrier4.c: Likewise.
7621         * nptl/tst-barrier5.c: Likewise.
7623 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7625         [BZ #18868]
7626         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7628 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7632         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7633         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7634         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7635         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7636         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7637         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7638         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7639         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7640         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7642 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7644         [BZ #13065]
7645         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7646         new implementation.
7647         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7648         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7649         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7650         (BARRIER_IN_THRESHOLD): New macro.
7651         * nptl/pthread_barrierattr_setpshared.c
7652         (pthread_barrierattr_setpshared): Clean up.
7653         * nptl/tst-barrier4.c: Correct comment.
7654         * nptl/tst-barrier5.c: New file.
7655         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7656         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7657         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7658         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7659         * nptl/lowlevelbarrier.sym: Remove.
7660         * nptl/DESIGN-barrier.txt: Remove.
7661         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7662         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7663         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7664         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7665         error.
7666         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7667         implementation.
7669 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7671         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7672         (do_child): Mask SIGRTMIN while thr is running.
7674 2016-01-15  Martin Sebor  <msebor@redhat.com>
7676         [BZ #19432]
7677         * iconvdata/Makefile: Add bug-iconv11.
7678         * iconvdata/bug-iconv11.c: New test.
7679         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7680         * iconvdata/ibm933.c: Same.
7681         * iconvdata/ibm935.c: Same.
7682         * iconvdata/ibm937.c: Same.
7683         * iconvdata/ibm939.c: Same.
7685 2016-01-15  Martin Sebor  <msebor@redhat.com>
7687         [BZ #19443]
7688         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7689         [DEBUG] (_ufc_set_bits): Declare used.
7690         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7691         [DEBUG] (print_all): Declare used.
7692         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7693         operands of the ternary ?: expression to target type.
7694         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7695         calling the undeclared abort.
7696         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7698 2016-01-15  Martin Sebor  <msebor@redhat.com>
7700         [BZ #18755]
7701         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7702         warnings.
7703         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7704         (__gai_create_helper_thread): Same.
7705         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7706         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7707         to suppress -Wmaybe-uninitialized warnings.
7709 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7711         [BZ #19465]
7712         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7713         inside if.
7714         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7715         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7716         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7718 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7720         [BZ #19466]
7721         * time/tst-mktime2.c (time_t_max): Removed.
7722         (time_t_min): Likewise.
7723         (TYPE_SIGNED): New.
7724         (TYPE_MINIMUM): Likewise.
7725         (TYPE_MAXIMUM): Likewise.
7726         (TIME_T_MIN): Likewise.
7727         (TIME_T_MAX): Likewise.
7728         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7729         and TIME_T_MIN.
7730         (do_test): Likewise.
7732 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7734         [BZ #19467]
7735         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7736         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7738 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7740         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7742 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7744         * benchtests/Makefile (PYTHON): Define.
7745         (bench-func): Use $(PYTHON) to run python scripts.
7746         ($(objpfx)bench-%.c): Likewise.
7748 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7750         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7751         leading slash when `file_name' is "/".
7753 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7755         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7756         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7757         Likewise.
7758         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7759         Likewise.
7760         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7761         Likewise.
7762         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7763         enum constant and macro.
7764         (PTRACE_SETSIGMASK): Likewise.
7765         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7766         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7767         (PTRACE_GETSIGMASK): Likewise.
7768         (PTRACE_SETSIGMASK): Likewise.
7769         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7770         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7771         Likewise.
7772         (PTRACE_SETSIGMASK): Likewise.
7773         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7774         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7775         (PTRACE_GETSIGMASK): Likewise.
7776         (PTRACE_SETSIGMASK): Likewise.
7777         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7778         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7779         Likewise.
7780         (PTRACE_SETSIGMASK): Likewise.
7781         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7782         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7783         Likewise.
7784         (PTRACE_SETSIGMASK): Likewise.
7785         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7786         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7787         Likewise.
7788         (PTRACE_SETSIGMASK): Likewise.
7789         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7791 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
7792             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7794         [BZ #19439]
7795         * math/bits/mathcalls.h
7796         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7797         prototype.
7798         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7800 2016-01-11  Andreas Schwab  <schwab@suse.de>
7802         [BZ #19253]
7803         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7804         cache when TZDEFRULES was used.
7805         * time/tst-tzname.c: New file.
7806         * time/Makefile (test): Add tst-tzname.
7807         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7808         * timezone/Makefile (test-zones): Add $(posixrules-file).
7809         ($(testdata)/$(posixrules-file)): New rule.
7811 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7813         Fix doc quoting problems with Texinfo 5
7814         Without this change, in the info file output, Texinfo 5 quotes code
7815         in text with undirected single quotes 'like this' and generates
7816         code examples that with many PDF readers cannot be cut out of PDFs
7817         and pasted into code.
7818         * manual/libc.texinfo: Configure the libc manual like the GNU
7819         Emacs manual, by using @documentencoding and setting
7820         txicodequoteundirected and txicodequotebacktick.  This way,
7821         Texinfo 5 quotes code in text with directed single quotes ‘like
7822         this’ and produces examples that can be cut out of PDFs.  This
7823         change causes Texinfo 5 to generate info files that contain UTF-8
7824         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7825         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7827 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7829         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7830         __libc_tabort, __libc_tend): New wrappers that enforce compiler
7831         barriers to their respective compiler built-ins.
7832         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7833         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7834         * sysdeps/powerpc/sysdep.h: Likewise.
7835         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7836         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7837         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7839 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
7841         * scripts/config.guess: Revert previous shebang change.
7842         * scripts/config.sub: Likewise.
7843         * scripts/mkinstalldirs: Likewise.
7845 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7847         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7848         PPC_FEATURE2_HAS_IEEE128.
7849         * sysdeps/powerpc/dl-procinfo.c:
7850         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7852 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7854         [BZ #19415]
7855         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7856         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7857         (_dl_lookup_address): Rewrite using function resolver trampoline.
7858         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7859         two bits in address.
7861 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7863         * longlong.h: Change !__SHMEDIA__ to
7864         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7865         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7867 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7868             Joseph Myers  <joseph@codesourcery.com>
7869             Mark Shinwell  <shinwell@codesourcery.com>
7870             Andrew Stubbs  <ams@codesourcery.com>
7871             Rich Felker <dalias@libc.org>
7873         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7875 2016-01-07  Richard Henderson  <rth@redhat.com>
7877         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7879 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7881         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7882         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7883         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7884         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7885         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7887 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7888             Joseph Myers  <joseph@codesourcery.com>
7890         * timezone/private.h: Update from tzcode 2015g.
7891         * timezone/tzfile.h: Likewise.
7892         * timezone/tzselect.ksh: Likewise.
7893         * timezone/zdump.c: Likewise.
7894         * timezone/zic.c: Likewise.
7895         * timezone/ialloc.c: Remove file.
7896         * timezone/scheck.c: Likewise.
7897         * timezone/Makefile (extra-objs): Remove variable.
7898         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7899         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7900         -Wno-maybe-uninitialized.
7901         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7902         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7903         (CFLAGS-ialloc.c): Remove variable.
7904         (CFLAGS-scheck.c): Likewise.
7905         * timezone/README: Update list of files from tzcode.
7907 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7909         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7910         instead of __fxprintf when _LIBC is undefined.
7912 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7914         * catgets/test-gencat.sh: Remove space after shebang.
7915         * conform/GlibcConform.pm: Likewise.
7916         * conform/check-header-lists.sh: Likewise.
7917         * conform/conformtest.pl: Likewise.
7918         * conform/linknamespace.pl: Likewise.
7919         * conform/list-header-symbols.pl: Likewise.
7920         * debug/catchsegv.sh: Likewise.
7921         * elf/genrtldtbl.awk: Likewise.
7922         * elf/tst-pathopt.sh: Likewise.
7923         * elf/tst-rtld-load-self.sh: Likewise.
7924         * grp/tst_fgetgrent.sh: Likewise.
7925         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7926         * iconvdata/gen-8bit-gap.sh: Likewise.
7927         * iconvdata/gen-8bit.sh: Likewise.
7928         * iconvdata/run-iconv-test.sh: Likewise.
7929         * intl/tst-gettext.sh: Likewise.
7930         * intl/tst-gettext2.sh: Likewise.
7931         * intl/tst-gettext4.sh: Likewise.
7932         * intl/tst-gettext6.sh: Likewise.
7933         * intl/tst-translit.sh: Likewise.
7934         * io/ftwtest-sh: Likewise.
7935         * libio/test-freopen.sh: Likewise.
7936         * locale/gen-translit.pl: Likewise.
7937         * malloc/tst-mtrace.sh: Likewise.
7938         * manual/check-safety.sh: Likewise.
7939         * manual/libc-texinfo.sh: Likewise.
7940         * manual/tsort.awk: Likewise.
7941         * manual/xtract-typefun.awk: Likewise.
7942         * nptl/tst-cancel-wrappers.sh: Likewise.
7943         * nptl/tst-tls6.sh: Likewise.
7944         * posix/globtest.sh: Likewise.
7945         * posix/tst-getconf.sh: Likewise.
7946         * posix/wordexp-tst.sh: Likewise.
7947         * scripts/check-c++-types.sh: Likewise.
7948         * scripts/check-local-headers.sh: Likewise.
7949         * scripts/config.guess: Likewise.
7950         * scripts/config.sub: Likewise.
7951         * scripts/cpp: Likewise.
7952         * scripts/cross-test-ssh.sh: Likewise.
7953         * scripts/documented.sh: Likewise.
7954         * scripts/evaluate-test.sh: Likewise.
7955         * scripts/gen-libc-abis: Likewise.
7956         * scripts/gen-sorted.awk: Likewise.
7957         * scripts/list-fixed-bugs.py: Likewise.
7958         * scripts/merge-test-results.sh: Likewise.
7959         * scripts/mkinstalldirs: Likewise.
7960         * scripts/rellns-sh: Likewise.
7961         * scripts/test-installation.pl: Likewise.
7962         * scripts/update-copyrights: Likewise.
7963         * stdio-common/tst-printf.sh: Likewise.
7964         * stdio-common/tst-unbputc.sh: Likewise.
7965         * stdlib/tst-fmtmsg.sh: Likewise.
7966         * stdlib/tst-setcontext3.sh: Likewise.
7967         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7968         * sysdeps/unix/make-syscalls.sh: Likewise.
7970 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7972         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7973         asm stw with atomic_exchange_rel.  Add explanatory comment.
7974         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7975         Likewise.
7977 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7979         [BZ #19122]
7980         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7981         * sysdeps/generic/dl-unistd.h: New file.
7982         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7984 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7986          [BZ #19122]
7987          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7988          * sysdeps/generic/dl-mman.h: New file.
7989          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7991 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7993         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7994         trailing whitespace removed.
7995         * scripts/config.guess: Update to version 2016-01-01.
7996         * scripts/config.sub: Update to version 2016-01-01.
7997         * scripts/move-if-change: Update from gnulib.
7999 2016-01-04  Anton Blanchard  <anton@samba.org>
8001         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8002         for array indices.
8003         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8005 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8007         * NEWS: Update copyright dates.
8008         * catgets/gencat.c (print_version): Likewise.
8009         * csu/version.c (banner): Likewise.
8010         * debug/catchsegv.sh: Likewise.
8011         * debug/pcprofiledump.c (print_version): Likewise.
8012         * debug/xtrace.sh (do_version): Likewise.
8013         * elf/ldconfig.c (print_version): Likewise.
8014         * elf/ldd.bash.in: Likewise.
8015         * elf/pldd.c (print_version): Likewise.
8016         * elf/sotruss.sh: Likewise.
8017         * elf/sprof.c (print_version): Likewise.
8018         * iconv/iconv_prog.c (print_version): Likewise.
8019         * iconv/iconvconfig.c (print_version): Likewise.
8020         * locale/programs/locale.c (print_version): Likewise.
8021         * locale/programs/localedef.c (print_version): Likewise.
8022         * login/programs/pt_chown.c (print_version): Likewise.
8023         * malloc/memusage.sh (do_version): Likewise.
8024         * malloc/memusagestat.c (print_version): Likewise.
8025         * malloc/mtrace.pl: Likewise.
8026         * manual/libc.texinfo: Likewise.
8027         * nptl/version.c (banner): Likewise.
8028         * nscd/nscd.c (print_version): Likewise.
8029         * nss/getent.c (print_version): Likewise.
8030         * nss/makedb.c (print_version): Likewise.
8031         * posix/getconf.c (main): Likewise.
8032         * scripts/test-installation.pl: Likewise.
8033         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8035         * All files with FSF copyright notices: Update copyright dates
8036         using scripts/update-copyrights.
8037         * intl/plural.c: Regenerated.
8038         * locale/programs/charmap-kw.h: Likewise.
8039         * locale/programs/locfile-kw.h: Likewise.
8041 2016-01-02  Helge Deller  <deller@gmx.de>
8043         [BZ #19285]
8044         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8045         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8046         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8047         (MADV_xxK_PAGES): Remove.
8049 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8051         [BZ #15421]
8052         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8053         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8054         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8055         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8057 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8059         [BZ #19408]
8060         * sysdeps/unix/sysv/linux/personality.c: New file.
8061         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8062         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8063         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8064         (sysdep_routines): Add personality.
8065         (tests): Add tst-personality.
8066         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8067         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8068         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8069         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8070         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8071         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8072         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8073         Likewise.
8074         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8075         Likewise.
8076         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8077         Likewise.
8078         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8079         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8080         Likewise.
8082 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8084         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8085         (PATH_ARM_SYSTYPE): Remove.
8086         (PATH_CPUINFO): Likewise.
8087         (IO_BASE_FOOTBRIDGE): Likewise.
8088         (IO_SHIFT_FOOTBRIDGE): Likewise.
8089         (struct platform): Likewise.
8090         (init_iosys): Remove compatibility code for 2.4 kernels.
8091         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8093 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8095         * malloc/tst-malloc-thread-fail.c: New file.
8096         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8097         (tst-malloc-thread-fail): Link against libpthread.
8099 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8101         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8102         (get_parser): New function.
8103         (main): New function.
8105 2015-12-29  Rob Wu  <rob@robwu.nl>
8107         [BZ #19369]
8108         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8110 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8112         [BZ #19270]
8113         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8115 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8117         [BZ #15421]
8118         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8120 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8122         [BZ #13690]
8123         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8124         after releasing it.
8125         (__lll_robust_unlock): Likewise.
8126         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8127         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8128         (lll_robust_unlock): Likewise.
8129         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8130         Prevent warnings in callers.
8132 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8134         * malloc/arena.c (list_lock): Update comment.
8136 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8138         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8139         __parse_hwcap_and_convert_at_platform to libc.a.
8141 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8143         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8144         platform and feature support for POWER9.
8145         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8146         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8147         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8148         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8149         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8150         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8151         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8152         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8154 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8156         Harmonize generic stdio-lock support with nptl
8158         This fixes build when _IO_funlockfile is a macro, fixes build where
8159         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8160         stack unwind.
8162         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8163         _IO_release_lock ): Use cleanup attribute on new
8164         _IO_acquire_lock_file variable instead of assuming that
8165         _IO_release_lock will be called.
8166         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8167         _IO_acquire_lock_needs_exceptions_enabled.
8168         (_IO_acquire_lock_clear_flags2): New macro.
8170 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8172         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8174 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8176         [BZ #19182]
8177         * malloc/arena.c (list_lock): Document lock ordering requirements.
8178         (free_list_lock): New lock.
8179         (ptmalloc_lock_all): Comment on free_list_lock.
8180         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8181         (detach_arena): Update comment.  free_list_lock is now needed.
8182         (_int_new_arena): Use free_list_lock around detach_arena call.
8183         Acquire arena lock after list_lock.  Add comment, including FIXME
8184         about incorrect synchronization.
8185         (get_free_list): Switch to free_list_lock.
8186         (reused_arena): Acquire free_list_lock around detach_arena call
8187         and attached threads counter update.  Add two FIXMEs about
8188         incorrect synchronization.
8189         (arena_thread_freeres): Switch to free_list_lock.
8190         * malloc/malloc.c (struct malloc_state): Update comments to
8191         mention free_list_lock.
8193 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8195         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8196         Remove functions.
8197         (sloww, sloww1): Accept argument to offset quadrant.
8198         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8199         quadrant.
8200         (__sin, __cos): Consolidate common code into new functions.
8201         (reduce_sincos_1, do_sincos_1): New functions.
8202         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8204         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8205         code to new functions.
8206         (reduce_sincos_2, do_sincos_2): New functions.
8207         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8209         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8210         common code for sincos.
8211         (__cos) [!IN_SINCOS]: Likewise.
8212         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8213         New function.
8214         (__sincos): Use it.
8216 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8218         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8219         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8220         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8222 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8224         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8226         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8227         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8228         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8229         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8230         index_Prefer_No_VZEROUPPER): New feature.
8231         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8232         Prefer_No_VZEROUPPER for Knights Landing.
8234 015-12-18  Torvald Riegel  <triegel@redhat.com>
8236         * math/atest-exp2.c (mp_exp_m1): Remove.
8238 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8240         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8241         syscalls.
8242         (__SYSCALL0): New macro.
8243         (__SYSCALL1): Likewise.
8244         (__SYSCALL2): Likewise.
8245         (__SYSCALL3): Likewise.
8246         (__SYSCALL4): Likewise.
8247         (__SYSCALL5): Likewise.
8248         (__SYSCALL6): Likewise.
8249         (__SYSCALL_CONCAT_X): Likewise.
8250         (__SYSCALL_CONCAT): Likewise.
8251         (__SYSCALL_DIST): Likewise.
8252         (__SYSCALL_CALL): Likewise.
8254 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8256         [BZ #19363]
8257         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8259 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8261         [BZ #19375]
8262         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8263         negative subnormals.
8265 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8267         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8268         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8269         (INTERNAL_SYSCALL_NCS): Use it.
8270         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8272 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8274         [BZ #19243]
8275         * malloc/arena.c (get_free_list): Remove assert and adjust
8276         reference count handling.  Add comment about reused_arena
8277         interaction.
8278         (reused_arena): Add comments abount get_free_list interaction.
8279         * malloc/tst-malloc-thread-exit.c: New file.
8280         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8281         (tst-malloc-thread-exit): Link against libpthread.
8283 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8285         [BZ #19367]
8286         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8287         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8288         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8289         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8290         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8292 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8294         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8295         Silvermont optimizations for Knights Landing.
8297 2015-12-15  Andreas Schwab  <schwab@suse.de>
8299         [BZ #17197]
8300         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8301         immediately after emitting SI.
8302         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8303         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8304         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8305         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8306         * iconvdata/bug-iconv10.c: New file.
8307         * iconvdata/Makefile (tests): Add bug-iconv10.
8308         ($(objpfx)bug-iconv10.out): New rule.
8310 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8312         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8313         aliasing violation.
8315 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8317         [BZ #18472]
8318         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8319         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8320         conditionals for them.
8321         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8322         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8324         sys/kdaemon.h.
8325         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8326         compat-only syscall, obsoleted in glibc 2.23.
8327         (create_module): Likewise.
8328         (get_kernel_syms): Likewise.
8329         (query_module): Likewise.
8330         (uselib): Likewise.
8331         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8333 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8335         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8336         <linux/version.h>.
8337         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8338         conditional code.
8339         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8340         and ioshift_name initialization.
8342 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8344         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8345         Fix indentation.
8347 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8349         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8351 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8353         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8355 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8356             Jakub Wilk  <jwilk@debian.org>
8358         [BZ #19347]
8359         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8360         to change the group of the device to the tty group.
8362 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8364         Split large string section; add truncation advice
8365         * manual/examples/strncat.c: Remove.
8366         This example was misleading, as the code would have undefined
8367         behavior if "hello" was longer than SIZE.  Anyway, the manual
8368         shouldn't encourage strncpy+strncat for this sort of thing.
8369         * manual/string.texi (Copying Strings and Arrays): Split into
8370         three sections Copying Strings and Arrays, Concatenating Strings,
8371         and Truncating Strings, as this section was way too long.  All
8372         cross-referenced changed.  Add advice about string-truncation
8373         functions.  Remove misleading strncat example.
8375 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8377         * manual/nss.texi (NSS Modules Interface): Document
8378         NSS_STATUS_NOTFOUND and SUCCESS.
8380 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8382         [BZ 18568]
8383         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8384         201505L, for Unicode 8.
8386 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8388         * locale/C-translit.h: Regenerate.
8390 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8392         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8393         and U+0153.
8395 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8397         [BZ #19351]
8398         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8399         expanding log(1+z), compare z rather than its square with epsilon
8400         to determine when to avoid evaluating the expansion.
8402         [BZ #19350]
8403         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8404         Increase overflow threshold.
8406         [BZ #19349]
8407         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8408         when small.
8410         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8411         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8412         New macro.
8413         [__LINUX_KERNEL_VERSION >= 0x040300]
8414         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8415         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8416         Likewise.
8417         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8418         Likewise.
8419         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8420         Likewise.
8421         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8422         Likewise.
8423         [__LINUX_KERNEL_VERSION >= 0x040300]
8424         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8425         [__LINUX_KERNEL_VERSION >= 0x040300]
8426         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8427         [__LINUX_KERNEL_VERSION >= 0x040300]
8428         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8429         [__LINUX_KERNEL_VERSION >= 0x040300]
8430         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8431         [__LINUX_KERNEL_VERSION >= 0x040300]
8432         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8433         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8434         Likewise.
8435         [__LINUX_KERNEL_VERSION >= 0x040300]
8436         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8437         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8438         Likewise.
8439         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8440         Likewise.
8441         [__LINUX_KERNEL_VERSION >= 0x040300]
8442         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8443         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8444         Likewise.
8445         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8446         Likewise.
8447         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8448         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8449         Likewise.
8450         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8451         Likewise.
8452         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8453         Likewise.
8454         [__LINUX_KERNEL_VERSION >= 0x040300]
8455         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8456         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8457         Likewise.
8458         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8459         Likewise.
8460         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8461         Likewise.
8462         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8463         Likewise.
8464         [__LINUX_KERNEL_VERSION >= 0x040300]
8465         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8466         [__LINUX_KERNEL_VERSION >= 0x040300]
8467         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8468         [__LINUX_KERNEL_VERSION >= 0x040300]
8469         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8470         [__LINUX_KERNEL_VERSION >= 0x040300]
8471         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8472         [__LINUX_KERNEL_VERSION >= 0x040300]
8473         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8474         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8475         Likewise.
8476         [__LINUX_KERNEL_VERSION >= 0x040300]
8477         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8478         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8479         Likewise.
8480         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8481         Likewise.
8482         [__LINUX_KERNEL_VERSION >= 0x040300]
8483         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8484         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8485         Likewise.
8486         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8487         Likewise.
8488         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8489         (__ASSUME_SOCKET_SYSCALL): Likewise.
8490         (__ASSUME_BIND_SYSCALL): Likewise.
8491         (__ASSUME_CONNECT_SYSCALL): Likewise.
8492         (__ASSUME_LISTEN_SYSCALL): Likewise.
8493         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8494         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8495         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8496         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8497         (__ASSUME_SEND_SYSCALL): Likewise.
8498         (__ASSUME_SENDTO_SYSCALL): Likewise.
8499         (__ASSUME_RECV_SYSCALL): Likewise.
8500         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8501         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8502         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8503         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8504         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8505         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8506         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8507         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8508         Likewise.
8509         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8510         Likewise.
8511         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8512         Likewise.
8513         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8514         Likewise.
8515         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8516         Likewise.
8517         [__LINUX_KERNEL_VERSION >= 0x020625]
8518         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8519         [__LINUX_KERNEL_VERSION >= 0x020625]
8520         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8521         [__LINUX_KERNEL_VERSION >= 0x020625]
8522         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8523         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8524         Likewise.
8525         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8526         Likewise.
8527         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8528         Likewise.
8529         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8530         Likewise.
8531         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8532         Likewise.
8533         [__LINUX_KERNEL_VERSION >= 0x020625]
8534         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8535         [__LINUX_KERNEL_VERSION >= 0x020625]
8536         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8537         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8538         Likewise.
8539         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8540         Likewise.
8542 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8544         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8545         record the current if the current ABI and CPU support the FP64
8546         extension.
8547         (has-modd-spreg): Define to record the current if the current ABI and
8548         CPU support 32-bit floating point values in odd FPU registers.
8549         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8550         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8551         $(has-modd-spreg) equals yes.
8552         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8553         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8554         $(has-modd-spreg) equal yes.
8556 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8558         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8559         basename.
8561 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8563         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8564         (bench-string): ... here.
8565         (bench): Add bench-string.
8566         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8567         to *-benchset to reflect what they are.
8568         (benchset): Adjust.
8570         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8571         cos-inputs.
8573 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8575         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8576         __attribute__ ((__simd__)) for vector math function declarations.
8578 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8580         Fix typo in strncat, wcsncat manual entries
8581         * manual/string.texi (Copying and Concatenation): Fix typos in
8582         sample implementations of strncat and wcsncat, by having them use
8583         the old value of the destination length, not the new one.
8585 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8587         [BZ #16961]
8588         [BZ #16962]
8589         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8590         string on the stack for strtod.
8591         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8592         a string on the stack for strtof.
8593         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8594         constructing a string on the stack for strtold.
8595         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8596         __strtold_nan to GLIBC_PRIVATE.
8597         * math/test-nan-overflow.c: New file.
8598         * math/test-nan-payload.c: Likewise.
8599         * math/Makefile (tests): Add test-nan-overflow and
8600         test-nan-payload.
8602 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8604         Consistency about byte vs character in string.texi
8605         * manual/string.texi (String and Array Utilities):
8606         Distinguish more carefully among bytes, multibyte characters,
8607         and wide characters.  Use "byte" when talking about C 'char',
8608         to distinguish it more clearly from multibyte characters.
8609         Say "wide character" or "multibyte character" instead of
8610         "character", when a wide or multibyte character is intended.
8611         Similarly for "multibyte string" versus "string".
8612         Define these terms more carefully.
8614 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8616         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8617         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8618         Likewise.
8619         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8620         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8621         * sysdeps/sh/math_private.h: New file.
8622         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8623         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8624         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8625         long double function name.
8626         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8627         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8628         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8629         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8630         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8632         Remove __finitel, __isinfl, and __isnanl.
8633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8634         Likewise.
8635         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8637         Remove __finitel.
8638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8639         Likewise.
8640         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8642 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8644         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8645         installed libmvec_nonshared.a.
8647 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8649         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8650         (sysdep_routines): Likewise.
8651         (sysdep-rtld-routines): Likewise.
8652         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8653         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8654         * sysdeps/powerpc/Versions: Added new
8655         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8656         * sysdeps/powerpc/hwcapinfo.c: New file.
8657         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8658         and parse hwcap, hwcap2 and platform number information.
8659         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8660         to store HWCAP+HWCAP2 and platform number.
8661         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8662         for HWCAP+HWCAP2 and platform number in the TCB.
8663         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8664         the HWCAP, HWCAP2 and platform number in the TCB.
8665         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8666         (TLS_INIT_TP): Included calls to add the hwcap and
8667         at_platform values in the TCB in TP initialization.
8668         (TLS_DEFINE_INIT_TP): Likewise.
8669         (THREAD_GET_HWCAP): New macro.
8670         (THREAD_SET_HWCAP): Likewise.
8671         (THREAD_GET_AT_PLATFORM): Likewise.
8672         (THREAD_SET_AT_PLATFORM): Likewise.
8673         * sysdeps/powerpc/powerpc32/dl-machine.h:
8674         (dl_platform_init): New function that calls
8675         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8676         powerpc32.
8677         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8678         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8679         this functionality, static linking case.
8680         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8681         linking case.
8682         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8683         __parse_hwcap_and_convert_at_platform for the static linking case.
8684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8685         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8686         ABI list for GLIBC 2.23.
8687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8688         Likewise.
8689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8690         Likewise.
8692 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8694         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8695         * configure: Regenerate.
8696         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8697         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8699 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8701         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8702         * iconvdata/ibm933.c: Likewise.
8703         * iconvdata/ibm935.c: Likewise.
8704         * iconvdata/ibm937.c: Likewise.
8705         * iconvdata/ibm939.c: Likewise.
8707 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8709         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8710         pthread_join.
8711         * nptl/tst-cancel21.c (tf): Likewise.
8713 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8715         [BZ #19313]
8716         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8717         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8718         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8719         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8720         Likewise.
8721         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8722         Likewise.
8723         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8724         Likewise.
8725         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8726         Likewise.
8727         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8728         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8729         unsigned long int with __CPU_MASK_TYPE.
8731 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8733         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8735 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8737         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8738         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8739         t512.x.
8740         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8742 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8744         [BZ #19214]
8745         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8746         argument to return extended model.  Update family and model
8747         with extended family and model when family == 0x0f.
8748         (init_cpu_features): Updated.
8750 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8752         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8753         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8755         * sysdeps/mach/hurd/mmap64.c: New file.
8757 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8759         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8760         rights for its main user thread in NEWTASK.
8762 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8764         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8765         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8767 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8769         [BZ #14259]
8770         * Makeconfig: Rename localedir to complocaledir.
8771         Rename inst_localedir to inst_complocaledir.
8772         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8773         * config.make.in: Use complocaledir and libc_cv_complocaledir.
8774         * configure.ac: Use libc_cv_complocaledir.
8775         * configure: Regenerate.
8776         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8777         -DCOMPLOCALEDIR.
8778         * locale/findlocale.c: Use COMPLOCALEDIR.
8779         * locale/loadarchive.c: Likewise.
8780         * locale/programs/locale.c: Likewise.
8781         * locale/programs/localedef.c: Likewise.
8782         * locale/programs/locarchive.c: Likewise.
8783         * localedata/Makefile: Use inst_complocaledir.
8784         * sysdeps/gnu/configure: Regenerate.
8785         * sysdeps/hppa/configure: Regenerate.
8786         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8787         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8789         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8790         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8791         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8792         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8794 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
8796         [BZ #19058]
8797         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8798         AS_NEEDED.
8799         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8800         workaround.
8801         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8802         libmvec-static-only-routines): Added new file.
8803         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8805 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8807         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8808         of interrupted RPC instead of restoring it.
8810         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8811         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8812         libc_hidden_def.
8813         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8814         into initialized data instead of common. Define rtld_hidden_data_def.
8815         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8816         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8817         libc_hidden_def.
8818         (if_freenameindex): Add libc_hidden_weak.
8819         (if_nameindex): Add libc_hidden_weak.
8820         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8821         __open64.
8822         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8823         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8824         * sysdeps/mach/nanosleep.c: Include <time.h>
8825         (__nanosleep): Rename to __libc_nanosleep.
8826         (__nanosleep): Add weak_alias.
8827         (nanosleep): Update alias.
8829 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8831         * stdlib/strtod_nan.c: New file.
8832         * stdlib/strtod_nan_double.h: Likewise.
8833         * stdlib/strtod_nan_float.h: Likewise.
8834         * stdlib/strtod_nan_main.c: Likewise.
8835         * stdlib/strtod_nan_narrow.h: Likewise.
8836         * stdlib/strtod_nan_wide.h: Likewise.
8837         * stdlib/strtof_nan.c: Likewise.
8838         * stdlib/strtold_nan.c: Likewise.
8839         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8840         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8841         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8842         * wcsmbs/wcstod_nan.c: Likewise.
8843         * wcsmbs/wcstof_nan.c: Likewise.
8844         * wcsmbs/wcstold_nan.c: Likewise.
8845         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8846         strtold_nan.
8847         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8848         wcstof_nan.
8849         * include/stdlib.h (__strtof_nan): Declare and use
8850         libc_hidden_proto.
8851         (__strtod_nan): Likewise.
8852         (__strtold_nan): Likewise.
8853         (__wcstof_nan): Likewise.
8854         (__wcstod_nan): Likewise.
8855         (__wcstold_nan): Likewise.
8856         * include/wchar.h (____wcstoull_l_internal): Declare.
8857         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8858         (____strtoull_l_internal): Remove declaration.
8859         (STRTOF_NAN): Define macro.
8860         (SET_MANTISSA): Remove macro.
8861         (STRTOULL): Likewise.
8862         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8863         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8864         (STRTOF_NAN): Define macro.
8865         (SET_MANTISSA): Remove macro.
8866         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8867         (SET_MANTISSA): Remove macro.
8868         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8869         macro.
8870         (SET_MANTISSA): Remove macro.
8871         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8872         macro.
8873         (SET_MANTISSA): Remove macro.
8874         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8875         (SET_MANTISSA): Remove macro.
8876         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8877         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8878         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8880         [BZ #19266]
8881         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8882         upper case and lower case letters inside NAN(), not using TOLOWER.
8883         * stdlib/tst-strtod-nan-locale-main.c: New file.
8884         * stdlib/tst-strtod-nan-locale.c: Likewise.
8885         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8886         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8887         Depend on $(gen-locales).
8888         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8889         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8890         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8891         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8892         Depend on $(gen-locales).
8893         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8895 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8897         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8899         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8901         __finitel, __isinfl, and __isnanl.
8902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8903         Likewise.
8904         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8906         __finitel.
8907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8908         Likewise.
8909         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8911 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8913         * malloc/memusage.c (me): Remove redundant getenv call.
8915 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8917         [BZ #19143]
8918         [BZ #19164]
8919         * nptl/check-cpuset.h: Remove.
8920         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8921         Remove CPU set size check.
8922         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8923         Likewise.
8924         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8925         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8926         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8927         (__pthread_setaffinity_new): Remove CPU set size check.
8928         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8929         (__kernel_cpumask_size): Remove.
8930         (__sched_setaffinity_new): Remove CPU set size check.
8931         * manual/threads.texi (Default Thread Attributes): Remove stale
8932         reference to check_cpuset_attr, determine_cpumask_size in comment.
8933         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8934         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8935         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8936         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8937         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8938         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8939         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8940         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8941         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8942         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8943         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8944         skeleton test file.
8945         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8946         tst-affinity-pid.
8948 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8950         * scripts/update-abilist.sh: New file.
8951         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8952         * Makerules (update-all-abi-%, update-all-abi)
8953         (subdir_update-all-abi): New targets.
8954         * elf/Makefile (update-all-abi): New target.
8956 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8958         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8959         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8960         (__libc_lock_define_initialized): Use it.
8961         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8962         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8963         * malloc/malloc.c (main_arena): Likewise.
8964         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8965         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8967 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8969         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8970         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8971         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8972         (PTRACE_O_MASK): Update value.
8973         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8974         New value in enum __ptrace_setoptions.
8975         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8976         (PTRACE_O_MASK): Update value.
8977         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8978         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8979         (PTRACE_O_MASK): Update value.
8980         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8981         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8982         (PTRACE_O_MASK): Update value.
8983         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8984         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8985         (PTRACE_O_MASK): Update value.
8986         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8987         New value in enum __ptrace_setoptions.
8988         (PTRACE_O_MASK): Update value.
8989         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8990         New value in enum __ptrace_setoptions.
8991         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8992         (PTRACE_O_MASK): Update value.
8994         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8995         New macro.
8996         (PACKET_AUXDATA): Likewise.
8997         (PACKET_ORIGDEV): Likewise.
8998         (PACKET_VERSION): Likewise.
8999         (PACKET_HDRLEN): Likewise.
9000         (PACKET_RESERVE): Likewise.
9001         (PACKET_TX_RING): Likewise.
9002         (PACKET_LOSS): Likewise.
9003         (PACKET_VNET_HDR): Likewise.
9004         (PACKET_TX_TIMESTAMP): Likewise.
9005         (PACKET_TIMESTAMP): Likewise.
9006         (PACKET_FANOUT): Likewise.
9007         (PACKET_TX_HAS_OFF): Likewise.
9008         (PACKET_QDISC_BYPASS): Likewise.
9009         (PACKET_ROLLOVER_STATS): Likewise.
9010         (PACKET_FANOUT_DATA): Likewise.
9011         (PACKET_MR_UNICAST): Likewise.
9013         [BZ #19242]
9014         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9015         (TOUPPER): Likewise.
9016         * stdlib/tst-strtol-locale-main.c: New file.
9017         * stdlib/tst-strtol-locale.c: Likewise.
9018         * stdlib/Makefile (tests): Add tst-strtol-locale.
9019         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9020         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9021         Depend on $(gen-locales).
9022         * wcsmbs/tst-wcstol-locale.c: New file.
9023         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9024         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9025         tr_TR.ISO-8859-9.
9026         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9027         Depend on $(gen-locales).
9029 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9031         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9032         __glibc_likely instead of __builtin_expect.  After falling back to
9033         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9034         system interface to register the code pages as occupied.
9036 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9038         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9039         [!ARM_MATH_PRIVATE_H].
9040         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9041         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9042         [!HPPA_MATH_PRIVATE_H].
9043         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9044         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9045         to [!I386_MATH_PRIVATE_H].
9046         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9047         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9048         Change guard to [!M68K_MATH_PRIVATE_H].
9049         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9050         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9051         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9052         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9053         macro.
9054         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9055         [!MIPS_MATH_PRIVATE_H].
9056         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9057         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9058         [!NIO2_MATH_PRIVATE_H].
9059         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9060         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9061         [!TILE_MATH_PRIVATE_H].
9062         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9064         [BZ #15421]
9065         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9066         initialize with 0 and define as weak alias of __signgam.
9067         * include/math.h [!_ISOMAC] (__signgam): Declare.
9068         * math/Makefile (libm-calls): Add w_lgamma_compat.
9069         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9070         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9071         test-signgam-ullong-init.
9072         (tests-static): Add test-signgam-uchar-static,
9073         test-signgam-uchar-init-static, test-signgam-uint-static,
9074         test-signgam-uint-init-static, test-signgam-ullong-static and
9075         test-signgam-ullong-init-static.
9076         (CFLAGS-test-signgam-uchar.c): New variable.
9077         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9078         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9079         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9080         (CFLAGS-test-signgam-uint.c): Likewise.
9081         (CFLAGS-test-signgam-uint-init.c): Likewise.
9082         (CFLAGS-test-signgam-uint-static.c): Likewise.
9083         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9084         (CFLAGS-test-signgam-ullong.c): Likewise.
9085         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9086         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9087         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9088         * math/Versions (libm): Add GLIBC_2.23.
9089         * math/lgamma-compat.h: New file.
9090         * math/test-signgam-main.c: Likewise.
9091         * math/test-signgam-uchar-init-static.c: Likewise.
9092         * math/test-signgam-uchar-init.c: Likewise.
9093         * math/test-signgam-uchar-static.c: Likewise.
9094         * math/test-signgam-uchar.c: Likewise.
9095         * math/test-signgam-uint-init-static.c: Likewise.
9096         * math/test-signgam-uint-init.c: Likewise.
9097         * math/test-signgam-uint-static.c: Likewise.
9098         * math/test-signgam-uint.c: Likewise.
9099         * math/test-signgam-ullong-init-static.c: Likewise.
9100         * math/test-signgam-ullong-init.c: Likewise.
9101         * math/test-signgam-ullong-static.c: Likewise.
9102         * math/test-signgam-ullong.c: Likewise.
9103         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9104         wrapper of w_lgamma_main.c.
9105         * math/w_lgamma_compat.c: New file.
9106         * math/w_lgamma_compatf.c: Likewise.
9107         * math/w_lgamma_compatl.c: Likewise.
9108         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9109         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9110         defining compatibility symbols.
9111         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9112         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9113         wrapper of w_lgammaf_main.c.
9114         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9115         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9116         defining compatibility symbols.
9117         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9118         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9119         wrapper of w_lgammal_main.c.
9120         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9121         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9122         defining compatibility symbols.
9123         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9124         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9125         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9126         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9127         <lgamma-compat.h>.
9128         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9129         (__ieee754_gamma): Define as alias.
9130         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9131         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9132         <lgamma-compat.h>.
9133         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9134         (__ieee754_gammaf): Define as alias.
9135         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9136         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9137         <lgamma-compat.h>.
9138         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9139         (__ieee754_gammal): Define as alias.
9140         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9141         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9142         <math/w_lgamma_compat.c>.
9143         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9144         Define as alias of __lgamma_compat and use in defining lgammal.
9145         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9146         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9147         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9148         (USE_AS_COMPAT): New macro.
9149         (LGAMMA_OLD_VER): Undefine and redefine.
9150         (lgammal): Do not define here.
9151         (gammal): Only define here if [GAMMA_ALIAS].
9152         * conform/linknamespace.pl (@whitelist): Remove signgam.
9153         * sysdeps/nacl/libm.abilist: Update.
9154         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9155         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9156         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9157         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9158         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9159         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9160         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9161         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9162         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9163         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9164         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9165         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9167         Likewise.
9168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9169         Likewise.
9170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9171         Likewise.
9172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9173         Likewise.
9174         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9175         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9176         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9177         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9178         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9180         Likewise.
9181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9182         Likewise.
9183         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9184         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9185         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9187 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9189         [BZ #16364]
9190         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9191         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9193 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9195         * sysdeps/s390/fpu/bits/mathinline.h:
9196         Use __asm__ [__volatile__] instead of asm [volatile].
9197         * sysdeps/s390/abort-instr.h: Likewise.
9198         * sysdeps/s390/atomic-machine.h: Likewise.
9199         * sysdeps/s390/bits/string.h: Likewise.
9200         * sysdeps/s390/dl-tls.h: Likewise.
9201         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9202         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9203         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9204         * sysdeps/s390/fpu/fesetround.c: Likewise.
9205         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9206         * sysdeps/s390/fpu/s_fma.c: Likewise.
9207         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9208         * sysdeps/s390/memusage.h: Likewise.
9209         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9210         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9211         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9212         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9213         * sysdeps/s390/nptl/tls.h: Likewise.
9214         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9215         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9216         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9217         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9218         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9219         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9220         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9221         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9222         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9223         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9224         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9225         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9226         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9227         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9228         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9229         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9230         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9231         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9232         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9234         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9235         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9236         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9238 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9239             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9241         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9242         Add lwarx hint, and use macro for acquire instruction.
9243         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9244         Likewise.
9245         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9246         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9247         update to use new atomic macros.
9249 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9251         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9252         (__lll_trylock_elision): Fix setting of adapt_count.
9253         * sysdeps/unix/sysv/linux/powerpc/htm.h
9254         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9255         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9256         (_ABORT_SYSCALL): Renumber, and clarify definition.
9257         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9259 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9261         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9262         after system headers to prevent MIN/MAX redefinition.  Define
9263         HAVE_ALLOCA to preserve builtin alloca usage.
9265 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9267         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9268         static and don't set or restore rounding.
9269         (__cos)[IN_SINCOS]: Likewise.
9270         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9271         (__sincos): Set and restore rounding mode.  Remove check for infinite
9272         or NaN input.
9274         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9276         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9277         as used.
9279 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9281         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9283 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9285         * config.make.in (have-glob-dat-reloc): New.
9286         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9287         target supports GLOB_DAT relocaton. AC_SUBST.
9288         * configure: Regenerated.
9289         * elf/Makefile (tests): Add tst-prelink.
9290         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9291         (tst-prelink-ENV): New.
9292         ($(objpfx)tst-prelink-conflict.out): Likewise.
9293         ($(objpfx)tst-prelink-cmp.out): Likewise.
9294         * sysdeps/x86/tst-prelink.c: Moved to ...
9295         * elf/tst-prelink.c: Here.
9296         * sysdeps/x86/tst-prelink.exp: Moved to ...
9297         * elf/tst-prelink.exp: Here.
9298         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9299         (tst-prelink-ENV): Removed.
9300         ($(objpfx)tst-prelink-conflict.out): Likewise.
9301         ($(objpfx)tst-prelink-cmp.out): Likewise.
9302         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9304 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9306         [BZ #14551]
9307         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9308         (__mpn_construct_long_double): If high part overflows to infinity,
9309         set errno and recompute overflowed result of the correct sign.
9310         * sysdeps/ieee754/ldbl-128ibm/Makefile
9311         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9312         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9313         $(libm).
9314         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9316 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9318         [BZ #15479]
9319         [BZ #19238]
9320         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9321         floating-point state after first operation on input.  Restore full
9322         state rather than just rounding mode.
9323         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9324         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9325         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9327         [BZ #19235]
9328         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9329         add 0.5 to integer arguments.
9330         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9331         Likewise.
9332         (.LC2): New object.
9334 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9336         * scripts/pylintrc (reports): Set to no.
9338 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9340         * elf/dl-load.c (open_verify): Take new argument FD.
9341         Skip __open call if passed FD is not -1.
9342         (_dl_map_object, open_path): Update callers.
9343         * elf/dl-sysdep-open.h: New file.
9344         * elf/dl-load.c: Include it.
9345         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9346         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9347         * sysdeps/nacl/dl-sysdep-open.h: New file.
9348         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9349         from libc to rtld.
9351 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9353         [BZ #19228]
9354         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9355         and restore full floating-point state.
9356         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9357         Likewise.
9358         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9359         Likewise.
9360         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9361         Likewise.
9362         * math/test-nearbyint-except-2.c: New file.
9363         * math/Makefile (tests): Add test-nearbyint-except-2.
9365 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9367         [BZ #19178]
9368         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9369         (tst-prelink-ENV): New.
9370         ($(objpfx)tst-prelink-conflict.out): Likewise.
9371         ($(objpfx)tst-prelink-cmp.out): Likewise.
9372         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9373         * sysdeps/x86/tst-prelink.c: New file.
9374         * sysdeps/x86/tst-prelink.exp: Likewise.
9376 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9378         * math/auto-libm-test-in: Add another test of pow.
9379         * math/auto-libm-test-out: Regenerated.
9380         * math/libm-test.inc (pow_test_data): Add another test.
9382 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9384         [BZ #19219]
9385         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9386         weak_alias to nearbyintl.
9388 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9390         * sysdeps/aarch64/bits/string.h: New file.
9391         (_STRING_ARCH_unaligned): Define.
9393 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9395         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9396         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9397         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9398         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9401 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9403         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9404         for original name of the DSO.  Add it to the name list of the DSO
9405         if it is actually given.
9406         (_dl_map_object): Keep track of whether an audit module rewrote
9407         the file name.  If yes, pass the original name to
9408         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9409         debugging is enabled, log the change of the file name.
9410         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9411         _dl_map_object_from_fd.
9412         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9413         * elf/tst-audit11.c: New file
9414         * elf/tst-auditmod11.c: New file.
9415         * elf/tst-audit11mod1.c: New file.
9416         * elf/tst-audit11mod2.c: New file.
9417         * elf/tst-audit11mod2.map: New file.
9418         * elf/tst-audit12.c: New file
9419         * elf/tst-auditmod12.c: New file.
9420         * elf/tst-audit12mod1.c: New file.
9421         * elf/tst-audit12mod2.c: New file.
9422         * elf/tst-audit12mod2.map: New file.
9423         * elf/tst-audit12mod3.c: New file.
9425 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9427         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9428         Don't create weak aliases,
9429         because versioned symbols are created later.
9430         * sysdeps/s390/s390-32/setjmp.S
9431         (setjmp, _setjmp): Remove weak and rename to an unique name
9432         in SHARED case due to existing versioned symbols.
9433         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9434         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9435         (getcontext): Create weak alias only in non SHARED case.
9436         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9438 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9440         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9441         (__ASSUME_*_SYSCALL) Define new macros.
9442         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9443         Remove socketcall syscalls.
9444         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9445         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9446         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9447         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9448         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9449         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9451 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9453         [BZ #12926]
9454         Terminate process on invalid netlink response.
9455         * sysdeps/unix/sysv/linux/netlinkaccess.h
9456         (__netlink_assert_response): Declare.
9457         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9458         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9459         (sysdep_routines): Add netlink_assert_response.
9460         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9461         __netlink_assert_response.
9462         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9463         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9464         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9465         __netlink_assert_response.
9467 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9469         [BZ #19178]
9470         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9471         (RTYPE_CLASS_PLT): Likewise.
9472         (RTYPE_CLASS_COPY): Likewise.
9473         (RTYPE_CLASS_TLS): Likewise.
9474         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9475         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9476         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9477         DL_DEBUG_PRELINK.
9479 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9481         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9482         calls with argument -0.5.
9483         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9485         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9486         (libc_cv_z_nodlopen): Likewise.
9487         (libc_cv_z_initfirst): Likewise.
9488         * configure: Regenerated.
9490 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9492         Simplify abilist format to be line-based.
9493         * scripts/abilist.awk: Collect descriptors in the descs variable.
9494         (emit): Write descs variable and sort it
9495         externally, with sort.
9496         * sysdeps/**/*.abilist: Convert to new format.
9498 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9500         [BZ #11460]
9501         * io/Makefile (routines): Add fts64.
9502         (tests): Add tst-fts and tst-fts-lfs.
9503         (CFLAGS-fts64.c): New.
9504         * io/Versions (GLIBC_2.23): New.
9505         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9506         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9507         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9508         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9509         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9510         (FTSENT64): Likewise.
9511         (fts64_children): Likewise.
9512         (fts64_close): Likewise.
9513         (fts64_open): Likewise.
9514         (fts64_read): Likewise.
9515         (fts64_set): Likewise.
9516         * io/fts64.c: New file.
9517         * io/tst-fts.c: New test.
9518         * io/tst-fts-lfs.c: Likewise.
9519         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9520         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9521         fts64_set.
9522         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9523         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9524         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9525         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9526         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9528         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9529         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9530         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9531         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9532         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9533         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9534         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9536         Likewise.
9537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9538         Likewise.
9539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9541         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9542         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9543         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9544         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9545         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9548         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9549         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9550         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9551         * sysdeps/wordsize-64/fts.c: New file.
9552         * sysdeps/wordsize-64/fts64.c: Likewise.
9553         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9554         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9555         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9556         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9558 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9560         * math/libm-test.inc (NON_FINITE): New macro.
9561         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9562         * math/gen-libm-test.pl (show_exceptions): Add argument
9563         $non_finite.
9564         (parse_args): Update call to show_exceptions.
9565         * math/test-math-finite.h: New file.
9566         * math/test-math-no-finite.h: Likewise.
9567         * math/test-double-finite.c: Likewise.
9568         * math/test-float-finite.c: Likewise.
9569         * math/test-ldouble-finite.c: Likewise.
9570         * math/test-double.c: Include "test-math-no-finite.h".
9571         * math/test-float.c: Include "test-math-no-finite.h".
9572         * math/test-ldouble.c: Include "test-math-no-finite.h".
9573         * math/test-math-inline.h (TEST_FINITE): New macro.
9574         * math/test-math-vector.h (TEST_FINITE): Likewise.
9575         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9576         (libm-tests): Add test-float-finite and test-double-finite.
9577         ($(objpfx)test-float-finite.o): New dependency on
9578         $(objpfx)libm-test.stmp.
9579         ($(objpfx)test-double-finite.o): Likewise.
9580         ($(objpfx)test-ldouble-finite.o): Likewise.
9581         (libm-test-no-inline-cflags): New variable.
9582         (libm-test-finite-cflags): Likewise.
9583         (CFLAGS-test-float-finite.c): Likewise.
9584         (CFLAGS-test-double-finite.c): Likewise.
9585         (CFLAGS-test-ldouble-finite.c): Likewise.
9586         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9587         (CFLAGS-test-double.c): Likewise.
9588         (CFLAGS-test-ldouble.c): Likewise.
9590 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9592         * io/fcntl.c (__fcntl): Add ... to prototype.
9593         * misc/ioctl.c (__ioctl): Likewise.
9594         * misc/syscall.c (syscall): Likewise.
9596 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9598         * scripts/list-fixed-bugs.py: New file.
9600         [BZ #19213]
9601         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9602         returned for argument 1.
9603         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9604         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9605         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9606         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9607         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9608         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9610         [BZ #19211]
9611         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9612         __USE_XOPEN], not if [!__USE_ISOC99].
9613         (lgammaf): Likewise.
9614         (lgammal): Likewise.
9615         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9616         (gammaf): Likewise.
9617         (gammal): Likewise.
9618         * math/test-signgam-finite-c11.c: New file.
9619         * math/test-signgam-finite-c99.c: Likewise.
9620         * math/test-signgam-finite.c: Likewise.
9621         * math/Makefile (tests): Add test-signgam-finite,
9622         test-signgam-finite-c99 and test-signgam-finite-c11.
9623         (CFLAGS-test-signgam-finite.c): New variable.
9624         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9625         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9627         [BZ #19212]
9628         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9629         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9630         500].
9631         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9632         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9633         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9634         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9635         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9636         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9637         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9638         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9639         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9640         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9642         [BZ #19209]
9643         * math/bits/math-finite.h (ldexp): Remove declaration.
9644         (ldexpf): Likewise.
9645         (ldexpl): Likewise.
9647         [BZ #19205]
9648         * math/bits/math-finite.h (acosf): Condition declaration on
9649         [__USE_ISOC99].
9650         (acosl): Likewise.
9651         (acoshf): Likewise.
9652         (acoshl): Likewise.
9653         (asinf): Likewise.
9654         (asinl): Likewise.
9655         (atan2f): Likewise.
9656         (atan2l): Likewise.
9657         (atanhf): Likewise.
9658         (atanhl): Likewise.
9659         (coshf): Likewise.
9660         (coshl): Likewise.
9661         (expf): Likewise.
9662         (expl): Likewise.
9663         (fmodf): Likewise.
9664         (fmodl): Likewise.
9665         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9666         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9667         (j0l): Likewise.
9668         (y0f): Likewise.
9669         (y0l): Likewise.
9670         (j1f): Likewise.
9671         (j1l): Likewise.
9672         (y1f): Likewise.
9673         (y1l): Likewise.
9674         (jnf): Likewise.
9675         (jnl): Likewise.
9676         (ynf): Likewise.
9677         (ynl): Likewise.
9678         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9679         (lgammal_r): Likewise.
9680         (__lgamma_r_finite): New declaration.
9681         (__lgammaf_r_finite): Likewise.
9682         (__lgammal_r_finite): Likewise.
9683         (lgamma): Use __lgamma_r_finite.
9684         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9685         __lgammaf_r_finite.
9686         (lgammal): Condition definition on [__USE_ISOC99].  Use
9687         __lgammal_r_finite.
9688         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9689         __lgamma_r_finite.
9690         (gammaf): Condition definition on [__USE_ISOC99].  Use
9691         __lgammaf_r_finite.
9692         (gammal): Condition definition on [__USE_ISOC99].  Use
9693         __lgammal_r_finite.
9694         (logf): Condition declaration on [__USE_ISOC99].
9695         (logl): Likewise.
9696         (log10f): Likewise.
9697         (log10l): Likewise.
9698         (ldexpf): Likewise.
9699         (ldexpl): Likewise.
9700         (powf): Likewise.
9701         (powl): Likewise.
9702         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9703         __USE_ISOC99].
9704         (remainderf): Condition declaration on [__USE_ISOC99].
9705         (remainderl): Likewise.
9706         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9707         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9708         (scalbl): Likewise.
9709         (sinhf): Condition declaration on [__USE_ISOC99].
9710         (sinhl): Likewise.
9711         (sqrtf): Likewise.
9712         (sqrtl): Likewise.
9714 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9716         * sysdeps/arm/atomic-machine.h
9717         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9718         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9719         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9720         Remove conditional code.
9721         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9722         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9723         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9724         Change conditional to [__ASSEMBLER__].
9725         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9726         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9727         [!__ASSEMBLER__].
9728         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9729         code.
9730         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9731         conditional macro definitions.
9732         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9733         (__arch_compare_and_exchange_val_16_acq): Likewise.
9734         (__arch_compare_and_exchange_val_32_acq): Likewise.
9735         (atomic_exchange_and_add): Likewise.
9736         (atomic_add): Likewise.
9737         (atomic_add_negative): Likewise.
9738         (atomic_add_zero): Likewise.
9739         (atomic_bit_set): Likewise.
9740         (atomic_bit_test_set): Likewise.
9741         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9742         code unconditional.
9743         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9745         * math/test-math-errno.h: New file.
9746         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9747         empty.
9748         (TEST_ERRNO): New macro.
9749         (TEST_EXCEPTIONS): Likewise.
9750         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9751         (TEST_EXCEPTIONS): Likewise.
9752         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9753         * math/test-double.c: Include "test-math-errno.h".
9754         * math/test-float.c: Likewise.
9755         * math/test-ldouble.c: Likewise.
9756         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9757         code unconditional.
9758         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9759         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9760         unconditional.
9761         (test_errno): Only run code if TEST_ERRNO.
9762         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9764 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9766         * nptl/tst-once5.cc: Remove attribution.
9768 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9770         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9771         sqrt, tan, tanh, y0, y1 and yn.
9772         * math/auto-libm-test-out: Regenerated.
9773         * math/libm-test.inc (scalb_test_data): Add more tests.
9774         (scalbn_test_data): Likewise.
9775         (scalbln_test_data): Likewise.
9776         (signbit_test_data): Likewise.
9777         (sin_test_data): Likewise.
9778         (sincos_test_data): Likewise.
9779         (sinh_test_data): Likewise.
9780         (sqrt_test_data): Likewise.
9781         (tan_test_data): Likewise.
9782         (tanh_test_data): Likewise.
9783         (tgamma_test_data): Likewise.
9784         (y0_test_data): Likewise.
9785         (y1_test_data): Likewise.
9786         (yn_test_data): Likewise.
9787         (significand_test_data): Likewise.
9788         * sysdeps/i386/fpu/libm-test-ulps: Update.
9790 2015-11-03  David Kastrup  <dak@gnu.org>
9792         [BZ #18604]
9793         * assert/assert.h (assert): Don't macro-expand failed assertion
9794         expression in error message.
9795         * malloc/malloc.c (assert): Likewise.
9797 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
9799         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9800         test.
9801         * configure: Regenerated.
9803 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
9805         * math/libm-test.inc (modf_test_data): Add more tests.
9806         (nearbyint_test_data): Likewise.
9807         (nextafter_test_data): Likewise.
9808         (nexttoward_test_data): Likewise.
9809         (pow_test_data): Likewise.
9810         (remainder_test_data): Likewise.
9811         (remquo_test_data): Likewise.
9812         (rint_test_data): Likewise.
9814         [BZ #19201]
9815         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9816         Check for zero remainder in case of large exponents and ensure
9817         correct sign of result in that case.
9818         * math/libm-test.inc (remainder_test_data): Add more tests.
9820         [BZ #6799]
9821         * math/s_nextafter.c: Include <errno.h>.
9822         (__nextafter): Set errno on overflow and underflow.
9823         * math/s_nexttowardf.c: Include <errno.h>.
9824         (__nexttowardf): Set errno on overflow and underflow.
9825         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9826         (__nextafterl): Set errno on overflow and underflow.
9827         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9828         (__nexttoward): Set errno on overflow and underflow.
9829         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9830         (__nexttowardf): Set errno on overflow and underflow.
9831         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9832         (__nextafterf): Set errno on overflow and underflow.
9833         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9834         (__nextafterl): Set errno on overflow and underflow.
9835         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9836         (__nexttoward): Set errno on overflow and underflow.
9837         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9838         (__nexttowardf): Set errno on overflow and underflow.
9839         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9840         (__nextafterl): Set errno on overflow and underflow.
9841         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9842         (__nexttoward): Set errno on overflow and underflow.
9843         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9844         (__nexttowardf): Set errno on overflow and underflow.
9845         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9846         (__nexttoward): Set errno on overflow and underflow.
9847         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9848         (__nexttowardf): Set errno on overflow and underflow.
9849         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9850         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9851         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9852         (__nextafterl): Set errno on overflow and underflow.
9853         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9854         setting to be missing on overflow.  Add more tests.
9855         (nexttoward_test_data): Likewise.
9857         * configure.ac (libc_cv_initfini_array): Remove configure test.
9858         * configure: Regenerated.
9860 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9862         [BZ #19189]
9863         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9864         non-finite argument handle arguments with negative sign.
9866         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9867         result from infinite argument.
9868         (j1_test_data): Likewise.
9869         (jn_test_data): Likewise.
9870         (y0_test_data): Likewise.
9871         (y1_test_data): Likewise.
9872         (yn_test_data): Likewise.
9874         [BZ #16171]
9875         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9876         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9877         * math/w_remainderf.c (dremf): Define as weak alias of
9878         __remainderf.
9879         * math/w_remainderl.c (dreml): Define as weak alias of
9880         __remainderl.
9881         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9882         __remainder.
9883         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9884         __remainderf.
9885         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9886         __remainderl.
9887         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9888         weak alias of remainderl.
9889         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9890         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9891         alias of __remainder.
9892         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9893         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9894         strong alias of __remainderl.
9895         (dreml): Use long_double_symbol.
9896         * math/Makefile (libm-calls): Remove w_drem.
9897         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9898         (CFLAGS-nldbl-drem.c): Remove variable.
9899         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9900         * math/w_drem.c: Remove file.
9901         * math/w_dremf.c: Likewise.
9902         * math/w_dreml.c: Likewise.
9903         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9904         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9905         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9907         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9908         * sysdeps/i386/configure: Regenerated.
9909         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9910         * sysdeps/x86_64/configure: Regenerated.
9912         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9913         test.
9914         (libc_cv_visibility_attribute): Likewise.
9915         (libc_cv_protected_data): Test unconditionally.
9916         (libc_cv_broken_visibility_attribute): Remove configure test.
9917         (libc_cv_have_sdata_section): Test unconditionally.
9918         * configure: Regenerated.
9920         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9921         * include/scratch_buffer.h: Include <stddef.h> instead of
9922         <libc-internal.h>.
9923         (struct scratch_buffer): Use max_align_t instead of
9924         libc_max_align_t.
9926 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9928         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9929         instead of extend_alloca.  Change control flow to avoid a goto.
9930         Remove assert which is trivially always true.
9932 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9934         [BZ #16068]
9935         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9936         (FE_ALL_EXCEPT_X86): New macro.
9937         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9938         FE_ALL_EXCEPT.  Ensure precision control is included in
9939         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9940         handle "denormal operand exception" and clear FZ and DAZ bits.
9941         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9942         (FE_ALL_EXCEPT_X86): New macro.
9943         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9944         FE_ALL_EXCEPT.  Ensure precision control is included in
9945         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9946         handle "denormal operand exception" and clear FZ and DAZ bits.
9947         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9948         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9949         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9950         test-fenv-x87 and test-fenv-sse-2.
9951         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9953         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9954         * math/test-double.h (BUILD_COMPLEX): New macro.
9955         * math/test-float.h (BUILD_COMPLEX): Likewise.
9956         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9958         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9959         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9960         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9961         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9962         instead of DBL_DENORM_MIN in comment.
9963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9964         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9965         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9966         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9967         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9968         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9970 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9972         [BZ# 19048]
9973         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9974         attached_threads member.
9975         (main_arena): Initialize attached_threads.
9976         * malloc/arena.c (list_lock): Update comment.
9977         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9978         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9979         (deattach_arena): New function.
9980         (_int_new_arena): Initialize arena reference count and deattach
9981         replaced arena.
9982         (get_free_list, reused_arena): Update reference count and deattach
9983         replaced arena.
9984         (arena_thread_freeres): Update arena reference count and only put
9985         unreferenced arenas on the free list.
9987 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9989         [BZ #19181]
9990         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9991         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9992         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9993         * math/test-fenv-clear-main.c: New file.
9994         * math/test-fenv-clear.c: Likewise.
9995         * math/Makefile (tests): Add test-fenv-clear.
9996         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9997         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9998         test-fenv-clear-sse.
9999         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10001         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10002         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10003         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10005 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10007         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10008         static libc.
10010 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10012         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10013         test.
10014         * sysdeps/i386/configure: Regenerated.
10015         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10016         test.
10017         * sysdeps/x86_64/configure: Regenerated.
10018         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10020         memset-avx2 unconditionally instead of conditionally on
10021         [$(config-cflags-avx2) = yes].
10022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10023         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10024         unconditional.
10025         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10026         * sysdeps/x86_64/multiarch/memset_chk.S
10027         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10028         to [IS_IN (libc) && SHARED].
10030 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10032         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10033         configure test.
10034         * sysdeps/arm/configure: Regenerated.
10035         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10036         Define variable if not already defined.
10038         [BZ #17404]
10039         * sysdeps/mips/atomic-machine.h
10040         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10041         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10042         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10044         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10045         unconditional.
10046         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10047         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10048         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10049         unconditional.
10050         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10051         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10052         unconditional.
10053         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10054         * stdlib/setenv.c
10055         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10056         code unconditional.
10057         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10058         Remove conditional code.
10059         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10060         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10061         unconditional.
10062         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10063         code.
10064         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10065         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10066         unconditional.
10067         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10068         code.
10069         * sysdeps/ieee754/ldbl-128/k_tanl.c
10070         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10071         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10072         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10073         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10074         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10075         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10076         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10077         unconditional.
10078         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10079         code.
10080         * sysdeps/ieee754/ldbl-96/k_tanl.c
10081         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10082         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10084         * nptl/tst-initializers1-c11.c: New file.
10085         * nptl/tst-initializers1-gnu11.c: Likewise.
10086         * nptl/Makefile (tests): Add these new tests.
10087         (CFLAGS-tst-initializers1-c11.c): New variable.
10088         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10090         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10091         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10092         instead of -std=gnu99.
10093         * configure.ac (systemtap): Test with -std=gnu11 instead of
10094         -std=gnu99.
10095         * configure: Regenerated.
10096         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10097         in compilation command in comment.
10099         * sysdeps/nptl/configure.ac: Remove file.
10100         * sysdeps/nptl/configure: Remove generated file.
10101         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10102         * configure: Regenerated.
10103         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10104         * config.make.in (have-forced-unwind): Remove variable.
10105         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10106         unconditional.
10107         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10108         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10109         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10110         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10111         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10112         unconditional.
10114 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10116         [BZ #19174]
10117         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10118         .skip_lock_out_of_tbegin_retries.
10119         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10120         (__lll_lock_elision): Likewise, and respect a value of
10121         try_tbegin <= 0.
10123 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10125         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10126         statement.
10128 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10130         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10131         variable.
10132         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10133         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10135         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10136         of -std=c1x -D_ISOC11_SOURCE.
10138         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10139         * configure: Regenerated.
10140         * manual/install.texi (Tools for Compilation): Document
10141         requirement for GCC 4.7 or later.
10142         * INSTALL: Regenerated.
10144 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10146         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10147         on CNT to a conditional jump to 'puntdata'.
10149 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10151         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10152         (libc_cv_gcc_tls_model_attr): Likewise.
10153         * configure: Regenerated.
10155         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10156         * configure: Regenerated.
10157         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10159 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10161         * configure.ac (old_glibc_headers): Remove configure test.
10162         * configure: Regenerated.
10163         * config.make.in (old-glibc-headers): Remove variable.
10164         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10165         (install): Remove dependency on remove-old-headers.
10166         (headers2_0): Remove variable.
10167         (remove-old-headers): Remove rule.
10169         * configure.ac (libc_cv_dot_text): Remove configure test.
10170         (libc_cv_asm_set_directive): Use .text instead of
10171         ${libc_cv_dot_text} in configure test.
10172         * configure: Regenerated.
10174 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10176         [BZ #19168]
10177         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10179 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10181         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10182         not support static linking.
10183         * configure: Regenerate.
10185 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10187         * math/libm-test.inc (check_float_internal): Do not special-case
10188         errors up to 0.5 ulp.
10190         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10191         log2.
10192         * math/auto-libm-test-out: Regenerated.
10193         * math/libm-test.inc (MAX_EXP): New macro.
10194         (ilogb_test_data): Add more tests.
10195         (isfinite_test_data): Likewise.
10196         (isgreater_test_data): Likewise.
10197         (isgreaterequal_test_data): Likewise.
10198         (isinf_test_data): Likewise.
10199         (isless_test_data): Likewise.
10200         (islessequal_test_data): Likewise.
10201         (islessgreater_test_data): Likewise.
10202         (isnan_test_data): Likewise.
10203         (isnormal_test_data): Likewise.
10204         (issignaling_test_data): Likewise.
10205         (isunordered_test_data): Likewise.
10206         (j0_test_data): Likewise.
10207         (j1_test_data): Likewise.
10208         (jn_test_data): Likewise.
10209         (lgamma_test_data): Likewise.
10210         (log_test_data): Likewise.
10211         (log10_test_data): Likewise.
10212         (log1p_test_data): Likewise.
10213         (log2_test_data): Likewise.
10214         (logb_test_data): Likewise.
10215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10217         [BZ #18611]
10218         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10219         avoid excess range and precision on underflow.
10220         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10221         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10222         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10223         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10224         underflow.
10225         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10226         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10227         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10228         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10229         * math/auto-libm-test-in: Do not allow missing errno setting for
10230         tests of j1 and jn.
10231         * math/auto-libm-test-out: Regenerated.
10233 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10235         [BZ #15491]
10236         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10237         floating-point environment instead of clearing all exceptions.
10238         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10239         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10240         merging in "invalid" exceptions from frndint.
10241         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10242         * math/test-nearbyint-except.c: New file.
10243         * math/Makefile (tests): Add test-nearbyint-except.
10245 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10247         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10249         * sysdeps/tile/libm-test-ulps: Regenerated.
10251 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10254         (__NR_sync_file_range2): Assume it is always defined.
10255         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10256         (__NR_sync_file_range): Assume it is always defined.
10258 2015-10-22  Andreas Schwab  <schwab@suse.de>
10260         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10261         INTERNAL_SYSCALL_ERRNO.
10262         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10263         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10264         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10265         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10266         Likewise.
10267         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10269 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10271         * io/tst-fcntl.c (fd): New static variable.
10272         (do_prepare): Open temporary file here....
10273         (do_test): ...not here.
10275         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10277 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10279         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10280         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10281         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10282         Moved before "#ifdef __ASSEMBLER__".
10284 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10286         [BZ #19156]
10287         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10288         arguments very close to 0.
10290 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10292         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10293         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10295 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10297         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10298         New.  Defined for GCC 5 and above when not compiling for
10299         profiling.
10300         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10302         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10303         Renamed to ...
10304         (CFLAGS-epoll_pwait.o): This.
10305         (CFLAGS-mmap.c): Renamed to ...
10306         (CFLAGS-mmap.o): This.
10307         (CFLAGS-mmap64.c): Renamed to ...
10308         (CFLAGS-mmap64.o): This.
10309         (CFLAGS-epoll_pwait.os): New.
10310         (CFLAGS-mmap.os): Likewise.
10311         (CFLAGS-mmap64.os): Likewise.
10312         (CFLAGS-semtimedop.os): Likewise.
10313         (CFLAGS-semtimedop.c): Renamed to ...
10314         (CFLAGS-semtimedop.o): This.
10316 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10318         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10319         warning message.
10321 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10323         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10324         * Makefile ($(objpfx)c++-types-check.out): Filter out
10325         $(+gccwarn-c) instead of -Wstrict-prototypes.
10327         * io/fts.c (fts_open): Convert to prototype-style function
10328         definition.
10329         * malloc/mcheck.c (mcheck): Likewise.
10330         (mcheck_pedantic): Likewise.
10331         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10332         internal_function.
10333         (re_search_internal): Likewise.
10334         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10335         prototype-style function definition.
10336         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10337         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10338         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10339         (xdr_utmpptr): Likewise.
10340         (xdr_utmparr): Likewise.
10341         (xdr_utmpidle): Likewise.
10342         (xdr_utmpidleptr): Likewise.
10343         (xdr_utmpidlearr): Likewise.
10345         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10346         log, log10 and log2.
10347         * math/auto-libm-test-out: Regenerated.
10348         * math/libm-test.inc (fmod_test_data): Add more tests.
10349         (fpclassify_test_data): Likewise.
10350         (frexp_test_data): Likewise.
10351         (hypot_test_data): Likewise.
10352         (ilogb_test_data): Likewise.
10354 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10356         * debug/fortify_fail.c (__fortify_fail): Convert to
10357         prototype-style function definition.  Use internal_function.
10358         * libio/genops.c (save_for_backup): Convert to prototype-style
10359         function definition.
10360         * libio/wgenops.c (save_for_wbackup): Likewise.
10361         * login/grantpt.c (grantpt): Likewise.
10362         * login/ptsname.c (ptsname): Likewise.
10363         (__ptsname_r): Likewise.
10364         * login/unlockpt.c (unlockpt): Likewise.
10365         * mach/msgserver.c (__mach_msg_server): Likewise.
10366         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10367         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10368         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10369         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10370         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10371         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10372         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10373         Likewise.
10374         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10375         internal_function.
10376         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10377         prototype-style function definition.
10378         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10379         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10380         (__pthread_create_2_0): Likewise.
10381         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10382         * nptl/register-atfork.c (__register_atfork): Likewise.
10383         * posix/glob.c (glob): Likewise.
10384         * posix/regcomp.c (re_comp): Likewise.
10385         * posix/regexec.c (re_exec): Likewise.
10386         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10387         [!__STDC__]: Remove conditional code.
10388         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10389         [!__STDC__]: Remove conditional code.
10390         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10391         [!__STDC__]: Remove conditional code.
10392         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10393         [!__STDC__]: Remove conditional code.
10394         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10395         [!__STDC__]: Remove conditional code.
10396         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10397         [!__STDC__]: Remove conditional code.
10398         * stdlib/mul.c [__STDC__]: Make code unconditional.
10399         [!__STDC__]: Remove conditional code.
10400         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10401         [!__STDC__]: Remove conditional code.
10402         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10403         [!__STDC__]: Remove conditional code.
10404         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10405         function definition.
10406         (STRTOF): Likewise.
10407         * stdlib/strtod_l.c (__STRTOF): Likewise.
10408         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10409         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10410         (__strtol_l): Likewise.
10411         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10412         [!__STDC__]: Remove conditional code.
10413         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10414         definition.
10415         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10416         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10417         type.
10418         (__strcasecmp): Convert to prototype-style function definition.
10419         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10420         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10421         type.
10422         (__strncasecmp): Convert to prototype-style function definition.
10423         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10424         * sunrpc/xdr.c (xdr_union): Likewise.
10425         * sunrpc/xdr_array.c (xdr_array): Likewise.
10426         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10427         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10428         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10429         Likewise.
10430         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10431         Likewise.
10432         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10433         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10434         Likewise.
10435         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10436         (LOCALE_PARAM_PROTO): Likewise.
10437         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10438         argument type.
10439         (ut_argument_spec): Remove macro.
10440         (ut_argument_spec_iso): Rename to ut_argument_spec.
10441         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10442         prototype-style function definition.
10443         (memcpy_uppcase): Likewise.
10444         (__strftime_internal): Likewise.
10445         (my_strftime): Likewise.
10446         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10447         (LOCALE_PARAM_DECL): Likewise.
10448         [_LIBC] (LOCALE_PARAM): Include argument type.
10449         (__strptime_internal): Convert to prototype-style function
10450         definition.
10451         (strptime): Likewise.
10452         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10453         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10454         type.
10455         (__wcscasecmp): Convert to prototype-style function definition.
10456         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10457         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10458         type.
10459         (__wcsncasecmp): Convert to prototype-style function definition.
10461         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10462         function definition.
10463         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10464         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10465         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10466         * elf/dl-minimal.c (_itoa): Likewise.
10467         * hurd/hurdmalloc.c (malloc): Likewise.
10468         (free): Likewise.
10469         (realloc): Likewise.
10470         * inet/inet6_option.c (inet6_option_space): Likewise.
10471         (inet6_option_init): Likewise.
10472         (inet6_option_append): Likewise.
10473         (inet6_option_alloc): Likewise.
10474         (inet6_option_next): Likewise.
10475         (inet6_option_find): Likewise.
10476         * io/ftw.c (FTW_NAME): Likewise.
10477         (NFTW_NAME): Likewise.
10478         (NFTW_NEW_NAME): Likewise.
10479         (NFTW_OLD_NAME): Likewise.
10480         * libio/iofwide.c (_IO_fwide): Likewise.
10481         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10482         (_IO_str_init_static): Likewise.
10483         (_IO_str_init_readonly): Likewise.
10484         (_IO_str_overflow): Likewise.
10485         (_IO_str_underflow): Likewise.
10486         (_IO_str_count): Likewise.
10487         (_IO_str_seekoff): Likewise.
10488         (_IO_str_pbackfail): Likewise.
10489         (_IO_str_finish): Likewise.
10490         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10491         (_IO_wstr_overflow): Likewise.
10492         (_IO_wstr_underflow): Likewise.
10493         (_IO_wstr_count): Likewise.
10494         (_IO_wstr_seekoff): Likewise.
10495         (_IO_wstr_pbackfail): Likewise.
10496         (_IO_wstr_finish): Likewise.
10497         * locale/programs/localedef.c (normalize_codeset): Likewise.
10498         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10499         (add_locales_to_archive): Likewise.
10500         (delete_locales_from_archive): Likewise.
10501         * malloc/malloc.c (__libc_mallinfo): Likewise.
10502         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10503         * misc/tsearch.c (__tfind): Likewise.
10504         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10505         * nptl/pthread_attr_getdetachstate.c
10506         (__pthread_attr_getdetachstate): Likewise.
10507         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10508         Likewise.
10509         * nptl/pthread_attr_getinheritsched.c
10510         (__pthread_attr_getinheritsched): Likewise.
10511         * nptl/pthread_attr_getschedparam.c
10512         (__pthread_attr_getschedparam): Likewise.
10513         * nptl/pthread_attr_getschedpolicy.c
10514         (__pthread_attr_getschedpolicy): Likewise.
10515         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10516         Likewise.
10517         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10518         Likewise.
10519         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10520         Likewise.
10521         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10522         Likewise.
10523         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10524         (__pthread_attr_init_2_0): Likewise.
10525         * nptl/pthread_attr_setdetachstate.c
10526         (__pthread_attr_setdetachstate): Likewise.
10527         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10528         Likewise.
10529         * nptl/pthread_attr_setinheritsched.c
10530         (__pthread_attr_setinheritsched): Likewise.
10531         * nptl/pthread_attr_setschedparam.c
10532         (__pthread_attr_setschedparam): Likewise.
10533         * nptl/pthread_attr_setschedpolicy.c
10534         (__pthread_attr_setschedpolicy): Likewise.
10535         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10536         Likewise.
10537         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10538         Likewise.
10539         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10540         Likewise.
10541         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10542         Likewise.
10543         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10544         Likewise.
10545         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10546         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10547         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10548         use internal_function.
10549         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10550         prototype-style function definition.
10551         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10552         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10553         internal_function.
10554         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10555         Convert to prototype-style function definition.
10556         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10557         Likewise.
10558         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10559         Likewise.
10560         (__pthread_mutex_unlock): Likewise.
10561         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10562         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10563         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10564         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10565         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10566         * nss/makedb.c (process_input): Likewise.
10567         * posix/fnmatch.c (__strchrnul): Likewise.
10568         (__wcschrnul): Likewise.
10569         (fnmatch): Likewise.
10570         * posix/fnmatch_loop.c (FCT): Likewise.
10571         * posix/glob.c (globfree): Likewise.
10572         (__glob_pattern_type): Likewise.
10573         (__glob_pattern_p): Likewise.
10574         * posix/regcomp.c (re_compile_pattern): Likewise.
10575         (re_set_syntax): Likewise.
10576         (re_compile_fastmap): Likewise.
10577         (regcomp): Likewise.
10578         (regerror): Likewise.
10579         (regfree): Likewise.
10580         * posix/regexec.c (regexec): Likewise.
10581         (re_match): Likewise.
10582         (re_search): Likewise.
10583         (re_match_2): Likewise.
10584         (re_search_2): Likewise.
10585         (re_search_stub): Likewise.  Use internal_function
10586         (re_copy_regs): Likewise.
10587         (re_set_registers): Convert to prototype-style function
10588         definition.
10589         (prune_impossible_nodes): Likewise.  Use internal_function.
10590         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10591         prototype-style function definition.
10592         (inet_net_pton_ipv4): Likewise.
10593         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10594         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10595         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10596         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10597         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10598         Make variadic.
10599         * time/strptime_l.c (localtime_r): Convert to prototype-style
10600         function definition.
10601         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10602         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10603         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10604         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10606         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10607         definition.
10608         (_ufc_doit_r): Likewise.
10609         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10610         (_ufc_output_conversion_r): Likewise.
10611         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10612         * inet/rcmd.c (rcmd_af): Likewise.
10613         (rcmd): Likewise.
10614         (ruserok_af): Likewise.
10615         (ruserok): Likewise.
10616         (ruserok2_sa): Likewise.
10617         (ruserok_sa): Likewise.
10618         (iruserok_af): Likewise.
10619         (iruserok): Likewise.
10620         (__ivaliduser): Likewise.
10621         (__validuser2_sa): Likewise.
10622         * inet/rexec.c (rexec_af): Likewise.
10623         (rexec): Likewise.
10624         * inet/ruserpass.c (ruserpass): Likewise.
10625         * locale/programs/xmalloc.c (xcalloc): Likewise.
10626         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10627         * math/w_drem.c (__drem): Likewise.
10628         * math/w_dremf.c (__dremf): Likewise.
10629         * math/w_dreml.c (__dreml): Likewise.
10630         * misc/daemon.c (daemon): Likewise.
10631         * resolv/res_debug.c (p_fqnname): Likewise.
10632         * stdlib/div.c (div): Likewise.
10633         * string/memcmp.c (memcmp_bytes): Likewise.
10634         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10635         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10637         * crypt/cert.c (main): Convert to prototype-style function
10638         definition.
10639         * io/pipe.c (__pipe): Likewise.
10640         * io/pipe2.c (__pipe2): Likewise.
10641         * misc/futimesat.c (futimesat): Likewise.
10642         * misc/utimes.c (__utimes): Likewise.
10643         * posix/execve.c (__execve): Likewise.
10644         * posix/execvp.c (execvp): Likewise.
10645         * posix/execvpe.c (__execvpe): Likewise.
10646         * posix/fexecve.c (fexecve): Likewise.
10647         * socket/socketpair.c (socketpair): Likewise.
10648         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10649         * stdlib/erand48.c (erand48): Likewise.
10650         * stdlib/erand48_r.c (__erand48_r): Likewise.
10651         * stdlib/jrand48.c (jrand48): Likewise.
10652         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10653         * stdlib/lcong48.c (lcong48): Likewise.
10654         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10655         * stdlib/nrand48.c (nrand48): Likewise.
10656         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10657         * stdlib/seed48.c (seed48): Likewise.
10658         * stdlib/seed48_r.c (__seed48_r): Likewise.
10659         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10660         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10661         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10663 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10665         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10666         * configure: Regenerated.
10667         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10668         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10669         unconditional.
10670         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10671         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10672         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10673         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10674         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10675         unconditional.
10676         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10678         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10679         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10681         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10682         function definition.
10683         * crypt/crypt_util.c (__encrypt_r): Likewise.
10684         * libio/genops.c (_IO_no_init): Likewise.
10685         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10686         (_IO_old_fopencookie): Likewise.
10687         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10688         * libio/iogetline.c (_IO_getline): Likewise.
10689         (_IO_getline_info): Likewise.
10690         * libio/iogetwline.c (_IO_getwline): Likewise.
10691         (_IO_getwline_info): Likewise.
10692         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10693         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10694         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10695         (find_entry): Likewise.
10696         (iterate_table): Likewise.
10697         (lookup): Likewise.
10698         * login/forkpty.c (forkpty): Likewise.
10699         * misc/hsearch_r.c (__hsearch_r): Likewise.
10700         * misc/select.c (__select): Likewise.
10701         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10702         Likewise.
10703         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10704         Likewise.
10705         * nptl/old_pthread_cond_timedwait.c
10706         (__pthread_cond_timedwait_2_0): Likewise.
10707         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10708         * nptl/pthread_barrierattr_getpshared.c
10709         (pthread_barrierattr_getpshared): Likewise.
10710         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10711         Likewise.
10712         * nptl/pthread_mutex_setprioceiling.c
10713         (pthread_mutex_setprioceiling): Likewise.
10714         * nptl/pthread_mutexattr_getprioceiling.c
10715         (pthread_mutexattr_getprioceiling): Likewise.
10716         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10717         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10718         Likewise.
10719         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10720         Likewise.
10721         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10722         Likewise.
10723         * socket/recvfrom.c (__recvfrom): Likewise.
10724         * socket/sendto.c (__sendto): Likewise.
10725         * socket/setsockopt.c (__setsockopt): Likewise.
10726         * stdio-common/_itoa.c (_itoa): Likewise.
10727         * stdio-common/_itowa.c (_itowa): Likewise.
10728         * stdio-common/reg-printf.c (__register_printf_specifier):
10729         Likewise.
10730         (__register_printf_function): Likewise.
10731         * stdio-common/tempname.c (__path_search): Likewise.
10732         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10733         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10734         * stdlib/random_r.c (__initstate_r): Likewise.
10735         * stdlib/setenv.c (__add_to_environ): Likewise.
10736         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10737         * streams/getpmsg.c (getpmsg): Likewise.
10738         * streams/putmsg.c (putmsg): Likewise.
10739         * streams/putpmsg.c (putpmsg): Likewise.
10740         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10741         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10742         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10743         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10744         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10745         * sunrpc/svc_udp.c (cache_get): Likewise.
10746         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10747         * sysdeps/mach/hurd/getcwd.c
10748         (__canonicalize_directory_name_internal): Likewise.
10749         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10750         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10751         * sysdeps/mach/hurd/select.c (__select): Likewise.
10752         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10753         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10754         * sysdeps/sparc/nptl/pthread_barrier_init.c
10755         (__pthread_barrier_init): Likewise.
10756         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10757         (__pthread_cond_timedwait): Likewise.
10758         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10759         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10760         Likewise.
10761         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10762         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10763         Likewise.
10764         * sysvipc/semtimedop.c (semtimedop): Likewise.
10765         * time/setitimer.c (__setitimer): Likewise.
10766         * time/strftime_l.c (emacs_strftime): Likewise.
10768 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10770         * config.make.in (have-ssp): Delete.
10771         (stack-protector): New variable.
10772         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
10773         cache test for -fstack-protector-strong.  Export stack_protector to
10774         the best ssp flag.
10775         * configure: Regenerated.
10776         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10777         * nscd/Makefile (CFLAGS-nscd): Likewise.
10778         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10780 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
10782         [BZ #19122]
10783         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10784         attribute_hidden.
10786 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10788         [BZ #18743]
10789         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10790         code to...
10791         (ELIDE_LOCK): ...here.
10792         (__get_new_count): New function with part of the code from
10793         __elide_lock that updates the value of adapt_count after a
10794         transaction abort.
10795         (__elided_trylock): Moved this code to...
10796         (ELIDE_TRYLOCK): ...here.
10798 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10800         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10801         * configure: Regenerate.
10802         * INSTALL: Regenerate.
10803         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10804         and tweak grammar.
10806 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
10808         * login/programs/pt_chown.c: Include signal.h
10809         (main): Clear any signal mask from the parent process.
10811 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10813         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10814         * configure: Regenerated.
10815         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10816         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10817         $(gnu89-inline-CFLAGS).
10819         * configure.ac (libc_cv_asm_weak_directive): Remove configure
10820         test.
10821         (libc_cv_asm_weakext_directive): Likewise.
10822         * configure: Regenerated.
10823         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10824         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10825         * include/libc-symbols.h
10826         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10827         #error.
10828         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10829         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10831         * sysdeps/arm/backtrace.c (__backtrace): Convert to
10832         prototype-style function definition.
10833         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10834         * sysdeps/i386/ffs.c (__ffs): Likewise.
10835         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10836         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10837         Likewise.
10838         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10839         Likewise.
10840         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10841         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10842         Likewise.
10843         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10844         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10845         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10846         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10847         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10848         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10849         * sysdeps/mach/hurd/access.c (__access): Likewise.
10850         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10851         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10852         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10853         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10854         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10855         (cthread_getspecific): Likewise.
10856         (cthread_setspecific): Likewise.
10857         (__libc_getspecific): Likewise.
10858         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10859         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10860         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10861         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10862         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10863         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10864         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10865         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10866         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10867         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10868         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10869         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10870         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10871         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10872         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10873         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10874         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10875         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10876         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10877         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10878         * sysdeps/mach/hurd/link.c (__link): Likewise.
10879         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10880         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10881         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10882         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10883         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10884         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10885         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10886         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10887         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10888         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10889         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10890         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10891         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10892         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10893         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10894         * sysdeps/mach/hurd/send.c (__send): Likewise.
10895         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10896         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10897         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10898         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10899         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10900         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10901         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10902         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10903         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10904         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10905         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10906         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10907         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10908         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10909         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10910         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10911         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10912         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10913         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10914         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10915         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10916         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10917         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10918         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10919         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10920         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10921         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10922         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10923         * sysdeps/posix/alarm.c (alarm): Likewise.
10924         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10925         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10926         * sysdeps/posix/dup.c (__dup): Likewise.
10927         * sysdeps/posix/dup2.c (__dup2): Likewise.
10928         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10929         (main): Likewise.
10930         * sysdeps/posix/flock.c (__flock): Likewise.
10931         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10932         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10933         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10934         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10935         * sysdeps/posix/isatty.c (__isatty): Likewise.
10936         * sysdeps/posix/killpg.c (killpg): Likewise.
10937         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10938         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10939         * sysdeps/posix/raise.c (raise): Likewise.
10940         * sysdeps/posix/remove.c (remove): Likewise.
10941         * sysdeps/posix/rename.c (rename): Likewise.
10942         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10943         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10944         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10945         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10946         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10947         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10948         * sysdeps/posix/sigset.c (sigset): Likewise.
10949         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10950         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10951         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10952         * sysdeps/posix/time.c (time): Likewise.
10953         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10954         (ttyname): Likewise.
10955         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10956         * sysdeps/posix/utime.c (utime): Likewise.
10957         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10958         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10959         Likewise.
10960         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10961         (pthread_spin_trylock): Likewise.
10962         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10963         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10964         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10965         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10966         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10967         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10968         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10969         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10970         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10971         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10972         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10973         * sysdeps/s390/ffs.c (__ffs): Likewise.
10974         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10975         Likewise.
10976         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10977         Likewise.
10978         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10979         Likewise.
10980         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10981         (pthread_barrier_destroy): Likewise.
10982         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10983         (__pthread_barrier_wait): Likewise.
10984         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10985         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10986         (__pthread_barrier_wait): Likewise.
10987         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10988         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10989         (memcmp_not_common_alignment): Likewise.
10990         (MEMCMP): Likewise.
10991         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10992         (_wordcopy_fwd_dest_aligned): Likewise.
10993         (_wordcopy_bwd_aligned): Likewise.
10994         (_wordcopy_bwd_dest_aligned): Likewise.
10995         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10996         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10997         * sysdeps/unix/bsd/stty.c (stty): Likewise.
10998         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10999         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11000         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11001         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11002         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11003         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11004         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11005         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11006         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11007         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11008         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11009         * sysdeps/unix/stime.c (stime): Likewise.
11010         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11011         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11012         Likewise.  Use internal_function.
11013         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11014         Convert to prototype-style function definition.
11015         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11016         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11017         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11018         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11019         Likewise.  Use internal_function.
11020         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11021         prototype-style function definition
11022         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11023         Likewise.
11024         (__getlogin_r): Likewise.
11025         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11026         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11027         (__pthread_cond_broadcast): Likewise.
11028         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11029         (__pthread_cond_destroy): Likewise.
11030         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11031         (__pthread_cond_init): Likewise.
11032         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11033         (__pthread_cond_signal): Likewise.
11034         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11035         (__pthread_cond_wait): Likewise.
11036         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11037         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11038         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11039         Likewise.
11040         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11041         Likewise.
11042         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11043         Likewise.
11044         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11045         Likewise.
11046         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11048         (__ftruncate64): Likewise.
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11050         (truncate64): Likewise.
11051         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11052         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11053         (pthread_getcpuclockid): Likewise.
11054         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11055         Likewise.
11056         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11057         Likewise.
11058         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11059         Likewise.
11060         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11061         Likewise.
11062         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11063         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11064         (__libc_sigaction): Likewise.
11065         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11066         Likewise.
11067         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11068         (__sigprocmask): Likewise.
11069         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11070         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11071         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11072         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11073         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11074         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11075         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11076         Likewise.
11077         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11078         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11079         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11080         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11081         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11082         Likewise.
11083         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11084         (__sigprocmask): Likewise.
11085         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11086         (cfgetispeed): Likewise.
11087         (cfsetospeed): Likewise.
11088         (cfsetispeed): Likewise.
11089         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11090         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11091         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11092         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11093         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11094         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11095         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11096         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11097         Likewise.
11098         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11099         Likewise.
11100         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11101         Likewise.
11102         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11103         Likewise.
11104         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11106 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11108         sunrpc: Rewrite with explicit TLS access using __thread.
11109         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11110         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11111         directly.
11112         (__rpc_thread_variables): Access thread_rpc_vars directly.
11113         Eliminate redundant assignment of the tvp variable.
11115 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11117         malloc: Rewrite with explicit TLS access using __thread.
11118         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11119         (tsd_setspecific, tsd_getspecific): Remove.
11120         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11121         (tsd_setspecific, tsd_getspecific): Likewise.
11122         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11123         (tsd_setspecific, tsd_getspecific): Likewise.
11124         * malloc/arena.c (thread_arena): New TLS variable.
11125         (arena_key): Remove variable.
11126         (arena_get): Use thread_arena.
11127         (arena_lookup): Remove macro.
11128         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11129         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11130         (_int_new_arena, get_free_list, reused_arena)
11131         (arena_thread_freeres): Use thread_arena.
11132         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11133         tsd_getspecific, tsd_setspecific from safety annotations.
11134         (Allocating Cleared Space): Remove arena_lookup from safety
11135         annotations.
11137 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11139         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11140         struct scratch_buffer instead of extend_alloca.
11142 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11144         * sysdeps/unix/sysv/linux/kernel-features.h
11145         (__ASSUME_SOCK_CLOEXEC): Remove.
11146         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11147         (__have_paccept): Remove unused macro.
11148         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11149         * misc/syslog.c (openlog_internal): Remove fallback code for
11150         !__ASSUME_SOCK_CLOEXEC.
11151         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11152         missing SOCK_CLOEXEC.
11153         * nscd/connections.c (have_sock_cloexec): Remove definition.
11154         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11155         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11156         !__ASSUME_SOCK_CLOEXEC.
11157         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11158         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11159         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11160         definition.
11161         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11162         code for !__ASSUME_SOCK_CLOEXEC.
11164 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11166         [BZ #18982]
11167         * manual/stdio.texi (Variable Arguments Output): Add portability
11168         note, explaining that vfprintf clobbers the va_list pointer.
11170 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11172         * math/libm-test.inc (fabs_test_data): Add more tests.
11173         (fdim_test_data): Likewise.
11174         (fma_test_data): Likewise.
11175         (fmax_test_data): Likewise.
11176         (fmin_test_data): Likewise.
11177         (fmod_test_data): Likewise.
11179 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11181         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11182         data.
11184 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11186         * math/libm-test.inc (ceil_test_data): Add more tests and more
11187         expectations for "inexact".
11188         (floor_test_data): Add more tests.
11189         (round_test_data): Likewise.
11190         (trunc_test_data): Likewise.
11192         * crypt/cert.c (good_bye): Convert to prototype-style function
11193         definition.
11194         (get8): Likewise.
11195         (put8): Likewise.
11196         * crypt/crypt-entry.c (crypt): Likewise.
11197         (__fcrypt): Likewise.
11198         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11199         (_ufc_set_bits): Likewise.
11200         (_ufc_clearmem): Likewise.
11201         (__init_des_r): Likewise.
11202         (shuffle_sb): Likewise.
11203         (shuffle_sb): Likewise.
11204         (_ufc_setup_salt_r): Likewise.
11205         (_ufc_mk_keytab_r): Likewise.
11206         (_ufc_dofinalperm_r): Likewise.
11207         (encrypt): Likewise.
11208         (__setkey_r): Likewise.
11209         (setkey): Likewise.
11210         * crypt/md5.c (md5_init_ctx): Likewise.
11211         (md5_read_ctx): Likewise.
11212         (md5_finish_ctx): Likewise.
11213         (md5_stream): Likewise.
11214         (md5_buffer): Likewise.
11215         (md5_process_bytes): Likewise.
11216         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11217         (__sha256_finish_ctx): Likewise.
11218         (__sha256_process_bytes): Likewise.
11219         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11220         (__sha512_finish_ctx): Likewise.
11221         (__sha512_process_bytes): Likewise.
11222         * ctype/isctype.c (__isctype): Likewise.
11223         * debug/backtrace.c (__backtrace): Likewise.
11224         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11225         * debug/fgets_chk.c (__fgets_chk): Likewise.
11226         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11227         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11228         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11229         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11230         * debug/memset_chk.c (__memset_chk): Likewise.
11231         * debug/strcat_chk.c (__strcat_chk): Likewise.
11232         * debug/strncat_chk.c (__strncat_chk): Likewise.
11233         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11234         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11235         * dirent/dirfd.c (dirfd): Likewise.
11236         * dirent/getdents.c (__getdirentries): Likewise.
11237         * dirent/getdents64.c (getdirentries64): Likewise.
11238         * dirent/rewinddir.c (__rewinddir): Likewise.
11239         * dirent/seekdir.c (seekdir): Likewise.
11240         * dirent/telldir.c (telldir): Likewise.
11241         * elf/sln.c (makesymlinks): Likewise.
11242         (makesymlink): Likewise.
11243         * gmon/gmon.c (__moncontrol): Likewise.
11244         (__monstartup): Likewise.
11245         (write_hist): Likewise.
11246         (write_call_graph): Likewise.
11247         (write_bb_counts): Likewise.
11248         * grp/setgroups.c (setgroups): Likewise.
11249         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11250         * inet/inet_net.c (inet_network): Likewise.
11251         * inet/inet_netof.c (inet_netof): Likewise.
11252         * inet/rcmd.c (rresvport_af): Likewise.
11253         (rresvport): Likewise.
11254         * io/access.c (__access): Likewise.
11255         * io/chdir.c (__chdir): Likewise.
11256         * io/chmod.c (__chmod): Likewise.
11257         * io/chown.c (__chown): Likewise.
11258         * io/close.c (__close): Likewise.
11259         * io/creat.c (creat): Likewise.
11260         * io/creat64.c (creat64): Likewise.
11261         * io/dup.c (__dup): Likewise.
11262         * io/dup2.c (__dup2): Likewise.
11263         * io/dup3.c (__dup3): Likewise.
11264         * io/euidaccess.c (__euidaccess): Likewise.
11265         * io/faccessat.c (faccessat): Likewise.
11266         * io/fchmod.c (__fchmod): Likewise.
11267         * io/fchmodat.c (fchmodat): Likewise.
11268         * io/fchown.c (__fchown): Likewise.
11269         * io/fchownat.c (fchownat): Likewise.
11270         * io/fcntl.c (__fcntl): Likewise.
11271         * io/flock.c (__flock): Likewise.
11272         * io/fts.c (fts_load): Likewise.
11273         (fts_close): Likewise.
11274         (fts_read): Likewise.
11275         (fts_set): Likewise.
11276         (fts_children): Likewise.
11277         (fts_build): Likewise.
11278         (fts_stat): Likewise.
11279         (fts_sort): Likewise.
11280         (fts_alloc): Likewise.
11281         (fts_lfree): Likewise.
11282         (fts_palloc): Likewise.
11283         (fts_padjust): Likewise.
11284         (fts_maxarglen): Likewise.
11285         (fts_safe_changedir): Likewise.
11286         * io/getwd.c (getwd): Likewise.
11287         * io/isatty.c (__isatty): Likewise.
11288         * io/lchown.c (__lchown): Likewise.
11289         * io/link.c (__link): Likewise.
11290         * io/linkat.c (linkat): Likewise.
11291         * io/lseek.c (__libc_lseek): Likewise.
11292         * io/mkdir.c (__mkdir): Likewise.
11293         * io/mkdirat.c (mkdirat): Likewise.
11294         * io/mkfifo.c (mkfifo): Likewise.
11295         * io/mkfifoat.c (mkfifoat): Likewise.
11296         * io/open.c (__libc_open): Likewise.
11297         * io/open64.c (__libc_open64): Likewise.
11298         * io/readlink.c (__readlink): Likewise.
11299         * io/readlinkat.c (readlinkat): Likewise.
11300         * io/rmdir.c (__rmdir): Likewise.
11301         * io/symlink.c (__symlink): Likewise.
11302         * io/symlinkat.c (symlinkat): Likewise.
11303         * io/ttyname.c (ttyname): Likewise.
11304         * io/ttyname_r.c (__ttyname_r): Likewise.
11305         * io/umask.c (__umask): Likewise.
11306         * io/unlink.c (__unlink): Likewise.
11307         * io/unlinkat.c (unlinkat): Likewise.
11308         * io/utime.c (utime): Likewise.
11309         * libio/clearerr.c (clearerr): Likewise.
11310         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11311         * libio/feof.c (_IO_feof): Likewise.
11312         * libio/feof_u.c (feof_unlocked): Likewise.
11313         * libio/ferror.c (_IO_ferror): Likewise.
11314         * libio/ferror_u.c (ferror_unlocked): Likewise.
11315         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11316         * libio/fileno.c (__fileno): Likewise.
11317         * libio/fputc.c (fputc): Likewise.
11318         * libio/fputc_u.c (fputc_unlocked): Likewise.
11319         * libio/fputwc.c (fputwc): Likewise.
11320         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11321         * libio/freopen.c (freopen): Likewise.
11322         * libio/freopen64.c (freopen64): Likewise.
11323         * libio/fseek.c (fseek): Likewise.
11324         * libio/fseeko.c (fseeko): Likewise.
11325         * libio/fseeko64.c (fseeko64): Likewise.
11326         * libio/ftello.c (__ftello): Likewise.
11327         * libio/ftello64.c (ftello64): Likewise.
11328         * libio/fwide.c (fwide): Likewise.
11329         * libio/genops.c (_IO_un_link): Likewise.
11330         (_IO_link_in): Likewise.
11331         (_IO_least_marker): Likewise.
11332         (_IO_switch_to_main_get_area): Likewise.
11333         (_IO_switch_to_backup_area): Likewise.
11334         (_IO_switch_to_get_mode): Likewise.
11335         (_IO_free_backup_area): Likewise.
11336         (_IO_switch_to_put_mode): Likewise.
11337         (__overflow): Likewise.
11338         (__underflow): Likewise.
11339         (__uflow): Likewise.
11340         (_IO_setb): Likewise.
11341         (_IO_doallocbuf): Likewise.
11342         (_IO_default_underflow): Likewise.
11343         (_IO_default_uflow): Likewise.
11344         (_IO_default_xsputn): Likewise.
11345         (_IO_sgetn): Likewise.
11346         (_IO_default_xsgetn): Likewise.
11347         (_IO_sync): Likewise.
11348         (_IO_default_setbuf): Likewise.
11349         (_IO_default_seekpos): Likewise.
11350         (_IO_default_doallocate): Likewise.
11351         (_IO_init): Likewise.
11352         (_IO_old_init): Likewise.
11353         (_IO_default_sync): Likewise.
11354         (_IO_default_finish): Likewise.
11355         (_IO_default_seekoff): Likewise.
11356         (_IO_sputbackc): Likewise.
11357         (_IO_sungetc): Likewise.
11358         (_IO_set_column): Likewise.
11359         (_IO_set_column): Likewise.
11360         (_IO_adjust_column): Likewise.
11361         (_IO_get_column): Likewise.
11362         (_IO_init_marker): Likewise.
11363         (_IO_remove_marker): Likewise.
11364         (_IO_marker_difference): Likewise.
11365         (_IO_marker_delta): Likewise.
11366         (_IO_seekmark): Likewise.
11367         (_IO_unsave_markers): Likewise.
11368         (_IO_nobackup_pbackfail): Likewise.
11369         (_IO_default_pbackfail): Likewise.
11370         (_IO_default_seek): Likewise.
11371         (_IO_default_stat): Likewise.
11372         (_IO_default_read): Likewise.
11373         (_IO_default_write): Likewise.
11374         (_IO_default_showmanyc): Likewise.
11375         (_IO_default_imbue): Likewise.
11376         (_IO_iter_next): Likewise.
11377         (_IO_iter_file): Likewise.
11378         * libio/getc.c (_IO_getc): Likewise.
11379         * libio/getwc.c (_IO_getwc): Likewise.
11380         * libio/iofclose.c (_IO_new_fclose): Likewise.
11381         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11382         * libio/iofflush.c (_IO_fflush): Likewise.
11383         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11384         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11385         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11386         * libio/iofgets.c (_IO_fgets): Likewise.
11387         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11388         * libio/iofgetws.c (fgetws): Likewise.
11389         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11390         * libio/iofopen64.c (_IO_fopen64): Likewise.
11391         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11392         (_IO_cookie_write): Likewise.
11393         (_IO_cookie_seek): Likewise.
11394         (_IO_cookie_close): Likewise.
11395         (_IO_cookie_seekoff): Likewise.
11396         (_IO_old_cookie_seek): Likewise.
11397         * libio/iofputs.c (_IO_fputs): Likewise.
11398         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11399         * libio/iofputws.c (fputws): Likewise.
11400         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11401         * libio/iofread.c (_IO_fread): Likewise.
11402         * libio/iofread_u.c (__fread_unlocked): Likewise.
11403         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11404         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11405         * libio/ioftell.c (_IO_ftell): Likewise.
11406         * libio/iofwrite.c (_IO_fwrite): Likewise.
11407         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11408         * libio/iogets.c (_IO_gets): Likewise.
11409         * libio/iopadn.c (_IO_padn): Likewise.
11410         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11411         (_IO_new_popen): Likewise.
11412         (_IO_new_proc_close): Likewise.
11413         * libio/ioputs.c (_IO_puts): Likewise.
11414         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11415         (_IO_seekoff): Likewise.
11416         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11417         (_IO_seekpos): Likewise.
11418         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11419         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11420         * libio/ioungetc.c (_IO_ungetc): Likewise.
11421         * libio/ioungetwc.c (ungetwc): Likewise.
11422         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11423         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11424         * libio/iowpadn.c (_IO_wpadn): Likewise.
11425         * libio/libc_fatal.c (__libc_fatal): Likewise.
11426         * libio/memstream.c (__open_memstream): Likewise.
11427         (_IO_mem_sync): Likewise.
11428         (_IO_mem_finish): Likewise.
11429         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11430         (_IO_old_file_close_it): Likewise.
11431         (_IO_old_file_finish): Likewise.
11432         (_IO_old_file_fopen): Likewise.
11433         (_IO_old_file_attach): Likewise.
11434         (_IO_old_file_setbuf): Likewise.
11435         (_IO_old_do_write): Likewise.
11436         (old_do_write): Likewise.
11437         (_IO_old_file_underflow): Likewise.
11438         (_IO_old_file_overflow): Likewise.
11439         (_IO_old_file_sync): Likewise.
11440         (_IO_old_file_seekoff): Likewise.
11441         (_IO_old_file_write): Likewise.
11442         (_IO_old_file_xsputn): Likewise.
11443         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11444         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11445         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11446         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11447         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11448         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11449         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11450         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11451         (_IO_old_popen): Likewise.
11452         (_IO_old_proc_close): Likewise.
11453         * libio/oldpclose.c (__old_pclose): Likewise.
11454         * libio/pclose.c (__new_pclose): Likewise.
11455         * libio/peekc.c (_IO_peekc_locked): Likewise.
11456         * libio/putc.c (_IO_putc): Likewise.
11457         * libio/putc_u.c (putc_unlocked): Likewise.
11458         * libio/putchar.c (putchar): Likewise.
11459         * libio/putchar_u.c (putchar_unlocked): Likewise.
11460         * libio/putwc.c (putwc): Likewise.
11461         * libio/putwc_u.c (putwc_unlocked): Likewise.
11462         * libio/putwchar.c (putwchar): Likewise.
11463         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11464         * libio/rewind.c (rewind): Likewise.
11465         * libio/setbuf.c (setbuf): Likewise.
11466         * libio/setlinebuf.c (setlinebuf): Likewise.
11467         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11468         * libio/vscanf.c (_IO_vscanf): Likewise.
11469         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11470         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11471         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11472         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11473         (_IO_switch_to_main_wget_area): Likewise.
11474         (_IO_switch_to_wbackup_area): Likewise.
11475         (_IO_wsetb): Likewise.
11476         (_IO_wdefault_pbackfail): Likewise.
11477         (_IO_wdefault_finish): Likewise.
11478         (_IO_wdefault_uflow): Likewise.
11479         (__woverflow): Likewise.
11480         (__wuflow): Likewise.
11481         (__wunderflow): Likewise.
11482         (_IO_wdefault_xsputn): Likewise.
11483         (_IO_wdefault_xsgetn): Likewise.
11484         (_IO_wdoallocbuf): Likewise.
11485         (_IO_wdefault_doallocate): Likewise.
11486         (_IO_switch_to_wget_mode): Likewise.
11487         (_IO_free_wbackup_area): Likewise.
11488         (_IO_switch_to_wput_mode): Likewise.
11489         (_IO_sputbackwc): Likewise.
11490         (_IO_sungetwc): Likewise.
11491         (_IO_adjust_wcolumn): Likewise.
11492         (_IO_init_wmarker): Likewise.
11493         (_IO_wmarker_delta): Likewise.
11494         (_IO_seekwmark): Likewise.
11495         (_IO_unsave_wmarkers): Likewise.
11496         * libio/wmemstream.c (open_wmemstream): Likewise.
11497         (_IO_wmem_sync): Likewise.
11498         (_IO_wmem_finish): Likewise.
11499         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11500         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11501         * locale/programs/simple-hash.c (init_hash): Likewise.
11502         (delete_hash): Likewise.
11503         (insert_entry): Likewise.
11504         (set_entry): Likewise.
11505         (next_prime): Likewise.
11506         (is_prime): Likewise.
11507         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11508         (xmalloc): Likewise.
11509         (xrealloc): Likewise.
11510         * locale/programs/xstrdup.c (xstrdup): Likewise.
11511         * localedata/collate-test.c (xstrcoll): Likewise.
11512         * localedata/xfrm-test.c (xstrcmp): Likewise.
11513         * login/getlogin_r.c (__getlogin_r): Likewise.
11514         * login/getpt.c (__posix_openpt): Likewise.
11515         * login/login_tty.c (login_tty): Likewise.
11516         * login/setlogin.c (setlogin): Likewise.
11517         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11518         (mach_msg_destroy_port): Likewise.
11519         (mach_msg_destroy_memory): Likewise.
11520         * malloc/mcheck.c (flood): Likewise.
11521         * misc/acct.c (acct): Likewise.
11522         * misc/brk.c (__brk): Likewise.
11523         * misc/chflags.c (chflags): Likewise.
11524         * misc/chroot.c (chroot): Likewise.
11525         * misc/fchflags.c (fchflags): Likewise.
11526         * misc/fstab.c (getfsspec): Likewise.
11527         (getfsfile): Likewise.
11528         * misc/fsync.c (fsync): Likewise.
11529         * misc/ftruncate.c (__ftruncate): Likewise.
11530         * misc/ftruncate64.c (__ftruncate64): Likewise.
11531         * misc/getdomain.c (getdomainname): Likewise.
11532         (getdomainname): Likewise.
11533         * misc/gethostname.c (__gethostname): Likewise.
11534         * misc/getpass.c (getpass): Likewise.
11535         * misc/getttyent.c (skip): Likewise.
11536         (value): Likewise.
11537         * misc/gtty.c (gtty): Likewise.
11538         * misc/hsearch.c (hsearch): Likewise.
11539         (hcreate): Likewise.
11540         * misc/hsearch_r.c (__hcreate_r): Likewise.
11541         (__hdestroy_r): Likewise.
11542         * misc/ioctl.c (__ioctl): Likewise.
11543         * misc/mkdtemp.c (mkdtemp): Likewise.
11544         * misc/mkostemp.c (mkostemp): Likewise.
11545         * misc/mkostemp64.c (mkostemp64): Likewise.
11546         * misc/mkostemps.c (mkostemps): Likewise.
11547         * misc/mkostemps64.c (mkostemps64): Likewise.
11548         * misc/mkstemp.c (mkstemp): Likewise.
11549         * misc/mkstemp64.c (mkstemp64): Likewise.
11550         * misc/mkstemps.c (mkstemps): Likewise.
11551         * misc/mkstemps64.c (mkstemps64): Likewise.
11552         * misc/mktemp.c (__mktemp): Likewise.
11553         * misc/preadv.c (preadv): Likewise.
11554         * misc/preadv64.c (preadv64): Likewise.
11555         * misc/pwritev.c (pwritev): Likewise.
11556         * misc/pwritev64.c (pwritev64): Likewise.
11557         * misc/readv.c (__readv): Likewise.
11558         * misc/revoke.c (revoke): Likewise.
11559         * misc/setdomain.c (setdomainname): Likewise.
11560         * misc/setegid.c (setegid): Likewise.
11561         * misc/seteuid.c (seteuid): Likewise.
11562         * misc/sethostid.c (sethostid): Likewise.
11563         * misc/sethostname.c (sethostname): Likewise.
11564         * misc/setregid.c (__setregid): Likewise.
11565         * misc/setreuid.c (__setreuid): Likewise.
11566         * misc/sstk.c (sstk): Likewise.
11567         * misc/stty.c (stty): Likewise.
11568         * misc/syscall.c (syscall): Likewise.
11569         * misc/syslog.c (setlogmask): Likewise.
11570         * misc/truncate.c (__truncate): Likewise.
11571         * misc/truncate64.c (truncate64): Likewise.
11572         * misc/ualarm.c (ualarm): Likewise.
11573         * misc/usleep.c (usleep): Likewise.
11574         * misc/ustat.c (ustat): Likewise.
11575         * misc/writev.c (__writev): Likewise.
11576         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11577         * nptl/old_pthread_cond_broadcast.c
11578         (__pthread_cond_broadcast_2_0): Likewise.
11579         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11580         Likewise.
11581         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11582         Likewise.
11583         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11584         Likewise.
11585         * nptl/pt-raise.c (raise): Likewise.
11586         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11587         Likewise.
11588         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11589         * nptl/pthread_barrierattr_destroy.c
11590         (pthread_barrierattr_destroy): Likewise.
11591         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11592         Likewise.
11593         * nptl/pthread_barrierattr_setpshared.c
11594         (pthread_barrierattr_setpshared): Likewise.
11595         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11596         Likewise.
11597         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11598         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11599         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11600         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11601         Likewise.
11602         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11603         Likewise.
11604         * nptl/pthread_condattr_getpshared.c
11605         (pthread_condattr_getpshared): Likewise.
11606         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11607         Likewise.
11608         * nptl/pthread_condattr_setpshared.c
11609         (pthread_condattr_setpshared): Likewise.
11610         * nptl/pthread_detach.c (pthread_detach): Likewise.
11611         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11612         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11613         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11614         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11615         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11616         Likewise.
11617         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11618         Likewise.
11619         * nptl/pthread_mutex_getprioceiling.c
11620         (pthread_mutex_getprioceiling): Likewise.
11621         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11622         Likewise.
11623         * nptl/pthread_mutexattr_getprotocol.c
11624         (pthread_mutexattr_getprotocol): Likewise.
11625         * nptl/pthread_mutexattr_getpshared.c
11626         (pthread_mutexattr_getpshared): Likewise.
11627         * nptl/pthread_mutexattr_getrobust.c
11628         (pthread_mutexattr_getrobust): Likewise.
11629         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11630         Likewise.
11631         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11632         Likewise.
11633         * nptl/pthread_mutexattr_setprioceiling.c
11634         (pthread_mutexattr_setprioceiling): Likewise.
11635         * nptl/pthread_mutexattr_setprotocol.c
11636         (pthread_mutexattr_setprotocol): Likewise.
11637         * nptl/pthread_mutexattr_setpshared.c
11638         (pthread_mutexattr_setpshared): Likewise.
11639         * nptl/pthread_mutexattr_setrobust.c
11640         (pthread_mutexattr_setrobust): Likewise.
11641         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11642         Likewise.
11643         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11644         Likewise.
11645         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11646         Likewise.
11647         * nptl/pthread_rwlockattr_getkind_np.c
11648         (pthread_rwlockattr_getkind_np): Likewise.
11649         * nptl/pthread_rwlockattr_getpshared.c
11650         (pthread_rwlockattr_getpshared): Likewise.
11651         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11652         Likewise.
11653         * nptl/pthread_rwlockattr_setkind_np.c
11654         (pthread_rwlockattr_setkind_np): Likewise.
11655         * nptl/pthread_rwlockattr_setpshared.c
11656         (pthread_rwlockattr_setpshared): Likewise.
11657         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11658         Likewise.
11659         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11660         Likewise.
11661         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11662         Likewise.
11663         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11664         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11665         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11666         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11667         * nptl/sem_close.c (sem_close): Likewise.
11668         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11669         * nptl/sem_init.c (__old_sem_init): Likewise.
11670         * nptl/sigaction.c (__sigaction): Likewise.
11671         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11672         * posix/_exit.c (_exit): Likewise.
11673         * posix/alarm.c (alarm): Likewise.
11674         * posix/confstr.c (confstr): Likewise.
11675         * posix/fpathconf.c (__fpathconf): Likewise.
11676         * posix/getgroups.c (__getgroups): Likewise.
11677         * posix/getpgid.c (__getpgid): Likewise.
11678         * posix/group_member.c (__group_member): Likewise.
11679         * posix/pathconf.c (__pathconf): Likewise.
11680         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11681         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11682         * posix/setgid.c (__setgid): Likewise.
11683         * posix/setpgid.c (__setpgid): Likewise.
11684         * posix/setuid.c (__setuid): Likewise.
11685         * posix/sleep.c (__sleep): Likewise.
11686         * posix/sysconf.c (__sysconf): Likewise.
11687         * posix/times.c (__times): Likewise.
11688         * posix/uname.c (__uname): Likewise.
11689         * posix/waitid.c (__waitid): Likewise.
11690         * pwd/getpw.c (__getpw): Likewise.
11691         * resolv/base64.c (b64_pton): Likewise.
11692         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11693         * resolv/gethnamaddr.c (Dprintf): Likewise.
11694         (gethostbyname): Likewise.
11695         (gethostbyname2): Likewise.
11696         (gethostbyaddr): Likewise.
11697         (_sethtent): Likewise.
11698         (_gethtbyname): Likewise.
11699         (_gethtbyname2): Likewise.
11700         (_gethtbyaddr): Likewise.
11701         (map_v4v6_address): Likewise.
11702         (map_v4v6_hostent): Likewise.
11703         (addrsort): Likewise.
11704         (ht_sethostent): Likewise.
11705         (ht_gethostbyname): Likewise.
11706         (ht_gethostbyaddr): Likewise.
11707         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11708         (inet_net_ntop_ipv4): Likewise.
11709         * resolv/inet_neta.c (inet_neta): Likewise.
11710         * resolv/inet_ntop.c (inet_ntop): Likewise.
11711         (inet_ntop4): Likewise.
11712         (inet_ntop6): Likewise.
11713         * resolv/inet_pton.c (__inet_pton): Likewise.
11714         (inet_pton4): Likewise.
11715         (inet_pton6): Likewise.
11716         * resolv/res_debug.c (loc_aton): Likewise.
11717         (loc_ntoa): Likewise.
11718         * resource/getpriority.c (__getpriority): Likewise.
11719         * resource/getrusage.c (__getrusage): Likewise.
11720         * resource/nice.c (nice): Likewise.
11721         * resource/setpriority.c (__setpriority): Likewise.
11722         * resource/setrlimit64.c (setrlimit64): Likewise.
11723         * resource/vlimit.c (vlimit): Likewise.
11724         * resource/vtimes.c (vtimes): Likewise.
11725         * rt/aio_error.c (aio_error): Likewise.
11726         * rt/aio_return.c (aio_return): Likewise.
11727         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11728         * signal/kill.c (__kill): Likewise.
11729         * signal/killpg.c (killpg): Likewise.
11730         * signal/raise.c (raise): Likewise.
11731         * signal/sigaction.c (__sigaction): Likewise.
11732         * signal/sigaddset.c (sigaddset): Likewise.
11733         * signal/sigaltstack.c (sigaltstack): Likewise.
11734         * signal/sigandset.c (sigandset): Likewise.
11735         * signal/sigblock.c (__sigblock): Likewise.
11736         * signal/sigdelset.c (sigdelset): Likewise.
11737         * signal/sigempty.c (sigemptyset): Likewise.
11738         * signal/sigfillset.c (sigfillset): Likewise.
11739         * signal/sighold.c (sighold): Likewise.
11740         * signal/sigignore.c (sigignore): Likewise.
11741         * signal/sigintr.c (siginterrupt): Likewise.
11742         * signal/sigisempty.c (sigisemptyset): Likewise.
11743         * signal/sigismem.c (sigismember): Likewise.
11744         * signal/signal.c (signal): Likewise.
11745         * signal/sigorset.c (sigorset): Likewise.
11746         * signal/sigpause.c (__sigpause): Likewise.
11747         * signal/sigpending.c (sigpending): Likewise.
11748         * signal/sigprocmask.c (__sigprocmask): Likewise.
11749         * signal/sigrelse.c (sigrelse): Likewise.
11750         * signal/sigreturn.c (__sigreturn): Likewise.
11751         * signal/sigset.c (sigset): Likewise.
11752         * signal/sigsetmask.c (__sigsetmask): Likewise.
11753         * signal/sigstack.c (sigstack): Likewise.
11754         * signal/sigsuspend.c (__sigsuspend): Likewise.
11755         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11756         * signal/sysv_signal.c (__sysv_signal): Likewise.
11757         * socket/accept.c (accept): Likewise.
11758         * socket/accept4.c (__libc_accept4): Likewise.
11759         * socket/bind.c (__bind): Likewise.
11760         * socket/connect.c (__connect): Likewise.
11761         * socket/getpeername.c (getpeername): Likewise.
11762         * socket/getsockname.c (__getsockname): Likewise.
11763         * socket/getsockopt.c (getsockopt): Likewise.
11764         * socket/listen.c (__listen): Likewise.
11765         * socket/recv.c (__recv): Likewise.
11766         * socket/recvmsg.c (__recvmsg): Likewise.
11767         * socket/send.c (__send): Likewise.
11768         * socket/sendmsg.c (__sendmsg): Likewise.
11769         * socket/shutdown.c (shutdown): Likewise.
11770         * socket/sockatmark.c (sockatmark): Likewise.
11771         * socket/socket.c (__socket): Likewise.
11772         * stdio-common/ctermid.c (ctermid): Likewise.
11773         * stdio-common/cuserid.c (cuserid): Likewise.
11774         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11775         * stdio-common/remove.c (remove): Likewise.
11776         * stdio-common/rename.c (rename): Likewise.
11777         * stdio-common/renameat.c (renameat): Likewise.
11778         * stdio-common/tempname.c (__gen_tempname): Likewise.
11779         * stdio-common/xbug.c (InitBuffer): Likewise.
11780         (AppendToBuffer): Likewise.
11781         (ReadFile): Likewise.
11782         * stdlib/a64l.c (a64l): Likewise.
11783         * stdlib/drand48_r.c (drand48_r): Likewise.
11784         * stdlib/getcontext.c (getcontext): Likewise.
11785         * stdlib/getenv.c (getenv): Likewise.
11786         * stdlib/l64a.c (l64a): Likewise.
11787         * stdlib/llabs.c (llabs): Likewise.
11788         * stdlib/lldiv.c (lldiv): Likewise.
11789         * stdlib/lrand48_r.c (lrand48_r): Likewise.
11790         * stdlib/mrand48_r.c (mrand48_r): Likewise.
11791         * stdlib/putenv.c (putenv): Likewise.
11792         * stdlib/random.c (__srandom): Likewise.
11793         (__initstate): Likewise.
11794         (__setstate): Likewise.
11795         * stdlib/random_r.c (__srandom_r): Likewise.
11796         (__setstate_r): Likewise.
11797         (__random_r): Likewise.
11798         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11799         * stdlib/setcontext.c (setcontext): Likewise.
11800         * stdlib/setenv.c (setenv): Likewise.
11801         (unsetenv): Likewise.
11802         * stdlib/srand48.c (srand48): Likewise.
11803         * stdlib/srand48_r.c (__srand48_r): Likewise.
11804         * stdlib/swapcontext.c (swapcontext): Likewise.
11805         * stdlib/system.c (__libc_system): Likewise.
11806         * stdlib/tst-strtod.c (expand): Likewise.
11807         * stdlib/tst-strtol.c (expand): Likewise.
11808         * stdlib/tst-strtoll.c (expand): Likewise.
11809         * streams/fattach.c (fattach): Likewise.
11810         * streams/fdetach.c (fdetach): Likewise.
11811         * streams/getmsg.c (getmsg): Likewise.
11812         * streams/isastream.c (isastream): Likewise.
11813         * string/ffs.c (__ffs): Likewise.
11814         * string/ffsll.c (ffsll): Likewise.
11815         * string/memcmp.c (memcmp_common_alignment): Likewise.
11816         (memcmp_not_common_alignment): Likewise.
11817         (MEMCMP): Likewise.
11818         * string/memcpy.c (memcpy): Likewise.
11819         * string/memmove.c (MEMMOVE): Likewise.
11820         * string/memset.c (memset): Likewise.
11821         * string/rawmemchr.c (RAWMEMCHR): Likewise.
11822         * string/strchrnul.c (STRCHRNUL): Likewise.
11823         * string/strerror.c (strerror): Likewise.
11824         * string/strndup.c (__strndup): Likewise.
11825         * string/strverscmp.c (__strverscmp): Likewise.
11826         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11827         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11828         (clnttcp_freeres): Likewise.
11829         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11830         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11831         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11832         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11833         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11834         (xdr_callhdr): Likewise.
11835         * sunrpc/rpcinfo.c (udpping): Likewise.
11836         (tcpping): Likewise.
11837         (pstatus): Likewise.
11838         (pmapdump): Likewise.
11839         (brdcst): Likewise.
11840         (deletereg): Likewise.
11841         (getprognum): Likewise.
11842         (getvers): Likewise.
11843         (get_inet_address): Likewise.
11844         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11845         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11846         (svcudp_stat): Likewise.
11847         (svcudp_recv): Likewise.
11848         (svcudp_reply): Likewise.
11849         (svcudp_getargs): Likewise.
11850         (svcudp_freeargs): Likewise.
11851         (svcudp_destroy): Likewise.
11852         * sunrpc/xdr.c (xdr_bytes): Likewise.
11853         (xdr_netobj): Likewise.
11854         (xdr_string): Likewise.
11855         (xdr_wrapstring): Likewise.
11856         * sunrpc/xdr_float.c (xdr_float): Likewise.
11857         (xdr_double): Likewise.
11858         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11859         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11860         * sysvipc/ftok.c (ftok): Likewise.
11861         * sysvipc/msgctl.c (msgctl): Likewise.
11862         * sysvipc/msgget.c (msgget): Likewise.
11863         * sysvipc/msgrcv.c (msgrcv): Likewise.
11864         * sysvipc/msgsnd.c (msgsnd): Likewise.
11865         * sysvipc/semget.c (semget): Likewise.
11866         * sysvipc/semop.c (semop): Likewise.
11867         * sysvipc/shmat.c (shmat): Likewise.
11868         * sysvipc/shmctl.c (shmctl): Likewise.
11869         * sysvipc/shmdt.c (shmdt): Likewise.
11870         * sysvipc/shmget.c (shmget): Likewise.
11871         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11872         * termios/speed.c (cfgetospeed): Likewise.
11873         (cfgetispeed): Likewise.
11874         (cfsetospeed): Likewise.
11875         (cfsetispeed): Likewise.
11876         * termios/tcflow.c (tcflow): Likewise.
11877         * termios/tcflush.c (tcflush): Likewise.
11878         * termios/tcgetattr.c (__tcgetattr): Likewise.
11879         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11880         * termios/tcgetsid.c (tcgetsid): Likewise.
11881         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11882         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11883         * time/adjtime.c (__adjtime): Likewise.
11884         * time/dysize.c (dysize): Likewise.
11885         * time/ftime.c (ftime): Likewise.
11886         * time/getitimer.c (__getitimer): Likewise.
11887         * time/gettimeofday.c (__gettimeofday): Likewise.
11888         * time/gmtime.c (__gmtime_r): Likewise.
11889         (gmtime): Likewise.
11890         * time/localtime.c (__localtime_r): Likewise.
11891         (localtime): Likewise.
11892         * time/offtime.c (__offtime): Likewise.
11893         * time/settimeofday.c (__settimeofday): Likewise.
11894         * time/stime.c (stime): Likewise.
11895         * time/strftime_l.c (tm_diff): Likewise.
11896         (iso_week_days): Likewise.
11897         * time/strptime.c (strptime): Likewise.
11898         * time/time.c (time): Likewise.
11899         * time/timespec_get.c (timespec_get): Likewise.
11900         * time/tzset.c (tzset_internal): Likewise.
11901         (compute_change): Likewise.
11902         (__tz_compute): Likewise.
11903         * wcsmbs/btowc.c (__btowc): Likewise.
11904         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11905         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11906         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11907         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11908         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11909         * wcsmbs/wcscat.c (__wcscat): Likewise.
11910         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11911         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11912         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11913         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11914         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11915         * wcsmbs/wcslen.c (__wcslen): Likewise.
11916         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11917         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11918         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11919         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11920         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11921         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11922         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11923         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11924         * wcsmbs/wcstok.c (wcstok): Likewise.
11925         * wcsmbs/wctob.c (wctob): Likewise.
11926         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11927         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11928         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11929         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11930         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11931         * wcsmbs/wmemset.c (__wmemset): Likewise.
11932         * wctype/wcfuncs.c (__towlower): Likewise.
11933         (__towupper): Likewise.
11935         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11936         (lll_unlock_elision): Add adapt_count parameter.
11938 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11940         * sysdeps/nptl/configure.ac: Do not give errors based on the
11941         results of top-level configure tests.
11942         * sysdeps/nptl/configure: Regenerated.
11944         * configure.ac (libc_cv_Bgroup): Remove configure test.
11945         * configure: Regenerated.
11946         * config.make.in (have-Bgroup): Remove variable.
11948         * configure.ac (sizeof_long_double): Remove configure test.
11949         * configure: Regenerated.
11950         * config.make.in (sizeof-long-double): Remove variable.
11952         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11953         * configure: Regenerated.
11954         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11955         variable.
11956         (exceptions): Likewise.
11957         * sysdeps/arm/configure: Regenerated.
11958         * config.make.in (exceptions): Remove variable.
11959         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11960         $(exceptions).
11961         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11962         (CFLAGS-vdprintf_chk.c): Likewise.
11963         (CFLAGS-printf_chk.c): Likewise.
11964         (CFLAGS-fprintf_chk.c): Likewise.
11965         (CFLAGS-vprintf_chk.c): Likewise.
11966         (CFLAGS-vfprintf_chk.c): Likewise.
11967         (CFLAGS-gets_chk.c): Likewise.
11968         (CFLAGS-fgets_chk.c): Likewise.
11969         (CFLAGS-fgets_u_chk.c): Likewise.
11970         (CFLAGS-fread_chk.c): Likewise.
11971         (CFLAGS-fread_u_chk.c): Likewise.
11972         (CFLAGS-wprintf_chk.c): Likewise.
11973         (CFLAGS-fwprintf_chk.c): Likewise.
11974         (CFLAGS-vwprintf_chk.c): Likewise.
11975         (CFLAGS-vfwprintf_chk.c): Likewise.
11976         (CFLAGS-fgetws_chk.c): Likewise.
11977         (CFLAGS-fgetws_u_chk.c): Likewise.
11978         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11979         (CFLAGS-fputc.c): Likewise.
11980         (CFLAGS-fputwc.c): Likewise.
11981         (CFLAGS-freopen64.c): Likewise.
11982         (CFLAGS-freopen.c): Likewise.
11983         (CFLAGS-fseek.c): Likewise.
11984         (CFLAGS-fseeko64.c): Likewise.
11985         (CFLAGS-fseeko.c): Likewise.
11986         (CFLAGS-ftello64.c): Likewise.
11987         (CFLAGS-ftello.c): Likewise.
11988         (CFLAGS-fwide.c): Likewise.
11989         (CFLAGS-genops.c): Likewise.
11990         (CFLAGS-getc.c): Likewise.
11991         (CFLAGS-getchar.c): Likewise.
11992         (CFLAGS-getwc.c): Likewise.
11993         (CFLAGS-getwchar.c): Likewise.
11994         (CFLAGS-iofclose.c): Likewise.
11995         (CFLAGS-iofflush.c): Likewise.
11996         (CFLAGS-iofgetpos64.c): Likewise.
11997         (CFLAGS-iofgetpos.c): Likewise.
11998         (CFLAGS-iofgets.c): Likewise.
11999         (CFLAGS-iofgetws.c): Likewise.
12000         (CFLAGS-iofputs.c): Likewise.
12001         (CFLAGS-iofputws.c): Likewise.
12002         (CFLAGS-iofread.c): Likewise.
12003         (CFLAGS-iofsetpos64.c): Likewise.
12004         (CFLAGS-iofsetpos.c): Likewise.
12005         (CFLAGS-ioftell.c): Likewise.
12006         (CFLAGS-iofwrite.c): Likewise.
12007         (CFLAGS-iogetdelim.c): Likewise.
12008         (CFLAGS-iogetline.c): Likewise.
12009         (CFLAGS-iogets.c): Likewise.
12010         (CFLAGS-iogetwline.c): Likewise.
12011         (CFLAGS-ioputs.c): Likewise.
12012         (CFLAGS-ioseekoff.c): Likewise.
12013         (CFLAGS-ioseekpos.c): Likewise.
12014         (CFLAGS-iosetbuffer.c): Likewise.
12015         (CFLAGS-iosetvbuf.c): Likewise.
12016         (CFLAGS-ioungetc.c): Likewise.
12017         (CFLAGS-ioungetwc.c): Likewise.
12018         (CFLAGS-oldfileops.c): Likewise.
12019         (CFLAGS-oldiofclose.c): Likewise.
12020         (CFLAGS-oldiofgetpos64.c): Likewise.
12021         (CFLAGS-oldiofgetpos.c): Likewise.
12022         (CFLAGS-oldiofsetpos64.c): Likewise.
12023         (CFLAGS-oldiofsetpos.c): Likewise.
12024         (CFLAGS-peekc.c): Likewise.
12025         (CFLAGS-putc.c): Likewise.
12026         (CFLAGS-putchar.c): Likewise.
12027         (CFLAGS-putwc.c): Likewise.
12028         (CFLAGS-putwchar.c): Likewise.
12029         (CFLAGS-rewind.c): Likewise.
12030         (CFLAGS-wfileops.c): Likewise.
12031         (CFLAGS-wgenops.c): Likewise.
12032         (CFLAGS-oldiofopen.c): Likewise.
12033         (CFLAGS-iofopen.c): Likewise.
12034         (CFLAGS-iofopen64.c): Likewise.
12035         (CFLAGS-oldtmpfile.c): Likewise.
12036         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12037         (CFLAGS-fprintf.c): Likewise.
12038         (CFLAGS-printf.c): Likewise.
12039         (CFLAGS-vfwprintf.c): Likewise.
12040         (CFLAGS-vfscanf.c): Likewise.
12041         (CFLAGS-vfwscanf.c): Likewise.
12042         (CFLAGS-fscanf.c): Likewise.
12043         (CFLAGS-scanf.c): Likewise.
12044         (CFLAGS-isoc99_vfscanf.c): Likewise.
12045         (CFLAGS-isoc99_vscanf.c): Likewise.
12046         (CFLAGS-isoc99_fscanf.c): Likewise.
12047         (CFLAGS-isoc99_scanf.c): Likewise.
12048         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12049         (CFLAGS-isoc99_fwscanf.c): Likewise.
12050         (CFLAGS-isoc99_vwscanf.c): Likewise.
12051         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12053         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12054         after mkstemp64.
12055         * login/tst-utmp.c (do_prepare): Likewise.
12056         * rt/tst-aio.c (do_prepare): Likewise.
12057         * rt/tst-aio64.c (do_prepare): Likewise.
12059 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12061         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12062         (__lll_lock_elision): Remove adapt_count decrement...
12063         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12064         (__lll_trylock_elision): Likewise.
12065         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12066         (__lll_unlock_elision): ... to here. And utilize
12067         new adapt_count parameter.
12068         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12069         (__lll_unlock_elision): Update to include adapt_count
12070         parameter.
12071         (lll_unlock_elision): Pass pointer to adapt_count
12072         variable.
12074 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12076         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12077         Add elision adapt_count parameter to list of arguments.
12078         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12079         (lll_unlock_elision): Update with new parameter list
12080         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12081         (lll_unlock_elision): Likewise.
12082         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12083         (lll_unlock_elision): Likewise.
12085 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12087         [BZ #19122]
12088         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12089         attribute_hidden.
12091         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12092         attribute_hidden.
12093         [IS_IN (rtld)] (__strdup): Likewise.
12094         [IS_IN (rtld)] (__strerror_r): Likewise.
12095         [IS_IN (rtld)] (__strsep_g): Likewise.
12096         [IS_IN (rtld)] (memchr): Likewise.
12097         [IS_IN (rtld)] (memcmp): Likewise.
12098         [IS_IN (rtld)] (memcpy): Likewise.
12099         [IS_IN (rtld)] (memmove): Likewise.
12100         [IS_IN (rtld)] (memset): Likewise.
12101         [IS_IN (rtld)] (rawmemchr): Likewise.
12102         [IS_IN (rtld)] (stpcpy): Likewise.
12103         [IS_IN (rtld)] (strchr): Likewise.
12104         [IS_IN (rtld)] (strcmp): Likewise.
12105         [IS_IN (rtld)] (strlen): Likewise.
12106         [IS_IN (rtld)] (strnlen): Likewise.
12107         [IS_IN (rtld)] (strsep): Likewise.
12109         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12110         attribute_hidden.
12111         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12113         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12114         attribute_hidden.
12115         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12117         * include/setjmp.h (__longjmp): Add attribute_hidden.
12118         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12120         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12121         Add attribute_hidden.
12123         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12124         [IS_IN (rtld)] (__open): Likewise.
12125         [IS_IN (rtld)] (__fcntl): Likewise.
12127         * include/dirent.h (__opendirat): Add attribute_hidden.
12128         (__getdents): Likewise.
12129         (__getdents64): Likewise.
12130         (__alloc_dir): Likewise.
12131         [IS_IN (rtld)] (__closedir): Likewise.
12132         [IS_IN (rtld)] (__fdopendir): Likewise.
12133         [IS_IN (rtld)] (__readdir): Likewise.
12134         [IS_IN (rtld)] (__readdir64): Likewise.
12135         [IS_IN (rtld)] (__rewinddir): Likewise.
12137         * include/dlfcn.h (_dl_catch_error): Moved to ...
12138         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12139         attribute_hidden.
12141         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12142         (_itoa_word): Likewise.
12144         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12145         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12146         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12147         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12148         (_dl_higher_prime_number): Likewise.
12149         (_dl_debug_printf_c): Likewise.
12150         (_dl_signal_cerror): Likewise.
12151         (_dl_receive_error): Likewise.
12152         (_dl_reloc_bad_type): Likewise.
12153         (_dl_resolve_conflicts): Likewise.
12154         (_dl_check_all_versions): Likewise.
12155         (_dl_check_map_versions): Likewise.
12156         (_dl_sort_fini): Likewise.
12157         (_dl_debug_initialize): Likewise.
12158         (_dl_init_paths): Likewise.
12159         (_dl_show_auxv): Likewise.
12160         (_dl_next_ld_env_entry): Likewise.
12161         (_dl_important_hwcaps): Likewise.
12162         (_dl_load_cache_lookup): Likewise.
12163         (_dl_update_slotinfo): Likewise.
12164         (_dl_show_scope): Likewise.
12166         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12167         attribute_hidden.
12168         (_wordcopy_fwd_dest_aligned): Likewise.
12169         (_wordcopy_bwd_aligned): Likewise.
12170         (_wordcopy_bwd_dest_aligned): Likewise.
12172         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12173         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12174         Likewise.
12175         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12176         Likewise.
12177         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12179 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12181         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12182         GCC 5 requirement.
12184 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12186         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12187         test.
12188         * sysdeps/i386/configure: Regenerated.
12189         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12190         code unconditional.
12192         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12193         test.
12194         (libc_cv_asm_popsection_directive): Likewise.
12195         * configure: Regenerated.
12196         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12197         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12198         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12199         (__make_section_unallocated): Make definition unconditional.
12200         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12201         Remove conditional definition.
12202         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12203         (__make_section_unallocated): Likewise.
12205         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12206         * configure: Regenerated.
12207         * config.make.in (static-libgcc): Remove variable.
12208         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12209         $(static-libgcc).
12210         (build-module-helper): Likewise.
12212         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12213         * configure: Regenerated.
12215 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12217         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12218         (struct char_buffer): New type.
12219         (char_buffer_start, char_buffer_size, char_buffer_error)
12220         (char_buffer_rewind, char_buffer_add): New functions.
12221         (ADDW): Remove macro, replaced by the char_buffer_add function.
12222         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12223         of extend_alloca.  Make control flow more explicit.
12225 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12227         [BZ #19137]
12228         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12229         Add -fomit-frame-pointer.
12230         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12232 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12234         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12235         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12236         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12237         only if !__GNUC_PREREQ (5,0).
12238         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12239         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12240         (INTERNAL_SYSCALL_NCS): Likewise.
12241         (LOADREGS_0): New macro for GCC 5.
12242         (ASMARGS_0): Likewise.
12243         (LOADREGS_1): Likewise.
12244         (ASMARGS_1): Likewise.
12245         (LOADREGS_2): Likewise.
12246         (ASMARGS_2): Likewise.
12247         (LOADREGS_3): Likewise.
12248         (ASMARGS_3): Likewise.
12249         (LOADREGS_4): Likewise.
12250         (ASMARGS_4): Likewise.
12251         (LOADREGS_5): Likewise.
12252         (ASMARGS_5): Likewise.
12253         (LOADREGS_6): Likewise.
12254         (ASMARGS_6): Likewise.
12256 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12258         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12259         -fomit-frame-pointer.
12260         (CFLAGS-mmap64.c): Likewise.
12261         (CFLAGS-semtimedop.c): Likewise.
12262         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12263         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12264         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12265         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12267 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12269         [BZ #18928]
12270         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12271         _dl_pointer_guard member.
12272         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12273         initializer.
12274         (security_init): Always set up pointer guard.
12275         (process_envvars): Do not process LD_POINTER_GUARD.
12277 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12279         [BZ #19134]
12280         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12281         (.LC2): Likewise.
12282         (.LC3): Likewise.
12283         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12285 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12287         [BZ #19129]
12288         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12289         r0 and r1.
12291 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12293         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12295 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12297         * include/stap-probe.h: Fix macro definition formatting.
12299 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12301         [BZ #19074]
12302         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12303         load and store num_ifs.
12305 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12307         [BZ #18822]
12308         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12309         (__sched_getaffinity_new): Add libc_hidden_proto and
12310         libc_hidden_def.
12312 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12314         [BZ #19007]
12315         * scripts/localplt.awk: Also allow GOT references.
12316         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12317         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12318         with "+ REL R_386_GLOB_DAT".
12319         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12320         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12322 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12324         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12325         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12326         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12327         Likewise.
12328         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12329         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12330         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12331         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12332         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12333         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12334         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12335         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12336         Likewise.
12337         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12339 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12341         [BZ #19125]
12342         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12343         <math_private.h> and <stdint.h>.
12344         (__llround): Avoid conversions to and from long long int, and
12345         subtractions, where those might raise spurious exceptions.
12346         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12347         <math_private.h> and <stdint.h>.
12348         (__llroundf): Avoid conversions to and from long long int, and
12349         subtractions, where those might raise spurious exceptions.
12351 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12353         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12354         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12355         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12356         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12357         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12358         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12359         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12360         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12361         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12362         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12363         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12364         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12365         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12366         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12367         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12368         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12369         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12370         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12371         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12372         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12373         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12374         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12375         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12376         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12377         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12378         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12379         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12380         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12381         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12382         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12383         (__xstat64_conv): Likewise.
12384         (__xstat32_conv): Likewise.
12386 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12388         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12389         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12390         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12391         <sysdeps/unix/sysv/linux/sysdep.h>.
12392         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12393         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12394         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12395         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12396         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12397         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12398         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12399         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12400         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12403         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12405         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12406         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12408         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12409         (sysdep-dl-routines): Add sysdep.
12410         [$(subdir) == nptl] (libpthread-routines): Likewise.
12411         [$(subdir) == rt] (librt-routines): Likewise.
12412         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12413         PIC when branching to SYSCALL_ERROR_LABEL.
12414         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12415         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12416         <sysdeps/unix/sysv/linux/sysdep.h>.
12417         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12418         (SYSCALL_ERROR_ERRNO): Removed.
12419         (SYSCALL_ERROR_HANDLER): Changed to empty.
12420         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12421         (__syscall_error): New prototype.
12422         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12423         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12425 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12427         [BZ #19124]
12428         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12429         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12430         _dl_runtime_resolve_avx.
12431         (_dl_runtime_profile_avx512): Make it a hidden alias of
12432         _dl_runtime_profile_avx.
12434 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12436         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12437         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12438         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12439         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12441         [BZ #16422]
12442         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12443         New configure test.
12444         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12445         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12446         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12447         <math_private.h> and <stdint.h>.
12448         (__llrint): Avoid conversions to long long int where those might
12449         raise spurious exceptions.
12450         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12451         <math_private.h> and <stdint.h>.
12452         (__llrintf): Avoid conversions to long long int where those might
12453         raise spurious exceptions.
12455 2015-10-12  Andreas Schwab  <schwab@suse.de>
12457         [BZ #18969]
12458         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12459         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12460         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12461         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12462         $(gen-locales).
12463         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12464         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12465         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12466         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12467         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12468         $(gen-locales).
12469         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12470         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12471         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12472         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12473         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12474         ($(objpfx)tst-ftell-active-handler.out)
12475         ($(objpfx)tst-ftell-append.out)
12476         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12477         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12478         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12479         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12480         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12481         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12482         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12483         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12484         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12485         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12486         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12487         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12488         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12489         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12490         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12491         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12492         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12493         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12494         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12495         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12496         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12497         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12498         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12499         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12500         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12501         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12502         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12503         $(gen-locales).
12504         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12505         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12506         $(gen-locales).
12507         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12508         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12509         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12510         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12511         $(gen-locales).
12512         * libio/tst_wprintf2.c (main): Use explicit locale.
12513         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12515 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12517         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12518         __msg_sig_post.
12519         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12521 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12523         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12524         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12526         * sysdeps/arm/libm-test-ulps: Regenerated.
12528         [BZ #15470]
12529         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12531         [BZ #16399]
12532         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12533         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12534         and <fix-fp-int-convert-overflow.h>.
12535         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12536         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12537         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12538         and <fix-fp-int-convert-overflow.h>.
12539         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12540         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12541         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12542         <fix-fp-int-convert-overflow.h>.
12543         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12544         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12545         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12546         <fix-fp-int-convert-overflow.h>.
12547         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12548         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12549         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12550         and <fix-fp-int-convert-overflow.h>.
12551         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12552         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12553         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12554         <limits.h> and <fix-fp-int-convert-overflow.h>.
12555         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12556         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12557         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12558         and <fix-fp-int-convert-overflow.h>.
12559         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12560         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12561         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12562         and <fix-fp-int-convert-overflow.h>.
12563         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12564         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12565         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12567 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12569         [BZ #18589]
12570         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12571         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12572         $(gen-locales).
12574 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12575             Phil Blundell <pb@pbcl.net>
12577         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12578         * nptl/tst-cancel26.c: New file.
12579         * nptl/tst-cancel27.c: Likewise.
12581 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12583         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12584         __ILP32__ isn't defined.
12585         (lrint): Likewise.
12586         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12587         (lrintf): Likewise.
12588         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12589         (lrintl): Likewise.
12590         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12591         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12592         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12594 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12596         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12597         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12599         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12600         file.
12601         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12602         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12604 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12606         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12607         configure test.
12608         * sysdeps/i386/configure: Regenerated.
12609         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12610         configure test.
12611         * sysdeps/x86_64/configure: Regenerated.
12612         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12613         Make code unconditional.
12615         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12616         test.
12617         * sysdeps/i386/configure: Regenerated.
12618         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12619         test.
12620         * sysdeps/x86_64/configure: Regenerated.
12621         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12622         Make code unconditional.
12623         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12624         Likewise.
12625         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12626         Likewise.
12627         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12628         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12629         code unconditional.
12630         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12631         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12632         code unconditional.
12633         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12634         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12635         code unconditional.
12636         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12637         code unconditional.
12638         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12639         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12640         code unconditional.
12641         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12642         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12643         code unconditional.
12644         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12645         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12646         code unconditional.
12647         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12648         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12649         code unconditional.
12650         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12651         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12653         [BZ #19095]
12654         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12655         mantissa to long int before shifting left.
12657 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12659         [BZ #19094]
12660         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12661         <limits.h>.
12662         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12663         when result overflows but exception would not result from cast.
12664         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12665         <limits.h>.
12666         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12667         when result overflows but exception would not result from cast.
12668         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12669         <limits.h>.
12670         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12671         when result overflows but exception would not result from cast.
12672         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12673         <limits.h>.
12674         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12675         when result overflows but exception would not result from cast.
12676         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12677         <limits.h>.
12678         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12679         when result overflows but exception would not result from cast.
12680         * math/libm-test.inc (lrint_test_data): Add more tests.
12681         (llrint_test_data): Likewise.
12683 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12685         [BZ #18872]
12686         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12687         Move out from under [$(run-built-tests) = yes] conditional.
12688         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12689         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12691 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12693         [BZ #18589]
12694         * string/Makefile (tests): Add bug-strcoll2.
12695         (LOCALES): Add cs_CZ.UTF-8.
12696         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12698         [BZ #18589]
12699         * string/bug-strcoll2.c: New file.
12700         * locale/categories.def: Revert commit
12701         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12702         * locale/langinfo.h: Likewise.
12703         * locale/localeinfo.h: Likewise.
12704         * locale/C-collate.c: Likewise.
12705         * locale/programs/ld-collate.c (collate_output): Likewise.
12706         * string/strcoll_l.c (STRDIFF): Likewise.
12707         (STRCOLL): Likewise.
12708         * wcsmbs/wcscoll_l.c: Likewise.
12710 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12712         * math/libm-test.inc (lround_test_data): Do not expect the absence
12713         of "inexact" for some tests with non-integer arguments.
12714         (llround_test_data): Likewise.
12716         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12717         test.
12718         (libc_cv_cc_sse2avx): Likewise.
12719         * sysdeps/i386/configure: Regenerated.
12720         * sysdeps/i386/i686/multiarch/Makefile
12721         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12722         [$(subdir) = math].
12723         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12724         code unconditional.
12725         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12726         Likewise.
12727         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12728         Likewise.
12729         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12730         Likewise.
12731         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12732         test.
12733         (libc_cv_cc_sse2avx): Likewise.
12734         * sysdeps/x86_64/configure: Regenerated.
12735         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12736         unconditional.
12737         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12738         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12739         unconditional.
12740         (_dl_runtime_profile)
12741         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12742         conditional code.
12743         * sysdeps/x86_64/fpu/multiarch/Makefile
12744         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12745         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12746         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12747         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12748         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12749         * sysdeps/x86_64/fpu/multiarch/e_log.c
12750         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12751         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12752         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12753         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12754         Likewise.
12755         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12756         Likewise.
12757         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12758         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12759         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12760         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12761         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12762         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12763         (HAVE_SSE2AVX_SUPPORT): Likewise.
12765 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12767         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12768         instead of #pragma optimize.
12770 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12772         [BZ #17195]
12773         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12774         as is similarly done in systrim and _int_free already.
12776 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12778         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12780 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12782         [BZ #19088]
12783         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12784         <limits.h>.
12785         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12786         overflows but exception would not result from cast.
12787         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12788         and <limits.h>.
12789         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12790         overflows but exception would not result from cast.
12791         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12792         <limits.h>.
12793         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12794         overflows but exception would not result from cast.
12795         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12796         <limits.h>.
12797         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12798         overflows but exception would not result from cast.
12799         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12800         <limits.h>.
12801         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12802         overflows but exception would not result from cast.
12803         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12804         <limits.h>.
12805         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12806         overflows but exception would not result from cast.
12807         * math/libm-test.inc (lround_test_data): Add more tests.
12808         (llround_test_data): Likewise.
12810 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
12812         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12813         (CFLAGS-ialloc.c): Ditto.
12814         (CFLAGS-scheck.c): Ditto.
12816 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12818         [BZ #19086]
12819         * manual/filesys.texi (Storage Allocation): Fix argument order for
12820         posix_fallocate64.
12822 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12824         [BZ #19085]
12825         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12826         exponent below 48 inside case for non-overflowing exponent.
12827         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12829 2015-10-07  Florian Weimer  <fweimer@redhat.com>
12831         * iconvdata/cp737.h (from_idx): Add const.
12832         * iconvdata/cp775.h (from_idx): Likewise.
12834 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12836         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12837         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12838         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12840         [BZ #19079]
12841         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12842         file, conditioned on [!_LP64].
12843         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12844         [!_LP64] (__lround): Do not define as function or alias.
12845         [!_LP64] (lround): Likewise.
12846         [!_LP64] (__lroundl): Likewise.
12847         [!_LP64] (lroundl): Likewise.
12848         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12849         macro.
12850         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12851         Likewise.
12853 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12855         * math/libm-test.inc (lrint_test_data): Add more tests.
12856         (llrint_test_data): Likewise.
12857         (lround_test_data): Likewise.
12858         (llround_test_data): Likewise.
12860         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12861         (llrint_test_data): Add tests used for lrint.
12863         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12864         test.
12865         * sysdeps/i386/configure: Regenerated.
12866         * sysdeps/i386/i686/multiarch/Makefile
12867         [$(config-cflags-sse4) = yes]: Make code unconditional.
12868         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12869         Likewise.
12870         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12871         Likewise.
12872         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12873         test.
12874         * sysdeps/x86_64/configure: Regenerated.
12875         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12876         Make code unconditional.
12877         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12878         Likewise.
12879         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12880         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12882         * scripts/rpm2dynsym.sh: Remove file.
12884 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12886         * configure.ac (libc_cv_cxx_thread_local): Define.
12887         * configure: Regenerate.
12888         * config.make.in (have-cxx-thread_local): Define.
12889         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12890         (LDLIBS-tst-thread_local1): Define.
12891         (tests): Add tst-thread_local1.
12892         [have-cxx-thread_local != yes] (tests-unsupported): Add
12893         tst-thread_local1.
12894         * nptl/tst-thread_local1.cc: New file.
12896 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12898         [BZ #19078]
12899         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12900         (u_thres): Likewise.
12901         (__expl): Determine whether to call __kernel_standard_l based on
12902         value of result, not argument.
12904         * math/libm-test.inc (scalb_test_data): Add more expectations for
12905         the "inexact" exception.
12907         [BZ #19077]
12908         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12909         0.0L for argument 1.0L.
12911         [BZ #19076]
12912         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12913         constant 0.0L when computing infinite result.
12915 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12917         [BZ #10432]
12918         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12919         malloc_usable_size.
12921 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12923         [BZ #19018]
12924         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12925         Mangle function pointer before storing it.
12926         (__call_tls_dtors): Demangle function pointer before calling it.
12928 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12930         [BZ #19012]
12931         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12932         Clean up on failure.
12934 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12936         [BZ #19071]
12937         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12938         long int variable to store possibly incremented high part of
12939         mantissa.
12940         * math/libm-test.inc (lround_test_data): Add tests used for
12941         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12942         for tests requiring 64-bit long.  Do not condition tests on
12943         [TEST_FLOAT] unnecessarily.
12944         (llround_test_data): Add tests used for lround.  Add another
12945         expectation for the "inexact" exception.  Do not condition tests
12946         on [TEST_FLOAT] unnecessarily.
12948         [BZ #887]
12949         [BZ #19049]
12950         [BZ #19050]
12951         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12952         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12953         <fix-int-fp-convert-zero.h>.
12954         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12955         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12956         <fix-int-fp-convert-zero.h>.
12957         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12958         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12959         <fix-int-fp-convert-zero.h>.
12960         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12961         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12962         <fix-int-fp-convert-zero.h>.
12963         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12964         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12965         <fix-int-fp-convert-zero.h>.
12966         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12967         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12968         <fix-int-fp-convert-zero.h>.
12969         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12970         * sysdeps/ieee754/flt-32/s_erff.c: Include
12971         <fix-int-fp-convert-zero.h>.
12972         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12973         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12974         <fix-int-fp-convert-zero.h>.
12975         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12976         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12977         <fix-int-fp-convert-zero.h>.
12978         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12979         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12980         <fix-int-fp-convert-zero.h>.
12981         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12982         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12983         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12984         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12985         file.
12986         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12988 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12990         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12992 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12994         [BZ #19059]
12995         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12996         overflowing computation.
12997         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12998         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12999         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13000         Likewise.
13001         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13002         Likewise.
13003         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13004         Likewise.
13005         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13006         Likewise.
13007         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13008         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13009         Likewise.
13010         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13011         Likewise.
13012         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13014         * nss/rewrite_field.c (__nss_rewrite_field): Use
13015         internal_function.
13016         * nss/valid_field.c (__nss_valid_field): Likewise.
13017         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13019 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13021         [BZ #18724]
13022         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13023         (__nss_invalid_field_characters, __nss_valid_field)
13024         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13025         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13026         tst-field.c: New file.
13027         * nss/Makefile (routines): Add valid_field, rewrite_field.
13028         (tests-static): Define unconditionally.
13029         (tests): Include tests-static.
13030         [build-static-nss] (tests-static): Use append.
13031         [build-static-nss] (tests): Remove modification.
13032         * nss/getent.c (print_group): Call putgrent.  Report error.
13033         (print_gshadow): Call putsgent.  Report error.
13034         (print_passwd): Call putpwent.  Report error.
13035         (print_shadow): Call putspent.  Report error.
13036         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13037         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13038         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13039         name, password, directory, shell fields for valid syntax.  Rewrite
13040         GECOS field to match syntax.
13041         * pwd/Makefile (tests): Add tst-putpwent.
13042         * pwd/tst-putpwent.c: New file.
13043         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13044         Check grName, grpasswd, gr_mem fields for valid syntax.
13045         Change loop variable i to size_t.
13046         * grp/Makefile (tests): Add tst-putgrent.
13047         * grp/tst-putgrent.c: New file.
13048         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13049         valid syntax.
13050         * shadow/Makefile (tests): Add tst-putspent.
13051         * shadow/tst-putspent.c: New file.
13052         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13053         sg_mem fields for valid syntax.
13054         * gshadow/Makefile (tests): Add tst-putsgent.
13055         * gshadow/tst-putsgent.c: New file.
13057 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13059         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13060         assembly instructions.
13062 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13064         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13065         prefix from operands.
13067 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13069         [BZ #16347]
13070         [BZ #19046]
13071         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13072         <libc-internal.h>.
13073         (MAXLGM): Do not use diagnostic control macros.
13074         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13075         threshold for ldbl-128ibm.
13076         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13077         instead of multiplying by log then subtracting.
13078         * math/auto-libm-test-in: Add more tests of lgamma.
13079         * math/auto-libm-test-out: Regenerated.
13081         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13082         (TYPE_HEX_DIG): Likewise.
13083         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13084         precisions when printing floating-point numbers.
13085         (check_float_internal): Likewise.
13087 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13089         [BZ #16620]
13090         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13091         of log (10) rounded downward to 48 bits.
13092         (log10_low): Use corresponding low part of log (10).
13094         [BZ #19032]
13095         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13096         compute result as (x - x) / (x - x) not as 0 / 0.
13097         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13098         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13100         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13101         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13102         and expm1.
13103         * math/auto-libm-test-out: Regenerated.
13104         * math/libm-test.inc (acos_test_data): Add more tests.
13105         (asin_test_data): Likewise.
13106         (asinh_test_data): Likewise.
13107         (atan_test_data): Likewise.
13108         (atanh_test_data): Likewise.
13109         (atan2_test_data): Likewise.
13110         (cbrt_test_data): Likewise.
13111         (ceil_test_data): Likewise.
13112         (copysign_test_data): Likewise.
13113         (cos_test_data): Likewise.
13114         (cosh_test_data): Likewise.
13115         (erf_test_data): Likewise.
13116         (erfc_test_data): Likewise.
13117         (exp_test_data): Likewise.
13118         (exp10_test_data): Likewise.
13119         (exp2_test_data): Likewise.
13120         (expm1_test_data): Likewise.
13121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13123 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13125         [BZ #19006]
13126         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13127         to ...
13128         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13129         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13130         to ...
13131         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13132         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13133         to ...
13134         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13135         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13136         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13137         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13138         to ...
13139         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13140         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13141         Moved to ...
13142         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13143         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13144         Moved to ...
13145         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13146         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13147         to ...
13148         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13149         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13150         Moved to ...
13151         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13152         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13153         to ...
13154         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13155         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13156         Removed.
13157         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13158         Likewise.
13159         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13160         Likewise.
13161         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13162         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13163         Likewise.
13164         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13165         Likewise.
13166         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13167         Likewise.
13168         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13169         Likewise.
13170         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13171         Likewise.
13172         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13175         Likewise.
13176         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13177         Likewise.
13178         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13179         Likewise.
13180         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13181         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13182         Likewise.
13183         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13184         Likewise.
13185         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13186         Likewise.
13187         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13188         Likewise.
13189         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13190         Likewise.
13191         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13192         Replace ../i486/pthread_cond_timedwait.S with
13193         ../pthread_cond_timedwait.S.
13195 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13197         * math/libm-test.inc (acos_test_data): Refine expectations for
13198         errno and "inexact" exceptions.
13199         (acosh_test_data): Likewise.
13200         (asin_test_data): Likewise.
13201         (asinh_test_data): Likewise.
13202         (atan_test_data): Likewise.
13203         (atanh_test_data): Likewise.
13204         (atan2_test_data): Likewise.
13205         (cbrt_test_data): Likewise.
13206         (ceil_test_data): Likewise.
13207         (copysign_test_data): Likewise.
13208         (cosh_test_data): Likewise.
13209         (erf_test_data): Likewise.
13210         (erfc_test_data): Likewise.
13211         (exp_test_data): Likewise.
13212         (exp10_test_data): Likewise.
13213         (exp2_test_data): Likewise.
13214         (expm1_test_data): Likewise.
13215         (fabs_test_data): Likewise.
13216         (floor_test_data): Likewise.
13217         (fma_test_data): Likewise.
13218         (fmax_test_data): Likewise.
13219         (fmin_test_data): Likewise.
13220         (fmod_test_data): Likewise.
13221         (fpclassify_test_data): Likewise.
13222         (frexp_test_data): Likewise.
13223         (hypot_test_data): Likewise.
13224         (ilogb_test_data): Likewise.
13225         (isgreater_test_data): Likewise.
13226         (isgreaterequal_test_data): Likewise.
13227         (isinf_test_data): Likewise.
13228         (isless_test_data): Likewise.
13229         (islessequal_test_data): Likewise.
13230         (islessgreater_test_data): Likewise.
13231         (isnan_test_data): Likewise.
13232         (isnormal_test_data): Likewise.
13233         (issignaling_test_data): Likewise.
13234         (isunordered_test_data): Likewise.
13235         (j0_test_data): Likewise.
13236         (j1_test_data): Likewise.
13237         (jn_test_data): Likewise.
13238         (lgamma_test_data): Likewise.
13239         (lrint_test_data): Likewise.
13240         (llrint_test_data): Likewise.
13241         (log_test_data): Likewise.
13242         (log10_test_data): Likewise.
13243         (log1p_test_data): Likewise.
13244         (log2_test_data): Likewise.
13245         (logb_test_data): Likewise.
13246         (lround_test_data): Likewise.
13247         (llround_test_data): Likewise.
13248         (modf_test_data): Likewise.
13249         (nearbyint_test_data): Likewise.
13250         (nextafter_test_data): Likewise.
13251         (nexttoward_test_data): Likewise.
13252         (pow_test_data): Likewise.
13253         (remainder_test_data): Likewise.
13254         (remquo_test_data): Likewise.
13255         (rint_test_data): Likewise.
13256         (round_test_data): Likewise.
13257         (signbit_test_data): Likewise.
13258         (sinh_test_data): Likewise.
13259         (sqrt_test_data): Likewise.
13260         (tanh_test_data): Likewise.
13261         (tgamma_test_data): Likewise.
13262         (trunc_test_data): Likewise.
13263         (y0_test_data): Likewise.
13264         (y1_test_data): Likewise.
13265         (yn_test_data): Likewise.
13266         (significand_test_data): Likewise.
13268 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13270         * manual/filesys.texi (Storage Allocation): Document that
13271         posix_fallocate emulation fails when fd is open with O_WRONLY.
13273 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13275         [BZ #19016]
13276         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13277         allow more cases with X^2 + Y^2 >= 0.5.
13278         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13279         normal element in sum instead of special-casing based on values of
13280         arguments.
13281         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13282         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13283         -1 as normal element in sum instead of special-casing based on
13284         values of arguments.
13285         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13286         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13287         (__x2y2m1): Update comment.
13288         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13289         as normal element in sum instead of special-casing based on values
13290         of arguments.
13291         * math/s_clog.c (__clog): Handle more cases using log1p without
13292         hypot.
13293         * math/s_clog10.c (__clog10): Likewise.
13294         * math/s_clog10f.c (__clog10f): Likewise.
13295         * math/s_clog10l.c (__clog10l): Likewise.
13296         * math/s_clogf.c (__clogf): Likewise.
13297         * math/s_clogl.c (__clogl): Likewise.
13298         * math/auto-libm-test-in: Add more tests of clog and clog10.
13299         * math/auto-libm-test-out: Regenerated.
13300         * sysdeps/i386/fpu/libm-test-ulps: Update.
13301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13303 2015-09-28  Martin Sebor  <msebor@redhat.com>
13305         [BZ #18969]
13306         * string/Makefile (LOCALES): Define.
13307         (gen-locales.mk): Include.
13308         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13309         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13310         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13311         on setlocale failure.
13313 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13315         [BZ #18985]
13316         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13317         (__strftime_internal): Likewise.
13318         * time/tst-strftime.c (do_bz18985): New test.
13319         (do_test): Call it.
13321 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13323         [BZ #18956]
13324         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13325         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13326         extracting high part.
13327         * math/auto-libm-test-in: Add another test of pow.
13328         * math/auto-libm-test-out: Regenerated.
13329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13331 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13333         [BZ #18825]
13334         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13335         New macro.
13336         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13337         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13338         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13339         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13340         DBL_NARROW_EVAL, reloading the PIC register as needed.
13341         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13342         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13343         FLT_NARROW_EVAL.  Use separate return path for case when first
13344         argument is NaN.
13345         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13346         DEFINE_LDBL_MIN.
13347         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13348         PIC register.
13349         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13350         math_check_force_underflow_nonneg.
13351         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13352         underflow for subnormal result.
13353         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13354         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13355         math_check_force_underflow_nonneg.
13356         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13357         math_check_force_underflow.
13358         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13359         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13360         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13361         DEFINE_LDBL_MIN.
13362         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13363         * math/auto-libm-test-in: Add more tests of pow.
13364         * math/auto-libm-test-out: Regenerated.
13366 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13368         * nss/bug17079.c (init_test_items): Add diagnostic for
13369         inconsistent entries.
13370         (test_buffer_size): Skip inconsistent entries.
13372 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13374         [BZ #13304]
13375         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13376         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13377         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13379         [BZ #13304]
13380         * sysdeps/microblaze/s_fma.c: New file.
13381         * sysdeps/microblaze/s_fmaf.c: Likewise.
13382         * sysdeps/microblaze/sfp-machine.h: Likewise.
13384 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13386         [BZ #17250]
13387         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13388         member.
13390 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13392         [BZ #18803]
13393         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13394         (MO): New macro.
13395         (__ieee754_hypot) [PIC]: Load PIC register.
13396         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13397         DBL_NARROW_EVAL.
13398         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13399         math_check_force_underflow_nonneg in case where result might be
13400         tiny.
13401         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13402         Likewise.
13403         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13404         Likewise.
13405         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13406         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13407         * math/auto-libm-test-in: Add more tests of hypot.
13408         * math/auto-libm-test-out: Regenerated.
13410 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13412         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13414 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13416         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13417         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13418         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13419         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13420         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13421         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13422         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13424         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13425         LOAD_PIC_REG.
13427         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13428         (FLT_CHECK_FORCE_UFLOW): Likewise.
13429         (DBL_CHECK_FORCE_UFLOW): Likewise.
13430         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13431         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13432         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13433         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13434         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13435         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13436         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13437         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13438         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13439         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13440         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13441         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13442         (flt_min): Replace with use of DEFINE_FLT_MIN.
13443         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13444         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13445         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13446         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13447         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13448         (flt_min): Replace with use of DEFINE_FLT_MIN.
13449         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13450         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13451         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13452         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13453         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13454         (flt_min): Replace with use of DEFINE_FLT_MIN.
13455         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13456         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13457         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13458         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13459         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13460         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13461         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13462         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13463         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13464         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13465         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13466         (flt_min): Replace with use of DEFINE_FLT_MIN.
13467         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13468         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13469         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13470         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13471         main computation.
13472         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13473         (flt_min): Replace with use of DEFINE_FLT_MIN.
13474         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13475         main computation.
13476         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13477         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13478         (MO): New macro.
13479         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13480         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13481         (flt_min): Replace with use of DEFINE_FLT_MIN.
13482         (MO): New macro.
13483         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13484         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13485         (__log1pl): Use MO.
13487         [BZ #19003]
13488         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13489         $(config-cflags-nofma).
13491 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13493         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13495 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13497         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13498         (TWO127): Likewise.
13500         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13501         (min_of_type): Likewise.
13502         (math_check_force_underflow): Likewise.
13503         (math_check_force_underflow_nonneg): Likewise.
13504         (math_check_force_underflow_complex): Likewise.
13505         * math/e_exp2l.c (__ieee754_exp2l): Use
13506         math_check_force_underflow_nonneg.
13507         * math/k_casinh.c (__kernel_casinh): Likewise.
13508         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13509         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13510         * math/s_catan.c (__catan): Use
13511         math_check_force_underflow_complex.
13512         * math/s_catanf.c (__catanf): Likewise.
13513         * math/s_catanh.c (__catanh): Likewise.
13514         * math/s_catanhf.c (__catanhf): Likewise.
13515         * math/s_catanhl.c (__catanhl): Likewise.
13516         * math/s_catanl.c (__catanl): Likewise.
13517         * math/s_ccosh.c (__ccosh): Likewise.
13518         * math/s_ccoshf.c (__ccoshf): Likewise.
13519         * math/s_ccoshl.c (__ccoshl): Likewise.
13520         * math/s_cexp.c (__cexp): Likewise.
13521         * math/s_cexpf.c (__cexpf): Likewise.
13522         * math/s_cexpl.c (__cexpl): Likewise.
13523         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13524         * math/s_clog10.c (__clog10): Likewise.
13525         * math/s_clog10f.c (__clog10f): Likewise.
13526         * math/s_clog10l.c (__clog10l): Likewise.
13527         * math/s_clogf.c (__clogf): Likewise.
13528         * math/s_clogl.c (__clogl): Likewise.
13529         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13530         * math/s_csinf.c (__csinf): Likewise.
13531         * math/s_csinh.c (__csinh): Likewise.
13532         * math/s_csinhf.c (__csinhf): Likewise.
13533         * math/s_csinhl.c (__csinhl): Likewise.
13534         * math/s_csinl.c (__csinl): Likewise.
13535         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13536         * math/s_csqrtf.c (__csqrtf): Likewise.
13537         * math/s_csqrtl.c (__csqrtl): Likewise.
13538         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13539         * math/s_ctanf.c (__ctanf): Likewise.
13540         * math/s_ctanh.c (__ctanh): Likewise.
13541         * math/s_ctanhf.c (__ctanhf): Likewise.
13542         * math/s_ctanhl.c (__ctanhl): Likewise.
13543         * math/s_ctanl.c (__ctanl): Likewise.
13544         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13545         instead of volatile.
13546         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13547         math_check_force_underflow.
13548         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13549         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13550         volatile when forcing underflow.
13551         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13552         math_check_force_underflow_nonneg.
13553         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13554         Likewise.
13555         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13556         math_check_force_underflow.
13557         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13558         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13559         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13560         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13561         math_check_force_underflow_nonneg.
13562         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13563         math_check_force_underflow.
13564         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13565         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13566         instead of volatile.
13567         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13568         math_check_force_underflow.
13569         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13570         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13571         math_check_force_underflow_nonneg.
13572         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13573         math_check_force_underflow.
13574         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13575         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13576         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13577         math_check_force_underflow_nonneg.
13578         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13579         Likewise.
13580         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13581         math_check_force_underflow.
13582         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13583         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13584         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13585         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13586         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13587         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13588         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13589         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13590         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13591         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13592         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13593         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13594         Likewise.
13595         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13596         math_check_force_underflow_nonneg.
13597         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13598         Likewise.
13599         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13600         math_check_force_underflow.
13601         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13602         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13603         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13604         Likewise.
13605         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13606         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13607         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13608         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13609         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13610         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13612         instead of volatile.
13613         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13614         math_check_force_underflow.
13615         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13616         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13617         math_check_force_underflow.
13618         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13619         Likewise.
13620         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13621         Use math_check_force_underflow_nonneg.
13622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13623         math_check_force_underflow.
13624         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13625         Likewise.
13626         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13627         Likewise.
13628         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13629         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13630         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13631         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13632         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13633         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13634         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13635         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13636         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13637         math_check_force_underflow_nonneg.
13638         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13639         math_check_force_underflow.
13640         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13641         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13642         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13643         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13644         math_check_force_underflow_nonneg.
13645         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13646         math_check_force_underflow.
13647         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13648         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13649         instead of volatile.
13650         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13651         math_check_force_underflow.
13653         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13654         * stdlib/strtod_l.c: Include <math_private.h>.
13655         (overflow_value): Use math_narrow_eval.
13656         (underflow_value): Likewise.
13657         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13658         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13659         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13660         (__ieee754_gamma_r): Likewise.
13661         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13662         Likewise.
13663         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13664         Likewise.
13665         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13666         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13667         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13668         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13669         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13670         (__ieee754_gammaf_r): Likewise.
13671         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13672         Likewise.
13673         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13674         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13675         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13676         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13677         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13678         volatile.
13679         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13680         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13681         math_narrow_eval.
13682         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13683         Likewise.
13684         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13685         Likewise.
13686         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13687         Likewise.
13688         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13689         volatile.
13690         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13691         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13692         math_narrow_eval.
13693         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13694         Likewise.
13695         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13696         Likewise.
13698 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13700         * nptl/Versions: Remove ignored symbols.
13702 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13704         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13705         * nss/Makefile (tests): Update.
13707 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13709         * nss/bug18287.c: New file.
13710         * nss/Makefile (tests): Add bug18287.
13712 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13714         * mach/Versions (__mach_host_self_): Add symbol.
13716 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13718         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13719         vm_page_size.
13721 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13723         Really fix sysdeps/i386/fpu/s_scalbn.S build
13725         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13726         (libc: GLIBC_2_22): Remove unused version set.
13728 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13730         * config.make.in (enable-timezone-tools): New variable.
13731         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13732         (enable_timezone_tools): Export to generated files.
13733         * configure: Regenerate.
13734         * INSTALL: Regenerate.
13735         * manual/install.texi (--disable-timezone-tools): Document new flag.
13736         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13737         ifeq ($(enable-timezone-tools),yes) check.
13739 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13741         * timezone/Makefile: Revert previous change.
13743         [BZ #18980]
13744         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13745         (DEFINE_DBL_MIN): Likewise.
13746         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13747         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13748         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13749         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13750         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13751         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13752         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13753         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13754         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13755         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13756         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13757         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13758         (flt_min): Replace with use of DEFINE_FLT_MIN.
13759         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13760         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13761         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13762         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13763         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13764         (flt_min): Replace with use of DEFINE_FLT_MIN.
13765         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13766         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13767         (flt_min): Replace with use of DEFINE_FLT_MIN.
13768         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13769         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13770         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13771         (__ieee754_hypot): Use DBL_NARROW_EVAL.
13772         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13773         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13774         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13775         (__ieee754_pow): Use DBL_NARROW_EVAL.
13776         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13777         (__ieee754_powf): Use FLT_NARROW_EVAL.
13778         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13779         (__ieee754_expf_sse2): Convert double-precision result to single
13780         precision.
13781         * sysdeps/i386/fpu/libm-test-ulps: Update.
13783 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13785         * timezone/Makefile: Ignore unused variable errors due to private.h
13786         (time_t_min) and (time_t_max).
13787         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
13788         Likewise.
13790 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13792         [BZ #18981]
13793         * sysdeps/i386/fpu/i386-math-asm.h: New file.
13794         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13795         (__ieee754_scalb): Use DBL_NARROW_EVAL.
13796         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13797         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13798         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13799         (__scalbn): Use DBL_NARROW_EVAL.
13800         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13801         (__scalbnf): Use FLT_NARROW_EVAL.
13803 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13805         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13806         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13807         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13808         * stdio-common/printf_fp.c (___printf_fp):
13809         Use signbit to get the sign. Use isinf macro to allow inlining.
13810         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13811         * stdio-common/printf_size.c (__printf_size): Likewise.
13813 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13815         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13817 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13819         [BZ #18980]
13820         * sysdeps/generic/math_private.h: Include <float.h>.
13821         (math_narrow_eval): New macro.
13822         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13823         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13824         math_narrow_eval on overflowing return value.
13825         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13826         Likewise.
13827         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13828         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13829         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13830         Likewise.
13831         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13833 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13835         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13836         * math/Makefile: Remove isinf_ns.c.
13837         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13838         * math/multc3.c (__multc3): Likewise.
13839         * math/s_casin.c (__casin): Likewise.
13840         * math/s_casinf.c (__casinf): Likewise.
13841         * math/s_casinl.c (__casinl): Likewise.
13842         * math/s_cproj.c (__cproj): Likewise.
13843         * math/s_cprojf.c (__cprojf): Likewise.
13844         * math/s_cprojl.c (__cprofl): Likewise.
13845         * math/s_ctan.c (__ctan): Likewise.
13846         * math/s_ctanf.c (__ctanf): Likewise.
13847         * math/s_ctanh.c (__ctanh): Likewise.
13848         * math/s_ctanhf.c (__ctanhf): Likewise.
13849         * math/s_ctanhl.c (__ctanhl): Likewise.
13850         * math/s_ctanl.c (__ctanl): Likewise.
13851         * math/w_fmod.c (__fmod): Likewise.
13852         * math/w_fmodf.c (__fmodf): Likewise.
13853         * math/w_fmodl.c (_fmodl): Likewise.
13854         * math/w_remainder.c (__remainder): Likewise.
13855         * math/w_remainderf.c (__remainderf): Likewise.
13856         * math/w_remainderl.c (__remainderl): Likewise.
13857         * math/w_scalb.c (__scalb): Likewise.
13858         * math/w_scalbf.c (__scalbf): Likewise.
13859         * math/w_scalbl.c (__scalbl): Likewise.
13860         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13861         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13862         with isinf.
13863         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13864         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13865         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13866         __isinf_nsf with isinf.
13867         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13868         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13869         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13870         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13871         with isinf.
13872         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13873         __isinf_nsl with isinf.
13874         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13875         with isinf.
13876         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13877         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13878         __isinf_nsl with isinf.
13879         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13880         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13881         with isinf.
13883 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13885         * resolv/base64.c (rcsid): Remove unused static.
13886         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13887         static.  (tqpi1): Likewise.
13888         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13889         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13890         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13891         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13892         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13893         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13894         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13895         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13896         Likewise.
13898 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13900         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13901         <nptl/pthreadP.h>.
13902         (_longjmp_unwind): Use __libc_ptf_call.
13903         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13905 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13907         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13908         * sysdeps/arm/__longjmp.S: Likewise.
13910 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13912         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13913         Use __builtin_signbit.
13914         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13915         Use __builtin_signbitf.
13916         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13917         Use __builtin_signbitl.
13918         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13919         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13921 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13923         [BZ #15367]
13924         [BZ #17441]
13926         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13927         * math/math.h (fpclassify): Use __builtin_fpclassify when
13928         available.  (signbit): Use __builtin_signbit(f/l).
13929         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13930         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13931         (isinf): Use __builtin_isinf_sign.
13933 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13935         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13936         * benchtests/bench-math-inlines.c: New benchmark.
13937         * benchtests/bench-util.h: New file.
13938         * benchtests/bench-util.c: New file.
13939         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13941 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13943         * elf/tst-dlmopen1.c: Define TEST_SO.
13944         (do_test): Use TEST_SO.
13946         * elf/dl-load.c: Include libc-internal.h.
13947         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13949 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13951         [BZ #17887]
13952         * time/strptime_l.c (__strptime_internal): Make %z accept
13953         [+-]HH:MM time zones.
13955 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13957         [BZ #17886]
13958         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13959         valid time zone.
13961 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13963         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13964         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13965         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13966         (__ASSUME_FDATASYNC): Delete.
13968 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13970         * conform/linknamespace.pl: Require weak undefined symbols to be
13971         in the standard namespace.
13972         (%strong_syms): Rename to %seen_syms.
13973         (%strong_seen): Rename to %seen_where.
13975 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13977         [BZ #18970]
13978         * misc/error.c (error): Replace pthread_setcancelstate with
13979         __pthread_setcancelstate.
13980         (error_at_line): Likewise.
13981         * posix/wordexp.c (parse_comm): Likewise.
13982         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13983         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13984         (__pthread_setcancelstate): This.
13985         (pthread_setcancelstate): Add an alias.
13986         * nptl/nptl-init.c (pthread_functions): Replace
13987         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13988         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13989         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13990         hidden_proto.
13991         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13992         it with hidden_def.
13993         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13994         (pthread_setcancelstate): Renamed to ...
13995         (__pthread_setcancelstate): This.
13996         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13997         __libc_ptf_call with __pthread_setcancelstate.
13999 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14000             Andreas Schwab  <schwab@suse.de>
14002         [BZ #17118]
14003         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14004         result when imaginary part of argument is infinite using sine and
14005         cosine.
14006         * math/s_ctanf.c (__ctanf): Likewise.
14007         * math/s_ctanl.c (__ctanl): Likewise.
14008         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14009         of result when real part of argument is infinite using sine and
14010         cosine.
14011         * math/s_ctanhf.c (__ctanhf): Likewise.
14012         * math/s_ctanhl.c (__ctanhl): Likewise.
14013         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14014         (ctanh_test_data): Add more tests of ctanh.
14016 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14018         [BZ #15384]
14019         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14020         bit-mask as in subtraction.
14021         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14022         Likewise.
14023         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14024         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14025         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14027         [BZ #18951]
14028         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14029         underflow exception for small results.
14030         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14031         Likewise.
14032         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14033         Likewise.
14034         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14035         Likewise.
14036         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14037         Likewise.
14038         * math/auto-libm-test-in: Add more tests of tgamma.
14039         * math/auto-libm-test-out: Regenerated.
14041 2015-09-17  Andreas Schwab  <schwab@suse.de>
14043         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14045 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14047         [BZ #18977]
14048         * math/bits/mathcalls.h
14049         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14050         not declare.
14051         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14052         Likewise.
14053         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14054         Likewise.
14055         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14056         Likewise.
14057         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14058         Likewise.
14059         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14060         Likewise.
14061         * conform/data/math.h-data
14062         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14063         function.
14064         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14065         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14066         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14067         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14068         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14069         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14070         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14071         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14072         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14073         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14074         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14076         [BZ #6803]
14077         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14078         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14079         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14080         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14081         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14082         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14083         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14084         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14085         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14086         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14087         Likewise.
14088         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14089         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14090         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14091         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14092         long_double_symbol calls.
14093         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14094         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14095         strong alias of __ldexpl.
14096         (scalbnl): Define using long_double_symbol.
14097         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14098         Remove alias.
14099         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14100         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14101         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14102         (scalbln_test_data): Add more errno expectations.
14104 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14106         Cache the host port like we cache the task port.  This way we do not
14107         need to call the kernel just to get the port.  Furthermore, we no
14108         longer increase the reference count on every invocation of
14109         `mach_host_self'.
14111         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14112         Protect declarations against the macro expansion.
14113         * mach/mach_init.c (__mach_host_self_): New variable.
14114         (mach_init): Initialize `__mach_host_self_'.
14115         * mach/mach_init.h (__mach_host_self_): New declaration.
14116         (__mach_host_self, mach_host_self): New macros.
14117         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14118         Release reference.
14120 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14122         [BZ #4404]
14123         * po/de.po: Update from Translation Project.
14125         [BZ #16415]
14126         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14127         (__expm1l): Remove code to handle positive infinity and overflow.
14128         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14129         variable.
14130         (__expm1l): Remove code to handle positive infinity and overflow.
14132 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14133             Paul Pluzhnikov  <ppluzhnikov@google.com>
14135         [BZ #18872]
14136         * stdio-common/Makefile (tst-printf-bz18872): New test.
14137         (tst-printf-bz18872-mem.out): Likewise.
14138         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14139         * stdio-common/vfprintf.c: Fix memory leaks.
14141 2015-09-16  Andreas Schwab  <schwab@suse.de>
14143         [BZ #17244]
14144         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14145         Remove extra va_start/va_end calls.
14147         [BZ #17243]
14148         * posix/execl.c (execl): Add missing va_end.
14149         * posix/execle.c (execle): Likewise.
14150         * posix/execlp.c (execlp): Likewise.
14152 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14154         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14155         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14157 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14159         [BZ #18967]
14160         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14161         undefine around includes of <bits/mathcalls.h>.
14162         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14163         not declare function.
14164         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14165         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14166         (scalb): Likewise.
14167         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14168         not define macro.
14169         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14170         variable.
14171         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14172         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14173         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14175         [BZ #18857]
14176         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14177         return non-finite argument without doing ordered comparisons on
14178         it.
14180         [BZ #16296]
14181         * math/fenv.h (fegetround): Use __attribute_pure__.
14182         * include/fenv.h (__fegetround): Likewise.
14184         [BZ #18595]
14185         * math/s_ctan.c (__ctan): Force underflow exception for results
14186         whose real or imaginary part has small absolute value.
14187         * math/s_ctanf.c (__ctanf): Likewise.
14188         * math/s_ctanh.c (__ctanh): Likewise.
14189         * math/s_ctanhf.c (__ctanhf): Likewise.
14190         * math/s_ctanhl.c (__ctanhl): Likewise.
14191         * math/s_ctanl.c (__ctanl): Likewise.
14192         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14193         and ctanh.  Add more tests of ctan and ctanh.
14195         [BZ #15918]
14196         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14197         handling of cases where one argument is an infinity.
14199         [BZ #18875]
14200         [BZ #18966]
14201         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14202         (MO): New macro.
14203         (__ieee754_exp10): For small results, force underflow exception
14204         and remove excess range and precision from return value.
14205         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14206         (MO): New macro.
14207         (__ieee754_exp10f): For small results, force underflow exception
14208         and remove excess range and precision from return value.
14209         * math/auto-libm-test-in: Add more tests of exp10.
14210         * math/auto-libm-test-out: Regenerated.
14212 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14214         [BZ #18875]
14215         [BZ #18961]
14216         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14217         (MO): New macro.
14218         (__ieee754_exp): For small results, force underflow exception and
14219         remove excess range and precision from return value.
14220         (__exp_finite): Likewise.
14221         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14222         (MO): New macro.
14223         (__ieee754_expf): For small results, force underflow exception and
14224         remove excess range and precision from return value.
14225         (__expf_finite): Likewise.
14226         * math/auto-libm-test-in: Add more tests of exp.
14227         * math/auto-libm-test-out: Regenerated.
14229         [BZ #16521]
14230         [BZ #18875]
14231         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14232         small results.
14233         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14234         (MO): New macro.
14235         (__ieee754_exp2): For small results, force underflow exception and
14236         remove excess range and precision from return value.
14237         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14238         (MO): New macro.
14239         (__ieee754_exp2f): For small results, force underflow exception
14240         and remove excess range and precision from return value.
14241         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14242         (MO): New macro.
14243         (__ieee754_exp2l): Force underflow exception for small results.
14244         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14245         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14246         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14247         (MO): New macro.
14248         (__ieee754_exp2l): Force underflow exception for small results.
14249         * math/auto-libm-test-in: Add more tests or exp2.
14250         * math/auto-libm-test-out: Regenerated.
14252 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14254         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14256         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14257         /dev/null.
14259 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14261         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14262         io fs process)): Drop spurious backslash.
14264 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14266         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14267         Use sysinfo system call instead of parsing /proc/meminfo.
14268         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14269         Likewise.
14271 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14273         [BZ #16985]
14274         * programs/localedef.c (main): Display argv[remaining] when
14275         output_path is NULL.
14277 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14279         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14280         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14281         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14282         tanh.
14283         * math/auto-libm-test-out: Regenerated.
14284         * sysdeps/i386/fpu/libm-test-ulps: Update.
14285         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14286         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14289 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14291         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14292         Use 'override' keyword to freeze the value here, preventing
14293         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14295 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14297         [BZ #14912]
14298         * sysdeps/aarch64/bits/atomic.h: Move to ...
14299         * sysdeps/aarch64/atomic-machine.h: ...here.
14300         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14301         _AARCH64_ATOMIC_MACHINE_H.
14302         * sysdeps/alpha/bits/atomic.h: Move to ...
14303         * sysdeps/alpha/atomic-machine.h: ...here.
14304         * sysdeps/arm/bits/atomic.h: Move to ...
14305         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14306         * bits/atomic.h: Move to ...
14307         * sysdeps/generic/atomic-machine.h: ...here.
14308         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14309         * sysdeps/i386/bits/atomic.h: Move to ...
14310         * sysdeps/i386/atomic-machine.h: ...here.
14311         * sysdeps/ia64/bits/atomic.h: Move to ...
14312         * sysdeps/ia64/atomic-machine.h: ...here.
14313         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14314         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14315         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14316         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14317         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14318         * sysdeps/microblaze/bits/atomic.h: Move to ...
14319         * sysdeps/microblaze/atomic-machine.h: ...here.
14320         * sysdeps/mips/bits/atomic.h: Move to ...
14321         * sysdeps/mips/atomic-machine.h: ...here.
14322         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14323         * sysdeps/powerpc/bits/atomic.h: Move to ...
14324         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14325         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14326         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14327         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14328         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14329         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14330         <atomic-machine.h> instead of <bits/atomic.h>.
14331         * sysdeps/s390/bits/atomic.h: Move to ...
14332         * sysdeps/s390/atomic-machine.h: ...here.
14333         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14334         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14335         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14336         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14337         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14338         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14339         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14340         * sysdeps/tile/bits/atomic.h: Move to ...
14341         * sysdeps/tile/atomic-machine.h: ...here.
14342         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14343         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14344         <sysdeps/tile/atomic-machine.h> instead of
14345         <sysdeps/tile/bits/atomic.h>.
14346         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14347         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14348         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14349         <sysdeps/tile/atomic-machine.h> instead of
14350         <sysdeps/tile/bits/atomic.h>.
14351         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14352         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14353         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14354         <sysdeps/arm/atomic-machine.h> instead of
14355         <sysdeps/arm/bits/atomic.h>.
14356         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14357         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14358         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14359         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14360         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14361         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14362         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14363         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14364         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14365         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14366         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14367         * sysdeps/x86_64/bits/atomic.h: Move to ...
14368         * sysdeps/x86_64/atomic-machine.h: ...here.
14369         * include/atomic.h: Include <atomic-machine.h> instead of
14370         <bits/atomic.h>.
14372         * sysdeps/mips/mips32/libm-test-ulps: Update.
14373         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14375         [BZ #18952]
14376         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14377         not convert non-integer negative arguments to int to determine the
14378         value of signgam.
14379         * math/auto-libm-test-in: Add more tests of lgamma.
14380         * math/auto-libm-test-out: Regenerated.
14382         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14383         cosh, csqrt, erfc, expm1 and lgamma.
14384         * math/auto-libm-test-out: Regenerated.
14385         * sysdeps/i386/fpu/libm-test-ulps: Update.
14386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14388 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14390         [BZ #2542]
14391         [BZ #2543]
14392         [BZ #2558]
14393         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14394         __lgamma_neg for arguments from -28.0 to -2.0.
14395         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14396         __lgamma_negf for arguments from -15.0 to -2.0.
14397         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14398         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14399         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14400         Call __lgamma_negl for arguments from -33.0 to -2.0.
14401         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14402         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14403         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14404         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14405         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14406         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14407         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14408         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14409         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14410         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14411         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14412         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14413         (__lgamma_neg): Likewise.
14414         (__lgamma_negl): Likewise.
14415         (__lgamma_product): Likewise.
14416         (__lgamma_productl): Likewise.
14417         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14418         * math/auto-libm-test-in: Add more tests of lgamma.
14419         * math/auto-libm-test-out: Regenerated.
14420         * sysdeps/i386/fpu/libm-test-ulps: Update.
14421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14423 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14425         [BZ #18675]
14426         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14428 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14430         [BZ #14912]
14431         * bits/libc-lock.h: Move to ...
14432         * sysdeps/generic/libc-lock.h: ...here.
14433         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14434         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14435         * sysdeps/mach/hurd/libc-lock.h: ...here.
14436         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14437         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14438         * sysdeps/mach/bits/libc-lock.h: Move to ...
14439         * sysdeps/mach/libc-lock.h: ...here.
14440         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14441         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14442         * sysdeps/nptl/libc-lock.h: ...here.
14443         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14444         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14445         * sysdeps/nptl/libc-lockP.h: ...here.
14446         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14447         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14448         <bits/libc-lock.h>.
14449         * dirent/scandir-tail.c: Likewise.
14450         * dlfcn/dlerror.c: Likewise.
14451         * elf/dl-close.c: Likewise.
14452         * elf/dl-iteratephdr.c: Likewise.
14453         * elf/dl-lookup.c: Likewise.
14454         * elf/dl-open.c: Likewise.
14455         * elf/dl-support.c: Likewise.
14456         * elf/dl-writev.h: Likewise.
14457         * elf/rtld.c: Likewise.
14458         * grp/fgetgrent.c: Likewise.
14459         * gshadow/fgetsgent.c: Likewise.
14460         * gshadow/sgetsgent.c: Likewise.
14461         * iconv/gconv_conf.c: Likewise.
14462         * iconv/gconv_db.c: Likewise.
14463         * iconv/gconv_dl.c: Likewise.
14464         * iconv/gconv_int.h: Likewise.
14465         * iconv/gconv_trans.c: Likewise.
14466         * include/link.h: Likewise.
14467         * inet/getnameinfo.c: Likewise.
14468         * inet/getnetgrent.c: Likewise.
14469         * inet/getnetgrent_r.c: Likewise.
14470         * intl/bindtextdom.c: Likewise.
14471         * intl/dcigettext.c: Likewise.
14472         * intl/finddomain.c: Likewise.
14473         * intl/gettextP.h: Likewise.
14474         * intl/loadmsgcat.c: Likewise.
14475         * intl/localealias.c: Likewise.
14476         * intl/textdomain.c: Likewise.
14477         * libidn/idn-stub.c: Likewise.
14478         * libio/libioP.h: Likewise.
14479         * locale/duplocale.c: Likewise.
14480         * locale/freelocale.c: Likewise.
14481         * locale/newlocale.c: Likewise.
14482         * locale/setlocale.c: Likewise.
14483         * login/getutent_r.c: Likewise.
14484         * login/getutid_r.c: Likewise.
14485         * login/getutline_r.c: Likewise.
14486         * login/utmp-private.h: Likewise.
14487         * login/utmpname.c: Likewise.
14488         * malloc/mtrace.c: Likewise.
14489         * misc/efgcvt.c: Likewise.
14490         * misc/error.c: Likewise.
14491         * misc/fstab.c: Likewise.
14492         * misc/getpass.c: Likewise.
14493         * misc/mntent.c: Likewise.
14494         * misc/syslog.c: Likewise.
14495         * nis/nis_call.c: Likewise.
14496         * nis/nis_callback.c: Likewise.
14497         * nis/nss-default.c: Likewise.
14498         * nis/nss_compat/compat-grp.c: Likewise.
14499         * nis/nss_compat/compat-initgroups.c: Likewise.
14500         * nis/nss_compat/compat-pwd.c: Likewise.
14501         * nis/nss_compat/compat-spwd.c: Likewise.
14502         * nis/nss_nis/nis-alias.c: Likewise.
14503         * nis/nss_nis/nis-ethers.c: Likewise.
14504         * nis/nss_nis/nis-grp.c: Likewise.
14505         * nis/nss_nis/nis-hosts.c: Likewise.
14506         * nis/nss_nis/nis-network.c: Likewise.
14507         * nis/nss_nis/nis-proto.c: Likewise.
14508         * nis/nss_nis/nis-pwd.c: Likewise.
14509         * nis/nss_nis/nis-rpc.c: Likewise.
14510         * nis/nss_nis/nis-service.c: Likewise.
14511         * nis/nss_nis/nis-spwd.c: Likewise.
14512         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14513         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14514         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14515         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14516         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14517         * nis/nss_nisplus/nisplus-network.c: Likewise.
14518         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14519         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14520         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14521         * nis/nss_nisplus/nisplus-service.c: Likewise.
14522         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14523         * nis/ypclnt.c: Likewise.
14524         * nptl/libc_pthread_init.c: Likewise.
14525         * nss/getXXbyYY.c: Likewise.
14526         * nss/getXXent.c: Likewise.
14527         * nss/getXXent_r.c: Likewise.
14528         * nss/nss_db/db-XXX.c: Likewise.
14529         * nss/nss_db/db-netgrp.c: Likewise.
14530         * nss/nss_db/nss_db.h: Likewise.
14531         * nss/nss_files/files-XXX.c: Likewise.
14532         * nss/nss_files/files-alias.c: Likewise.
14533         * nss/nsswitch.c: Likewise.
14534         * posix/regex_internal.h: Likewise.
14535         * posix/wordexp.c: Likewise.
14536         * pwd/fgetpwent.c: Likewise.
14537         * resolv/res_hconf.c: Likewise.
14538         * resolv/res_libc.c: Likewise.
14539         * shadow/fgetspent.c: Likewise.
14540         * shadow/lckpwdf.c: Likewise.
14541         * shadow/sgetspent.c: Likewise.
14542         * socket/opensock.c: Likewise.
14543         * stdio-common/reg-modifier.c: Likewise.
14544         * stdio-common/reg-printf.c: Likewise.
14545         * stdio-common/reg-type.c: Likewise.
14546         * stdio-common/vfprintf.c: Likewise.
14547         * stdio-common/vfscanf.c: Likewise.
14548         * stdlib/abort.c: Likewise.
14549         * stdlib/cxa_atexit.c: Likewise.
14550         * stdlib/fmtmsg.c: Likewise.
14551         * stdlib/random.c: Likewise.
14552         * stdlib/setenv.c: Likewise.
14553         * string/strsignal.c: Likewise.
14554         * sunrpc/auth_none.c: Likewise.
14555         * sunrpc/bindrsvprt.c: Likewise.
14556         * sunrpc/create_xid.c: Likewise.
14557         * sunrpc/key_call.c: Likewise.
14558         * sunrpc/rpc_thread.c: Likewise.
14559         * sysdeps/arm/backtrace.c: Likewise.
14560         * sysdeps/generic/ldsodefs.h: Likewise.
14561         * sysdeps/generic/stdio-lock.h: Likewise.
14562         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14563         * sysdeps/i386/backtrace.c: Likewise.
14564         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14565         * sysdeps/m68k/backtrace.c: Likewise.
14566         * sysdeps/mach/hurd/cthreads.c: Likewise.
14567         * sysdeps/mach/hurd/dirstream.h: Likewise.
14568         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14569         * sysdeps/nptl/malloc-machine.h: Likewise.
14570         * sysdeps/nptl/stdio-lock.h: Likewise.
14571         * sysdeps/posix/dirstream.h: Likewise.
14572         * sysdeps/posix/getaddrinfo.c: Likewise.
14573         * sysdeps/posix/system.c: Likewise.
14574         * sysdeps/pthread/aio_suspend.c: Likewise.
14575         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14576         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14577         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14578         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14579         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14580         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14581         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14582         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14583         * sysdeps/unix/sysv/linux/system.c: Likewise.
14584         * sysdeps/x86_64/backtrace.c: Likewise.
14585         * time/alt_digit.c: Likewise.
14586         * time/era.c: Likewise.
14587         * time/tzset.c: Likewise.
14588         * wcsmbs/wcsmbsload.c: Likewise.
14589         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14590         instead of <bits/libc-lock.h> in comment.
14592 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14594         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14595         Only use .set mips2 if the current ISA is below mips2.
14596         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14597         Likewise.
14598         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14599         mips32r2 if the current ISA is below mips32r2.
14600         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14601         (TLS_IE): Updated to use the TLD_RDHWR macro.
14602         (TLS_LE): Likewise.
14603         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14604         __ASSEMBLER__ condition.
14606 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14608         Fix parallel build of before-compile targets.
14610         * sysdeps/mach/Makefile ($(patsubst
14611         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14612         mach-before-compile target.
14613         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14614         io fs process)): Move rule to dedicated hurd-before-compile target.
14616 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14618         Fix rules generating headers in hurd/ and mach/ when initial make call
14619         has subdir= explicitly set.
14621         * sysdeps/mach/Makefile ($(patsubst
14622         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14623         calling $(MAKE).
14624         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14625         io fs process)): Force subdir to hurd when calling $(MAKE).
14626         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14627         subdir to mach when calling $(MAKE).
14629 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14631         Check sysheaders when looking for Mach and Hurd headers
14633         * sysdeps/mach/configure.ac: Add sysheaders check.
14634         * sysdeps/mach/configure: Regenerate.
14635         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14636         * sysdeps/mach/hurd/configure: Regenerate.
14638 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14640         [BZ #18921]
14641         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14642         Fix inverted sense of test of 'o_directory_works' value.
14643         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14644         Bernhard Voelker <mail@bernhard-voelker.de>.
14646 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14648         [BZ #14912]
14649         * bits/linkmap.h: Move to ...
14650         * sysdeps/generic/linkmap.h: ...here.
14651         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14652         * sysdeps/aarch64/linkmap.h: ...here.
14653         * sysdeps/arm/bits/linkmap.h: Move to ...
14654         * sysdeps/arm/linkmap.h: ...here.
14655         * sysdeps/hppa/bits/linkmap.h: Move to ...
14656         * sysdeps/hppa/linkmap.h: ...here.
14657         * sysdeps/ia64/bits/linkmap.h: Move to ...
14658         * sysdeps/ia64/linkmap.h: ...here.
14659         * sysdeps/mips/bits/linkmap.h: Move to ...
14660         * sysdeps/mips/linkmap.h: ...here.
14661         * sysdeps/s390/bits/linkmap.h: Move to ...
14662         * sysdeps/s390/linkmap.h: ...here.
14663         * sysdeps/sh/bits/linkmap.h: Move to ...
14664         * sysdeps/sh/linkmap.h: ...here.
14665         * sysdeps/x86/bits/linkmap.h: Move to ...
14666         * sysdeps/x86/linkmap.h: ...here.
14667         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14669 2015-09-04  Andreas Schwab  <schwab@suse.de>
14671         [BZ #18635]
14672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14673         (__makecontext): Terminate FDE before return label.
14674         (__novec_makecontext): Likewise.
14676 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14678         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14679         first member of struct sv in syscall macro.
14681 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14683         [BZ #14912]
14684         * bits/stdio-lock.h: Move to ...
14685         * sysdeps/generic/stdio-lock.h: ...here.
14686         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14687         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14688         * sysdeps/nptl/stdio-lock.h: ...here.
14689         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14690         * include/libio.h: Include <stdio-lock.h> instead of
14691         <bits/stdio-lock.h>.
14692         * sysdeps/nptl/fork.c: Likewise.
14693         * sysdeps/pthread/flockfile.c: Likewise.
14694         * sysdeps/pthread/ftrylockfile.c: Likewise.
14695         * sysdeps/pthread/funlockfile.c: Likewise.
14697         [BZ #14912]
14698         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14699         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14700         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14701         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14702         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14703         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14704         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14706 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14708         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14709         (test-xfail-tst-protected1b): New variable.
14711 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14713         [BZ #14912]
14714         * bits/libc-tsd.h: Move to ...
14715         * sysdeps/generic/libc-tsd.h: ...here.
14716         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14717         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14718         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14719         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14720         * include/ctype.h: Include <libc-tsd.h> instead of
14721         <bits/libc-tsd.h>.
14722         * include/rpc/rpc.h: Likewise.
14723         * locale/localeinfo.h: Likewise.
14724         * sunrpc/rpc_thread.c: Likewise.
14725         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14726         * sysdeps/nptl/malloc-machine.h: Likewise.
14728         * Makefile (headers): Remove bits/libc-lock.h.
14729         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14731         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14732         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14733         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14734         <bits/stdio-lock.h>.
14735         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14736         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14738 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14740         [BZ #18757]
14741         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14742         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14743         BZ #18757.
14745 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14747         * malloc/mtrace.pl: Filter out NULL entries.
14749 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14751         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14752         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14753         macro.
14755         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14756         (TCP_CC_INFO): Likewise.
14757         (TCP_SAVE_SYN): Likewise.
14758         (TCP_SAVED_SYN): Likewise.
14760 2015-08-31  Brett Neumeier <brett@neumeier.us>
14762         [BZ #18870]
14763         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14765 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14767         [BZ #18873]
14768         Fix broken overflow check in posix_fallocate
14769         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14770         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14771         Fix parenthesization typo.
14773 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
14775         [BZ #18887]
14776         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14777         tst-mntent-blank-passno.
14778         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14779         * misc/tst-mntent-blank-corrupt.c: New test.
14780         * misc/tst-mntent-blank-passno.c: New test ripped from ...
14781         * misc/tst-mntent.c (do_test): ... here.
14783 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
14785         [BZ #4404]
14786         * po/de.po: Fix SIGALRM typo.
14788 2015-08-28  James Perkins  <james@loowit.net>
14790         * time/tst-strptime2.c (tests): Replace short list of test
14791         strings for strptime %z specifier with code which exhaustively
14792         tests every combination of sign and 0 to 5 digits. Tests for
14793         rejection of invalid strings.
14795 2015-08-28  James Perkins  <james@loowit.net>
14797         [BZ #16141]
14798         * time/strptime_l.c (__strptime_internal): Fix %z minutes
14799         calculation, removing incorrect decimal time rounding, so that
14800         all minute values result in a valid seconds value.
14801         * time/strptime_l.c (__strptime_internal): Extend %z time zone
14802         offset range limits to UTC-99:59 through UTC+99:59 to parse
14803         current and historical use cases.
14804         * time/tst-strptime2.c (tests): Modify and add tests for the
14805         strptime %z input field descriptor, specifically conversion of
14806         minutes to seconds and validating an offset range of -9959 to
14807         +9959.
14809 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14810             Dmitry V. Levin  <ldv@altlinux.org>
14812         [BZ #18877]
14813         * posix/Makefile (tests): Add tst-mmap-offset.
14814         * posix/tst-mmap.c: New file.
14815         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14816         offset calculation for negative values.
14818 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14820         * sysdeps/i386/init-arch.h: New file.
14821         * sysdeps/i386/i586/init-arch.h: Likewise.
14822         * sysdeps/i386/i686/init-arch.h: Likewise.
14823         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14824         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
14825         * sysdeps/x86/cpu-features.h (bit_I586): New.
14826         (bit_I686): Likewise.
14827         (bit_CX8): Likewise.
14828         (bit_CMOV): Likewise.
14829         (index_CX8): Likewise.
14830         (index_CMOV): Likewise.
14831         (index_I586): Likewise.
14832         (index_I686): Likewise.
14833         (reg_CX8): Likewise.
14834         (reg_CMOV): Likewise.
14835         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14836         available at compile-time.
14837         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14838         available at compile-time.
14839         * sysdeps/x86/init-arch.h (USE_I586): New macro.
14840         (USE_I686): Likewise.
14842 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14844         * sysdeps/i386/bcopy.S: New file.
14845         * sysdeps/i386/bzero.S: Likewise.
14846         * sysdeps/i386/memcpy.S: Likewise.
14847         * sysdeps/i386/memmove.S: Likewise.
14848         * sysdeps/i386/mempcpy.S: Likewise.
14849         * sysdeps/i386/memset.S: Likewise.
14850         * sysdeps/i386/bzero.c: Removed.
14851         * sysdeps/i386/memset.c: Likewise.
14852         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14853         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14854         * sysdeps/i386/i586/memset_chk.S: Likewise.
14855         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14856         * sysdeps/i386/memcpy_chk.S: Here.
14857         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14858         * sysdeps/i386/memmove_chk.S: Here.
14859         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14860         * sysdeps/i386/mempcpy_chk.S: Likewise.
14861         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14862         * sysdeps/i386/memset_chk.S: Likewise.
14864 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14866         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14867         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14868         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14869         * soft-fp/fmadf4.c: Ditto.
14870         * soft-fp/fmatf4.c: Ditto.
14872 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14874         * sysdeps/i386/i586/Implies: Removed.
14875         * sysdeps/i386/i686/Implies: Likewise.
14877 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14879         * sysdeps/i386/i486/strlen.S: Moved to ...
14880         * sysdeps/i386/strlen.S: Here.
14882 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14884         * sysdeps/i386/i486/strcat.S: Moved to ...
14885         * sysdeps/i386/strcat.S: Here.
14887 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14889         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14890         * sysdeps/i386/pthread_spin_trylock.S: Here.
14891         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14892         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14894 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14896         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14897         * sysdeps/i386/string-inlines.c: Here.
14899 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14901         * sysdeps/i386/i486/htonl.S: Moved ...
14902         * sysdeps/i386/htonl.S: here.
14904 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14906         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14907         * sysdeps/i386/bits/atomic.h: Here.
14909 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14911         * sysdeps/i386/i486/Versions: Removed.
14913 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14915         [BZ #2898]
14916         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14917         Based on patch by Aurelien Jarno.
14919 2015-08-26  Stan Shebs  <stanshebs@google.com>
14921         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14922         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14924 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14926         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14927         * sysdeps/powerpc/dl-procinfo.c:
14928         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14929         feature so it shows when LD_SHOW_AUXV=1.
14931 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14933         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14934         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14935         definition.  ISA 2.07B no longer requires full sync.
14937 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14939         [BZ #18863]
14940         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14941         (si_call_addr): Define.
14942         (si_syscall): Define.
14943         (si_arch): Define.
14945 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14947         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14948         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14949         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14950         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14951         (__memset_zero_constant_len_parameter): New.
14952         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14953         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14954         (__memset_zero_constant_len_parameter): Don't define if
14955         __memset_chk or USE_AS_BZERO are defined.
14957         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14958         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14959         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14961         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14962         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14963         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14964         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14965         comments.
14966         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14967         -mno-mmx for $(all-rtld-routines).
14968         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14969         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14970         i386.
14972 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14974         * sysdeps/generic/unwind.h
14975         (_Unwind_Word): Use __mode__(__unwind_word__)
14976         instead of __mode__(__word__).
14977         (_Unwind_Sword): Likewise.
14979         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14980         (MAX_NEEDED_INPUT): New define.
14981         (MAX_NEEDED_OUTPUT): New define.
14983         * NEWS: New item for IBM z13 string optimizations.
14985         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14986         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14987         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14988         * sysdeps/s390/multiarch/Makefile
14989         (sysdep_routines): Add memrchr functions.
14990         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14991         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14993         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14994         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14995         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14996         * sysdeps/s390/multiarch/Makefile
14997         (sysdep_routines): Add wmemcmp functions.
14998         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14999         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15000         * benchtests/bench-wmemcmp.c: New File.
15001         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15003         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15004         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15005         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15006         * sysdeps/s390/multiarch/Makefile
15007         (sysdep_routines): Add wmemset functions.
15008         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15009         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15010         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15011         * string/test-memset.c: Add wmemset support.
15012         * wcsmbs/test-wmemset.c: New File.
15013         * wcsmbs/Makefile (strop-tests): Add wmemset.
15014         * benchtests/bench-memset.c: Add wmemset support.
15015         * benchtests/bench-wmemset.c: New File.
15016         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15018         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15019         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15020         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15021         * sysdeps/s390/multiarch/Makefile
15022         (sysdep_routines): Add memccpy functions.
15023         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15024         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15025         * string/memccpy.c: Use MEMCCPY if defined.
15027         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15028         * sysdeps/s390/multiarch/memchr.c: Likewise.
15029         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15030         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15031         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15032         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15033         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15034         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15035         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15036         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15037         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15038         and rawmemchr functions.
15039         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15040         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15041         and wmemchr.
15042         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15043         * string/test-memchr.c: Add wmemchr support.
15044         * wcsmbs/test-wmemchr.c: New File.
15045         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15046         * benchtests/bench-memchr.c: Add wmemchr support.
15047         * benchtests/bench-wmemchr.c: New File.
15048         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15050         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15051         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15052         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15053         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15054         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15055         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15056         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15057         wcscspn functions.
15058         * sysdeps/s390/multiarch/ifunc-impl-list.c
15059         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15060         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15061         * string/test-strcspn.c: Add wcscspn support.
15062         * wcsmbs/test-wcscspn.c: New File.
15063         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15064         * benchtests/bench-strcspn.c: Add wcscspn support.
15065         * benchtests/bench-wcscspn.c: New File.
15066         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15068         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15069         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15070         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15071         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15072         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15073         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15074         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15075         wcspbrk functions.
15076         * sysdeps/s390/multiarch/ifunc-impl-list.c
15077         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15078         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15079         * string/test-strpbrk.c: Add wcspbrk support.
15080         * wcsmbs/test-wcspbrk.c: New File.
15081         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15082         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15083         * benchtests/bench-wcspbrk.c: New File.
15084         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15086         * sysdeps/s390/multiarch/strspn-c.c: New File.
15087         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15088         * sysdeps/s390/multiarch/strspn.c: Likewise.
15089         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15090         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15091         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15092         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15093         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15094         wcsspn functions.
15095         * sysdeps/s390/multiarch/ifunc-impl-list.c
15096         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15097         * string/test-strspn.c: Add wcsspn support.
15098         * wcsmbs/test-wcsspn.c: New File.
15099         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15100         * benchtests/bench-strspn.c: Add wcsspn support.
15101         * benchtests/bench-wcsspn.c: New File.
15102         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15104         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15105         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15106         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15107         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15108         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15109         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15110         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15111         wcsrchr functions.
15112         * sysdeps/s390/multiarch/ifunc-impl-list.c
15113         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15114         * benchtests/bench-wcsrchr.c: New File.
15115         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15117         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15118         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15119         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15120         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15121         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15122         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15124         wcschrnul functions.
15125         * sysdeps/s390/multiarch/ifunc-impl-list.c
15126         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15127         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15128         * string/test-strchr.c: Add wcschrnul support.
15129         * wcsmbs/test-wcschrnul.c: New File.
15130         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15131         * benchtests/bench-strchr.c: Add wcschrnul support.
15132         * benchtests/bench-wcschrnul.c: New File.
15133         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15135         * sysdeps/s390/multiarch/strchr-c.c: New File.
15136         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15137         * sysdeps/s390/multiarch/strchr.c: Likewise.
15138         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15139         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15140         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15141         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15142         wcschr functions.
15143         * sysdeps/s390/multiarch/ifunc-impl-list.c
15144         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15145         * string/strchr.c (STRCHR): Define and use macro.
15146         * benchtests/bench-wcschr.c: New File.
15147         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15149         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15150         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15151         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15152         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15153         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15154         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15155         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15156         wcsncmp functions.
15157         * sysdeps/s390/multiarch/ifunc-impl-list.c
15158         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15159         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15160         * benchtests/bench-strncmp.c: Add wcsncmp support.
15161         * benchtests/bench-wcsncmp.c: New File.
15162         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15164         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15165         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15166         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15167         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15168         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15169         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15170         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15171         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15172         wcscmp functions.
15173         * sysdeps/s390/multiarch/ifunc-impl-list.c
15174         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15175         * string/strcmp.c (STRCMP): Define and use macro.
15176         * benchtests/bench-wcscmp.c: New File.
15177         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15178         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15179         instead of _HAVE_STRING_ARCH_memchr.
15181         * sysdeps/s390/multiarch/strncat-c.c: New File.
15182         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15183         * sysdeps/s390/multiarch/strncat.c: Likewise.
15184         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15185         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15186         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15187         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15188         wcsncat functions.
15189         * sysdeps/s390/multiarch/ifunc-impl-list.c
15190         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15191         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15192         * string/test-strncat.c: Add wcsncat support.
15193         * wcsmbs/test-wcsncat.c: New File.
15194         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15195         * benchtests/bench-strncat.c: Add wcsncat support.
15196         * benchtests/bench-wcsncat.c: New File.
15197         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15199         * sysdeps/s390/multiarch/strcat-c.c: New File.
15200         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15201         * sysdeps/s390/multiarch/strcat.c: Likewise.
15202         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15203         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15204         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15205         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15206         wcscat functions.
15207         * sysdeps/s390/multiarch/ifunc-impl-list.c
15208         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15209         * string/strcat.c (STRCAT): Define and use macro.
15210         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15211         * string/test-strcat.c: Add wcscat support.
15212         * wcsmbs/test-wcscat.c: New File.
15213         * wcsmbs/Makefile (strop-tests): Add wcscat.
15214         * benchtests/bench-strcat.c: Add wcscat support.
15215         * benchtests/bench-wcscat.c: New File.
15216         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15218         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15219         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15220         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15221         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15222         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15223         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15224         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15225         wcpncpy functions.
15226         * sysdeps/s390/multiarch/ifunc-impl-list.c
15227         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15228         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15229         * string/test-stpncpy.c: Add wcpncpy support.
15230         * wcsmbs/test-wcpncpy.c: New File.
15231         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15232         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15233         * benchtests/bench-wcpncpy.c: New File.
15234         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15236         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15237         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15238         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15239         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15240         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15241         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15242         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15243         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15244         wcsncpy functions.
15245         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15246         * sysdeps/s390/multiarch/ifunc-impl-list.c
15247         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15248         * string/test-strncpy.c: Add wcsncpy support.
15249         * wcsmbs/test-wcsncpy.c: New File.
15250         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15251         * benchtests/bench-strncpy.c: Add wcsncpy support.
15252         * benchtests/bench-wcsncpy.c: New File.
15253         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15255         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15256         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15257         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15258         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15259         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15260         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15261         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15262         wcpcpy functions.
15263         * string/stpcpy.c: Use STPCPY if defined.
15264         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15265         * sysdeps/s390/multiarch/ifunc-impl-list.c
15266         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15267         * string/test-stpcpy.c: Add wcpcpy support.
15268         * wcsmbs/test-wcpcpy.c: New File.
15269         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15270         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15271         * benchtests/bench-wcpcpy.c: New File.
15272         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15274         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15275         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15276         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15277         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15278         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15279         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15280         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15281         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15282         wcscpy functions.
15283         * sysdeps/s390/multiarch/ifunc-impl-list.c
15284         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15285         * benchtests/bench-wcscpy.c: New File.
15286         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15288         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15289         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15290         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15291         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15292         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15293         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15294         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15295         wcsnlen functions.
15296         * sysdeps/s390/multiarch/ifunc-impl-list.c
15297         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15298         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15299         * string/test-strnlen.c: Add wcsnlen support.
15300         * wcsmbs/test-wcsnlen.c: New File.
15301         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15302         * benchtests/bench-strnlen.c: Add wcsnlen support.
15303         * benchtests/bench-wcsnlen.c: New File.
15304         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15306         * sysdeps/s390/multiarch/Makefile: New File.
15307         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15308         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15309         * sysdeps/s390/multiarch/strlen.c: Likewise.
15310         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15311         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15312         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15313         * string/strlen.c (STRLEN): Define and use macro.
15314         * sysdeps/s390/multiarch/ifunc-impl-list.c
15315         (IFUNC_VX_IMPL): New macro function.
15316         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15317         * benchtests/Makefile (wcsmbs-bench): New variable.
15318         (string-bench-all): Added wcsmbs-bench.
15319         * benchtests/bench-wcslen.c: New File.
15321         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15322         s390_vx_libc_ifunc2): New macro function.
15324         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15325         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15326         assembler support.
15327         * sysdeps/s390/configure: Regenerated.
15329         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15330         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15332         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15333         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15334         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15336         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15337         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15338         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15339         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15340         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15341         (memcmp, bcmp): Use __memcmp_default as alias source.
15342         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15343         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15344         Rename to __memcmp_default.
15345         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15346         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15347         (memcpy): Use __memcpy_default as alias source.
15348         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15349         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15350         Rename to __memcpy_default.
15351         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15352         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15353         (memset): Use __memset_default as alias source.
15354         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15355         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15356         Rename to __memset_default.
15357         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15358         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15359         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15360         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15361         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15362         (memcmp, bcmp): Use __memcmp_default as alias source.
15363         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15364         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15365         Rename to __memcmp_default.
15366         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15367         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15368         (memcpy): Use __memcpy_default as alias source.
15369         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15370         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15371         Rename to __memcpy_default.
15372         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15373         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15374         (memset): Use __memset_default as alias source.
15375         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15376         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15377         Rename to __memset_default.
15378         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15379         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15381         [BZ #18610]
15382         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15383         __ieee_instruction_pointer to __unused.
15384         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15385         __ieee_instruction_pointer.
15386         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15387         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15388         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15389         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15390         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15391         Mark dxc-field as reserved.
15393 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15395         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15396         if the weak reference is not null.
15398 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15400         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15402         [BZ #11214]
15403         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15405 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15407         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15408         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15409         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15410         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15411         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15412         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15413         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15414         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15415         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15416         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15417         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15418         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15419         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15420         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15421         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15422         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15423         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15424         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15426 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15428         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15429         register other than r0 for tabort, it has special meaning.
15430         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15431         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15432         transaction before starting syscall.
15434 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15436         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15438 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15440         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15442         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15443         * sysdeps/x86_64/rtld-memset.S: Likewise.
15444         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15445         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15446         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15447         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15449         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15451 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15453         * debug/strcpy_chk.c: Improve performance.
15454         * debug/stpcpy_chk.c: Likewise.
15455         * sysdeps/x86_64/strcpy_chk.S: Remove.
15456         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15458         [BZ #18240]
15459         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15461 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15463         [BZ #15128]
15464         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15465         ifuncmain8.
15466         (modules-names): Add ifuncmod8.
15467         ($(objpfx)ifuncmain8): New rule.
15468         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15469         <cpuid.h>.
15470         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15471         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15472         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15473         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15474         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15475         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15476         * sysdeps/x86_64/ifuncmain8.c: New file.
15477         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15478         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15479         Removed.
15480         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15481         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15482         Change rtld_savespace_sse to __glibc_unused2.
15483         (RTLD_CHECK_FOREIGN_CALL): Removed.
15484         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15485         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15486         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15488 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15490         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15492 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15494         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15495         Unconditionally set __fpcr to avoid uninialized warning.
15496         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15498 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15500         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15501         is corrupt.
15503         * malloc/arena.c (arena_get2): Drop unused argument.
15504         (arena_lock): Adjust.
15505         (arena_get_retry): Likewise.
15507 2015-08-24  Andreas Schwab  <schwab@suse.de>
15509         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15510         Don't define.
15511         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15512         (__ASSUME_IPC64): Don't undef.
15513         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15514         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15515         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15516         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15517         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15518         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15519         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15520         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15521         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15522         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15523         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15524         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15525         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15526         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15527         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15528         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15529         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15530         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15531         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15532         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15533         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15535 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15537         * manual/Makefile (install): Only build manual when perl is available.
15539 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15541         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15542         '#undef memcpy' by '#undef memchr'.
15544 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15546         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15547         memchr not point to the internal __GI_memchr implementation.
15549 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15551         * timezone/Makefile (CFLAGS-zdump.c): Remove
15552         -Wno-strict-prototypes.
15553         (CFLAGS-zic.c): Likewise.
15554         (CFLAGS-ialloc.c): Likewise.
15555         (CFLAGS-scheck.c): Likewise.
15557         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15558         -Wno-error=undef.
15560 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15562         * i386/i686/multiarch/strcasestr-c.c: Removed.
15563         * x86_64/multiarch/strcasestr.c: Likewise.
15564         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15565         Remove strcasestr.
15567 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15569         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15571         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15572         variables for high and low parts before possibly modifying them.
15574 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15576         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15577         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15578         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15579         of "multiarch/init-arch.h".
15580         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15581         * sysdeps/x86/init-arch.h: This.
15583 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15585         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15586         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15588 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15590         [BZ #17787]
15591         * manual/macros.texi: Add twoexp macro.
15592         * manual/filesys.texi: Fix exponents.
15593         * manual/llio.texi: Likewise.
15594         * manual/stdio.texi: Likewise.
15596 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15598         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15599         incorrect use.
15601 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15603         [BZ #18370]
15604         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15605         whose real or imaginary part has small absolute value.
15606         * math/s_csqrtf.c (__csqrtf): Likewise.
15607         * math/s_csqrtl.c (__csqrtl): Likewise.
15608         * math/auto-libm-test-in: Add more tests of csqrt.
15609         * math/auto-libm-test-out: Regenerated.
15610         * sysdeps/i386/fpu/libm-test-ulps: Update.
15612 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15614         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15615         __ppc_set_ppr_very_low): New functions.
15616         * manual/platform.texi: Add documentation about
15617         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15619 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15621         * string/stpncpy.c (stpncpy): Improve performance using
15622         __strnlen/memcpy/memset.
15624 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15626         [BZ #18796]
15627         * scripts/test-installation.pl: Don't add -lmvec to build options if
15628         libmvec wasn't built.
15630 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15632         [BZ #14341]
15633         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15634         case when there is a gap between DT_REL and DT_JMPREL sections.
15635         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15636         (LDFLAGS-tst-split-dynreloc): New.
15637         (tst-split-dynreloc-ENV): Likewise.
15638         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15639         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15641 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15643         [BZ #18822]
15644         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15645         attribute_hidden.
15646         (__xstat64_conv): Likewise.
15647         (__xstat32_conv): Likewise.
15649 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15651         [BZ #18822]
15652         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15653         Don't load %ebx when calling __setcontext.  Call __setcontext
15654         with HIDDEN_JUMPTARGET.
15655         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15656         libc_hidden_def.
15658 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15660         * sysdeps/i386/i686/Makefile
15661         [$(subdir) == string] (sysdep_routines): Moved to ...
15662         * sysdeps/i386/Makefile: Here.
15663         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15664         * sysdeps/i386/cacheinfo.c: Here.
15665         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15666         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15667         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15668         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15670 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15672         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15673         __i586__ is defined.
15674         (HAS_I686): Defined to 1 if __i686__ is defined.
15676 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15678         * elf/Makefile [$(have-z-execstack) = yes]
15679         (CPPFLAGS-tst-execstack.c): New variable.
15681         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15682         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15683         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15684         UTMPX || _HAVE_UT_TV].
15685         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15686         UTMPX || _HAVE_UT_TV - 0].
15688 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15690         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15691         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15692         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15694 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15696         * sysdeps/powerpc/dl-procinfo.c:
15697         (_dl_powerpc_cap_flags): Added missing strings for some
15698         hwcap features.
15699         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15701 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15703         Port the 0x7efe...feff pattern to GCC 6.
15704         See Steve Ellcey's bug report in:
15705         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15706         * string/memrchr.c (MEMRCHR):
15707         * string/rawmemchr.c (RAWMEMCHR):
15708         * string/strchr.c (strchr):
15709         * string/strchrnul.c (STRCHRNUL):
15710         Rewrite code to avoid issues with signed shift overflow.
15712 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15714         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15715         whether cpuid is available only if HAS_CPUID is 0.
15716         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15717         (HAS_I586): Likewise.
15718         (HAS_I686): Likewise.
15720 2015-08-18  Zack Weinberg  <zackw@panix.com>
15722         * misc/Versions (libc): Add GLIBC_2.23.
15724 2015-08-18  Alan Modra  <amodra@gmail.com>
15726         [BZ #18421]
15727         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15728         .Lp__global.
15729         (_start): Load %dp via .Lp__global.
15730         [!SHARED]: Use .section .rodata.
15732 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15734         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15735         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15737 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15739         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15740         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15742 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15744         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15745         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15747 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15749         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15750         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15752 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15754         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15755         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15757 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15759         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15760         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15762 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15764         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15766 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15768         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15769         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15770         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15771         (__ASSUME_LWS_CAS): Delete.
15773 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15775         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15776         * sysdeps/hppa/configure: Regenerated.
15777         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15778         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15779         * sysdeps/hppa/nptl/tls.h: Likewise.
15781 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
15783         [BZ #18823]
15784         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15785         for scaling up small arguments.
15786         * math/s_csqrtf.c (__csqrtf): Likewise.
15787         * math/s_csqrtl.c (__csqrtl): Likewise.
15788         * math/auto-libm-test-in: Add more tests of csqrt.
15789         * math/auto-libm-test-out: Regenerated.
15791 2015-08-17  Andreas Schwab  <schwab@suse.de>
15793         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15794         version set GLIBC_2.19.
15796 2015-08-16  Zack Weinberg  <zackw@panix.com>
15798         [BZ #18681]
15799         * misc/regexp.h: This interface is no longer supported.
15800         Remove all contents, leaving only an #error directive.
15801         * misc/regexp.c (loc1, loc2, locs, step, advance):
15802         Demote to compatibility symbols.
15804 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15806         [BZ #18084]
15807         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15808         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15809         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15810         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15811         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15812         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15813         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15814         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15815         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15817 2015-08-15  Zack Weinberg  <zackw@panix.com>
15819         [BZ #18795]
15820         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15821         buffer length is known to be too large, not if it's known to be
15822         small enough.
15823         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15824         overflow at runtime, involving a length parameter, twice: once
15825         with a compile-time constant length parameter, once without.
15827 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
15829         [BZ #18824]
15830         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15831         scaling x * y up instead of down.
15832         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15833         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15834         * math/auto-libm-test-in: Add more tests of fma.
15835         * math/auto-libm-test-out: Regenerated.
15837 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15839         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15841 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15843         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15844         unnecessary movq.
15845         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15846         Likewise.
15848 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15850         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15851         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15852         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15853         and tgamma.
15854         * math/auto-libm-test-out: Regenerated.
15855         * sysdeps/i386/fpu/libm-test-ulps: Update.
15856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15858         [BZ #16520]
15859         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15860         (__tanh): Force underflow exception for arguments with small
15861         absolute value.
15862         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15863         (__tanhf): Force underflow exception for arguments with small
15864         absolute value.
15865         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15866         (__tanhl): Force underflow exception for arguments with small
15867         absolute value.
15868         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15869         (__tanhl): Force underflow exception for arguments with small
15870         absolute value.
15871         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15872         (__tanhl): Force underflow exception for arguments with small
15873         absolute value.
15874         * math/auto-libm-test-in: Add more tests of tanh.
15875         * math/auto-libm-test-out: Regenerated.
15876         * sysdeps/i386/fpu/libm-test-ulps: Update.
15878 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15880         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15881         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15883 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15885         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15886         <cpuid.h>.
15888 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15890         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15891         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15893 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15895         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15896         Remove $(objpfx)init-arch.o.
15897         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15898         init-arch.
15899         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15900         (INIT_ARCH_EXT): Defined as empty.
15901         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15902         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15903         __init_cpu_features call.  Replace HAS_XXX with
15904         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15905         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15906         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15907         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15908         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15909         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15910         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15911         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15912         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15913         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15914         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15915         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15916         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15917         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15918         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15919         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15920         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15921         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15922         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15923         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15924         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15925         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15926         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15927         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15928         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15929         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15930         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15931         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15932         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15933         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15934         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15935         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15936         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15937         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15938         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15939         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15941 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15943         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15944         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15945         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15946         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15947         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15948         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15949         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15950         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15951         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15952         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15953         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15954         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15955         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15956         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15957         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15958         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15959         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15960         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15961         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15962         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15963         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15964         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15965         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15966         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15967         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15968         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15969         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15970         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15971         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15972         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15973         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15974         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15975         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15976         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15977         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15978         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15979         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15980         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15981         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15982         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15983         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15984         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15985         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15987 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15989         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15990         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15991         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15992         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15993         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15994         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15995         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15996         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15997         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15998         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15999         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16000         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16001         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16002         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16003         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16004         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16005         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16006         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16007         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16008         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16009         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16010         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16011         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16012         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16013         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16014         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16015         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16016         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16017         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16018         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16019         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16020         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16021         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16022         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16023         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16024         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16025         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16026         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16027         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16028         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16029         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16030         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16031         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16033 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16035         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16036         (dl_platform_init): Call init_cpu_features.
16037         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16038         * sysdeps/i386/i686/cacheinfo.c
16039         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16040         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16041         * sysdeps/i386/i686/multiarch/Versions: Removed.
16042         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16043         Removed.
16044         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16045         * sysdeps/unix/sysv/linux/x86/Makefile
16046         (libpthread-sysdep_routines): Remove init-arch.
16047         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16048         <sysdeps/x86_64/dl-procinfo.c> instead of
16049         sysdeps/generic/dl-procinfo.c>.
16050         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16051         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16052         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16053         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16054         [$(subdir) == elf] (tests-static): Add
16055         tst-get-cpu-features-static.
16056         * sysdeps/x86/Versions: New file.
16057         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16058         * sysdeps/x86/cpu-features.c: Likewise.
16059         * sysdeps/x86/cpu-features.h: Likewise.
16060         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16061         * sysdeps/x86/libc-start.c: Likewise.
16062         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16063         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16064         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16065         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16066         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16067         Assume USE_MULTIARCH is defined and don't check it.
16068         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16069         (is_amd): Likewise.
16070         (max_cpuid): Likewise.
16071         (intel_check_word): Likewise.
16072         (__cache_sysconf): Don't call __init_cpu_features.
16073         (__x86_preferred_memory_instruction): Removed.
16074         (init_cacheinfo): Don't call __init_cpu_features. Replace
16075         __cpu_features with GLRO(dl_x86_cpu_features).
16076         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16077         (dl_platform_init): Call init_cpu_features.
16078         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16079         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16080         * sysdeps/x86_64/multiarch/Versions: Removed.
16081         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16082         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16083         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16084         Removed.
16085         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16087 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16089         [BZ #18820]
16090         * libio/Makefile (test-fmemopen-mem): New test.
16091         * libio/test-fmemopen.c (do_bz18820): New test.
16092         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16093         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16095 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16097         [BZ #16734]
16098         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16099         (FREE_BUF): Delete.
16100         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16101         * libio/genops.c (_IO_setb): Use malloc and free directly.
16102         (_IO_default_doallocate, _IO_default_finish): Likewise.
16103         ( _IO_unbuffer_all): Likewise.
16104         ( libc_freeres_fn): Likewise.
16105         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16106         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16107         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16108         (_IO_wdefault_doallocate): Likewise.
16110 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16112         [BZ #18086]
16113         * sysdeps/posix/nice.c (nice): Restore old errno.
16114         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16116 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16118         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16120 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16122         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16123         __bcopy and add a weak_alias to bcopy.
16124         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16125         for static build.
16127         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16128         cleanup macro usage.
16129         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16130         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16131         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16132         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16133         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16134         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16135         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16136         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16137         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16138         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16139         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16140         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16141         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16142         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16143         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16145         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16146         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16147         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16149         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16150         libc_hidden_def.
16151         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16153         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16154         (sysdep_routines): Add strstr-ppc64.
16155         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16157 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16159         [BZ #18778]
16160         * elf/Makefile (tests): Add Add tst-nodelete2.
16161         (modules-names): Add tst-nodelete2mod.
16162         (tst-nodelete2mod.so-no-z-defs): New.
16163         ($(objpfx)tst-nodelete2): Likewise.
16164         ($(objpfx)tst-nodelete2.out): Likewise.
16165         (LDFLAGS-tst-nodelete2): Likewise.
16166         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16167         out of loop through all loaded libraries.
16168         * elf/tst-nodelete2.c: New file.
16169         * elf/tst-nodelete2mod.c: Likewise.
16170         * elf/tst-znodelete-zlib.cc: Delete.
16172 2015-08-11  Andreas Schwab  <schwab@suse.de>
16174         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16175         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16176         (__openat64_nocancel): Likewise.
16178 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16180         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16181         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16182         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16183         * math/auto-libm-test-out: Regenerated.
16184         * sysdeps/i386/fpu/libm-test-ulps: Update.
16185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16187 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16189         [BZ #18790]
16190         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16191         threshold for returning +/- 1.
16192         * math/auto-libm-test-in: Add more tests of tanh.
16193         * math/auto-libm-test-out: Regenerated.
16194         * sysdeps/i386/fpu/libm-test-ulps: Update.
16196 2015-08-10  Andreas Schwab  <schwab@suse.de>
16198         [BZ #18781]
16199         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16200         MORE_OFLAGS to oflag.
16201         * io/test-lfs.c (do_test): Test openat64.
16203 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16205         [BZ #18789]
16206         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16207         smaller threshold for returning the argument.
16208         * math/auto-libm-test-in: Add more tests of sinh.
16209         * math/auto-libm-test-out: Regenerated.
16210         * sysdeps/i386/fpu/libm-test-ulps: Update.
16212 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16214         [BZ #18674]
16215         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16216         break.
16218 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16220         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16221         (generated): Don't add $(addprefix z.,$(tzfiles)).
16223 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16225         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16226         * scripts/sysd-rules.awk: Likewise.
16228 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16230         * iconvdata/tst-tables.sh: Change echo -n to printf.
16231         * nss/db-Makefile: Likewise.
16232         * posix/tst-getconf.sh: Likewise.
16233         * stdio-common/tst-unbputc.sh: Likewise.
16235 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16237         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16238         MADV_*_PAGES defines behind this feature check.
16240 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16242         [BZ #18480]
16243         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16244         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16245         Define.
16246         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16247         LOAD_REGS_5, LOAD_REGS_6): Update.
16248         (INTERNAL_SYSCALL): Update using new LOAD defines.
16249         (INTERNAL_SYSCALL_NCS): Likewise.
16250         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16252 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16254         [BZ #16734]
16255         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16257 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16259         [BZ #17905]
16260         * catgets/Makefile (tst-catgets-mem): New test.
16261         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16262         * catgets/open_catalog.c (__open_catalog): Likewise.
16263         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16265 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16267         [BZ #18787]
16268         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16269         clobber registers.
16270         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16271         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16272         Cast return to __typeof (oldval).
16274 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16276         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16277         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16278         and delete sys/syscall.h include.
16280 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16282         [BZ #16517]
16283         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16284         (tan): Force underflow exception for arguments with small absolute
16285         value.
16286         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16287         (__kernel_tanf): Force underflow exception for arguments with
16288         small absolute value.
16289         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16290         (__kernel_tanl): Force underflow exception for arguments with
16291         small absolute value.
16292         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16293         (__kernel_tanl): Force underflow exception for arguments with
16294         small absolute value.
16295         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16296         (__kernel_tanl): Force underflow exception for arguments with
16297         small absolute value.
16298         * math/auto-libm-test-in: Add more tests of tan.
16299         * math/auto-libm-test-out: Regenerated.
16301 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16303         Fix sysdeps/i386/fpu/s_scalbn.S build
16305         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16307 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16309         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16311 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16313         Fix gcrt0.o compilation
16315         When static-start-installed-name is different from
16316         start-installed-name, we must not use the shared objects.
16318         * csu/Makefile
16319         (extra-objs): Add gmon-start.o when building shared library and
16320         $(static-start-installed-name) is different from
16321         $(start-installed-name).
16322         $(objpfx)g$(static-start-installed-name): When building shared
16323         library and $(static-start-installed-name) is different from
16324         $(static-start-installed-name), revert to non-shared rule,
16325         i.e. using $(objpfx)% and gmon-start.o.
16327 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16329         [BZ #16519]
16330         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16331         (__ieee754_sinh): Force underflow exception for arguments with
16332         small absolute value.
16333         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16334         (__ieee754_sinhf): Force underflow exception for arguments with
16335         small absolute value.
16336         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16337         (__ieee754_sinhl): Force underflow exception for arguments with
16338         small absolute value.
16339         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16340         (__ieee754_sinhl): Force underflow exception for arguments with
16341         small absolute value.
16342         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16343         (__ieee754_sinhl): Force underflow exception for arguments with
16344         small absolute value.
16345         * math/auto-libm-test-in: Add more tests of sinh.
16346         * math/auto-libm-test-out: Regenerated.
16347         * sysdeps/i386/fpu/libm-test-ulps: Update.
16349 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16351         * libio/oldfileops.c: Include unistd.h.
16353 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16355         * stdlib/isomac.c: Include ctype.h.
16357 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16359         * dirent/tst-seekdir.c (main): Converted to ...
16360         (do_test): ... this.
16361         (TEST_FUNCTION): New macro.
16362         Include test-skeleton.c.
16363         * elf/tst-dlmodcount.c (main): Converted to ...
16364         (do_test): ... this.
16365         (TEST_FUNCTION): New macro.
16366         Include test-skeleton.c.
16367         * elf/tst-order-main.c (main): Converted to ...
16368         (do_test): ... this.
16369         (TEST_FUNCTION): New macro.
16370         Include test-skeleton.c.
16371         * elf/tst-pie2.c (main): Converted to ...
16372         (do_test): ... this.
16373         (TEST_FUNCTION): New macro.
16374         Include test-skeleton.c.
16375         * inet/tst-ether_aton.c (main): Converted to ...
16376         (do_test): ... this.
16377         (TEST_FUNCTION): New macro.
16378         Include test-skeleton.c.
16379         * misc/tst-mntent.c (main): Converted to ...
16380         (do_test): ... this.
16381         (TEST_FUNCTION): New macro.
16382         Include test-skeleton.c.
16383         * misc/tst-tsearch.c (main): Converted to ...
16384         (do_test): ... this.
16385         (TEST_FUNCTION): New macro.
16386         Include test-skeleton.c.
16387         * posix/tst-regexloc.c (main): Converted to ...
16388         (do_test): ... this.
16389         (TEST_FUNCTION): New macro.
16390         Include test-skeleton.c.
16391         * resolv/tst-aton.c (main): Converted to ...
16392         (do_test): ... this.
16393         (TEST_FUNCTION): New macro.
16394         Include test-skeleton.c.
16395         * stdio-common/test-fwrite.c (main): Converted to ...
16396         (do_test): ... this.
16397         (TEST_FUNCTION): New macro.
16398         Include test-skeleton.c.
16399         * stdio-common/tst-ferror.c (main): Converted to ...
16400         (do_test): ... this.
16401         (TEST_FUNCTION): New macro.
16402         Include test-skeleton.c.
16403         * stdio-common/tst-printf.c (main): Converted to ...
16404         (do_test): ... this.
16405         (TEST_FUNCTION): New macro.
16406         Include test-skeleton.c.
16407         * stdio-common/tst-printfsz.c (main): Converted to ...
16408         (do_test): ... this.
16409         (TEST_FUNCTION): New macro.
16410         Include test-skeleton.c.
16411         * stdlib/tst-strtod.c (main): Converted to ...
16412         (do_test): ... this.
16413         (TEST_FUNCTION): New macro.
16414         Include test-skeleton.c.
16415         * string/tst-strlen.c (main): Converted to ...
16416         (do_test): ... this.
16417         (TEST_FUNCTION): New macro.
16418         Include test-skeleton.c.
16419         * string/tst-svc.c (main): Converted to ...
16420         (do_test): ... this.
16421         (TEST_FUNCTION): New macro.
16422         Include test-skeleton.c.
16423         * time/tst-strptime.c (main): Converted to ...
16424         (do_test): ... this.
16425         (TEST_FUNCTION): New macro.
16426         Include test-skeleton.c.
16427         * timezone/tst-timezone.c (main): Converted to ...
16428         (do_test): ... this.
16429         (TEST_FUNCTION): New macro.
16430         Include test-skeleton.c.
16432 2015-08-05  Zack Weinberg  <zackw@panix.com>
16434         * misc/regexp.h: Update comments.
16436 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16438         [BZ #18635]
16439         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16440         before return label.
16442 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16444         [BZ #18661]
16445         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16446         when calling __errno_location.
16447         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16448         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16450 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16452         [BZ #18661]
16453         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16454         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16455         __gettimeofday.
16457 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16459         [BZ #18661]
16460         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16461         (__start_context): Don't use pop to restore %rdi so that stack
16462         is aligned to 16 bytes when calling __setcontext.
16464 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16466         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16467         only for libc.
16468         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16470 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16472         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16473         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16474         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16476 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16478         * string/memccpy.c (memccpy):
16479         Improve performance by using memchr/memcpy/__mempcpy.
16481 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16483         * string/strncpy.c (strncpy):
16484         Improve performance by using __strnlen/memcpy.
16486 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16488         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16489         Optimize to avoid an unnecessary FPCR read.
16491 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16493         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16494         Optimize to reduce FPCR/FPSR accesses.
16496 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16498         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16499         dead->data[category] != NULL.
16501 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16503         [BZ #18647]
16504         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16505         and |x| close to 1, use absolute value of x when computing log.
16506         * math/auto-libm-test-in: Add more tests of pow.
16507         * math/auto-libm-test-out: Regenerated.
16509 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16511         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16512         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16513         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16515 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16517         [BZ #18525]
16518         * locales/km_KH: Remove timezone definition.
16519         * locales/lo_LA: Likewise.
16520         * locales/my_MM: Likewise.
16521         * locales/nan_TW@latin: Likewise.
16522         * locales/th_TH: Likewise.
16523         * locales/uk_UA: Likewise.
16525 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16527         [BZ #18265]
16528         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16529         (wcsncat): Likewise.
16530         (wcscmp): Likewise.
16531         (wcsncmp): Likewise.
16533 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16535         * test-skeleton.c (usage): New function.
16536         (main): Call usage when opt is '?'.
16538 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16540         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16541         before first use.
16543 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16545         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16546         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16547         in there too.
16549 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16551         * version.h (RELEASE): Set to "development".
16552         (VERSION): Set to "2.22.90"
16554         * version.h (RELEASE): Set to "stable".
16555         (VERSION): Set to "2.22"
16556         * include/features.h (__GLIBC_MINOR__): Set to 22.
16558 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16560         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16561         Restructure macro to avoid "value computed is not used" warning.
16562         (atomic_compare_and_exchange_val_acq): Likewise.
16564 2015-08-04  Andreas Schwab  <schwab@suse.de>
16566         [BZ #18635]
16567         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16568         ret.
16569         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16571 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16573         * po/pl.po: Updated translation.
16574         * po/uk.po: Likewise.
16575         * po/fi.po: Likewise.
16576         * po/ko.po: Likewise.
16577         * po/ru.po: Likewise.
16578         * po/vi.po: Likewise.
16580 2015-07-31  Zack Weinberg  <zackw@panix.com>
16582         [BZ #18681]
16583         * regexp.h: Add unconditional #warning stating that this header
16584         will be removed soon.  Revise banner comment to match.
16585         (compile): Consistently use ERROR instead of RETURN to report
16586         errors (partial fix for bz#18681).
16587         * regexp.c: Don't include regexp.h. Remove some unnecessary
16588         declarations.
16590 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16592         * po/libc.pot: Regenerated.
16594 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16596         [BZ #18740]
16597         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16598         float-vlen4-arch-ext-cflags): Removed.
16599         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16600         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16602 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16604         [BZ #14113]
16605         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16606         aligned to __aligned__.
16607         (pthread_cond_t, pthread_rwlock_t): Likewise.
16609 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16611         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16613 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16615         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16616         (struct sigaction): Change sa_flags from a long to an int, and add
16617         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16619 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16621         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16622         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16623         sysdeps/generic/sysdep.h include.
16624         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16625         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16626         sysdeps/hppa/sysdep.h.
16627         (ENTRY, PSEUDO): Undefine before defining.
16629 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16631         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16632         from scratch to use INTERNAL_SYSCALL.
16634 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16636         [BZ #18078]
16637         * scripts/check-localplt.awk: Support alternate relocations.
16638         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16639         sections.
16640         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16641         malloc entries with + REL R_386_GLOB_DAT.
16642         * sysdeps/x86_64/localplt.data: New file.
16644 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16646         [BZ #18731]
16647         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16648         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16649         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16651 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16653         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16655 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16657         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16658         directly in terms of __sync_fetch_and_add and delete (int) cast.
16660 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16662         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16663         the -D_ASM_IA64_CURRENT_H flag.
16665 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16667         [BZ #18641]
16668         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16670 2015-07-27  Andreas Schwab  <schwab@suse.de>
16672         * conform/conformtest.pl (checknamespace): Filter out string
16673         literals while tokenizing.
16675 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16677         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16678         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16679         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16681 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16683         * nptl/tst-join7mod.c: Add #include <string.h>.
16685 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16687         * sysdeps/nios2/libm-test-ulps: Update.
16689 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16691         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16692         Fix order of arguments to the rt_sigprocmask syscall.
16693         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16694         Likewise.
16696 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16698         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16700 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16702         [BZ #18457]
16703         * nptl/Makefile (tests): New test case tst-join7.
16704         (modules-names): New test case module tst-join7mod.
16705         * nptl/tst-join7.c: New file.
16706         * nptl/tst-join7mod.c: New file.
16707         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16708         all translation units in libc.so, libpthread.so and rtld.
16710 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16714 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16716         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16717         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16718         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16719         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16720         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16721         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16722         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16723         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16724         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16725         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16727         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16728         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16729         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16730         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16731         implementation.
16733 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16735         [BZ #17711]
16736         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16737         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16738         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16739         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16740         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16741         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16743 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16745         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16746         instead of just saying load lock in the comments.
16748 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16750         * sysdeps/unix/Subdirs: Moved ...
16751         * sysdeps/posix/Subdirs: ... here.
16752         * login/pty.h (struct termios, struct winsize): Add forward decls.
16753         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16754         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16755         * sysdeps/arm/nacl/libc.abilist: Updated.
16756         * sysdeps/nacl/libutil.abilist: New file.
16758         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16759         (SIGWINCH): New macro.
16761         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16762         * sysdeps/arm/nacl/libc.abilist: Add it.
16764 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16766         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16768 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16770         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16771         Swap __glibc_reserved0 and sa_flags order.
16773 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16775         [BZ #18657]
16776         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16777         are pending TLS destructor calls.
16778         * include/link.h (struct link_map): Add concurrency note for
16779         L_TLS_DTOR_COUNT.
16780         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16781         Don't touch the link map flag.  Atomically increment
16782         l_tls_dtor_count.
16783         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16784         Avoid taking the load lock and don't touch the link map flag.
16785         * stdlib/tst-tls-atexit-nodelete.c: New test case.
16786         * stdlib/Makefile (tests): Use it.
16787         * stdlib/tst-tls-atexit.c (do_test): dlopen
16788         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
16789         to allow tst-tls-atexit-nodelete test case to use it.
16791 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16793         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16794         to bits/types.h.
16795         (msgqnum_t): New typedef.
16796         (msglen_t): Likewise.
16797         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
16798         and msg_qbytes type to msglen_t.
16800 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16802         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16803         pad0 to __glibc_reserved0.
16804         (struct stat64): Likewise.
16806 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16808         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16809         Change sa_flags from a long to an int and add __glibc_reserved0 before
16810         it for padding.
16812 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16814         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16815         anonymous by deleting "siginfo" name.
16817 2015-07-21  Roland McGrath  <roland@hack.frob.com>
16819         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16820         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16821         rather than __nacl_irt_filename.
16822         * sysdeps/nacl/xstat.c (__xstat): Likewise.
16824         * NEWS: New item for arm-nacl port.
16825         * sysdeps/arm/nacl/libc.abilist: New file.
16826         * sysdeps/nacl/ld.abilist: New file.
16827         * sysdeps/nacl/libBrokenLocale.abilist: New file.
16828         * sysdeps/nacl/libanl.abilist: New file.
16829         * sysdeps/nacl/libcrypt.abilist: New file.
16830         * sysdeps/nacl/libdl.abilist: New file.
16831         * sysdeps/nacl/libm.abilist: New file.
16832         * sysdeps/nacl/libpthread.abilist: New file.
16833         * sysdeps/nacl/libresolv.abilist: New file.
16834         * sysdeps/nacl/librt.abilist: New file.
16836 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
16838         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16839         __startcontext to initialize the new context.
16840         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16841         up CFI directive to forbid further backtracing.
16843 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16845         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16846         reference.
16847         * charmaps/ANSI_X3.4-1968: Likewise.
16848         * charmaps/BS_4730: Likewise.
16849         * charmaps/BS_VIEWDATA: Likewise.
16850         * charmaps/CP1250: Likewise.
16851         * charmaps/CP1251: Likewise.
16852         * charmaps/CP1252: Likewise.
16853         * charmaps/CP1253: Likewise.
16854         * charmaps/CP1254: Likewise.
16855         * charmaps/CP1255: Likewise.
16856         * charmaps/CP1256: Likewise.
16857         * charmaps/CSN_369103: Likewise.
16858         * charmaps/EBCDIC-DK-NO: Likewise.
16859         * charmaps/GB_1988-80: Likewise.
16860         * charmaps/GREEK-CCITT: Likewise.
16861         * charmaps/GREEK7: Likewise.
16862         * charmaps/INIS-8: Likewise.
16863         * charmaps/ISIRI-3342: Likewise.
16864         * charmaps/ISO_2033-1983: Likewise.
16865         * charmaps/ISO_5427-EXT: Likewise.
16866         * locales/POSIX: Likewise.
16867         * locales/ar_SA: Likewise.
16868         * locales/be_BY: Likewise.
16869         * locales/be_BY@latin: Likewise.
16870         * locales/ca_ES: Likewise.
16871         * locales/cs_CZ: Likewise.
16872         * locales/da_DK: Likewise.
16873         * locales/de_BE: Likewise.
16874         * locales/de_CH: Likewise.
16875         * locales/de_LU: Likewise.
16876         * locales/en_AU: Likewise.
16877         * locales/en_BW: Likewise.
16878         * locales/en_CA: Likewise.
16879         * locales/en_DK: Likewise.
16880         * locales/en_GB: Likewise.
16881         * locales/en_IE: Likewise.
16882         * locales/en_NZ: Likewise.
16883         * locales/en_ZA: Likewise.
16884         * locales/en_ZW: Likewise.
16885         * locales/es_AR: Likewise.
16886         * locales/es_BO: Likewise.
16887         * locales/es_CL: Likewise.
16888         * locales/es_CO: Likewise.
16889         * locales/es_DO: Likewise.
16890         * locales/es_EC: Likewise.
16891         * locales/es_ES: Likewise.
16892         * locales/es_HN: Likewise.
16893         * locales/es_MX: Likewise.
16894         * locales/es_PA: Likewise.
16895         * locales/es_PE: Likewise.
16896         * locales/es_PY: Likewise.
16897         * locales/es_SV: Likewise.
16898         * locales/es_US: Likewise.
16899         * locales/es_UY: Likewise.
16900         * locales/es_VE: Likewise.
16901         * locales/et_EE: Likewise.
16902         * locales/fa_IR: Likewise.
16903         * locales/fo_FO: Likewise.
16904         * locales/fr_CA: Likewise.
16905         * locales/fr_CH: Likewise.
16906         * locales/gv_GB: Likewise.
16907         * locales/he_IL: Likewise.
16908         * locales/hr_HR: Likewise.
16909         * locales/id_ID: Likewise.
16910         * locales/is_IS: Likewise.
16911         * locales/it_CH: Likewise.
16912         * locales/iw_IL: Likewise.
16913         * locales/kl_GL: Likewise.
16914         * locales/ko_KR: Likewise.
16915         * locales/kw_GB: Likewise.
16916         * locales/lg_UG: Likewise.
16917         * locales/lt_LT: Likewise.
16918         * locales/lv_LV: Likewise.
16919         * locales/mi_NZ: Likewise.
16920         * locales/nhn_MX: Likewise.
16921         * locales/nl_BE: Likewise.
16922         * locales/pl_PL: Likewise.
16923         * locales/sk_SK: Likewise.
16924         * locales/sl_SI: Likewise.
16925         * locales/sv_FI: Likewise.
16926         * locales/tl_PH: Likewise.
16927         * locales/tr_TR: Likewise.
16928         * locales/vi_VN: Likewise.
16930 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16932         [BZ #17475]
16933         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16934         of tu_IN and bh_IN.
16936 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16938         [BZ #18694]
16939         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16940         bits/wordsize.h.
16941         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16943 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16945         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16946         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16947         (spawn_thread): New function.
16948         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16949         (do_test): ... here.  Use IS_LOADED to test for its
16950         availability.
16952 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16954         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16956 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16958         [BZ #18696]
16959         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16960         si_addr_bnd.
16961         (si_lower): New.
16962         (si_upper): Likewise.
16964 2015-07-16  David S. Miller  <davem@davemloft.net>
16966         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16968 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16970         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16971         buffer.
16972         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16973         fail output information.
16975 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16978         and strstr-ppc64..
16979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16980         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16981         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16982         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16983         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16985 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16987         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16988         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16989         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16990         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16992 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16994         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16995         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16996         rtld_hidden_proto.
16997         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16999 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17001         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17002         the test can fail.
17004         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17006         [BZ #18676]
17007         * elf/tst-nodelete-opened.c: New test case.
17008         * elf/tst-nodelete-opened-lib.c: New test case module.
17009         * elf/Makefile (tests, modules-names): Use them.
17010         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17011         early.
17013 2015-07-15  David S. Miller  <davem@davemloft.net>
17015         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17016         futex-intenal.h
17017         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17018         * sysdeps/sparc/sparc64/Makefile: Likewise.
17019         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17020         Remove space from macro define.
17021         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17023 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17025         [BZ #17475]
17026         * locale/iso-639.def: Update Bhili and Tulu language codes as
17027         per iso639-3.
17029 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17031         * elf/tst-leaks1.c (main): Converted to ...
17032         (do_test): ... this.
17033         (TEST_FUNCTION): New macro.
17034         Include test-skeleton.c.
17035         * localedata/tst-langinfo.c (main): Converted to ...
17036         (do_test): ... this.
17037         (TEST_FUNCTION): New macro.
17038         Include test-skeleton.c.
17039         * math/test-fpucw.c (main): Converted to ...
17040         (do_test): ... this.
17041         (TEST_FUNCTION): New macro.
17042         Include test-skeleton.c.
17043         * math/test-tgmath.c (main): Converted to ...
17044         (do_test): ... this.
17045         (TEST_FUNCTION): New macro.
17046         Include test-skeleton.c.
17047         * math/test-tgmath2.c (main): Converted to ...
17048         (do_test): ... this.
17049         (TEST_FUNCTION): New macro.
17050         Include test-skeleton.c.
17051         * setjmp/tst-setjmp.c (main): Converted to ...
17052         (do_test): ... this.
17053         (TEST_FUNCTION): New macro.
17054         Include test-skeleton.c.
17055         * stdio-common/tst-sscanf.c (main): Converted to ...
17056         (do_test): ... this.
17057         (TEST_FUNCTION): New macro.
17058         Include test-skeleton.c.
17059         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17060         (do_test): ... this.
17061         (TEST_FUNCTION): New macro.
17062         Include test-skeleton.c.
17064         * elf/tst-audit9.c (main): Converted to ...
17065         (do_test): ... this.
17066         (TEST_FUNCTION): New macro.
17067         Include test-skeleton.c.
17069 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17071         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17073 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17075         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17076         New variable.
17078 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17080         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17082 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17084         * sysdeps/generic/dl-fileid.h: New file.
17085         * sysdeps/posix/dl-fileid.h: New file.
17086         * sysdeps/nacl/dl-fileid.h: New file.
17087         * include/link.h: Include <dl-fileid.h>.
17088         (struct link_map): Replace l_dev and l_ino with l_file_id.
17089         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17090         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17091         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17093 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17095         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17097 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17099         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17100         Add iff $CXX is set.
17101         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17102         Likewise.
17103         (tst-nodelete-zmodiff): Likewise.
17104         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17106 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17108         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17110 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17112         * sysdeps/aarch64/fpu/math_private.h
17113         (define math_opt_barrier): Add AArch64 version.
17114         (math_force_eval): Likewise.
17116 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17118         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17120 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17122         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17123         %ld with %jd and cast to intmax_t.
17124         (do_test_length_zero): Likewise.
17126 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17128         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17130 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17132         * sysdeps/tile/libm-test-ulps: Regenerated.
17134         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17135         Comment out the whole function, not just its body.
17137 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17139         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17140         locks.
17142         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17144 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17146         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17147         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17149 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17151         * sysdeps/nptl/futex-internal.h: New file.
17152         * sysdeps/nacl/futex-internal.h: New file.
17153         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17154         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17155         error checking.
17156         (setxid_unmark_thread): Likewise.
17157         (__nptl_setxid): Likewise.
17158         (__wait_lookup_done): Likewise.
17159         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17160         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17161         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17162         * nptl/pthread_once.c (clear_once_control): Likewise.
17163         (__pthread_once_slow): Likewise.
17164         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17165         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17166         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17167         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17168         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17169         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17170         Likewise.
17171         (__pthread_rwlock_rdlock): Likewise.
17172         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17173         Likewise.
17174         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17175         Likewise.
17176         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17177         Likewise.
17178         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17179         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17180         Likewise.
17181         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17182         __ASSUME_PRIVATE_FUTEX check.
17183         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17184         Check that shared futexes are supported.
17185         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17186         wrappers with error checking.
17187         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17188         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17189         * nptl/pthread_barrierattr_setpshared.c
17190         (pthread_barrierattr_setpshared): Check that shared futexes are
17191         supported.
17192         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17193         Likewise.
17194         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17195         Likewise.
17196         * nptl/sem_init.c (futex_private_if_supported): Remove.
17197         (__new_sem_init): Adapt and check that shared futexes are supported.
17198         * nptl/sem_open.c (sem_open): Likewise.
17199         * nptl/sem_post.c (futex_wake): Remove.
17200         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17201         (do_futex_wait): Use futex wrappers with error checking.
17202         * nptl/sem_wait.c: Include lowlevellock.h.
17203         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17204         Use futex_supports_pshared.
17205         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17206         Use futex wrappers with error checking.
17207         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17208         Likewise.
17209         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17210         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17211         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17212         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17213         (futex_wake): Likewise.
17214         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17215         (do_futex_wait): Use futex wrappers with error checking.
17216         (__new_sem_wait_slow): Update EINTR handling.
17217         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17219 2015-07-09  Martin Sebor  <msebor@redhat.com>
17221         [BZ #18435]
17222         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17223         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17224         * nptl/Makefile (test-xfail-tst-once5): Define.
17226 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17228         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17229         * elf/dl-minimal.c: For readability, reorder some definitions and
17230         introduce more page breaks.  Include <stdio.h>.
17231         (__libc_fatal): New function.
17233         * include/unistd.h: Add rtld_hidden_proto for _exit.
17234         * posix/_exit.c: Add rtld_hidden_def.
17235         * sysdeps/mach/hurd/_exit.c: Likewise.
17236         * sysdeps/nacl/_exit.c: Likewise.
17237         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17238         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17240 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17242         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17243         bndmov encoding with zero displacement.
17245 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17246             H.J. Lu  <hongjiu.lu@intel.com>
17248         [BZ #18134]
17249         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17250         * sysdeps/i386/configure: Regenerated.
17251         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17252         (_dl_runtime_profile): Save and restore Intel MPX return bound
17253         registers when calling _dl_call_pltexit.  Add
17254         PRESERVE_BND_REGS_PREFIX before return.
17255         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17256         (LRV_BND1_OFFSET): Likewise.
17257         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17258         lrv_bnd1.
17259         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17260         typo in bndmov encoding.
17261         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17262         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17263         branch instructions to preserve bounds.
17265 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17268         [GLIBC_2.22]: Add fmemopen.
17270 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17272         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17273         returns an error, also try to use host port from __mach_host_self for
17274         the __vm_wire call.
17275         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17277 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17279         [BZ #18400]
17280         [BZ #18648]
17281         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17282         Fix pr_uid and pr_gid members.
17283         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17284         definition to elf_greg_t.
17286 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17288         [BZ #18383]
17289         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17290         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17291         * sysdeps/arm/configure: Regenerated.
17292         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17293         (test-xfail-tst-tlsalign-static): Variable removed.
17295         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17296         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17297         rather than explicit 'ln -s'.
17299         * resolv/rpc/netdb.h: New file.
17300         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17302 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17304         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17305         length buffers.
17306         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17307         test-skeleton.c.
17309         [BZ #6544]
17310         [BZ #11216]
17311         [BZ #12836]
17312         [BZ #13151]
17313         [BZ #13152]
17314         [BZ #14292]
17315         * include/stdio.h (fmemopen): Remove hidden prototype.
17316         (__fmemopen): Add new hidden prototype.
17317         * libio/Makefile: Add oldfmemopen object.
17318         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17319         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17320         compliance.
17321         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17322         symbol compatibility.
17323         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17324         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17325         fmemopen.
17326         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17327         on append and read mode.
17328         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17329         fmemopen.
17330         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17331         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17332         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17333         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17334         Likewise.
17335         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17336         [GLIBC_2.22]: Likewise.
17337         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17338         Likewise.
17339         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17340         Likewise.
17341         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17342         [GLIBC_2.22]: Likewise.
17343         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17344         [GLIBC_2.22]: Likewise.
17345         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17346         [GLIBC_2.22]: Likewise.
17347         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17348         [GLIBC_2.22]: Likewise.
17349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17350         [GLIBC_2.22]: Likewise.
17351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17352         [GLIBC_2.22]: Likewise.
17353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17354         [GLIBC_2.22]: Likewise.
17355         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17356         Likewise.
17357         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17358         Likewise.
17359         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17360         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17361         [GLIBC_2.22]: Likewise.
17362         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17363         [GLIBC_2.22]: Likewise.
17364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17365         [GLIBC_2.22]: Likewise.
17366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17367         [GLIBC_2.22]: Likewise.
17368         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17369         Likewise.
17370         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17371         Likewise.
17372         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17373         Likewise.
17374         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17375         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17377 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17379         [BZ #18643]
17380         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17381         IPV6_PATHMTU, and IPV6_DONTFRAG.
17383 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17385         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17386         and _IO_UNBUFFERED.
17387         * libio/oldfileops.c: Likewise.
17388         * libio/wfileops.c: Likewise.
17390 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17392         * nscd/selinux.c: Delete selinux/flask.h include.
17394 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17396         [BZ #18641]
17397         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17398         (putpwent): Likewise.
17399         (getpwnam): Likewise.
17400         (getpwent_r): Likewise.
17401         (getpwuid_r): Likewise.
17402         (getpwnam_r): Likewise.
17403         (fgetpwent_r): Likewise.
17405 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17407         [BZ #18557]
17408         * inet/rcmd.c (__validuser2_sa): Check user first to
17409         short-circuit host check.
17411 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17412             Mikhail Ilin  <m.ilin@samsung.com>
17414         [BZ #17833]
17415         * elf/Makefile (tests): Add tst-nodelete.
17416         (modules-names): Add tst-nodelete-uniquemod.
17417         (tst-nodelete-uniquemod.so-no-z-defs): New.
17418         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17419         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17420         ($(objpfx)tst-nodelete): Likewise.
17421         ($(objpfx)tst-nodelete.out): Likewise.
17422         (LDFLAGS-tst-nodelete): Likewise.
17423         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17424         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17425         implement forced object deletion.
17426         (_dl_close): Pass false to _dl_close_worker.
17427         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17428         * elf/tst-nodelete.cc: New file.
17429         * elf/tst-nodeletelib.cc: Likewise.
17430         * elf/tst-znodeletelib.cc: Likewise.
17431         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17433 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17435         [BZ #18508]
17436         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17437         Depend on $(libdl).
17438         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17439         is not called infinitely times.
17440         (backtrace_helper): New function.
17441         (trace_arg): New struct.
17442         (st1): Enlarge stack size.
17443         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17444         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17445         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17446         Likewise.
17448 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17450         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17452 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17454         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17455         Include sys/types.h instead of bits/types.h.
17456         Remove inclusion of bits/wordsize.h.
17458 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17460         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17461         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17462         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17463         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17464         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17465         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17467 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17469         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17470         link-defines.sym.
17471         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17472         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17473         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17474         and LR_SIZE.
17475         * sysdeps/i386/link-defines.sym: New file.
17477 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17479         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17480         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17481         ($(objpfx)tst-audit3): New rule.
17482         ($(objpfx)tst-audit3.out): Likewise.
17483         * sysdeps/i386/tst-audit3.c: New file.
17484         * sysdeps/i386/tst-audit3.h: Likewise.
17485         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17486         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17488 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17490         [BZ #18633]
17491         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17492         pointer in C code.
17493         (__strcat_c): Likewise.
17494         (__strcat_g): Likewise.
17496 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17498         [BZ #18592]
17499         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17501 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17503         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17504         New function.  (__ieee754_sqrtf): New function.
17505         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17506         New function.
17507         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17508         New function.
17510 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17512         * sysdeps/ieee754/support.c: Remove unused file.
17514 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17516         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17517         registers instead of d ones so the layout is kernel abi compatible.
17518         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17519         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17520         Likewise.
17522 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17524         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17526 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17528         [BZ #18619]
17529         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17530         and return argument in case of subnormal argument.
17532 2015-07-01  Martin Sebor  <msebor@redhat.com>
17534         [BZ #18435]
17535         * nptl/Makefile: Add tst-once5.cc.
17536         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17537         Remove macro redefinitions.
17538         * nptl/tst-once5.cc: New test.
17540 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17542         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17544         * sysdeps/arm/libm-test-ulps: Regenerated.
17546         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17547         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17549 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17551         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17552         lll_lock_wait_private and lll_futex_wake probes.
17554         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17555         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17556         Likewise.
17557         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17558         atomic_spin_nop.
17559         * sysdeps/x86_64/bits/atomic.h: Likewise.
17560         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17561         to atomic_spin_nop and move ...
17562         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17563         ... here and ...
17564         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17565         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17566         atomic_spin_nop instead of BUSY_WAIT_NOP.
17567         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17568         Likewise.
17569         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17570         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17571         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17572         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17573         instead of atomic_delay.
17575 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17577         [BZ #18613]
17578         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17579         X_ADJ not X when adjusting exponent.
17580         (__ieee754_gamma_r): Do intermediate computations in
17581         round-to-nearest then adjust overflowing and underflowing results
17582         as needed.
17583         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17584         of X_ADJ not X when adjusting exponent.
17585         (__ieee754_gammaf_r): Do intermediate computations in
17586         round-to-nearest then adjust overflowing and underflowing results
17587         as needed.
17588         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17589         log of X_ADJ not X when adjusting exponent.
17590         (__ieee754_gammal_r): Do intermediate computations in
17591         round-to-nearest then adjust overflowing and underflowing results
17592         as needed.  Use 1.0L not 1.0f as numerator of division.
17593         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17594         log of X_ADJ not X when adjusting exponent.
17595         (__ieee754_gammal_r): Do intermediate computations in
17596         round-to-nearest then adjust overflowing and underflowing results
17597         as needed.  Use 1.0L not 1.0f as numerator of division.
17598         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17599         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         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17604         to auto-libm-test-in.
17605         (tgamma_test): Use ALL_RM_TEST.
17606         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17607         tests of tgamma with spurious-overflow.
17608         * math/auto-libm-test-out: Regenerated.
17609         * math/gen-libm-have-vector-test.sh: Do not check for START.
17610         * sysdeps/i386/fpu/libm-test-ulps: Update.
17611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17613         [BZ #18612]
17614         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17615         arguments, just return 0.5 times the argument, with underflow
17616         forced as needed.
17617         * math/auto-libm-test-in: Add more tests of j1.
17618         * math/auto-libm-test-out: Regenerated.
17620         [BZ #16559]
17621         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17622         (__ieee754_j1): Force underflow exception for small results.
17623         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17624         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17625         (__ieee754_j1f): Force underflow exception for small results.
17626         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17627         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17628         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17629         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17630         (__ieee754_j1l): Force underflow exception for small results.
17631         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17632         * math/auto-libm-test-in: Add more tests of j1 and jn.
17633         * math/auto-libm-test-out: Regenerated.
17635         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17636         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17637         (PF_MPLS): Likewise.
17638         (AF_IB): Likewise.
17639         (AF_MPLS): Likewise.
17640         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17641         value and macro.
17642         (MS_RMT_MASK): Include MS_LAZYTIME.
17644 2015-06-26  Mel Gorman  <mgorman@suse.de>
17646         [BZ #18502]
17647         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17648         already minimal.
17650 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17652         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17653         (DT_MIPS_NUM): Update.
17654         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17655         DT_MIPS_RLD_MAP_REL.
17657 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17659         [BZ #16559]
17660         [BZ #18602]
17661         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17662         round-to-nearest internally then recompute results that
17663         underflowed to zero in the original rounding mode.
17664         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17665         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17666         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17667         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17668         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17669         * sysdeps/i386/fpu/libm-test-ulps: Update.
17670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17672 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17674         * NEWS: Fixed description of link with vector math library.
17676 2015-06-25  Andreas Schwab  <schwab@suse.de>
17678         [BZ #18549]
17679         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17680         * libio/test-fmemopen.c (do_test): Add test for it.
17682 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17684         [BZ #17841]
17685         * Makeconfig (no-pie-ldflag): New.
17686         (+link): Set to $(+link-pie) if default to PIE.
17687         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17688         * config.make.in (build-pie-default): New.
17689         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17690         is default.  AC_SUBST.
17691         * configure: Regenerated.
17692         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17694 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17696         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17697         to 'unsigned int'.
17699         * resolv/gai_misc.h (struct waitlist): Change type of field
17700         counterp to 'volatile unsigned int *'.
17701         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17702         FUTEXADDR and OLDVAL.
17703         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17704         Give local variable TOTAL type 'volatile unsigned int'.
17705         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17706         * resolv/gai_suspend.c (gai_suspend):
17707         Give local variable CNTR type 'unsigned int'.
17709         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17710         counterp to 'volatile unsigned int *'.
17711         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17712         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17713         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17714         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17715         Give local variable TOTAL type 'volatile unsigned int'.
17716         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17718 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17720         [BZ #18383]
17721         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17722         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17723         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17724         comment for i386/x86-64.
17725         (test-xfail-tst-tlsalign-extern-static): Removed.
17727 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17729         * math/test-double.h: New file.
17730         * math/test-float.h: Likewise.
17731         * math/test-ldouble.h: Likewise.
17732         * math/test-math-inline.h: Likewise.
17733         * math/test-math-no-inline.h: Likewise.
17734         * math/test-math-scalar.h: Likewise.
17735         * math/test-math-vector.h: Likewise.
17736         * math/test-vec-loop.h: Remove file.  Contents moved into
17737         test-math-vector.h.
17738         * math/libm-test.inc (MATHCONST): Do not document macro.
17739         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17740         and test-math-scalar.h.
17741         (FUNC): Remove macro.
17742         (FUNC_TEST): Likewise.
17743         (FLOAT): Likewise.
17744         (MATHCONST): Likewise.
17745         (PRINTF_EXPR): Likewise.
17746         (PRINTF_XEXPR): Likewise.
17747         (PRINTF_NEXPR): Likewise.
17748         (TEST_DOUBLE): Likewise.
17749         (TEST_MATHVEC): Likewise.
17750         (__NO_MATH_INLINES): Likewise.
17751         * math/test-float.c: Include test-float.h, test-math-no-inline.h
17752         and test-math-scalar.h.
17753         (FUNC): Remove macro.
17754         (FUNC_TEST): Likewise.
17755         (FLOAT): Likewise.
17756         (MATHCONST): Likewise.
17757         (PRINTF_EXPR): Likewise.
17758         (PRINTF_XEXPR): Likewise.
17759         (PRINTF_NEXPR): Likewise.
17760         (TEST_FLOAT): Likewise.
17761         (TEST_MATHVEC): Likewise.
17762         (__NO_MATH_INLINES): Likewise.
17763         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17764         and test-math-scalar.h.
17765         (FUNC): Remove macro.
17766         (FUNC_TEST): Likewise.
17767         (FLOAT): Likewise.
17768         (MATHCONST): Likewise.
17769         (PRINTF_EXPR): Likewise.
17770         (PRINTF_XEXPR): Likewise.
17771         (PRINTF_NEXPR): Likewise.
17772         (TEST_DOUBLE): Likewise.
17773         (TEST_MATHVEC): Likewise.
17774         (TEST_INLINE): Likewise.
17775         (__NO_MATH_INLINES): Likewise.
17776         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17777         test-math-scalar.h.
17778         (FUNC): Remove macro.
17779         (FUNC_TEST): Likewise.
17780         (FLOAT): Likewise.
17781         (MATHCONST): Likewise.
17782         (PRINTF_EXPR): Likewise.
17783         (PRINTF_XEXPR): Likewise.
17784         (PRINTF_NEXPR): Likewise.
17785         (TEST_FLOAT): Likewise.
17786         (TEST_MATHVEC): Likewise.
17787         (TEST_INLINE): Likewise.
17788         (__NO_MATH_INLINES): Likewise.
17789         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17790         and test-math-scalar.h.
17791         (FUNC): Remove macro.
17792         (FUNC_TEST): Likewise.
17793         (FLOAT): Likewise.
17794         (MATHCONST): Likewise.
17795         (PRINTF_EXPR): Likewise.
17796         (PRINTF_XEXPR): Likewise.
17797         (PRINTF_NEXPR): Likewise.
17798         (TEST_LDOUBLE): Likewise.
17799         (TEST_MATHVEC): Likewise.
17800         (TEST_INLINE): Likewise.
17801         (__NO_MATH_INLINES): Likewise.
17802         * math/test-ldouble.c: Include test-ldouble.h,
17803         test-math-no-inline.h and test-math-scalar.h.
17804         (FUNC): Remove macro.
17805         (FUNC_TEST): Likewise.
17806         (FLOAT): Likewise.
17807         (MATHCONST): Likewise.
17808         (PRINTF_EXPR): Likewise.
17809         (PRINTF_XEXPR): Likewise.
17810         (PRINTF_NEXPR): Likewise.
17811         (TEST_LDOUBLE): Likewise.
17812         (TEST_MATHVEC): Likewise.
17813         (__NO_MATH_INLINES): Likewise.
17814         * math/test-double-vlen2.h: Include test-double.h,
17815         test-math-no-inline.h and test-math-vector.h.
17816         (FLOAT): Remove macro.
17817         (FUNC): Likewise.
17818         (MATHCONST): Likewise.
17819         (PRINTF_EXPR): Likewise.
17820         (PRINTF_XEXPR): Likewise.
17821         (PRINTF_NEXPR): Likewise.
17822         (TEST_DOUBLE): Likewise.
17823         (TEST_MATHVEC): Likewise.
17824         (__NO_MATH_INLINES): Likewise.
17825         (CNCT): Likewise.
17826         (CONCAT): Likewise.
17827         (WRAPPER_NAME): Likewise.
17828         (WRAPPER_DECL): Likewise.
17829         (WRAPPER_DECL_ff): Likewise.
17830         (WRAPPER_DECL_fFF): Likewise.
17831         (VECTOR_WRAPPER): Likewise.
17832         (VECTOR_WRAPPER_ff): Likewise.
17833         (VECTOR_WRAPPER_fFF): Likewise.
17834         (VEC_LEN): New macro.
17835         * math/test-double-vlen4.h: Include test-double.h,
17836         test-math-no-inline.h and test-math-vector.h.
17837         (FLOAT): Remove macro.
17838         (FUNC): Likewise.
17839         (MATHCONST): Likewise.
17840         (PRINTF_EXPR): Likewise.
17841         (PRINTF_XEXPR): Likewise.
17842         (PRINTF_NEXPR): Likewise.
17843         (TEST_DOUBLE): Likewise.
17844         (TEST_MATHVEC): Likewise.
17845         (__NO_MATH_INLINES): Likewise.
17846         (CNCT): Likewise.
17847         (CONCAT): Likewise.
17848         (WRAPPER_NAME): Likewise.
17849         (WRAPPER_DECL): Likewise.
17850         (WRAPPER_DECL_ff): Likewise.
17851         (WRAPPER_DECL_fFF): Likewise.
17852         (VECTOR_WRAPPER): Likewise.
17853         (VECTOR_WRAPPER_ff): Likewise.
17854         (VECTOR_WRAPPER_fFF): Likewise.
17855         (VEC_LEN): New macro.
17856         * math/test-double-vlen8.h: Include test-double.h,
17857         test-math-no-inline.h and test-math-vector.h.
17858         (FLOAT): Remove macro.
17859         (FUNC): Likewise.
17860         (MATHCONST): Likewise.
17861         (PRINTF_EXPR): Likewise.
17862         (PRINTF_XEXPR): Likewise.
17863         (PRINTF_NEXPR): Likewise.
17864         (TEST_DOUBLE): Likewise.
17865         (TEST_MATHVEC): Likewise.
17866         (__NO_MATH_INLINES): Likewise.
17867         (CNCT): Likewise.
17868         (CONCAT): Likewise.
17869         (WRAPPER_NAME): Likewise.
17870         (WRAPPER_DECL): Likewise.
17871         (WRAPPER_DECL_ff): Likewise.
17872         (WRAPPER_DECL_fFF): Likewise.
17873         (VECTOR_WRAPPER): Likewise.
17874         (VECTOR_WRAPPER_ff): Likewise.
17875         (VECTOR_WRAPPER_fFF): Likewise.
17876         (VEC_LEN): New macro.
17877         * math/test-float-vlen4.h: Include test-float.h,
17878         test-math-no-inline.h and test-math-vector.h.
17879         (FLOAT): Remove macro.
17880         (FUNC): Likewise.
17881         (MATHCONST): Likewise.
17882         (PRINTF_EXPR): Likewise.
17883         (PRINTF_XEXPR): Likewise.
17884         (PRINTF_NEXPR): Likewise.
17885         (TEST_FLOAT): Likewise.
17886         (TEST_MATHVEC): Likewise.
17887         (__NO_MATH_INLINES): Likewise.
17888         (CNCT): Likewise.
17889         (CONCAT): Likewise.
17890         (WRAPPER_NAME): Likewise.
17891         (WRAPPER_DECL): Likewise.
17892         (WRAPPER_DECL_ff): Likewise.
17893         (WRAPPER_DECL_fFF): Likewise.
17894         (VECTOR_WRAPPER): Likewise.
17895         (VECTOR_WRAPPER_ff): Likewise.
17896         (VECTOR_WRAPPER_fFF): Likewise.
17897         (VEC_LEN): New macro.
17898         * math/test-float-vlen8.h: Include test-float.h,
17899         test-math-no-inline.h and test-math-vector.h.
17900         (FLOAT): Remove macro.
17901         (FUNC): Likewise.
17902         (MATHCONST): Likewise.
17903         (PRINTF_EXPR): Likewise.
17904         (PRINTF_XEXPR): Likewise.
17905         (PRINTF_NEXPR): Likewise.
17906         (TEST_FLOAT): Likewise.
17907         (TEST_MATHVEC): Likewise.
17908         (__NO_MATH_INLINES): Likewise.
17909         (CNCT): Likewise.
17910         (CONCAT): Likewise.
17911         (WRAPPER_NAME): Likewise.
17912         (WRAPPER_DECL): Likewise.
17913         (WRAPPER_DECL_ff): Likewise.
17914         (WRAPPER_DECL_fFF): Likewise.
17915         (VECTOR_WRAPPER): Likewise.
17916         (VECTOR_WRAPPER_ff): Likewise.
17917         (VECTOR_WRAPPER_fFF): Likewise.
17918         (VEC_LEN): New macro.
17919         * math/test-float-vlen16.h: Include test-float.h,
17920         test-math-no-inline.h and test-math-vector.h.
17921         (FLOAT): Remove macro.
17922         (FUNC): Likewise.
17923         (MATHCONST): Likewise.
17924         (PRINTF_EXPR): Likewise.
17925         (PRINTF_XEXPR): Likewise.
17926         (PRINTF_NEXPR): Likewise.
17927         (TEST_FLOAT): Likewise.
17928         (TEST_MATHVEC): Likewise.
17929         (__NO_MATH_INLINES): Likewise.
17930         (CNCT): Likewise.
17931         (CONCAT): Likewise.
17932         (WRAPPER_NAME): Likewise.
17933         (WRAPPER_DECL): Likewise.
17934         (WRAPPER_DECL_ff): Likewise.
17935         (WRAPPER_DECL_fFF): Likewise.
17936         (VECTOR_WRAPPER): Likewise.
17937         (VECTOR_WRAPPER_ff): Likewise.
17938         (VECTOR_WRAPPER_fFF): Likewise.
17939         (VEC_LEN): New macro.
17940         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17941         test-vec-loop.h.
17942         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17943         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17944         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17945         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17946         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17947         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17948         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17950 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17952         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17953         (__getlogin_r): ... this.
17955 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17957         [BZ #18594]
17958         * math/s_ccosh.c (__ccosh): Compare with least normal value
17959         instead of comparing class with FP_SUBNORMAL.
17960         * math/s_ccoshf.c (__ccoshf): Likewise.
17961         * math/s_ccoshl.c (__ccoshl): Likewise.
17962         * math/s_cexp.c (__cexp): Likewise.
17963         * math/s_cexpf.c (__cexpf): Likewise.
17964         * math/s_cexpl.c (__cexpl): Likewise.
17965         * math/s_csin.c (__csin): Likewise.
17966         * math/s_csinf.c (__csinf): Likewise.
17967         * math/s_csinh.c (__csinh): Likewise.
17968         * math/s_csinhf.c (__csinhf): Likewise.
17969         * math/s_csinhl.c (__csinhl): Likewise.
17970         * math/s_csinl.c (__csinl): Likewise.
17971         * math/s_ctan.c (__ctan): Likewise.
17972         * math/s_ctanf.c (__ctanf): Likewise.
17973         * math/s_ctanh.c (__ctanh): Likewise.
17974         * math/s_ctanhf.c (__ctanhf): Likewise.
17975         * math/s_ctanhl.c (__ctanhl): Likewise.
17976         * math/s_ctanl.c (__ctanl): Likewise.
17977         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17978         csin, csinh, ctan and ctanh.
17979         * math/auto-libm-test-out: Regenerated.
17980         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17981         * sysdeps/i386/fpu/libm-test-ulps: Update.
17982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17984 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17986         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17987         return value is wrong, print the expected value too.
17989 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17991         [BZ #18585]
17992         * elf/readlib.c (is_gdb_python_file): New.
17993         (process_file): Don't issue errors on filenames with -gdb.py
17994         suffix.
17996 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17998         * math/auto-libm-test-in: Add more tests of csin and csinh.
17999         * math/auto-libm-test-out: Regenerated.
18000         * math/libm-test.inc (csin_test_data): Remove tests moved to
18001         auto-libm-test-in.
18002         (csinh_test_data): Likewise.
18004         [BZ #18593]
18005         * math/s_csin.c (__csin): Negate before rather than after possibly
18006         overflowing multiplication.
18007         * math/s_csinf.c (__csinf): Likewise.
18008         * math/s_csinh.c (__csinh): Likewise.
18009         * math/s_csinhf.c (__csinhf): Likewise.
18010         * math/s_csinhl.c (__csinhl): Likewise.
18011         * math/s_csinl.c (__csinl): Likewise.
18012         * math/auto-libm-test-in: Add some tests of csin and csinh.
18013         * math/auto-libm-test-out: Regenerated.
18014         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18015         (csinh_test_data): Likewise.
18016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18018         [BZ #18586]
18019         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18020         underflow exception for small results.
18022 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18024         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18025         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18026         variable and included header.
18027         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18028         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18029         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18030         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18031         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18032         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18033         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18034         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18035         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18036         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18037         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18038         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18039         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18040         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18041         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18042         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18044 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18046         [BZ #16526]
18047         [BZ #16538]
18048         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18049         (__sin): Force underflow exception for arguments with small
18050         absolute value.
18051         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18052         (__kernel_sinf): Force underflow exception for arguments with
18053         small absolute value.
18054         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18055         (__kernel_sincosl): Force underflow exception for arguments with
18056         small absolute value.
18057         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18058         (__kernel_sinl): Force underflow exception for arguments with
18059         small absolute value.
18060         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18061         (__kernel_sincosl): Force underflow exception for arguments with
18062         small absolute value.
18063         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18064         (__kernel_sinl): Force underflow exception for arguments with
18065         small absolute value.
18066         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18067         (__kernel_sinl): Force underflow exception for arguments with
18068         small absolute value.
18069         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18070         (__kernel_sinf): Force underflow exception for arguments with
18071         small absolute value.
18072         * math/auto-libm-test-in: Add more tests of sin and sincos.
18073         * math/auto-libm-test-out: Regenerated.
18075         [BZ #18245]
18076         [BZ #18583]
18077         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18078         (__kernel_standard_l): Use feholdexcept and fesetenv around
18079         conversion to double instead of special-casing overflow and
18080         underflow.
18081         * math/libm-test.inc (fmod_test_data): Add more tests.
18082         (remainder_test_data): Likewise.
18083         (sqrt_test_data): Likewise.
18085 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18087         [BZ #17403]
18088         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18089         atomic_read_barrier, atomic_write_barrier): Define.
18090         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18091         atomic_read_barrier, atomic_write_barrier): Define.
18093 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18095         * math/Makefile [$(PERL) != no]
18096         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18097         dependency on libm-test.stmp below the inclusion of Rules.
18099 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18102         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18103         and included header.
18104         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18105         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18106         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18107         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18108         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18109         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18110         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18111         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18112         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18113         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18114         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18115         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18116         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18117         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18118         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18119         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18120         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18121         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18122         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18124 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18126         [BZ #18371]
18127         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18128         intermediate but not final result might underflow.
18129         * math/s_csqrtf.c (__csqrtf): Likewise.
18130         * math/s_csqrtl.c (__csqrtl): Likewise.
18131         * math/auto-libm-test-in: Add more tests of csqrt.
18132         * math/auto-libm-test-out: Regenerated.
18133         * sysdeps/i386/fpu/libm-test-ulps: Update.
18135         [BZ #18219]
18136         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18137         threshold on absolute value of exponent for which scaling is used.
18138         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18139         * math/auto-libm-test-in: Add more tests of exp2.
18140         * math/auto-libm-test-out: Regenerated.
18142 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18144         [BZ #17977]
18145         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18146         when initializing interface list, based on the bug analysis
18147         and the patch proposed by Eric Newton.
18148         * resolv/tst-res_hconf_reorder.c: New test.
18149         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18150         tst-res_hconf_reorder.
18151         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18152         and $(shared-thread-library).
18153         (tst-res_hconf_reorder-ENV): New variable.
18155         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18156         in comment.
18158 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18160         [BZ #16353]
18161         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18162         (__expm1): Force underflow exception for arguments with small
18163         absolute value.
18164         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18165         (__expm1f): Force underflow exception for arguments with small
18166         absolute value.
18167         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18168         (__expm1): Force underflow exception for arguments with small
18169         absolute value.
18170         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18171         (__expm1f): Force underflow exception for arguments with small
18172         absolute value.
18173         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18174         Check for small arguments before calling __expm1.
18175         * math/auto-libm-test-in: Do not mark underflow exceptions as
18176         possibly missing for bug 16353.
18177         * math/auto-libm-test-out: Regenerated.
18179 2015-06-22  Andreas Schwab  <schwab@suse.de>
18181         [BZ #18513]
18182         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18183         PTR queries.
18185 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18187         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18189         * string/strcoll_l.c: Remove unused struct element idxnow.
18191 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18193         [BZ #18569]
18194         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18195         underflow and return argument in case of subnormal argument.
18196         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18197         Likewise.
18198         * math/auto-libm-test-in: Add more tests of expm1.
18199         * math/auto-libm-test-out: Regenerated.
18201         [BZ #16361]
18202         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18203         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18204         tiny results.
18205         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18206         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18207         tiny results.
18208         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18209         mark underflow exceptions as possibly missing for bug 16361.
18210         * math/auto-libm-test-out: Regenerated.
18212 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18214         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18215         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18216         Remove variable.
18217         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18218         (test-xfail-XOPEN2K8/utmpx.h/conform).
18220         * conform/conformtest.pl ($xerrors): New variable.
18221         (note_error): New function.
18222         (compiletest): New argument $xfail.  Use not_error.
18223         (runtest): Likewise.
18224         (top level): Handle xfail- lines.  Update calls to compiletest and
18225         runtest.  Handle xfail- and optional- in headers listed with
18226         allow-header.
18227         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18228         (O_EXEC): Likewise.
18229         (O_SEARCH): Likewise.
18230         * conform/data/stropts.h-data (ioctl): Likewise.
18231         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18232         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18233         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18234         (msghdr.msg_controllen): Likewise.
18235         (cmsghdr.cmsg_len): Likewise.
18236         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18237         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18238         variable.
18239         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18240         (test-xfail-XPG4/stropts.h/conform): Likewise.
18241         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18242         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18243         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18244         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18245         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18246         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18247         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18248         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18249         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18250         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18251         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18252         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18253         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18254         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18255         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18256         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18257         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18258         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18259         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18261 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18263         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18264         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18265         definitions for proper unfolding of __MATHDECL_VEC.
18267 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18269         * benchtests/bench-strcoll.c:
18270         Include string.h.
18271         (main): Remove unused variable res.
18273 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18275         * timezone/Makefile (%/UTC %/Universal):
18276         Generate test-result files for UTC and Universal.
18278 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18280         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18282 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18284         [BZ #16350]
18285         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18286         for arguments with small absolute value.
18287         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18288         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18289         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18290         (__asinh): Force underflow exception for arguments with small
18291         absolute value.
18292         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18293         (__asinhf): Force underflow exception for arguments with small
18294         absolute value.
18295         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18296         (__asinhl): Force underflow exception for arguments with small
18297         absolute value.
18298         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18299         (__asinhl): Force underflow exception for arguments with small
18300         absolute value.
18301         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18302         (__asinhl): Force underflow exception for arguments with small
18303         absolute value.
18304         * math/auto-libm-test-in: Do not mark underflow exceptions as
18305         possibly missing for bug 16350.
18306         * math/auto-libm-test-out: Regenerated.
18308         * include/bits/ipc.h: Remove file.
18309         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18310         variable.
18311         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18312         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18313         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18314         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18315         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18316         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18317         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18318         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18319         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18321         * math/auto-libm-test-in: Remove spurious underflow allowance for
18322         tests of cexp.
18323         * math/auto-libm-test-out: Regenerated.
18325         [BZ #18558]
18326         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18327         unconditional definition.
18328         (MCAST_BLOCK_SOURCE): Likewise.
18329         (MCAST_UNBLOCK_SOURCE): Likewise.
18330         (MCAST_LEAVE_GROUP): Likewise.
18331         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18332         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18333         (MCAST_MSFILTER): Likewise.
18334         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18335         Remove variable.
18336         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18337         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18338         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18339         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18340         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18342 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18344         * NEWS: Mention addition of x86_64 vector sincosf.
18345         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18346         * math/test-float-vlen4.h: Likewise.
18347         * math/test-float-vlen8.h: Likewise.
18348         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18349         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18350         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18351         * sysdeps/x86_64/fpu/Versions: New versions added.
18352         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18353         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18354         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18355         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18356         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18357         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18358         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18359         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18360         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18361         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18362         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18363         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18364         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18365         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18366         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18367         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18368         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18369         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18370         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18371         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18372         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18373         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18374         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18375         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18377         * NEWS: Mention addition of x86_64 vector sincos.
18378         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18379         * math/math.h (__MATHDECL_VEC): New macro.
18380         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18381         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18382         declaration under condition.
18383         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18384         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18385         TEST_VEC_LOOP change.
18386         * math/test-double-vlen4.h: Likewise.
18387         * math/test-double-vlen8.h: Likewise.
18388         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18389         * math/test-float-vlen4.h: Likewise.
18390         * math/test-float-vlen8.h: Likewise.
18391         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18392         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18393         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18394         * sysdeps/x86_64/fpu/Versions: New versions added.
18395         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18396         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18397         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18398         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18399         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18400         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18401         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18402         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18403         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18404         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18405         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18406         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18407         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18408         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18409         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18410         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18411         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18412         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18413         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18414         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18415         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18416         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18417         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18418         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18420         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18421         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18422         redirections for powf.
18423         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18424         * sysdeps/x86_64/fpu/Versions: New versions added.
18425         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18426         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18427         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18428         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18429         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18430         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18431         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18432         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18433         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18434         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18435         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18436         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18437         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18438         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18439         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18440         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18441         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18442         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18443         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18444         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18445         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18446         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18447         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18448         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18449         * math/test-float-vlen16.h: Fixed 2 argument macro.
18450         * math/test-float-vlen4.h: Likewise.
18451         * math/test-float-vlen8.h: Likewise.
18452         * NEWS: Mention addition of x86_64 vector powf.
18454 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18456         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18457         and redefine.
18458         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18459         and redefine.
18460         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18461         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18462         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18464         [BZ #18553]
18465         * resource/getpriority.c (getpriority): Rename to __getpriority
18466         and define as weak alias of __getpriority.
18467         * resource/setpriority.c (setpriority): Rename to __setpriority
18468         and define as weak alias of __setpriority.
18469         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18470         __getpriority and define as weak alias of __getpriority.
18471         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18472         __setpriority and define as weak alias of __setpriority.
18473         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18474         strong name.
18475         (setpriority): Use __setpriority as strong name.
18476         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18477         __getpriority and define as weak alias of __getpriority.
18478         * include/sys/resource.h (__getpriority): Declare.  Use
18479         libc_hidden_proto.
18480         (__setpriority): Likewise.
18481         (getpriority): Don't use libc_hidden_proto.
18482         (setpriority): Likewise.
18483         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18484         getpriority.  Call __setpriority instead of setpriority.
18485         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18486         Remove variable.
18488         [BZ #18547]
18489         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18490         as weak alias of __getttynam.  Use prototype function definition.
18491         Call __setttyent, __getttyent and __endttyent instead of
18492         setttyent, getttyent and endttyent.
18493         (getttyent): Rename to __getttyent and define as weak alias of
18494         __getttyent.  Call __setttyent instead of setttyent.  Call
18495         __fgets_unlocked instead of fgets_unlocked.
18496         (setttyent): Rename to __setttyent and define as weak alias of
18497         __setttyent.
18498         (endttyent): Rename to __endttyent and define as weak alias of
18499         __endttyent.
18500         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18501         (__setttyent): Likewise.
18502         (__endttyent): Likewise.
18503         (getttyent): Don't use libc_hidden_proto.
18504         (setttyent): Likewise.
18505         (endttyent): Likewise.
18506         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18507         __endttyent instead of setttyent, getttyent and endttyent.
18508         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18509         Remove variable.
18511         [BZ #18546]
18512         * socket/recv.c (__recv): Use libc_hidden_def.
18513         * socket/socket.c (__socket): Likewise.
18514         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18515         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18516         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18517         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18518         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18519         libc_hidden_def.
18520         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18521         libc_hidden_weak.
18522         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18523         Use libc_hidden_proto.
18524         (__recv): Likewise.
18525         * socket/Versions (libc): Export __recv and __socket at version
18526         GLIBC_PRIVATE.
18527         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18528         instead of recv.
18529         (init_mq_netlink): Call __socket instead of socket.
18530         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18531         Remove variable.
18533         [BZ #18545]
18534         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18535         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18536         hidden_weak.
18537         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18538         define as alias of __mq_timedsend.  Use hidden_weak.
18539         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18540         __mq_timedsend as strong name.
18541         (mq_timedreceive): Use __mq_timedreceive as strong name.
18542         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18543         (__mq_timedreceive): Likewise.
18544         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18545         __mq_timedreceive instead of mq_timedreceive.
18546         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18547         instead of mq_timedsend.
18548         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18549         Remove variable.
18551         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18552         hidden_def and hidden_weak instead of libc_hidden_def and
18553         libc_hidden_weak.
18554         (top level): Refer to hidden_def in comment.
18555         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18556         macro.  Use it instead of libc_hidden_def.
18557         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18558         specify __GI_* name explicitly.
18559         (mq_timedreceive): Likewise.
18560         (mq_setattr): Likewise.
18562         [BZ #18544]
18563         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18564         __pthread_barrier_init and define as weak alias of
18565         __pthread_barrier_init.
18566         * sysdeps/sparc/nptl/pthread_barrier_init.c
18567         (pthread_barrier_init): Likewise.
18568         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18569         __pthread_barrier_wait and define as weak alias of
18570         __pthread_barrier_wait.
18571         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18572         (pthread_barrier_wait): Likewise.
18573         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18574         (pthread_barrier_wait): Likewise.
18575         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18576         (pthread_barrier_wait): Likewise.
18577         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18578         (pthread_barrier_wait): Likewise.
18579         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18580         __pthread_barrier_wait at version GLIBC_PRIVATE.
18581         * include/pthread.h (__pthread_barrier_init): Declare.
18582         (__pthread_barrier_wait): Likewise.
18583         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18584         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18585         (helper_thread): Likewise.
18586         (init_mq_netlink): Call __pthread_barrier_init instead of
18587         pthread_barrier_init.
18589         [BZ #18542]
18590         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18591         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18592         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18593         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18594         vswscanf.
18595         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18596         Remove variable.
18598         [BZ #18540]
18599         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18600         strong alias of _IO_fflush.  Use libc_hidden_def.
18601         * libio/iofflush_u.c (fflush_unlocked): Rename to
18602         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18603         Use libc_hidden_weak.
18604         * include/stdio.h (__fflush_unlocked): Declare.  Use
18605         libc_hidden_proto.
18606         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18607         fflush_unlocked.
18608         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18609         Remove variable.
18611         [BZ #18539]
18612         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18613         define as weak alias of __addseverity.
18614         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18615         Remove variable.
18616         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18617         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18618         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18620         [BZ #18536]
18621         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18622         (__tfind): Likewise.
18623         (__tdelete): Likewise.
18624         (__twalk): Likewise.
18625         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18626         __twalk to GLIBC_PRIVATE.
18627         * include/search.h (__tsearch): Use libc_hidden_proto.
18628         (__tfind): Likewise.
18629         (__tdelete): Likewise.
18630         (__twalk): Likewise.
18631         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18632         Call __tdelete instead of tdelete.
18633         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18634         tfind.  Call __tsearch instead of tsearch.
18635         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18636         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18637         Remove variable.
18638         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18640         [BZ #18534]
18641         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18642         (dprintf): Define as a weak alias of __dprintf, not a strong
18643         alias.
18644         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18645         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18646         dprintf.
18647         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18648         Remove variable.
18649         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18650         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18652         [BZ #18533]
18653         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18654         not a strong alias.
18655         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18656         Remove variable.
18658         [BZ #18532]
18659         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18660         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18661         (in6addr_loopback): Rename to __in6addr_loopback and define as
18662         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18663         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18664         libc_hidden_proto.
18665         (__in6addr_any): Likewise.
18666         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18667         in6addr_any.
18668         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18669         variable.
18670         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18672 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18674         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18675         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18676         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18677         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18678         redirections for pow.
18679         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18680         * sysdeps/x86_64/fpu/Versions: New versions added.
18681         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18682         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18683         build of SSE, AVX2 and AVX512 IFUNC versions.
18684         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18685         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18686         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18687         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18688         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18689         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18690         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18691         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18692         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18693         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18694         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18695         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18696         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18697         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18698         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18699         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18700         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18701         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18702         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18703         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18704         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18705         * NEWS: Mention addition of x86_64 vector pow.
18707         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18708         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18709         redirections for expf.
18710         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18711         * sysdeps/x86_64/fpu/Versions: New versions added.
18712         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18713         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18714         build of SSE, AVX2 and AVX512 IFUNC versions.
18715         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18716         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18717         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18718         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18719         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18720         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18721         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18722         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18723         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18724         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18725         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18726         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18727         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18728         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18729         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18730         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18731         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18732         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18733         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18734         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18735         * NEWS: Mention addition of x86_64 vector expf.
18737         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18738         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18739         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18740         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18741         redirections for exp.
18742         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18743         * sysdeps/x86_64/fpu/Versions: New versions added.
18744         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18745         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18746         build of SSE, AVX2 and AVX512 IFUNC versions.
18747         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18748         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18749         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18750         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18751         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18752         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18753         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18754         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18755         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18756         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18757         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18758         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18759         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18760         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18761         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18762         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18763         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18764         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18765         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18766         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18767         * NEWS: Mention addition of x86_64 vector exp.
18769         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18770         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18771         redirections for logf.
18772         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18773         * sysdeps/x86_64/fpu/Versions: New versions added.
18774         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18775         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18776         build of SSE, AVX2 and AVX512 IFUNC versions.
18777         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18778         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18779         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18780         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18781         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18782         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18783         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18784         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18785         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18786         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18787         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18788         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18789         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18790         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18791         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18792         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18793         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18794         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18795         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18796         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18797         * NEWS: Mention addition of x86_64 vector logf.
18799         * bits/libm-simd-decl-stubs.h: Added stubs for log.
18800         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18801         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18802         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18803         redirections for log.
18804         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18805         * sysdeps/x86_64/fpu/Versions: New versions added.
18806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18807         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18808         build of SSE, AVX2 and AVX512 IFUNC versions.
18809         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18810         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18811         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18812         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18813         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18814         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18815         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18816         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18817         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18818         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18819         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18820         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18821         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18822         test.
18823         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18824         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18825         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18826         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18827         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18828         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18829         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18830         * NEWS: Mention addition of x86_64 vector log.
18832 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18834         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18835         cfi_adjust_cfa_offset argument.
18836         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18837         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18839         [BZ #18034]
18840         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18841         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18842         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18843         ordering using ldar.
18844         (_dl_tlsdesc_dynamic): Likewise.
18845         (_dl_tlsdesc_return_lazy): Likewise.
18846         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18847         relaxed atomics instead of volatile and synchronize with release store.
18848         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18849         volatile.
18850         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18852 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18854         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18855         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18856         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18857         * sysdeps/x86_64/fpu/Versions: New versions added.
18858         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18859         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18860         build of SSE, AVX2 and AVX512 IFUNC versions.
18861         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18862         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18863         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18864         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18865         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18866         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18867         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18868         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18869         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18870         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18871         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18872         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18873         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18874         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18875         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18876         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18877         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18878         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18879         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18880         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18881         * NEWS: Mention addition of x86_64 vector sinf.
18883 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18885         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18886         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18887         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18888         Remove variable.
18889         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18890         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18892 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18894         [BZ #18530]
18895         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18896         strong alias of _IO_fputs.  Use libc_hidden_def.
18897         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18898         and define as weak alias of __fputs_unlocked.  Use
18899         libc_hidden_weak.
18900         * include/stdio.h (__fputs_unlocked): Declare.  Use
18901         libc_hidden_proto.
18902         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18903         fputs_unlocked.
18905         [BZ #18529]
18906         * resolv/netdb.h [__USE_POSIX]: Change condition to
18907         [__USE_XOPEN2K].
18908         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18909         not expect.
18910         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18911         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18912         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18913         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18914         [XPG4 || UNIX98] (AI_ALL): Likewise.
18915         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18916         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18917         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18918         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18919         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18920         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18921         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18922         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18923         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18924         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18925         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18926         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18927         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18928         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18929         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18930         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18931         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18932         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18933         [XPG4 || UNIX98] (gai_strerror): Likewise.
18934         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18935         [XPG4 || UNIX98] (getnameinfo): Likewise.
18937         [BZ #18528]
18938         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18939         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18940         __USE_XOPEN2K8].
18941         (getgrent): Likewise.
18942         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18943         expect.
18944         [XPG3 || POSIX2008] (endgrent): Likewise.
18945         [XPG3] (setgrent): Likewise.
18946         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18947         variable.
18948         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18950         [BZ #18527]
18951         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18952         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18953         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18954         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18955         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18956         * include/unistd.h (__getlogin_r): Declare.  Use
18957         libc_hidden_proto.
18958         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18959         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18960         variable.
18961         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18962         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18963         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18965 2015-06-12  Martin Sebor  <msebor@redhat.com>
18967         [BZ #18512]
18968         * Makerules (check-install-supported): New target.
18969         (install): Add check-install-supported as a dependency.
18970         * manual/install.texi (Installing the C Library): Document
18971         that overriding prefix and exec_prefix is not supported.
18972         Mention DESTDIR.
18973         * INSTALL: Regenerate from the above.
18975 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18977         [BZ #18519]
18978         * posix/Versions (libc): Export __libc_pread at version
18979         GLIBC_PRIVATE.
18980         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18981         instead of pread.
18982         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18983         variable.
18985         [BZ #18522]
18986         * misc/efgcvt_r.c
18987         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18988         (cvt_symbol): Use weak_alias instead of strong_alias.
18989         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18990         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18991         Remove variable.
18992         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18993         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18995         [BZ #18520]
18996         * inet/herrno.c (h_errno): Rename to __h_errno.
18997         (__libc_h_errno): Define as alias of __h_errno not h_errno.
18998         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18999         to __h_errno instead of h_errno.
19000         * nptl/herrno.c (h_errno): Rename to __h_errno.
19001         (__h_errno_location): Refer to __h_errno not h_errno.
19002         * resolv/Versions (h_errno): Rename to __h_errno.
19003         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19004         Remove variable.
19005         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19007 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19009         * configure.ac: More strict check for AVX512 assembler support.
19010         * configure: Regenerated.
19012         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19013         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19014         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19015         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19016         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19017         * sysdeps/x86_64/fpu/Versions: New versions added.
19018         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19019         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19020         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19021         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19022         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19023         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19024         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19025         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19026         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19027         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19028         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19029         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19030         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19031         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19032         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19033         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19034         test.
19035         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19036         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19037         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19038         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19039         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19040         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19041         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19042         * NEWS: Mention addition of x86_64 vector sin.
19044 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19046         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19047         comment.
19049 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19051         [BZ #18479]
19052         * nptl/pt-interp.c: New file.
19053         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19054         Add pt-interp.
19055         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19056         $(common-objpfx)runtime-linker.h.
19058 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19060         * Makeconfig (+interp): Remove unused variable.
19061         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19062         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19063         $(elf-objpfx)runtime-linker.h.
19064         ($(elf-objpfx)runtime-linker.h): Rename to
19065         $(common-objpfx)runtime-linker.h and move ...
19066         * Makerules [$(build-shared) = yes]: ... here.
19067         * elf/interp.c: Include <runtime-linker.h> instead of
19068         <elf/runtime-linker.h>.
19070 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19072         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19073         (__gettimeofday_syscall): Remove vsyscall fallback.
19074         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19075         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19076         Add syscall fallback function.
19077         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19078         if vDSO is not present.
19079         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19080         fallback function.
19081         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19082         present.
19083         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19084         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19086 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19088         [BZ #18497]
19089         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19090         of wcscmp.
19091         (wcscmp): Define as weak alias of WCSCMP.
19092         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19093         wcscoll.
19094         (USE_HIDDEN_DEF): Define.
19095         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19096         __wcscoll.  Don't use libc_hidden_weak.
19097         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19098         wcscmp.
19099         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19100         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19101         __GI_wcscmp.
19102         (weak_alias): Undefine and redefine.
19103         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19104         __wcscmp and define as weak alias of __wcscmp.
19105         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19106         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19107         (__wcscoll): Likewise.
19108         (wcscmp): Don't use libc_hidden_proto.
19109         (wcscoll): Likewise.
19110         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19111         wcscoll.
19112         * posix/regexec.c (check_node_accept_bytes): Likewise.
19113         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19114         variable.
19115         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19116         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19118         [BZ #18507]
19119         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19120         __fstatvfs and define as weak alias of __fstatvfs.  Use
19121         libc_hidden_weak.
19122         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19123         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19124         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19125         Define as alias of __fstatvfs, not fstatvfs.
19126         (fstatvfs64): Likewise.
19127         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19128         Define as alias of __statvfs, not statvfs.
19129         (statvfs64): Likewise.
19130         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19131         Remove variable.
19133 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19136         (HAVE_GETCPU_VSYSCALL): Define.
19137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19138         (HAVE_GETCPU_VSYSCALL): Likewise.
19139         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19140         * sysdeps/unix/sysv/linux/sched_getcpu.c
19141         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19142         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19143         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19144         prototype.
19145         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19146         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19147         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19149         Define.
19150         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19151         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19152         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19153         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19155 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19157         * sysdeps/x86_64/fpu/Makefile: New file.
19158         * sysdeps/x86_64/fpu/Versions: New file.
19159         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19160         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19161         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19162         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19163         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19164         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19165         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19166         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19167         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19168         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19169         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19170         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19171         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19172         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19173         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19174         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19175         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19176         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19177         * sysdeps/x86_64/configure: Regenerated.
19178         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19179         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19180         * manual/install.texi (Configuring and compiling): Document
19181         --disable-mathvec.
19182         * INSTALL: Regenerated.
19183         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19185         * math/Makefile: Added rules for vector tests.
19186         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19187         declaration under condition.
19188         * math/test-double-vlen2.h: New file.
19189         * math/test-double-vlen4.h: New file.
19190         * math/test-double-vlen8.h: New file.
19191         * math/test-vec-loop.h: Added initialization macro.
19192         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19193         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19194         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19195         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19196         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19197         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19198         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19199         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19200         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19201         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19202         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19204         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19205         * sysdeps/x86_64/fpu/Versions: New versions added.
19206         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19207         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19208         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19209         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19210         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19211         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19212         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19213         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19214         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19215         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19216         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19217         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19218         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19219         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19220         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19221         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19222         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19223         * NEWS: Mention addition of x86_64 vector cosf.
19225         * math/Makefile: Added CFLAGS for new tests.
19226         * math/test-float-vlen16.h: New file.
19227         * math/test-float-vlen4.h: New file.
19228         * math/test-float-vlen8.h: New file.
19229         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19230         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19231         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19232         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19233         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19234         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19235         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19236         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19237         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19238         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19239         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19241 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19243         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19244         * locale/programs/ld-ctype.c: Likewise.
19246 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19248         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19249         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19250         bit_ZMM16_31_state): New macro.
19251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19252         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19254 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19256         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19258 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19260         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19262 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19264         [BZ #18498]
19265         * libio/memstream.c (open_memstream): Rename to __open_memstream
19266         and define as weak alias of __open_memstream.
19267         * include/stdio.h (__open_memstream): Declare.  Use
19268         libc_hidden_proto.
19269         (open_memstream): Don't use libc_hidden_proto.
19270         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19271         open_memstream.
19272         * posix/getopt.c (_getopt_internal_r): Likewise.
19273         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19274         variable.
19275         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19276         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19277         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19279         [BZ #18496]
19280         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19281         instead of wcrtomb.
19283         [BZ #18483]
19284         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19285         [__USE_XOPEN2K8].  Remove redundant #endif.
19286         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19287         Remove redundant #if.
19288         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19289         Remove variable.
19290         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19291         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19293         [BZ #18495]
19294         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19295         (__iswlower): Likewise.
19296         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19297         (__iswlower): Likewise.
19298         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19299         instead of towlower.
19300         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19301         instead of iswlower.  Call __towupper instead of towupper.
19302         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19303         instead of iswalnum.
19305 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19307         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19308         errors to stderr.
19310 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19312         [BZ #15661]
19313         [BZ #17322]
19314         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19315         Check for overflow properly.  Check for O_APPEND.  Ignore large
19316         file system block sizes.  Add comments about problems.
19317         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19318         * manual/filesys.texi (Storage Allocation): New node.
19320 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19322         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19323         cancellable syscalls.
19324         (SYS_ify): Add guard to no redefine it.
19325         (INLINE_SYSCALL): Likewise.
19326         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19327         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19328         SYSCALL_CANCEL instead.
19329         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19330         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19331         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19332         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19333         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19334         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19335         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19336         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19337         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19338         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19339         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19340         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19341         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19342         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19343         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19345         Likewise.
19346         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19347         (__libc_pread64): Likewise.
19348         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19349         (__libc_preadv): Likewise.
19350         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19351         (__libc_readv64): Likewise.
19352         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19353         (__libc_pwrite): Likewise.
19354         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19355         (__libc_pwrite64): Likewise.
19356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19357         (__libc_pwritev): Likewise.
19358         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19359         (__libc_pwritev64): Likewise.
19360         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19361         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19362         (sync_file_range): Likewise.
19363         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19364         Likewise.
19365         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19366         Likewise.
19367         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19368         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19369         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19370         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19371         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19372         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19373         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19374         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19376         Likewise.
19377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19378         (__libc_read64): Likewise.
19379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19380         Likewise.
19381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19382         Likewise.
19383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19384         Likewise.
19385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19386         Likewise.
19387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19388         (__libc_pread64): Likewise.
19389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19390         Likewise.
19391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19392         (__libc_pwrite64): Likewise.
19393         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19394         (sync_file_range): Likewise.
19395         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19396         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19397         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19398         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19399         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19400         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19401         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19402         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19403         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19404         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19405         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19406         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19407         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19408         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19409         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19410         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19411         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19412         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19413         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19414         Likewise.
19415         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19416         Likewise.
19417         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19418         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19419         Likewise.
19420         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19421         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19422         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19423         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19424         Likewise.
19425         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19426         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19427         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19428         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19429         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19431 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19433         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19434         Include dl-vdso.
19435         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19436         Use VDSO routines for gettimeofday, clock_gettime if
19437         available.
19438         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19439         Declare VDSO symbols.
19440         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19441         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19442         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19443         * sysdeps/unix/sysv/linux/arm/Versions: Add
19444         __vdso_clock_gettime.
19446 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19448         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19449         be an inline implementation regardless of library is built within.
19450         (open_not_cancel_2): Likewise.
19451         (__read_nocancel): Likewise.
19452         (__write_nocancel): Likewise.
19453         (openat_not_cancel): Likewise.
19454         (openat_not_cancel_3): Likewise.
19455         (openat64_not_cancel): Likewise.
19456         (openat64_not_cancel_3): Likewise.
19457         (__close_nocancel): Likewise.
19458         (pause_not_cancel): Likewise.
19459         (nanosleep_not_cancel): Likewise.
19460         (sigsuspend_not_cancel): Likewise.
19462 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19464         [BZ #14958]
19465         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19466         wake-up.
19467         (__pthread_rwlock_rdlock_slow): Likewise.
19468         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19469         Likewise.
19470         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19471         Likewise.
19472         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19473         * nptl/tst-rwlock16.c: New file.
19474         * nptl/Makefile (tests): Add new test.
19476 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19478         [BZ #18324]
19479         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19480         missing wake-up of readers.
19481         * nptl/tst-rwlock15.c: New file.
19482         * nptl/Makefile (tests): Add new test.
19484 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19486         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19487         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19488         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19489         and __nacl_supply_interface_rtld.
19490         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19491         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19492         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19493         Add __nacl_supply_interface_rtld.
19494         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19496 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19498         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19499         isfinite.
19500         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19501         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19503 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19505         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19506         __signbit* with standard C99 macros.
19507         * math/e_exp10l.c: Likewise.
19508         * math/e_exp2l.c: Likewise.
19509         * math/e_scalb.c: Likewise.
19510         * math/e_scalbf.c: Likewise.
19511         * math/e_scalbl.c: Likewise.
19512         * math/s_ldexp.c: Likewise.
19513         * math/s_ldexpf.c: Likewise.
19514         * math/s_ldexpl.c: Likewise.
19515         * math/w_atan2.c: Likewise.
19516         * math/w_atan2f.c: Likewise.
19517         * math/w_atan2l.c: Likewise.
19518         * math/w_cosh.c: Likewise.
19519         * math/w_coshf.c: Likewise.
19520         * math/w_coshl.c: Likewise.
19521         * math/w_exp10.c: Likewise.
19522         * math/w_exp10f.c: Likewise.
19523         * math/w_exp10l.c: Likewise.
19524         * math/w_exp2.c: Likewise.
19525         * math/w_exp2f.c: Likewise.
19526         * math/w_exp2l.c: Likewise.
19527         * math/w_fmod.c: Likewise.
19528         * math/w_fmodf.c: Likewise.
19529         * math/w_fmodl.c: Likewise.
19530         * math/w_hypot.c: Likewise.
19531         * math/w_hypotf.c: Likewise.
19532         * math/w_hypotl.c: Likewise.
19533         * math/w_jnl.c: Likewise.
19534         * math/w_lgamma.c: Likewise.
19535         * math/w_lgamma_r.c: Likewise.
19536         * math/w_lgammaf.c: Likewise.
19537         * math/w_lgammaf_r.c: Likewise.
19538         * math/w_lgammal.c: Likewise.
19539         * math/w_lgammal_r.c: Likewise.
19540         * math/w_pow.c: Likewise.
19541         * math/w_powf.c: Likewise.
19542         * math/w_powl.c: Likewise.
19543         * math/w_remainder.c: Likewise.
19544         * math/w_remainderf.c: Likewise.
19545         * math/w_remainderl.c: Likewise.
19546         * math/w_scalb.c: Likewise.
19547         * math/w_scalbf.c: Likewise.
19548         * math/w_scalbl.c: Likewise.
19549         * math/w_scalbln.c: Likewise.
19550         * math/w_scalblnf.c: Likewise.
19551         * math/w_scalblnl.c: Likewise.
19552         * math/w_sinh.c: Likewise.
19553         * math/w_sinhf.c: Likewise.
19554         * math/w_sinhl.c: Likewise.
19555         * math/w_tgamma.c: Likewise.
19556         * math/w_tgammaf.c: Likewise.
19557         * math/w_tgammal.c: Likewise.
19558         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19559         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19560         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19561         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19562         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19563         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19564         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19565         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19566         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19567         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19568         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19569         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19570         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19571         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19572         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19573         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19574         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19575         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19576         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19577         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19578         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19579         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19580         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19581         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19582         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19583         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19584         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19585         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19586         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19587         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19588         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19589         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19590         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19591         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19592         * stdio-common/printf_fp.c: Likewise.
19593         * stdio-common/printf_fphex.c: Likewise.
19594         * stdio-common/printf_size.c: Likewise.
19596 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19598         [BZ #18470]
19599         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19600         strnlen.
19601         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19602         Remove variable.
19603         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19604         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19605         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19606         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19607         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19608         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19609         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19610         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19611         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19612         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19614         [BZ #18468]
19615         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19616         weak alias of __wmemchr.  Use libc_hidden_weak.
19617         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19618         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19619         instead of wmemchr.
19621 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19623         [BZ #18383]
19624         * elf/tst-tlsalign-extern.c: New file.
19625         * elf/tst-tlsalign-extern-static.c: New file.
19626         * elf/tst-tlsalign-vars.c: New file.
19627         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19628         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19629         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19630         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19631         (test-xfail-tst-tlsalign-extern-static): New variable.
19633 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19635         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19636         Use variable name _sc_err instead of err.
19637         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19638         instead of ret.
19639         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19640         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19641         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19642         (INLINE_SYSCALL): Likewise.
19644         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19645         * include/string.h (__strnlen): Use libc_hidden_proto.
19646         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19647         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19648         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19649         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19650         (libc_hidden_def): Undefine and redefine.
19651         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19652         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19653         __GI_strnlen.
19654         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19655         libc_hidden_def.
19656         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19658         [BZ #18469]
19659         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19660         weak alias of __towlower.  Use libc_hidden_weak.
19661         (towupper): Rename to __towupper and define as weak alias of
19662         __towupper.  Use libc_hidden_weak.
19663         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19664         (__towupper): Likewise.
19665         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19666         __towlower instead of towlower.
19668 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19670         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19671         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19673 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19675         * sysdeps/aarch64/libm-test-ulps: Update.
19677 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19679         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19680         Define.
19681         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19683         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19684         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19685         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19686         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19687         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19689 2015-06-01  Martin Sebor  <msebor@redhat.com>
19691         [BZ #18116]
19692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19693         (__setcontext): Use extended four-operand version of mtsf whenever
19694         possible.
19695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19696         (__novec_swapcontext): Likewise.
19698 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19700         * benchtests/scripts/compare_bench.py: New file.
19701         * benchtests/scripts/import_bench.py (mean): New function.
19702         (split_list): Likewise.
19703         (do_for_all_timings): Likewise.
19704         (compress_timings): Likewise.
19706         * benchtests/scripts/import_bench.py: New file.
19707         * benchtests/scripts/validate_benchout.py: Import import_bench
19708         instead of jsonschema.
19709         (validate_bench): Remove function.
19710         (main): Use import_bench.
19712 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19714         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19715         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19717 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19721 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19723         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19724         set THREAD_SELF->tid to a magic value and futex-wake it.
19725         Pass its address to the thread_exit system call.
19726         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19727         bit is clear.
19728         * sysdeps/nacl/lowlevellock.h: New file.
19729         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19731         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19732         Add TIMEOUT to current time, don't subtract it.
19734 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19736         [BZ #2981]
19737         [BZ #18422]
19738         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19739         ($(objpfx)tst-audit2.out): Also depend on
19740         $(objpfx)tst-auditmod9b.so.
19741         * elf/tst-audit2.c: Include <dlfcn.h>.
19742         (calloc_called): New.
19743         (calloc): Allow to be called more than once.
19744         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19746 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19748         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19749         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19751 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19753         * stdlib/monetary.h: Fix comment.
19755 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19757         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19758         Avoid using variables in #defines that might cause shadowing.
19759         (INTERNAL_VSYSCALL_CALL): Likewise.
19761 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19763         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19765         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19766         * nptl/lll_timedlock_wait.c: ... to this new file.
19767         * nptl/Makefile (libpthread-routines): Add it.
19768         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19769         * nptl/lll_timedwait_tid.c: ... to this new file.
19770         * nptl/Makefile (libpthread-routines): Add it.
19771         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19772         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19773         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19774         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19775         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19776         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19777         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19778         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19779         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19780         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19782 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19784         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19785         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19786         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19787         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19788         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19790         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19792         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19793         * sysdeps/unix/sysv/linux/tile/sysdep.h
19794         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19795         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19796         using vDSO syscall macro.
19798 2015-05-26  Andriy Rysin  <arysin@gmail.com>
19800         [BZ #17293]
19801         * uk_UA: Fix sorting order for Ukrainian locale
19803 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
19805         * stdlib/monetary.h: Fix comment.
19807 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19809         [BZ #18234]
19810         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19811         st_mtim and st_ctim members.
19812         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19813         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19814         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19815         (struct stat64): Likewise.
19816         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19817         (struct stat64): Likewise.
19818         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19819         (struct stat64): Likewise.
19821 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19823         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19824         Define and include sysdep-vdso.h.
19825         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19826         Likewise.
19827         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19828         Likewise.
19829         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19830         Define with VDSO_SYMBOL and use PTR_MANGLE.
19831         (__vdso_clock_gettime): Likewise.
19832         (__vdso_clock_getres): Likewise.
19833         (_libc_vdso_platform_setup): Likewise.
19834         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19835         Likewise.
19836         (_libc_vdso_platform_setup): Likewise.
19837         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19838         Likewise.
19839         (__vdso_clock_gettime): Likewise.
19840         (__vdso_clock_getres): Likewise.
19841         (__vdso_get_tbfreq): Likewise.
19842         (__vdso_getcpu): Likewise.
19843         (__vdso_time): Likewise.
19844         (__vdso_sigtramp_rt64): Likewise.
19845         (__vdso_signtramp32): Likewise.
19846         (__vdso_sigtramp_rt32): Likewise.
19847         (_libc_vdso_platform_setup): Likewise.
19848         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19849         Likewise.
19850         (__vdso_clock_gettime): Likewise.
19851         (__vdso_clock_getres): Likewise.
19852         (_libc_vdso_platform_setup): Likewise.
19853         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19854         Likewise.
19855         (__vdso_clock_gettime): Likewise.
19856         (_libc_vdso_platform_setup): Likewise.
19857         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19858         Likewise.
19859         (__vdso_getcpu): Likewise.
19860         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19861         Use VDSO_SYMBOL macro to define.
19862         (__vdso_clock_gettime): Likewise.
19863         (__vdso_clock_getres): Likewise.
19864         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19865         Likewise.
19866         (__vdso_clock_gettime): Likewise.
19867         (__vdso_clock_getres): Likewise.
19868         (__vdso_get_tbfreq): Likewise.
19869         (__vdso_getcpu): Likewise.
19870         (__vdso_time): Likewise.
19871         (__vdso_sigtramp_rt64): Likewise.
19872         (__vdso_signtramp32): Likewise.
19873         (__vdso_sigtramp_rt32): Likewise.
19874         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19875         Likewise.
19876         (__vdso_clock_gettime): Likewise.
19877         (__vdso_clock_getres): Likewise.
19878         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19879         Likewise.
19880         (__vdso_clock_gettime): Likewise.
19881         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19882         Likewise.
19883         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19884         macro.
19885         (INTERNAL_VSYSCALL): Likewise.
19886         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19887         Remove macro.
19888         (INTERNAL_VSYSCALL): Likewise.
19889         (INTERNAL_VSYSCALL_NCS): Likewise.
19890         (INTERNAL_VSYSCALL_CALL): New macro.
19891         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19892         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19893         Likewise.
19894         (INTERNAL_VSYSCALL): Likewise.
19895         (INTERNAL_VSYSCALL_NCS): Likewise.
19896         (INTERNAL_VSYSCALL_CALL): New macro.
19897         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19899         (INLINE_VSYSCALL): Remove macro.
19900         (INTERNAL_VSYSCALL): Remove macro.
19901         (INTERNAL_VSYSCALL_NCS): Remove macro.
19902         (INTERNAL_VSYSCALL_CALL): New macro.
19903         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19904         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19905         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19906         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19907         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19909         (INLINE_VSYSCALL): Remove macro.
19910         (INTERNAL_VSYSCALL): Likewise.
19911         (INTERNAL_VSYSCALL_NCS): Likewise.
19912         (INTERNAL_VSYSCALL_CALL): New macro.
19913         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19914         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19915         PTR_DEMANGLE on vDSO pointer.
19916         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19917         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19918         macro.
19919         (INTERNAL_SYSCALL): Likewise.
19920         (INTERNAL_VSYSCALL_NCS): Remove macro.
19921         (INTERNAL_VSYSCALL_CALL): New macro.
19922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19923         Remove macro.
19924         (INTERNAL_VSYSCALL): Likewise.
19925         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19926         sysdep-vdso.h instead of libc-vdso.h.
19927         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19928         definition.
19929         (INLINE_VSYSCALL): Likewise.
19930         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19931         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19932         definition.
19933         (INLINE_VSYSCALL): Likewise.
19934         (INTERNAL_VSYSCALL): Likewise.
19935         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19936         * sysdeps/unix/sysv/linux/timespec_get.c
19937         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19938         (timespec_get): Use ANSI prototype.
19939         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19940         and definition for Linux.
19942 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19944         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19945         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19947 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19949         [BZ #2981]
19950         [BZ #18410]
19951         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19952         for missing DT_PLTRELSZ.
19954 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19956         Remove obsolete aliases that broke 'locale -a'
19957         [BZ #18412]
19958         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19959         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19960         breaking some applications that use 'locale -a' output.
19961         Change the encoding of this file from Latin-1 to ASCII to avoid
19962         other potential problems with people grepping this file.
19964 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19966         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19967         -fasynchronous-unwind-tables.
19968         (CFLAGS-sendto.c): Likewise.
19969         (CFLAGS-sendmsg.c): Likewise.
19970         (CFLAGS-connect.c): Likewise.
19971         (CFLAGS-recvmsg.c): Likewise.
19972         (CFLAGS-recvfrom.c): Likewise.
19973         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19974         (SOCKETCALL): New macro: non-cancellable socketcall.
19975         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19976         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19977         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19978         * sysdeps/unix/sysv/linux/accept.c: New file.
19979         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19980         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19981         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19982         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19983         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19984         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19985         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19986         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19987         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19988         * sysdeps/unix/sysv/linux/send.c: Likewise.
19989         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19990         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19991         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19992         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19993         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19994         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19995         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19996         prototype.
19997         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19998         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19999         instead of __internal_xxx function.
20000         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20001         prototype.
20002         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20003         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20004         instead of __internal_xxx function.
20005         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20006         prototype.
20007         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20008         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20009         instead of __internal_xxx function.
20010         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20011         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20012         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20013         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20014         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20015         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20016         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20017         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20018         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20019         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20020         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20021         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20022         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20023         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20024         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20025         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20026         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20027         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20028         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20029         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20032         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20033         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20034         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20035         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20036         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20037         * sysdeps/unix/sysv/linux/send.S: Likewise.
20038         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20039         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20040         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20041         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20042         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20043         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20044         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20045         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20046         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20047         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20048         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20049         socketcall is implemented in GLIBC.
20051 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20053         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20054         (__fma): Ignore uninitialized warnings around packing.
20055         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20056         (__fmaf): Ignore uninitialized warnings around packing.
20057         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20058         (__fmal): Ignore uninitialized warnings around packing.
20060         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20061         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20062         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20063         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20065         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20066         switch statement into default case.
20067         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20069         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20070         a conditional in forcing "inexact".
20071         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20072         Likewise.
20074 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20076         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20077         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20078         for each INTERNAL_SYSCALL use.
20080 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20082         [BZ #438]
20083         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20084         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20085         variable.
20087         [BZ #18444]
20088         * string/basename.c (basename): Rename to __basename and define as
20089         weak alias of __basename.  Use libc_hidden_weak.
20090         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20091         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20092         __basename instead of basename.
20093         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20094         Remove variable.
20095         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20097 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20099         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20100         (_IO_JUMPS_FILE_plus): New.
20101         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20102         _IO_CAST_FIELD_ACCESS.
20103         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20104         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20105         * libio/freopen.c (freopen): Likewise.
20106         * libio/freopen64.c (freopen64): Likewise.
20107         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20108         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20109         * libio/iofwide.c (_IO_fwide): Likewise.
20110         * libio/memstream.c (open_memstream): Likewise.
20111         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20112         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20113         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20115 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20117         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20118         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20119         NADJ.
20120         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20121         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20122         NADJ.
20123         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20124         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20125         NADJ.
20127         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20128         (p == 4) case.
20130         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20131         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20132         Remove variable.
20133         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20134         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20135         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20137 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20139         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20140         Adjust jump table label generation macros.
20142 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20144         * stdio-common/vfprintf.c (vfprintf): Move local variables
20145         args_malloced, specs, specs_malloced, and the code after
20146         do_positional to the printf_positional function.
20147         (printf_positional): New function.
20149 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20151         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20152         function.
20153         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20154         STEP4_TABLE, process_arg): Move macro definitions
20155         out of the vfprintf function.  (Cosmetic change only.)
20157 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20159         * benchtests/Makefile (stdio-common-bench): Define.
20160         (benchset): Add stdio-common-bench.
20161         * sprintf-inputs: New file.
20162         * sprintf-source.c: New file.
20164 2015-05-21  Andreas Schwab  <schwab@suse.de>
20166         [BZ #13028]
20167         [BZ #17053]
20168         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20169         of struct __res_state.
20170         * resolv/res_send.c (__libc_res_nsend): Likewise.
20171         (get_nsaddr): New function.
20172         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20173         statp directly.
20175 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20177         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20178         -D_POSIX_C_SOURCE=199506L.
20180         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20182         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20183         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20184         Do not mention otherwise.
20185         [POSIX] (_XOPEN_VERSION): Do not expect.
20186         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20187         [POSIX] (_POSIX2_C_BIND): Likewise.
20188         [POSIX] (_POSIX2_VERSION): Likewise.
20189         [POSIX] (_XOPEN_XPG2): Likewise.
20190         [POSIX] (_XOPEN_XPG3): Likewise.
20191         [POSIX] (_XOPEN_XPG4): Likewise.
20192         [POSIX] (_XOPEN_UNIX): Likewise.
20193         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20194         [POSIX] (_POSIX_BARRIERS): Likewise.
20195         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20196         [POSIX] (_POSIX_CPUTIME): Likewise.
20197         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20198         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20199         [POSIX] (_POSIX_SHELL): Likewise.
20200         [POSIX] (_POSIX_SPAWN): Likewise.
20201         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20202         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20203         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20204         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20205         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20206         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20207         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20208         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20209         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20210         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20211         [POSIX] (_POSIX2_PBS): Likewise.
20212         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20213         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20214         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20215         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20216         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20217         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20218         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20219         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20220         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20221         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20222         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20223         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20224         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20225         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20226         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20227         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20228         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20229         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20230         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20231         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20232         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20233         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20234         [POSIX] (_SC_2_C_BIND): Likewise.
20235         [POSIX] (_SC_2_C_VERSION): Likewise.
20236         [POSIX] (_SC_2_PBS): Likewise.
20237         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20238         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20239         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20240         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20241         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20242         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20243         [POSIX] (_SC_BARRIERS): Likewise.
20244         [POSIX] (_SC_BASE): Likewise.
20245         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20246         [POSIX] (_SC_DEVICE_IO): Likewise.
20247         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20248         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20249         [POSIX] (_SC_FD_MGMT): Likewise.
20250         [POSIX] (_SC_FIFO): Likewise.
20251         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20252         [POSIX] (_SC_FILE_LOCKING): Likewise.
20253         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20254         [POSIX] (_SC_IOV_MAX): Likewise.
20255         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20256         [POSIX] (_SC_NETWORKING): Likewise.
20257         [POSIX] (_SC_PAGE_SIZE): Likewise.
20258         [POSIX] (_SC_PASS_MAX): Likewise.
20259         [POSIX] (_SC_PIPE): Likewise.
20260         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20261         [POSIX] (_SC_REGEXP): Likewise.
20262         [POSIX] (_SC_SHELL): Likewise.
20263         [POSIX] (_SC_SIGNALS): Likewise.
20264         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20265         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20266         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20267         [POSIX] (_SC_USER_GROUPS): Likewise.
20268         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20269         [POSIX] (_SC_STREAMS): Likewise.
20270         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20271         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20272         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20273         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20274         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20275         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20276         [POSIX] (_PC_FILESIZEBITS): Likewise.
20277         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20278         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20279         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20280         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20281         [POSIX] (uid_t): Likewise.
20282         [POSIX] (gid_t): Likewise.
20283         [POSIX] (off_t): Likewise.
20284         [POSIX] (pid_t): Likewise.
20285         [POSIX] (cuserid): Allow.
20286         (_SC_2_CHAR_TERM): Require constant.
20287         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20288         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20289         variable.
20291 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20293         * sysdeps/nacl/pthread-pids.h: New file.
20294         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20295         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20297         * nptl/pthread-pids.h: New file.
20298         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20299         * nptl/nptl-init.c: Include <pthread-pids.h>.
20300         (__pthread_initialize_minimal_internal):
20301         Call __pthread_initialize_pids instead of set_tid_address syscall.
20303         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20304         * sysdeps/posix/usleep.c: ... here.
20306 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20308         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20309         call_pselect6 object.
20310         [$(subdir) = io]: Remove call_sync_file_range object.
20311         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20312         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20313         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20314         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20316 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20318         * math/s_cproj.c: Add include "math_private.h".
20319         * math/s_cprojf.c: Likewise.
20320         * math/s_cprojl.c: Likewise.
20322 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20324         [BZ #18244]
20325         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20326         high mantissa bit when testing whether P is a NaN.
20327         * math/libm-test.inc (remainder_test_data): Add more tests.
20328         (remquo_test_data): Likewise.
20330         [BZ #18049]
20331         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20332         below -32, return the argument, with underflow if subnormal.
20333         * math/auto-libm-test-in: Add more tests of atanh.
20334         * math/auto-libm-test-out: Regenerated.
20336 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20338         [BZ #18434]
20339         * nptl/tst-sem15.c: New file.
20340         * nptl/Makefile (tests): Add it.
20341         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20342         s/<</>>/ to fix typo in EOVERFLOW check.
20343         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20345 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20347         * manual/strings.texi (envz_remove): Fix typo in safety
20348         annotations.
20350 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20351             Steve Ellcey  <sellcey@imgtec.com>
20353         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20354         in order to avoid strict alias warnings.
20355         (iruserok_af): Ditto for ra.
20357 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20359         [BZ #17581]
20360         * malloc/hooks.c
20361         (magicbyte): Convert to a function and avoid returning 0x01.
20362         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20363         (mem2chunk_check): Fix unsigned comparisons to zero.
20364         Hoist defs of sz and magic.
20366 2015-05-19  Richard Henderson  <rth@redhat.com>
20368         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20370         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20372 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20374         [BZ #16159]
20375         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20376         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20377         (reused_arena): Find a non-corrupt arena.
20378         (heap_trim): Pass arena to unlink.
20379         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20380         malloc_printerr.
20381         (top_check): Likewise.
20382         (free_check): Likewise.
20383         (realloc_check): Likewise.
20384         * malloc/malloc.c (malloc_printerr): Add arena argument.
20385         (unlink): Likewise.
20386         (munmap_chunk): Adjust.
20387         (ARENA_CORRUPTION_BIT): New macro.
20388         (arena_is_corrupt): Likewise.
20389         (set_arena_corrupt): Likewise.
20390         (sysmalloc): Use mmap if there are no usable arenas.
20391         (_int_malloc): Likewise.
20392         (__libc_malloc): Don't fail if arena_get returns NULL.
20393         (_mid_memalign): Likewise.
20394         (__libc_calloc): Likewise.
20395         (__libc_realloc): Adjust for additional argument to
20396         malloc_printerr.
20397         (_int_free): Likewise.
20398         (malloc_consolidate): Likewise.
20399         (_int_realloc): Likewise.
20400         (_int_memalign): Don't touch corrupt arenas.
20401         * malloc/tst-malloc-backtrace.c: New test case.
20403         * Makefile (summarize-tests): Fix return value on success.
20405         * manual/string.texi (Envz Functions): Add envz_remove.
20407 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20409         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20410         (invalid_name): New function, broken out of ...
20411         (__opendirat): ... here.  Call it.
20412         (need_isdir_precheck): New function, broken out of ...
20413         (__opendirat): ... here.  Call it.
20414         Use __fxstatat64, not __xstatat64.
20415         (opendir_oflags): New function, broken out of ...
20416         (__opendirat): ... here.  Call it.
20417         (opendir_tail): New function, broken out of ...
20418         (__opendirat): ... here.  Call it.
20419         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20420         opendir_tail, rather than punting to __opendirat.
20421         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20423 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20425         * .gitignore: Ignore generated *.pyc.
20427 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20429         * include/stdio.h: Define __need_wint_t.
20430         * test-skeleton.c: Avoid `for' loop initial declaration.
20431         * nptl/tst-initializers1.c: Use test-skeleton.c.
20433 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20435         [BZ #18418]
20436         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20438 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20440         [BZ #16352]
20441         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20442         (__ieee754_atanh): Force underflow exception for results with
20443         small absolute value.
20444         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20445         (__ieee754_atanhf): Force underflow exception for results with
20446         small absolute value.
20447         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20448         (__ieee754_atanh): Force underflow exception for results with
20449         small absolute value.
20450         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20451         (__ieee754_atanhf): Force underflow exception for results with
20452         small absolute value.
20453         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20454         (__ieee754_atanhl): Force underflow exception for results with
20455         small absolute value.
20456         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20457         (__ieee754_atanhl): Force underflow exception for results with
20458         small absolute value.
20459         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20460         (__ieee754_atanhl): Force underflow exception for results with
20461         small absolute value.
20462         * math/auto-libm-test-in: Do not allow missing underflow
20463         exceptions from atanh.
20464         * math/auto-libm-test-out: Regenerated.
20466         [BZ #18221]
20467         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20468         2**-28 as threshold for returning x or +/- 1/x.
20469         * math/auto-libm-test-in: Add more tests of tan.
20470         * math/auto-libm-test-out: Regenerated.
20472         [BZ #18220]
20473         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20474         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20475         * math/auto-libm-test-in: Add another test of lgamma.
20476         * math/auto-libm-test-out: Regenerated.
20478 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20480         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20481         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20482         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20483         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20484         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20485         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20486         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20487         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20488         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20489         (log1): Use fabs.  (my_log2): Use fabs.
20490         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20491         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20492         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20493         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20494         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20495         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20496         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20497         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20498         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20499         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20500         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20502 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20504         [BZ #18217]
20505         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20506         as threshold for returning 1 - x.
20507         * math/auto-libm-test-in: Add more tests of erfc.
20508         * math/auto-libm-test-out: Regenerated.
20510 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20512         [BZ #18196]
20513         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20514         threshold for large arguments.
20515         * math/auto-libm-test-in: Add another test of atan.
20516         * math/auto-libm-test-out: Regenerated.
20518         [BZ #16339]
20519         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20520         (__log1p): Force underflow exception for results with small
20521         absolute value.
20522         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20523         (__log1pf): Force underflow exception for results with small
20524         absolute value.
20525         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20526         (__log1p): Force underflow exception for results with small
20527         absolute value.
20528         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20529         (__log1pf): Force underflow exception for results with small
20530         absolute value.
20531         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20532         (__log1pl): Force underflow exception for results with small
20533         absolute value.
20534         * math/auto-libm-test-in: Do not allow missing underflow
20535         exceptions from log1p.
20536         * math/auto-libm-test-out: Regenerated.
20538 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20539             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20541         [BZ #16704]
20542         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20544 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20546         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20547         (libmvec): New variable.
20548         * configure.ac: Added option for mathvec build.
20549         * configure: Regenerated.
20550         * mathvec/Depend: New file.
20551         * mathvec/Makefile: New file.
20552         * shlib-versions: Added libmvec.
20553         * math/Makefile: Added rule for libm.so installation.
20555         * bits/math-vector.h: New file.
20556         * bits/libm-simd-decl-stubs.h: New header.
20557         * math/Makefile (headers): Added new header
20558         libm-simd-decl-stubs.h.
20559         * math/math.h (__MATHCALL_VEC): New macro.
20561         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20562         for conditions in testing functions.
20563         * math/Makefile: Added call of libm-have-vector-test.sh.
20564         * math/libm-test.inc (HAVE_VECTOR): New macros.
20566         * math/libm-test.inc: START refactored.
20567         * math/test-double.c (TEST_MATHVEC): Add define.
20568         * math/test-float.c: Likewise.
20569         * math/test-idouble.c: Likewise.
20570         * math/test-ifloat.c: Likewise.
20571         * math/test-ildoubl.c: Likewise.
20572         * math/test-ldouble.c: Likewise.
20573         * sysdeps/generic/math-tests-arch.h
20574         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20575         architecture check.
20577         * math/test-double.c (FUNC_TEST): New macro.
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         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20585 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20587         * sysdeps/nacl/fdopendir.c: New file.
20589         * dirent/scandir-tail.c: New file.
20590         * dirent/scandir64-tail.c: New file.
20591         * dirent/Makefile (routines): Add them.
20592         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20593         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20594         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20595         [!SCANDIR] (SCANDIR_TAIL): New macro.
20596         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20597         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20598         (SCANDIRAT): Macro removed.
20599         (SCANDIR_TAIL): New macro.
20600         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20601         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20602         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20603         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20604         (READDIR): Macro removed.
20605         (SCANDIR_TAIL): New macro.
20606         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20607         (SCANDIR_TAIL): New macro.
20609         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20610         * dirent/scandir-cancel.c: ... to this new file.
20611         * dirent/Makefile (routines): Add it.
20612         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20613         * sysdeps/unix/sysv/linux/i386/scandir64.c
20614         (SKIP_SCANDIR_CANCEL): Macro removed.
20615         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20617         * dirent/tst-scandir.c: New file.
20618         * dirent/tst-scandir64.c: New file.
20619         * dirent/Makefile (tests): Add them.
20621 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20623         [BZ #18409]
20624         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20626 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20628         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20629         list.
20631 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20633         * benchtests/bench-strcoll.c: New benchmark.
20634         * benchtests/Makefile: Generate locales and run benchmark.
20635         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20636         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20637         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20638         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20639         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20640         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20641         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20642         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20643         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20644         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20645         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20646         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20647         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20648         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20649         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20650         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20651         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20652         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20653         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20654         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20655         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20656         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20657         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20658         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20660 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20662         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20663         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20665 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20667         * posix/uname-values.h: New file.
20668         * posix/uname.c: Include that instead of <config-name.h>.
20669         * sysdeps/nacl/uname-values.h: New file.
20670         * sysdeps/arm/nacl/uname-values.h: New file.
20672 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20674         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20675         splitting into fields.
20677 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20679         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20680         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20681         * locale/localeinfo.h: Add enum collation_encoding_type.
20682         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20683         * programs/ld-collate.c (collate_output): Add encoding type info.
20684         * string/strcoll_l.c (STRDIFF): New function.
20685         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20686         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20688 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20690         [BZ #18397]
20691         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20692         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20693         <fpu_control.h> instead of <math/fpu_control.c>.
20694         * sysdeps/mips/mips32/fpu/Makefile: New file.
20696 2015-05-11  Andreas Schwab  <schwab@suse.de>
20698         [BZ #18007]
20699         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20700         nss_endgrent.
20701         (_nss_compat_endgrent): Call nss_endgrent.
20702         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20703         nss_endpwent.
20704         (_nss_compat_endpwent): Call nss_endpwent.
20705         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20706         needent, call nss_setspent only if non-zero.
20707         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20708         (internal_endspent): Don't call nss_endspent.
20709         (_nss_compat_endspent): Call nss_endspent.
20710         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20711         Remove.  All uses removed.
20712         (internal_setent): Remove parameter stayopen, add parameter
20713         stream.  Use it instead of global variable.
20714         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20715         (internal_endent, internal_getent): Add parameter stream.  Use it
20716         instead of global variable.
20717         (CONCAT(_nss_files_end,ENTNAME))
20718         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20719         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20720         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20721         uses removed.
20722         (internal_setent, internal_endent): Add parameter stream.  Use it
20723         instead of global variable.
20724         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20725         stream.
20726         (get_next_alias): Add parameter stream.
20727         (_nss_files_getaliasent_r): Pass global stream.
20728         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20729         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20730         (_nss_files_gethostbyname4_r): Pass local stream to
20731         internal_setent, internal_getent and internal_endent.  Remove
20732         locking.
20734 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20736         * tst-strfmon1.c (tests): Update expected currency symbol.
20738 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20740         * sysdeps/nacl/gethostname.c: New file.
20742 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20744         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20745         and sinh.
20746         * math/auto-libm-test-out: Regenerated.
20747         * sysdeps/i386/fpu/libm-test-ulps: Update.
20748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20750 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20752         [BZ #18125]
20753         * stdlib/tst-setcontext3.c: New file.
20754         * stdlib/tst-setcontext3.sh: New file.
20755         * stdlib/Makefile (tests): Add tst-setcontext3.
20756         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20757         to verify test program created output file.
20758         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20759         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20760         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20761         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20763 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20765         [BZ #18383]
20766         * elf/tst-tlsalign.c: New file.
20767         * elf/tst-tlsalign-static.c: New file.
20768         * elf/tst-tlsalign-lib.c: New file.
20769         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20770         (tests-static): Add tst-tlsalign-static.
20771         (modules-names): Add tst-tlsalign-lib.
20772         (test-xfail-tst-tlsalign): New variable.
20773         (test-xfail-tst-tlsalign-static): New variable.
20775         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20776         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20778 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
20780         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20781         csqrt, erfc, sin and sincos.
20782         * math/auto-libm-test-out: Regenerated.
20783         * sysdeps/i386/fpu/libm-test-ulps: Update.
20784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20786 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20788         * sysdeps/aarch64/libm-test-ulps: Update.
20790 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
20792         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20793         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20794         * math/auto-libm-test-out: Regenerated.
20795         * sysdeps/i386/fpu/libm-test-ulps: Update.
20796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20798 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20800         [BZ #18265]
20801         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20802         (wcsncpy): Likewise.
20804 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20806         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20807         Assume __ASSUME_FALLOCATE is always true.
20808         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20809         (__posix_fallocate64_l64): Likweise.
20810         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20811         (posix_fallocate): Likewise.
20812         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20813         (__posix_fallocate64_l64): Likewise.
20814         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20815         [!__ASSUME_FALLOCATE]: Add comment.
20817 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20819         * sysdeps/unix/sysv/linux/i386/Makefile
20820         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20821         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20822         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20823         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20824         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20825         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20826         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20828 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
20830         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20831         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20832         tgamma.
20833         * math/auto-libm-test-out: Regenerated.
20834         * sysdeps/i386/fpu/libm-test-ulps: Update.
20835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20837 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20839         * math/auto-libm-test-in: Add more tests of tgamma.
20840         * math/auto-libm-test-out: Regenerated.
20841         * sysdeps/i386/fpu/libm-test-ulps: Update.
20842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20844         * math/auto-libm-test-in: Add more tests of tanh.
20845         * math/auto-libm-test-out: Regenerated.
20846         * sysdeps/i386/fpu/libm-test-ulps: Update.
20847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20849         * math/auto-libm-test-in: Add more tests of tan.
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 cos, sin and sincos.
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 another test of pow.
20860         * math/auto-libm-test-out: Regenerated.
20861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20863         * math/auto-libm-test-in: Add more tests of lgamma.
20864         * math/auto-libm-test-out: Regenerated.
20865         * sysdeps/i386/fpu/libm-test-ulps: Update.
20866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20868         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20869         log1p.
20870         * math/auto-libm-test-out: Regenerated.
20871         * sysdeps/i386/fpu/libm-test-ulps: Update.
20872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20874 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20876         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20877         Elf64_Chdr structs and ELFCOMPRESS constants.
20879 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20881         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20882         expm1.
20883         * math/auto-libm-test-out: Regenerated.
20884         * sysdeps/i386/fpu/libm-test-ulps: Update.
20885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20887         * math/auto-libm-test-in: Add more tests of erf and erfc.
20888         * math/auto-libm-test-out: Regenerated.
20889         * sysdeps/i386/fpu/libm-test-ulps: Update.
20890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20892 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20894         * config.h.in (HAVE_AARCH64_BE): Add.
20896 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20898         * math/auto-libm-test-in: Add more tests of csqrt.
20899         * math/auto-libm-test-out: Regenerated.
20900         * sysdeps/i386/fpu/libm-test-ulps: Update.
20901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20903         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20904         * math/auto-libm-test-out: Regenerated.
20905         * sysdeps/i386/fpu/libm-test-ulps: Update.
20906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20908         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20910 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20912         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20913         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20915         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20916         (euidaccess, eaccess): Define as weak aliases.
20918         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20919         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20920         but __suseconds_t is often 'long int' so some sources assume that
20921         type is being used (e.g. they use %ld to print tv_usec).
20923 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20925         [BZ #18007]
20926         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20927         (CVE-2014-8121)
20928         * nss/tst-nss-getpwent.c: New file.
20929         * nss/Makefile (tests): Add new test.
20931 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20933         [BZ #18346]
20934         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20935         exponents less than 48 as cases where high part of mantissa needs
20936         examining to determine whether argument is integral.
20937         * math/libm-test.inc (round_test_data): Add more tests.
20939 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20941         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20943 2015-04-27  David S. Miller  <davem@davemloft.net>
20945         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20946         __tls_get_addr.
20947         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20949 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20951         [BZ#18333]
20952         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20954 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20956         [BZ#18333]
20957         * time/tzset.c (parse_tzname): Return error on memory allocation
20958         failure.
20959         * test-skeleton.c (struct temp_name_list): Change type of name
20960         member to non-const.
20961         (add_temp_file): Create a copy of the file name.
20962         (delete_temp_files): Deallocate memory.
20963         (create_temp_file): Add comment.
20965 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20967         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20968         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20970 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20972         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20973         * sysdeps/arm/configure: Regenerated.
20975 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20977         [BZ #17715]
20978         * time/tzfile.c (__tzfile_read): Check for large values of
20979         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20980         * time/tzset.c (__tzstring_len): New function, based on the old
20981         __tzstring function.
20982         (__tzstring): Call __tzstring_len.
20983         (parse_tzname): New helper function extracted from
20984         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20985         the input string.
20986         (parse_offset): New helper function extracted from
20987         __tzset_parse_tz.  Replace switch with fallthrough with
20988         initialization before sscanf.
20989         (parse_rule): Likewise.
20990         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20991         new-style function definition.
20992         * timezone/Makefile (tests): Add tst-tzset.
20993         (tst-tzset.out): Dependencies on time zone files.
20994         (tst-tzset-ENV): Set TZDIR.
20995         (testdata/XT%): Copy crafted time zone files.
20996         * timezone/README: Mention crafted time zone files.
20997         * timezone/testdata/XT1, timezone/testdata/XT2,
20998         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20999         files.
21000         * timezone/tst-tzset.c: New test.
21002 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21004         * Makeconfig (+gccwarn): Remove -Winline.
21006 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21008         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21010 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21012         * NEWS: Mention sysconf() cache information support for s390.
21013         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21015 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21017         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21018         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21019         (__nearbyint): Likewise.
21020         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21021         (copysignl): Likewise.
21023 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21025         [BZ #18287]
21026         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21027         based on padding.  (CVE-2015-1781)
21029 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21031         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21032         libc-vdso.h.
21033         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21034         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21035         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21036         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21037         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21038         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21039         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21040         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21041         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21042         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21043         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21044         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21045         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21046         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21047         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21048         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21049         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21050         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21051         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21052         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21053         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21054         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21055         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21057 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21059         * stdlib/setenv.c (__add_to_environ):
21060         Dump core quickly if setenv (..., NULL, ...) is called.
21061         This time, do it the right way, and pacify GCC with a pragma.
21063 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21065         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21066         IMAP->l_prev cannot be null, and #if out the code for the contrary
21067         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21068         believe that NS (&_dl_ns[NSID]) could point outside the array.
21070         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21071         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21072         before using NSID as an index.
21074 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21076         [BZ #17825]
21077         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21078         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21079         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21081 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21083         Add preliminary port to Google Native Client on ARM.
21084         * abi-tags (.*-.*-nacl.*): New entry.
21085         * sysdeps/arm/nacl: New directory.
21086         * sysdeps/nacl: New directory.
21088 2015-04-16  David S. Miller  <davem@davemloft.net>
21090         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21091         lowlevellock-futex.h
21093 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21095         * sysdeps/tile/configure.ac: New file.
21096         * sysdeps/tile/configure: Regenerated.
21098 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21100         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21101         conditionals for weak_alias and libc_hidden_weak.
21102         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21103         libc_hidden_weak and weak_alias.
21104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21105         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21106         and weak_alias for static one.
21108 2015-04-15  David S. Miller  <davem@davemloft.net>
21110         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21112 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21114         [BZ #18206]
21115         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21116           Use signed comparision instead of substraction to avoid
21117           overflow bug.
21118         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21119           Take the sign of ret.
21120         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21121           Do not expect precise return values. Only the sign matters.
21122         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21123         * wcsmbs/test-wcsncmp.c: New File.
21124         * string/test-strncmp.c: Add wcsncmp support.
21126 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21128         [BZ #6792]
21129         * math/w_log1p.c: New file.
21130         * math/w_log1pf.c: Likewise.
21131         * math/w_log1pl.c: Likewise.
21132         * math/Makefile (libm-calls): Add w_log1p.
21133         * math/s_log1pl.c (log1pl): Remove weak_alias.
21134         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21135         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21136         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21137         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21138         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21139         [NO_LONG_DOUBLE] (log1pl): Likewise.
21140         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21141         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21142         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21143         (log1p): Remove long_double_symbol.
21144         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21145         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21146         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21147         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21148         remove weak_alias for corresponding log1p function.
21149         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21150         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21151         * sysdeps/ia64/fpu/w_log1p.c: New file.
21152         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21153         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21154         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21156 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21158         [BZ #18247]
21159         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21160         decimal exponent by 1.
21161         * stdlib/tst-strtod-round-data: Add more tests.
21162         * stdlib/tst-strtod-round.c (tests): Regenerated.
21164 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21166         * math/auto-libm-test-in: Add more tests of clog and clog10.
21167         * math/auto-libm-test-out: Regenerated.
21168         * sysdeps/i386/fpu/libm-test-ulps: Update.
21169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21171 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21173         * Makeconfig (module-cppflags): Exclude all .v.i files.
21174         (skip-module-cppflags): Variable removed.
21176         * configure.ac (libc_config_ok): Initialize before reading
21177         preconfigure scripts, not after.
21178         * configure: Regenerated.
21180         * test-skeleton.c (TIMEOUT): Move #define to top level.
21181         (main): Grok environment variable TEST_DIRECT.  If set, print
21182         test expectation details into that file and then behave as if
21183         given --direct.
21185 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21187         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21188         warning on 32-bit.
21190 2015-04-08  David S. Miller  <davem@davemloft.net>
21192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21194 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21196         * math/auto-libm-test-in: Add more tests of atanh.
21197         * math/auto-libm-test-out: Regenerated.
21198         * sysdeps/i386/fpu/libm-test-ulps: Update.
21199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21201         * math/auto-libm-test-in: Add more tests of atan.
21202         * math/auto-libm-test-out: Regenerated.
21203         * sysdeps/i386/fpu/libm-test-ulps: Update.
21204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21206 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21208         * elf/pldd.c (main): Rewrite to use struct
21209         scratch_buffer instead of extend_alloca.
21210         * elf/pldd-xx.c (find_maps): Likewise.
21211         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21212         <alloca.h>.
21213         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21214         scratch_buffer instead of extend_alloca.
21215         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21216         grp/compat-initgroups.c.
21217         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21218         Rewrite to use struct scratch_buffer instead of extend_alloca.
21219         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21220         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21222 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21224         * math/auto-libm-test-in: Add more tests of cbrt.
21225         * math/auto-libm-test-out: Regenerated.
21226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21228         * math/auto-libm-test-in: Add more tests of cabs.
21229         * math/auto-libm-test-out: Regenerated.
21230         * sysdeps/i386/fpu/libm-test-ulps: Update.
21231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21233         [BZ #18210]
21234         [BZ #18211]
21235         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21236         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21237         computations.
21238         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21239         clog10.
21240         * math/auto-libm-test-out: Regenerated.
21241         * sysdeps/i386/fpu/libm-test-ulps: Update.
21242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21244         [BZ #18197]
21245         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21246         (atan): Set FE_TONEAREST mode for internal computations.
21247         * math/auto-libm-test-in: Add more tests of atan.
21248         * math/auto-libm-test-out: Regenerated.
21250 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21252         [BZ #17930]
21253         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21255 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21257         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21259 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21261         * include/scratch_buffer.h: New file.
21262         * malloc/scratch_buffer_grow.c: Likewise.
21263         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21264         * malloc/scratch_buffer_set_array_size.c: Likewise.
21265         * malloc/tst-scratch_buffer.c: Likewise.
21266         * malloc/Makefile (routines): Add scratch_buffer_grow.
21267         (tests): Add test case.
21268         * malloc/Versions (GLIBC_PRIVATE): Export
21269         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21270         __libc_scratch_buffer_set_array_size.
21272 2015-04-06  Richard Henderson  <rth@redhat.com>
21274         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21275         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21277         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21278         unsigned int before printing.
21280 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21282         [BZ #17596]
21283         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21284         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21286 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21288         * include/libc-internal.h (libc_max_align_t): Define.
21290 2015-04-02  Andreas Schwab  <schwab@suse.de>
21292         [BZ #16850]
21293         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21295 2015-04-02  Mel Gorman  <mgorman@suse.de>
21297         [BZ #17195]
21298         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21299         as well as the main arena.
21301 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21303         [BZ #18185]
21304         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21305         sharing L2 cache to 2 for Silvermont/Knights Landing.
21307 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21309         [BZ #17711]
21310         * config.make.in (have-protected-data): New.
21311         * configure.ac: Check linker support for protected data symbol.
21312         * configure: Regenerated.
21313         * elf/Makefile (modules-names): Add tst-protected1moda and
21314         tst-protected1modb if $(have-protected-data) is yes.
21315         (tests): Add tst-protected1a and tst-protected1b if
21316         $(have-protected-data) is yes.
21317         ($(objpfx)tst-protected1a): New.
21318         ($(objpfx)tst-protected1b): Likewise.
21319         (tst-protected1modb.so-no-z-defs): Likewise.
21320         * elf/tst-protected1a.c: New file.
21321         * elf/tst-protected1b.c: Likewise.
21322         * elf/tst-protected1mod.h: Likewise.
21323         * elf/tst-protected1moda.c: Likewise.
21324         * elf/tst-protected1modb.c: Likewise.
21326 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21328         [BZ #17711]
21329         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21330         indicates it is called from do_lookup_x on relocation against
21331         protected data, skip the data definion in the executable from
21332         copy reloc.
21333         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21334         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21335         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21336         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21337         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21338         otherwise to 0.
21339         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21340         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21341         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21342         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21343         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21344         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21346 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21348         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21349         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21351 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21353         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21354         THREAD_SETMEM_NC.
21355         * sysdeps/x86_64/nptl/tls.h: Ditto.
21357 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21359         * dlfcn/tststatic.c (main): Converted to ...
21360         (do_test): ... this.
21361         (TEST_FUNCTION): New macro.
21362         Include test-skeleton.c.
21364 2015-03-26  Alan Modra  <amodra@gmail.com>
21366         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21367         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21368         zero for undefined weak.
21369         (elf_machine_plt_conflict): Similarly.
21371 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21373         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21374         atanh.
21375         * math/auto-libm-test-out: Regenerated.
21376         * sysdeps/i386/fpu/libm-test-ulps: Update.
21377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21379         * math/auto-libm-test-in: Add another test of asin.
21380         * math/auto-libm-test-out: Regenerated.
21381         * sysdeps/i386/fpu/libm-test-ulps: Update.
21382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21384         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21385         Remove macro.
21386         (LLL_EBX_REG): Likewise.
21387         (LLL_ENTER_KERNEL): Likewise.
21389         * math/auto-libm-test-in: Add more tests 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         [BZ #18138]
21395         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21396         libc_do_syscall_args): New structure.
21397         (INTERNAL_SYSCALL_MAIN_0): New macro.
21398         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21399         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21400         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21401         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21402         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21403         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21404         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21405         Replace conditional definitions by conditional definitions of ....
21406         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21407         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21408         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21409         (libpthread-sysdep_routines): Add libc-do-syscall.
21410         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21411         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21412         to __NR_futex not 240.
21414 2015-03-25  Alan Modra  <amodra@gmail.com>
21416         * NEWS: Advertise TLS optimization.
21417         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21418         (DT_PPC_NUM): Increment.
21419         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21420         (CHECK_STATIC_TLS): Use here.
21421         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21422         TLS descriptors.
21423         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21424         * sysdeps/powerpc/dl-tls.c: New file.
21425         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21426         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21427         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21428         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21433 2015-03-25  Alan Modra  <amodra@gmail.com>
21435         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21436         for overlapping .opd entries" to "support...".
21437         * sysdeps/powerpc/powerpc64/configure: Regenerate
21439 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21441         * math/auto-libm-test-in: Add more tests of acos.
21442         * math/auto-libm-test-out: Regenerated.
21443         * sysdeps/i386/fpu/libm-test-ulps: Update.
21444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21446         * math/auto-libm-test-in: Add more tests of expm1.
21447         * math/auto-libm-test-out: Regenerated.
21448         * sysdeps/i386/fpu/libm-test-ulps: Update.
21449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21451 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21453         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21454         * math/auto-libm-test-out: Regenerated.
21455         * sysdeps/i386/fpu/libm-test-ulps: Update.
21456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21458         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21461         * math/auto-libm-test-in: Add more tests of log2.
21462         * math/auto-libm-test-out: Regenerated.
21463         * sysdeps/i386/fpu/libm-test-ulps: Update.
21464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21466 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21468         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21469         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21470         _IO_IS_APPENDING bit in READ_WRITE instead.
21472 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21474         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21475         (__determine_cpumask_size): Replace extend_alloca with a
21476         variable-length array.  Do not treat res == 0 as an error.
21478 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21480         [BZ #18100]
21481         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21482         and integer overflow.
21483         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21484         (main): Add integer overflow tests.
21485         * manual/pattern.texi (Calling Wordexp): Document additional use
21486         for WRDE_SYNTAX.
21488 2015-03-23  Alan Modra  <amodra@gmail.com>
21490         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21491         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21492         and false branch of conditional.
21493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21494         Likewise.
21496 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21498         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21499         libc-modules.h
21500         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21501         unused declaration of _hurd_intr_rpc_msg_in_trap.
21502         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21503         defined instead of whether it is non-zero.
21504         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21505         input constraint instead of both input and output constraint.  Use ecx
21506         clobber instead of %ecx.
21507         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21508         mutex_unlock): Use a statement expression instead of an expression list.
21509         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21510         type to vm_size_t instead of vm_address_t.
21511         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21512         defined instead of whether it is non-zero.
21513         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21514         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21515         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21516         comparisons with mapaddr.
21517         * nscd/nscd-client.h: Include <time.h>.
21518         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21519         9th parameter to __vm_region instead of int.
21520         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21521         * scripts/check-local-headers.sh (exclude): Add device/,
21522         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21523         cthreads.h.
21525 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21527         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21528         to account for alignment padding.
21529         * sysdeps/arm/memmove.S: Likewise.
21531 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21533         * sysdeps/unix/sysv/linux/generic/README: New file.
21535 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21537         [BZ #18138]
21538         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21539         (futex_abstimed_wait)
21540         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21541         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21542         of lll_futex_timed_wait.
21544 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21546         [BZ #17542]
21547         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21549 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21551         [BZ #17090]
21552         [BZ #17620]
21553         [BZ #17621]
21554         [BZ #17628]
21555         * NEWS: Update.
21556         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21557         entries with Static TLS too.  Skip entries past the end of the
21558         allocated DTV, from Alan Modra.
21559         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21560         Static TLS DTV entry set up from...
21561         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21562         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21563         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21564         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21565         for Static TLS.
21566         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21567         that the slot we find is associated with the given map before
21568         using its generation count.
21569         * nptl_db/db_info.c: Include ldsodefs.h.
21570         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21571         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21572         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21573         (link_map::l_tls_offset): New struct field.
21574         (dtv_t::counter): Likewise.
21575         (rtld_global): New struct.
21576         (_rtld_global): New rtld variable.
21577         (dl_tls_dtv_slotinfo_list): New rtld global field.
21578         (dtv_slotinfo_list): New struct.
21579         (dtv_slotinfo): Likewise.
21580         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21581         (td_lookup): Rename to...
21582         (td_mod_lookup): ... this.  Use new mod parameter instead of
21583         LIBPTHREAD_SO.
21584         * nptl_db/td_thr_tlsbase.c: Include link.h.
21585         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21586         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21587         addresses even if the DTV is out of date or missing them.
21588         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21589         index zero-length arrays.
21590         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21591         (td_lookup): Make it a macro implemented in terms of...
21592         (td_mod_lookup): ... this declaration.
21593         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21594         (DB_MAIN_VARIABLE): Likewise.
21596 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21598         [BZ #18134]
21599         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21601 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21603         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21605 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21607         [BZ #18128]
21608         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21609         (atomic_add, atomic_increment_and_test)
21610         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21612 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21614         * stdlib/setenv.c (__add_to_environ):
21615         Dump core quickly if setenv (..., NULL, ...) is called.
21617 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21619         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21620         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21621         all the necessary asm magic in one place.
21622         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21623         using those.
21625 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21627         [BZ #14906]
21628         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21629         traced file mtime. Use consistent log message.
21630         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21631         (register_traced_file): Call install_watches. Always set mtime.
21632         (invalidate_cache): Iterate over all trace files. Call install_watches.
21633         (inotify_check_files): Don't inline. Handle watching parent
21634         directories and configuration file movement in and out.
21635         (handle_inotify_events): New function.
21636         (main_loop_poll): Call handle_inotify_events.
21637         (main_loop_epoll): Likewise.
21638         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21639         (struct traced_file): Use array of inotify fds. Add parent directory,
21640         and basename.
21641         (struct database_dyn): Remove unused file_mtime.
21642         (init_traced_file): New inline function.
21643         (define_traced_file): New macro.
21644         * nss/nss_db/db-init.c: Use define_traced_file.
21645         (_nss_db_init): Use init_traced_file.
21646         * nss/nss_files/files-init.c: Use define_traced_file.
21647         (_nss_files_init): Use init_traced_file.
21649 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21651         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21652         [_LIBC]: Do not include <stdlib.h>.
21653         [!_LIBC] (abort): Remove declaration.
21654         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21655         _FP_STATIC_ASSERT instead of conditionally calling abort.
21656         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21657         (_FP_EXTEND_CNAN): Likewise.
21658         (FP_TRUNC): Likewise.
21659         (__FP_CLZ): Likewise.
21660         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21662 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21664         * manual/string.texi (XPG basename): Fix prototype.
21666 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21668         [BZ #18080]
21669         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21670         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21671         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21672         (__setcontext): Likewise.
21673         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21674         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21675         Call rt_sigprocmask syscall one time to set new signal mask
21676         and retrieve the current signal mask instead of two calls.
21677         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21678         (__swapcontext): Likewise.
21679         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21680         * stdlib/tst-setcontext2.c: New file.
21682 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21684         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21686 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21688         [BZ #18093]
21689         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21690         the wrong size.
21692 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21694         [BZ #18043]
21695         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21697 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21699         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21700         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21701         Remove define.
21702         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21703         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21704         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21705         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21706         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21707         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21708         define.
21709         * nptl_db/td_symbol_list.c (td_lookup): Remove
21710         HAVE_ASM_GLOBAL_DOT_NAME code.
21711         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21712         HAVE_ASM_GLOBAL_DOT_NAME check.
21713         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21714         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21715         (DOT_LABEL): Remove define.
21716         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21717         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21718         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21719         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21720         (__TLS_GET_ADDR): Likewise.
21721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21722         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21724 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21726         [BZ #18111]
21727         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21728         (_FPU_SETCW): Initialize cw from fpsr before storing.
21729         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21730         (fesetexceptflag): Rewrite using fpu_control.h.
21731         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21733 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21735         [BZ #18110]
21736         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21737         asms.
21738         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21740 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21742         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21743         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21744         abort.
21745         (_FP_FMA): Likewise.
21746         (_FP_DIV): Likewise.
21748 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21750         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21751         with 0 in that case.
21752         * Makefile (summarize-tests): New canned sequence, factored out of
21753         commands for targets tests and xtests.  Display summary lines that
21754         don't start with PASS: or XFAIL: rather than ones that do start with
21755         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21756         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21757         do start with ERROR: or FAIL:.
21758         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21759         (except for [$(build-shared) = yes]).
21760         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21761         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21762         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21763         * nptl/Makefile: Revert 2015-03-04 changes.
21764         [$(CXX) empty] (tests-unsupported): New variable.
21765         * debug/Makefile: Likewise.
21767         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21768         gnulib file.  Replace __attribute with __attribute__ throughout.
21770 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
21772         * sysdeps/hppa/fpu/libm-test-ulps: Update.
21774 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21776         [BZ #18104]
21777         * math/auto-libm-test-in: Add another test of pow.
21778         * math/auto-libm-test-out: Regenerated.
21780 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21782         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21783         $(config-cflags-nofma).
21785 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21787         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21788         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21789         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21790         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21791         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21792         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21793         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21794         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21795         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21796         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21797         Add comment on closing #endif.
21799 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21801         * posix/wordexp.c (CHAR_IN_SET): New macro.
21802         (parse_param): Use it.
21804 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21806         * sysdeps/powerpc/fpu/libm-test-ulps: update.
21808 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21810         [BZ #18043]
21811         * posix/wordexp.c (parse_param): Fix buffer overflow.
21812         * posix/wordexp-test.c (test_case): Add test case.
21814 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21816         [BZ #18042]
21817         * posix/wordexp.c (parse_backtick): Fix off-by-one.
21818         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21820 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21822         [BZ #18043]
21823         * posix/wordexp-test.c (test_case): Add test for BZ #18043
21824         (do_bz18043): Delete.
21825         (at_page_end): New.
21826         (testit): Refactor to have words at the edge of unreadable page.
21828 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21830         [BZ #16734]
21831         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21832         Cleanup read-only streams as well.
21833         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21835 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21837         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21838         <bits/libc-lockP.h>
21840 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
21842         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
21843         on [__KERNEL__].
21844         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21845         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21846         * soft-fp/op-common.h (_FP_DECL): Likewise.
21848 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21850         * elf/ifuncdep2.c (global): Replace
21851         __attribute__((visibility("protected"))) with
21852         asm (".protected global").
21853         * elf/ifuncmod1.c (global): Likewise.
21854         * elf/ifuncmod5.c (global): Likewise.
21856 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21858         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21859         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21861 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21863         * manual/install.texi (Configuring and compiling):
21864         Document test-wrapper-env-only.
21865         * INSTALL: Regenerated.
21867 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21869         [BZ #18043]
21870         * posix/wordexp.c (parse_param): Fix buffer overflow.
21871         * posix/wordexp-test.c (do_bz18043): Add test case.
21873 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21875         * time/tst-strptime2.c (do_test): Ensure failing tests are
21876         reported correctly.
21877         * time/tst-strptime3.c (do_test): Likewise.
21879 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21881         Fix aio_error thread-safety.
21882         * sysdeps/pthread/aio_error.c: New file
21883         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21884         synchronization.
21886 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21888         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21889         (group_number, vfprintf): Use it.
21890         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21891         (JUMP, REF): Use it.
21892         (WORK_BUFFER_SIZE): New enum constant.
21893         (process_arg, vfprintf): Use it.
21895 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21897         * manual/errno.texi (Error Messages): Complete example function
21898         by adding missing #define.
21899         (program_invocation_name): Add statement indicating GNU
21900         extension and reference which header file declares the variable.
21901         (program_invocation_short_name): Likewise.
21903 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21905         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21906         compatibility note.
21908 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21910         * Makeconfig (test-wrapper-env-only): New variable.
21911         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21912         then use that with $(test-wrapper-env-only) rather than using
21913         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21915 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21917         [BZ #18082]
21918         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21919         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21920         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21921         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21922         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21923         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21924         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21925         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21926         Likewise.
21927         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21928         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21929         Likewise.
21930         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21931         Likewise.
21932         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21933         Likewise.
21934         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21935         Likewise.
21936         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21937         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21938         Likewise.
21939         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21940         Likewise.
21941         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21942         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21944 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21946         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21947         (ETH_ALEN): New macro.
21948         (struct ether_addr): Use it for length of ether_addr_octet.
21950         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21951         (setdb): Don't call __nss_configure_lookup for "rpc".
21952         (do_test): Don't call test_rpc.
21953         (output_rpcent, test_rpc): Functions moved ...
21954         * sunrpc/test-rpcent.c: ... to this new file.
21955         * sunrpc/Makefile (tests): Add it.
21957         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21958         __xpg_sigpause.
21959         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21960         * nptl/tst-signal6.c: Likewise.
21961         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21962         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21964         * configure.ac (libc_cv_cxx_link_ok): New check.
21965         Reset CXX to empty if it fails to link.
21966         * configure: Regenerated.
21967         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21968         bug-atexit3-lib only if $(CXX) is nonempty.
21969         * nptl/Makefile (tests): Likewise for tst-cancel24.
21970         (tests, tests-static): Likewise for tst-cancel24-static.
21971         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21972         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21973         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21974         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21976 2015-03-04  Andreas Schwab  <schwab@suse.de>
21978         [BZ #17631]
21979         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21980         for non-GCC compilers.
21981         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21982         Likewise.
21984 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21986         [BZ #17776]
21987         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21988         integer before bitwise and assembly operations.
21989         (feclearexcept): Likewise.
21990         * math/test-fenvinline.c: New file.
21991         * math/Makefile: Add test-fenvinline test.
21993 2015-03-03  Alan Modra  <amodra@gmail.com>
21995         [BZ #16512]
21996         * scripts/localplt.awk: Strip off symbol version.
21997         * NEWS: Mention bug fix.
21999 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22001         * sysdeps/pthread/timer_routines.c
22002         (timer_free_list, thread_free_list, thread_active_list): Make static.
22004 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22006         [BZ #17779]
22007         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22008         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22009         Undefine.
22010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22011         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22012         Likewise.
22013         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22014         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22015         Likewise.
22017 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22019         [BZ #18036]
22020         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22021         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22023 2015-03-02  Andreas Schwab  <schwab@suse.de>
22025         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22026         variable name.
22028 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22030         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22031         Return error status.
22033 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22035         [BZ #15969]
22036         * locale/findlocale.c (_nl_find_locale): Introduce const
22037         version of loc_name and drop unsafe type casts.
22039 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22041         * dlfcn/tststatic2.c (main): Converted to ...
22042         (do_test): ... this.
22043         (TEST_FUNCTION): New macro.
22044         Include test-skeleton.c.
22046 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22048         [BZ #17711]
22049         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22050         (tests-pie): Add vismain.
22051         (CFLAGS-vismain.c): New.
22052         * elf/vismain.c: Add comments for PIE requirement.
22054 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22056         [BZ #18046]
22057         [BZ #18047]
22058         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22059         0x1p-56L as threshold for just returning the argument.
22060         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22061         0x1p-32L as threshold for just returning the argument.
22062         * math/auto-libm-test-in: Add more tests of atanh.
22063         * math/auto-libm-test-out: Regenerated.
22064         * sysdeps/i386/fpu/libm-test-ulps: Update.
22065         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22067 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22069         * string/bcopy.c (bcopy): Call memmove for performance.
22071 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22073         * string/bzero.c (__bzero): Call memset for performance.
22075 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22077         [BZ #18068]
22078         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22079         to 00100000.
22081 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22083         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22085 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22087         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22088         (__kernel_standard): Use CSTR macro when setting exc.name.
22089         * sysdeps/ieee754/Makefile [$(subdir) = math]
22090         (CFLAGS-k_standard.c): Remove variable.
22092         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22093         setting p and q from "else if" to "else".
22094         (qzero): Likewise.
22095         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22096         (qone): Likewise.
22097         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22098         (qzerof): Likewise.
22099         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22100         (qonef): Likewise.
22101         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22102         (qzero): Likewise.
22103         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22104         (qone): Likewise.
22106         [BZ #18038]
22107         [BZ #18039]
22108         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22109         return pi/2 for arguments below 0x1p-113L.
22110         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22111         return pi/2 for arguments below 0x1p-106L.
22112         * math/auto-libm-test-in: Add more tests of acos.
22113         * math/auto-libm-test-out: Regenerated.
22115         [BZ #16351]
22116         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22117         (MO): New macro.
22118         (__ieee754_asin): Force underflow exception for results with small
22119         absolute value.
22120         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22121         (MO): New macro.
22122         (__ieee754_asinf): Force underflow exception for results with
22123         small absolute value.
22124         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22125         (__ieee754_asin): Force underflow exception for results with small
22126         absolute value.
22127         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22128         (__ieee754_asinf): Force underflow exception for results with
22129         small absolute value.
22130         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22131         (__ieee754_asinl): Force underflow exception for results with
22132         small absolute value.
22133         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22134         (__ieee754_asinl): Force underflow exception for results with
22135         small absolute value.
22136         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22137         (__ieee754_asinl): Force underflow exception for results with
22138         small absolute value.
22139         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22140         Include <math.h>.
22141         * math/auto-libm-test-in: Do not mark underflow exceptions as
22142         possibly missing for bug 16351.
22143         * math/auto-libm-test-out: Regenerated.
22145         [BZ #18030]
22146         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22147         of power of 2 down when low part has opposite sign.
22148         * math/libm-test.inc (logb_test_data): Add more tests.
22150 2015-02-26  Andreas Schwab  <schwab@suse.de>
22152         [BZ #18032]
22153         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22154         over collating symbol inside a bracket expression.  Minor cleanup.
22155         * posix/tst-fnmatch3.c (do_test): Add test case.
22157 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22159         [BZ #18029]
22160         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22161         Adjust exponent of power of 2 down when low part has opposite
22162         sign.
22163         * math/libm-test.inc (ilogb_test_data): Add more tests.
22165 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22167         [BZ #15969]
22168         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22169         the previous change.
22171         [BZ #15969]
22172         * locale/findlocale.c (_nl_find_locale): Retry archive search
22173         after alias expansion.
22175 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22177         * iconv/tst-iconv3.c (main): Converted to ...
22178         (do_test): ... this.
22179         (TEST_FUNCTION): New macro.
22180         Include test-skeleton.c.
22182         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22183         (convert): Make function static.
22184         (test_unalign): Likewise.  Add const to argument pointee types.
22185         (main): Replace with static function do_test.
22186         Print "Succeeded." only if RET is zero.
22187         (TEST_FUNCTION): New macro.
22188         Include test-skeleton.c.
22190         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22191         returns a null pointer.
22193 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22195         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22196         to __memcpy_ppc only for static builds.
22198 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22200         [BZ #18020]
22201         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22202         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22203         * math/auto-libm-test-in: Add more tests of asinh.
22204         * math/auto-libm-test-out: Regenerated.
22205         * sysdeps/i386/fpu/libm-test-ulps: Update.
22206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22208 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22210         [BZ #15850]
22211         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22212         and ip6_mtuinfo definitions here.
22213         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22214         in this define too.  Update comment.
22216 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22218         * elf/sprof.c (load_shobj): Tweak error message to match others.
22220 2015-02-24  Kevin Easton  <kevin@guarana.org>
22222         [BZ #16145] (partial fix)
22223         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22224         to reduce lock contention.
22226 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22228         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22229         (struct timex): Update time comment.
22230         (ADJ_SETOFFSET): Define.
22232 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22234         [BZ #18019]
22235         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22236         2**56 not 2**28 as threshold for log (2x) formula.
22237         * math/auto-libm-test-in: Add more tests of acosh.
22238         * math/auto-libm-test-out: Regenerated.
22239         * sysdeps/i386/fpu/libm-test-ulps: Update.
22240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22242 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22244         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22245         parenthesis around the buf assignment.
22246         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22248 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22250         [BZ #16783]
22251         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22252         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22253         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22254         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22255         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22256         * math/libm-test.inc (scalb_test_data): Add more tests.
22258 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22260         [BZ #17916]
22261         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22262         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22264 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22266         [BZ #17523]
22267         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22268         * io/bits/fcntl2.h (open): Use it.
22269         (openat): Likewise.
22270         * io/open.c (__libc_open): Likewise.
22271         * io/open64.c (__libc_open64): Likewise.
22272         * io/open64_2.c (__open64_2): Likewise.
22273         * io/open_2.c (__open_2): Likewise.
22274         * io/openat.c (__openat): Likewise.
22275         * io/openat64.c (__openat64): Likewise.
22276         * io/openat64_2.c (__openat64_2): Likewise.
22277         * io/openat_2.c (__openat_2): Likewise.
22278         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22279         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22280         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22281         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22282         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22283         (__open_nocancel): Likewise.
22284         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22285         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22286         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22288 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22290         [BZ #14841]
22291         * resolv/gethnamaddr.c (getanswer): Skip logging if
22292         RES_USE_DNSSEC is set.
22293         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22295 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22297         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22299 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22301         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22302         201304L, for Unicode 7.
22304 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22306         [BZ #17836]
22307         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22308         shared library.  Add gmon-start.os otherwise.
22309         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22310         $(objpfx)gmon-start.os if builing shared library.
22311         ($(objpfx)g$(static-start-installed-name)): Likewise.
22313 2015-02-23  Andreas Schwab  <schwab@suse.de>
22315         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22317 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22319         [BZ #17269]
22320         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22321         (enlarge_userbuf): Likewise.
22323 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22325         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22326         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22327         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22328         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22330 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22332         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22333         expression inside statement expression.
22335 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22337         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22338         <sysdeps/nptl/lowlevellock.h> and remove macros and
22339         functions that are now defined there.
22340         (SYS_futex): Remove.
22341         (lll_compare_and_swap): Remove.
22342         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22344 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22346         [BZ #17999]
22347         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22348         instead of scandirat.
22349         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22350         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22351         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22352         __scandirat.
22353         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22354         (__scandirat): Declare.  Use libc_hidden_proto.
22355         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22356         Remove variable.
22357         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22359 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22361         [BZ #15319]
22362         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22363         (MO): New macro.
22364         (__ieee754_atan2): For results with small absolute value, force
22365         underflow exception and remove excess range and precision from
22366         return value.
22367         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22368         (MO): New macro.
22369         (__ieee754_atan2f): For results with small absolute value, force
22370         underflow exception and remove excess range and precision from
22371         return value.
22372         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22373         (MO): New macro.
22374         (__atan): For results with small absolute value, force underflow
22375         exception and remove excess range and precision from return value.
22376         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22377         (MO): New macro.
22378         (__atanf): For results with small absolute value, force underflow
22379         exception and remove excess range and precision from return value.
22380         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22381         <math.h>.
22382         (__ieee754_atan2): Force underflow exception for results with
22383         small absolute value.
22384         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22385         <math_private.h>.
22386         (atan): Force underflow exception for results with small absolute
22387         value.
22388         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22389         (__atanf): Force underflow exception for results with small
22390         absolute value.
22391         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22392         <math.h>.
22393         (__atanl): Force underflow exception for results with small
22394         absolute value.
22395         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22396         (__atanl): Force underflow exception for results with small
22397         absolute value.
22398         * sysdeps/x86/fpu/bits/mathinline.h
22399         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22400         (__ieee754_atan2): Only define inline for long double.
22401         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22402         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22403         * math/auto-libm-test-in: Do not mark underflow exceptions as
22404         possibly missing for bug 15319.  Add more tests of atan2.
22405         * math/auto-libm-test-out: Regenerated.
22406         * math/libm-test.inc (casin_test_data): Do not mark underflow
22407         exceptions as possibly missing for bug 15319.
22408         (casinh_test_data): Likewise.
22409         * sysdeps/i386/fpu/libm-test-ulps: Update.
22411 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22413         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22414         * sysdeps/mips/bits/endian.h: Fix comments.
22416 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22418         [BZ #17996]
22419         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22420         (hdestroy_r): Likewise.
22421         (hsearch_r): Likewise.
22422         (__hcreate_r): Declare and use libc_hidden_proto.
22423         (__hdestroy_r): Likewise.
22424         (__hsearch_r): Likewise.
22425         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22426         (hcreate): Call __hcreate_r instead of hcreate_r.
22427         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22428         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22429         as weak alias of __hcreate_r.
22430         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22431         __hdestroy_r.
22432         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22433         __hsearch_r.
22434         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22435         Remove variable.
22436         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22437         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22438         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22439         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22441 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22443         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22444         arena_lock into a single arena_get.
22446 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22448         * dl-reloc.c: Inlucde libc-internal.h.
22449         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22450         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22451         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22452         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22453         (grow_heap): Likewise.
22454         * malloc/malloc.c: Include libc-internal.h.
22455         (do_check_malloc): Call powerof2.
22456         (sysmalloc): Use pagesize. Call ALIGN_UP.
22457         (systrim): Use pagesize.
22458         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22459         (__libc_valloc): Use pagesize.
22460         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22462 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22464         [BZ #17991]
22465         * include/sys/resource.h (__getrlimit64): Declare.  Use
22466         libc_hidden_proto.
22467         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22468         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22469         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22470         getrlimit64.
22471         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22472         __getrlimit64.
22473         [!getrlimit64] (getrlimit64): Define as weak alias of
22474         __getrlimit64.  Use libc_hidden_weak.
22475         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22476         using __getrlimit64 not __new_getrlimit64.
22477         (__GI_getrlimit64): Likewise.
22478         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22479         Likewise.
22480         (__GI_getrlimit64): Likewise.
22481         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22483         (getrlimit): Add __getrlimit64 alias.
22484         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22485         Likewise.
22486         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22487         Remove variable.
22488         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22489         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22491 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22493         * libio/fileops.c: Add missing sys/mman.h
22494         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22496 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22498         * manual/math.texi (Errors in Math Functions): Clarify goals
22499         regarding inexact and underflow exceptions.
22501 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22503         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22504         * sysdeps/mips/memset.S: Ditto.
22506 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22508         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22510 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22512         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22513         (__v1longjmp): Remove versioned symbol.
22514         (__v1siglongjmp): Remove alias and versioned symbol.
22515         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22516         (__v2siglongjmp): Likewise.
22518 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22520         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22522 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22524         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22526 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22528         [BZ #17987]
22529         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22530         zero result does not depend on the sign resulting from
22531         subtraction.
22532         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22533         Likewise.
22534         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22535         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22536         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22537         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22538         * math/libm-test.inc (remquo_test_data): Add more tests.
22540 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22542         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22543         Problem reported by J William Piggott.
22545 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22547         [BZ #17978]
22548         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22549         products 4 * y and 2 * y where those would overflow.
22550         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22551         Likewise.
22552         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22553         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22554         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22555         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22556         * math/libm-test.inc (remquo_test_data): Add more tests.
22558         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22560         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22561         [defined _COMPILING_NEWLIB].
22562         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22563         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22565         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22566         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22568 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22570         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22571         acquired.
22573 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22575         [BZ #17792]
22576         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22577         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22578         HOST_STACK_END_ADDR): Likewise.
22580 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22582         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22583         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22584         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22586 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22588         * sysdeps/generic/c++-types.data: New file.
22589         * sysdeps/generic/ld.abilist: New file.
22590         * sysdeps/generic/libBrokenLocale.abilist: New file.
22591         * sysdeps/generic/libanl.abilist: New file.
22592         * sysdeps/generic/libc.abilist: New file.
22593         * sysdeps/generic/libcrypt.abilist: New file.
22594         * sysdeps/generic/libdl.abilist: New file.
22595         * sysdeps/generic/libm.abilist: New file.
22596         * sysdeps/generic/libpthread.abilist: New file.
22597         * sysdeps/generic/libresolv.abilist: New file.
22598         * sysdeps/generic/librt.abilist: New file.
22600 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22602         [BZ #17569]
22603         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22604         Compute absolute value of x as modified by fmod, not original
22605         value of x.
22606         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22607         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22608         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22609         RUN_TEST_ffI_f1_mod8.
22610         (remquo_test_data): Add more tests.
22612 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22614         * sysdeps/init_array/pt-crti.S: New file.
22616 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22618         [BZ #17967]
22619         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22620         __builtin_fmaf instead of relying on contraction of a * b + c.
22622 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22624         [BZ #17969]
22625         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22626         node.
22628 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22630         [BZ #17964]
22631         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22632         __builtin_fma instead of relying on contraction of a * b + c.
22634 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22636         * Makeconfig (ASFLAGS): Add -Werror=undef.
22637         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22638         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22639         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22641         * Makeconfig (after-link): New variable.
22642         (+link-pie, +link-pie-tests): Use it.
22643         (+link-static, +link-static-tests): Likewise.
22644         (+link, +link-tests): Likewise.
22645         * Makerules (build-module, build-module-asneeded): Likewise.
22646         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22647         Likewise.
22648         * elf/Makefile ($(objpfx)ld.so): Likewise.
22650 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22652         [BZ #17965]
22653         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22654         both struct timeval and struct timespec.
22656 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22658         [BZ #16560]
22659         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22660         and redefine.
22661         (__ieee754_exp2l): Do not multiply small fractional parts by
22662         M_LN2l.
22663         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22664         small argument.
22665         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22666         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22667         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22668         * math/auto-libm-test-in: Add more tests of exp2.
22669         * math/auto-libm-test-out: Regenerated.
22671 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22673         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22674         unaligned path.
22676 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22678         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22679         little endian.
22681 2015-02-12  Andreas Schwab  <schwab@suse.de>
22683         [BZ #15790]
22684         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22685         Filter out elision flags from value returned in kind.
22686         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22687         * nptl/tst-pthread-mutexattr.c: New file.
22689 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22691         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22692         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22693         into gnu-gnu, and update comment to refer to abi-tags.
22695 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22697         [BZ #15467]
22698         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22699         (__sincos): Set errno to EDOM for infinite argument.
22700         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22701         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22702         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22703         (__sincosl): Set errno to EDOM for infinite argument.
22704         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22705         (__sincosl): Set errno to EDOM for infinite argument.
22706         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22707         (__sincosl): Set errno to EDOM for infinite argument.
22708         * math/libm-test.inc (sincos_test_data): Test errno setting.
22710 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22712         * string/strxfrm_l.c: Remove #define STRCMP.
22713         * string/strcoll_l.c: Remove #define STRLEN.
22714         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22715         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22717 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22719         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22720         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22721         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22722         * sysdeps/mips/mips64/Makefile: ... here.
22723         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22724         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22725         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22726         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22727         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22728         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22729         * sysdeps/mips/mips64/n64/Implies: Likewise.
22731 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22733         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22734         <sys/time.h>, <string.h>, and <errno.h>.
22735         (dest_offset, dest_address, value, zero): Remove unused variables.
22736         (ldouble): Remove typedef.
22737         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22738         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22739         1).  Fix code style.
22740         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22741         (check): Function removed.
22742         (CHECK): New macro.
22743         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22744         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22745         Don't call set_sigaction_FP and remove_sigaction_FP here.
22746         (ldouble_test): Just use 'long double' as macro argument, no need for
22747         the 'ldouble' typedef.
22748         (do_test): Set up SIGFPE handler at start, using plain signal rather
22749         than sigaction.  Fix code style.
22751 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22753         [BZ #17949]
22754         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22755         jump label.
22757 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22759         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22760         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22762         * sysdeps/powerpc/configure.ac: Remove file.
22763         * sysdeps/powerpc/configure: Likewise.
22765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22766         [sysdep_routines]: Remove wordcopy-power6 object.
22767         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22768         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22769         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22770         (__memmove_ppc32): Likewise.
22771         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22772         file.
22773         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22774         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22775         Remove preprocessor.
22777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22778         [sysdep_routines]: Remove wide chars objects.
22779         [wcsmbs]: New rule for wide char objects.
22781         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22782         Remove wordcopy-power6 obejct.
22783         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22784         Use local call for wordcopy and memcpy symbols.
22785         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22786         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22787         implementation for loader.
22788         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22790         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22791         Remove wordcopy-power7 object.
22792         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22793         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22794         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22795         (_wordcopy_fwd_dest_aligned): Likewise.
22796         (_wordcopy_bwd_aligned): Likewise.
22797         (_wordcopy_bwd_dest_aligned): Likewise.
22799         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22800         Rewrite to call __memmove_ppc instead of include default
22801         implementation.
22803         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22804         Remove wide chars objects.
22805         [wcsmbs]: New rule for wide char objects.
22807 2015-02-09  Andreas Schwab  <schwab@suse.de>
22809         [BZ #17912]
22810         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22811         in terms of __O_DIRECTORY.
22813 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22815         * time/getdate.c: Include <stdbool.h>.
22816         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22817         call PTR_MANGLE.
22818         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22819         PTR_DEMANGLE.
22821 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
22823         Add ersatz _Static_assert on older C hosts
22824         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22825         pre-C11 C platform that is not known to support _Static_assert.
22827 2015-02-07  Richard Braun  <rbraun@sceen.net>
22829         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22830         sigstate.
22831         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22833 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22835         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22836         priority against unexistent AIO_PRIO_DELTA_MAX.
22837         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22838         instead of int.
22839         * misc/fchflags.c (fchflags): Likewise.
22840         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22841         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22842         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22843         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22844         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22845         Declare macros.
22846         [__USE_MISC] (chflags, fchflags): Declare functions.
22847         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22848         EINVAL when nfds is greater than FD_SETSIZE.
22849         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22850         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22851         45.
22852         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22853         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22854         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22855         MACH_RCV_TIMED_OUT.
22856         * hurd/hurd/signal.h (_hurd_self_sigstate,
22857         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22858         Explicit casts from void *.
22859         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22860         * abi-tags: Rename gnu-gnu os into gnu.
22862         [BZ #4719]
22863         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22864         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22865         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22866         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22867         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22868         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22870         [BZ #17944]
22871         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22872         duplicates ADDR->sun_path with sockaddr LEN limitation.
22873         * sysdeps/mach/hurd/connect.c: Include <string.h>
22874         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22875         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22876         * sysdeps/mach/hurd/sendto.c: Likewise.
22877         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22878         implementing it by hand.
22880 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22882         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22883         Use sfi_breg on ldr.
22884         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22885         Likewise.
22887         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22888         it's defined.
22889         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22890         Test SIGSETXID only if it's defined.
22892         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22894         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22895         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22897         * nptl/tst-align2.c: Moved ...
22898         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22899         * nptl/Makefile (tests): Remove tst-align2.
22900         * sysdeps/unix/sysv/linux/Makefile
22901         [$(subdir) = nptl] (tests): Add tst-align-clone.
22902         * nptl/tst-getpid1.c: Moved ...
22903         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22904         * nptl/tst-getpid2.c: Moved ...
22905         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22906         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22907         * sysdeps/unix/sysv/linux/Makefile
22908         [$(subdir) = nptl] (tests): ... here.
22909         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22910         * sysdeps/unix/sysv/linux/Makefile
22911         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22913         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22914         Drop trailing \n from perror argument.  Use return rather than exit.
22916         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22917         on [SA_SIGINFO].
22918         * nptl/tst-cancel21.c (do_test): Likewise.
22919         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22920         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22921         [!SA_SIGINFO]: Make it a stub test.
22923         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22924         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22926         * posix/tst-getlogin.c: Move to ...
22927         * login/tst-getlogin.c: ... here.
22928         * posix/Makefile (tests): Move tst-getlogin to ...
22929         * login/Makefile (tests): ... here.
22931         * libio/tst-atime.c (do_test): Move local variables SV and E
22932         inside [ST_NOATIME] conditional.
22934         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22936         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22938         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22939         (wait_code): New function replaces macro.
22940         Call nanosleep rather than syscall.
22942         * nptl/pt-system.c: Rewritten.  Put everything under
22943         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22944         Use IFUNC to redirect when possible.
22946         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22947         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22948         Use IFUNC to redirect when possible.
22950         * nptl/pt-fork.c: Rewritten.  Put everything under
22951         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22952         Use IFUNC to redirect when possible.
22953         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22955         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22956         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22957         unconditionally nowadays.  This included the only reference to
22958         __vdso_clock_gettime that appears outside libc proper.
22959         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22960         Remove version set (containing only __vdso_clock_gettime).
22961         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22962         Add attribute_hidden.
22963         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22964         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22965         libc_hidden_data_def.
22966         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22967         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22969         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22970         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22971         setrpcent, and getrpcport to ...
22972         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22973         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22974         getrpcbynumber_r, and getrpcent_r to ...
22975         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22976         * inet/getrpcbyname.c: Moved ...
22977         * sunrpc/getrpcbyname.c: ... here.
22978         * inet/getrpcbyname_r.c: Moved ...
22979         * sunrpc/getrpcbyname_r.c: ... here.
22980         * inet/getrpcbynumber.c: Moved ...
22981         * sunrpc/getrpcbynumber.c: ... here.
22982         * inet/getrpcbynumber_r.c: Moved ...
22983         * sunrpc/getrpcbynumber_r.c: ... here.
22984         * inet/getrpcent.c: Moved ...
22985         * sunrpc/getrpcent.c: ... here.
22986         * inet/getrpcent_r.c: Moved ...
22987         * sunrpc/getrpcent_r.c: ... here.
22988         * inet/Makefile (routines): Move those to ...
22989         * sunrpc/Makefile (routines): ... here.
22990         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22991         the $(subdirs) list.
22992         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22993         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22994         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22995         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22997         * elf/Makefile (routines): Include $(all-dl-routines), not just
22998         $(dl-routines).
22999         (rtld-routines): Likewise.  Use = rather than :=.
23000         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23001         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23002         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23003         * sysdeps/arm/Makefile: Likewise.
23004         * sysdeps/i386/Makefile: Likewise.
23005         * sysdeps/x86_64/Makefile: Likewise.
23006         * sysdeps/hppa/Makefile [$(subdir) = elf]
23007         (sysdep_routines, sysdep-rtld-routines): Don't add
23008         $(sysdep-dl-routines) to these.
23009         * sysdeps/ia64/Makefile: Likewise.
23010         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23011         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23012         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23013         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23014         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23015         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23016         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23017         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23018         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23019         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23020         these; sysdep-dl-routines alone is enough.
23022 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23024         [BZ #17932]
23025         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23026         where multiplication results in zero and third argument is finite
23027         and nonzero.
23028         * math/auto-libm-test-in: Add more tests of fma.
23029         * math/auto-libm-test-out: Regenerated.
23031         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23032         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23033         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23034         (_FP_CMP_EQ): Likewise.
23035         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23037         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23038         extra argument CHECK_NAN.  Redefine as wrapper around
23039         _FP_EXTEND_CNAN.
23041 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23043         * version.h (RELEASE): Set to "stable".
23044         (VERSION): Set to "2.21"
23045         * include/features.h (__GLIBC_MINOR__): Set to 21.
23047         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23049 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23050             Paul Eggert  <eggert@cs.ucla.edu>
23052         [BZ #16618]
23053         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23054         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23055         size in bytes. Store needed elements in wpmax. Use needed size
23056         in bytes for extend_alloca.
23058 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23060         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23061         binutls 2.25, and texinfo 5.2.
23062         * INSTALL: Regenerate.
23063         * sysdeps/nios2/configure: Regenerate.
23064         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23065         * manual/contrib.texi: Update.
23066         * po/be.po: Update.
23067         * po/bg.po: Update.
23068         * po/ca.po: Update.
23069         * po/cs.po: Update.
23070         * po/da.po: Update.
23071         * po/de.po: Update.
23072         * po/el.po: Update.
23073         * po/eo.po: Update.
23074         * po/es.po: Update.
23075         * po/fi.po: Update.
23076         * po/fr.po: Update.
23077         * po/gl.po: Update.
23078         * po/hr.po: Update.
23079         * po/hu.po: Update.
23080         * po/ia.po: Update.
23081         * po/id.po: Update.
23082         * po/it.po: Update.
23083         * po/ja.po: Update.
23084         * po/ko.po: Update.
23085         * po/lt.po: Update.
23086         * po/nb.po: Update.
23087         * po/nl.po: Update.
23088         * po/pl.po: Update.
23089         * po/pt_BR.po: Update.
23090         * po/ru.po: Update.
23091         * po/rw.po: Update.
23092         * po/sk.po: Update.
23093         * po/sl.po: Update.
23094         * po/sv.po: Update.
23095         * po/tr.po: Update.
23096         * po/uk.po: Update.
23097         * po/vi.po: Update.
23098         * po/zh_CN.po: Update.
23099         * po/zh_TW.po: Update.
23101         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23102         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23103         * sysdeps/hppa/dl-irel.h: Remove #warning.
23104         * sysdeps/hppa/entry.h: Provide prototype for
23105         __canonicalize_funcptr_for_compare and cast argument.
23106         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23107         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23108         * sysdeps/hppa/sotruss-lib.c: New file.
23109         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23110         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23111         (atomic_compare_and_exchange_bool_acq): Likewise.
23112         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23113         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23115         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23116         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23117         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23119 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23121         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23122         called function in non-PIC case.
23124 2015-01-31  David S. Miller  <davem@davemloft.net>
23126         * sysdeps/sparc/sparc32/bits/atomic.h
23127         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23128         unlock not after it.
23129         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23130         volatile register usage warnings from the compiler.
23132         * sysdeps/sparc/nptl/sem_init.c: Delete.
23133         * sysdeps/sparc/nptl/sem_post.c: Delete.
23134         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23135         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23136         * sysdeps/sparc/sparc32/sem_init.c: New file.
23137         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23138         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23139         padding explicitly initialized.
23140         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23141         padding for in-semaphore spinlock.
23142         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23143         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23144         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23145         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23146         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23147         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23148         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23149         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23150         version.
23151         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23152         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23154 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23156         [BZ #17801]
23157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23158         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23159         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23160         New.
23161         (index_AVX_Fast_Unaligned_Load): Likewise.
23162         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23163         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23164         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23165         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23166         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23167         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23168         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23169         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23170         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23172 2015-01-29  Andreas Schwab  <schwab@suse.de>
23174         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23176 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23178         [BZ #17892]
23179         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23181 2015-01-28  Martin Sebor  <msebor@redhat.com>
23183         * math/README.libm-test: Clarify. Add "How to read the test output."
23185 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23187         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23188         Define to 0.
23190 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23192         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23193         (__HAVE_64B_ATOMICS): Define to 0.
23195 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23197         [BZ #17885]
23198         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23199         value to set as new flag.
23201         [BZ #16576]
23202         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23203         and use _ARCH_PPCSQ instead.
23204         (__ieee754_sqrt): Likewise.
23205         (__ieee754_sqrtf): Likewise.
23206         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23207         _ARCH_PPCSQ is defined.
23208         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23209         fsqrt instruction.
23210         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23211         _ARCH_PPCSQ is defined.
23212         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23213         fsqrts instruction.
23214         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23216 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23218         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23219         bug (GCC BZ #64739).
23221 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23223         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23224         Mark _retval as used.
23225         (lll_futex_wake_unlock): Likewise.
23226         (lll_futex_timed_wait_requeue_pi): Likewise.
23228         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23229         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23230         register variables.
23232         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23233         libm_hidden_def.
23235         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23236         (__bswap_64): Mark as __always_inline.
23238 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23240         [BZ #15378]
23241         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23242         when none of the search directories exist.
23244 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23246         [BZ #17869]
23247         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23248         power8 in .machine directive.
23250         [BZ #17868]
23251         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23252         set dependency from opd value.
23254 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23257         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23258         architecture.
23260 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23262         [BZ #17870]
23263         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23264         with uint64_t.
23265         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23266         (uint64_t) 1.
23267         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23268         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23269         Replace 1UL with (uint64_t) 1.
23270         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23271         int with uint64_t.
23273 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23275         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23276         (if_freenameindex): Likewise.
23278         * resource/getrlimit64.c: Add missing libc_hidden_def.
23280 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23282         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23283         __label__.
23284         (_FP_FMA): Likewise.
23285         (_FP_TO_INT_ROUND): Likewise.
23286         (_FP_FROM_INT): Likewise.
23288 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23290         [BZ #16418]
23291         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23292         Make code racy and cancel safe.
23294 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23296         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23297         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23298         attribution.
23300         * pwd/tst-getpw.c: Rewrite.
23302         [BZ #17702]
23303         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23304         (modules-names): Add moddummy1 and moddummy2.
23305         ($(objpfx)tst-rec-dlopen): Define.
23306         * dlfcn/moddummy1.c: New file.
23307         * dlfcn/moddummy2.c: New file.
23308         * dlfcn/tst-rec-dlopen.c: New file.
23309         * elf/dl-cache.c (_dl_load_cache_lookup):
23310         Return char*. Copy result with alloca/strcpy/strdup.
23311         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23312         returns char*. Free cached. If not saving realname
23313         free cached.
23314         * elf/dl-open.c (dl_open_worker): Do not assert that
23315         _r_debug->r_state is RT_CONSISTENT.
23316         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23317         returns char*.
23319 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23320             Carlos O'Donell  <carlos@redhat.com>
23322         [BZ #12674]
23323         * nptl/sem_waitcommon.c: New file.
23324         * nptl/sem_wait.c: Include sem_waitcommon.c.
23325         (__sem_wait_cleanup, do_futex_wait): Remove.
23326         (__new_sem_wait): Adapt.
23327         (__new_sem_trywait): New function.
23328         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23329         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23330         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23331         (sem_timedwait): Adapt.
23332         * nptl/sem_post.c (__new_sem_post): Adapt.
23333         (futex_wake): New function.
23334         (__old_sem_post): Add release MO fence.
23335         * nptl/sem_open.c (sem_open): Adapt.
23336         * nptl/sem_init.c (__new_sem_init): Adapt.
23337         (futex_private_if_supported): New function.
23338         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23339         (__old_sem_getvalue): Add using previous code.
23340         * sysdeps/nptl/internaltypes.h: Adapt.
23341         * nptl/tst-sem13.c (do_test): Adapt.
23342         * nptl/tst-sem11.c (main): Adapt.
23343         * nptl/sem_trywait.c: Remove.
23344         * nptl/DESIGN-sem.txt: Remove.
23345         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23346         (gen-as-const-headers): Remove structsem.sym.
23347         * nptl/structsem.sym: Remove.
23348         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23349         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23350         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23351         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23352         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23353         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23354         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23355         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23356         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23357         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23358         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23359         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23360         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23361         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23362         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23363         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23364         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23365         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23366         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23367         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23368         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23369         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23371 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23373         * INSTALL: Regenerated.
23375         * po/libc.pot: Regenerated.
23377 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23378             Sandra Loosemore  <sandra@codesourcery.com>
23379             Andrew Jenner  <andrew@codesourcery.com>
23380             Joseph Myers  <joseph@codesourcery.com>
23381             Nathan Sidwell  <nathan@codesourcery.com>
23383         * NEWS: Mention new Nios II port.
23384         * sysdeps/nios2/Implies: New file.
23385         * sysdeps/nios2/Makefile: New file.
23386         * sysdeps/nios2/Subdirs: New file.
23387         * sysdeps/nios2/Versions: New file.
23388         * sysdeps/nios2/__longjmp.S: New file.
23389         * sysdeps/nios2/abort-instr.h: New file.
23390         * sysdeps/nios2/backtrace.c: New file.
23391         * sysdeps/nios2/bits/endian.h: New file.
23392         * sysdeps/nios2/bits/fenv.h: New file.
23393         * sysdeps/nios2/bits/link.h: New file.
23394         * sysdeps/nios2/bits/setjmp.h: New file.
23395         * sysdeps/nios2/bsd-_setjmp.S: New file.
23396         * sysdeps/nios2/bsd-setjmp.S: New file.
23397         * sysdeps/nios2/configure: New generated file.
23398         * sysdeps/nios2/configure.ac: New file.
23399         * sysdeps/nios2/crti.S: New file.
23400         * sysdeps/nios2/crtn.S: New file.
23401         * sysdeps/nios2/dl-init.c: New file.
23402         * sysdeps/nios2/dl-machine.h: New file.
23403         * sysdeps/nios2/dl-sysdep.h: New file.
23404         * sysdeps/nios2/dl-tls.h: New file.
23405         * sysdeps/nios2/dl-trampoline.S: New file.
23406         * sysdeps/nios2/gccframe.h: New file.
23407         * sysdeps/nios2/gmp-mparam.h: New file.
23408         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23409         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23410         * sysdeps/nios2/ldsodefs.h: New file.
23411         * sysdeps/nios2/libc-tls.c: New file.
23412         * sysdeps/nios2/libm-test-ulps: New file.
23413         * sysdeps/nios2/machine-gmon.h: New file.
23414         * sysdeps/nios2/math-tests.h: New file.
23415         * sysdeps/nios2/math_private.h: New file.
23416         * sysdeps/nios2/memusage.h: New file.
23417         * sysdeps/nios2/nptl/Makefile: New file.
23418         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23419         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23420         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23421         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23422         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23423         * sysdeps/nios2/nptl/tls.h: New file.
23424         * sysdeps/nios2/preconfigure: New file.
23425         * sysdeps/nios2/s_fma.c: New file.
23426         * sysdeps/nios2/s_fmaf.c: New file.
23427         * sysdeps/nios2/setjmp.S: New file.
23428         * sysdeps/nios2/sfp-machine.h: New file.
23429         * sysdeps/nios2/sotruss-lib.c: New file.
23430         * sysdeps/nios2/stackguard-macros.h: New file.
23431         * sysdeps/nios2/stackinfo.h: New file.
23432         * sysdeps/nios2/start.S: New file.
23433         * sysdeps/nios2/sysdep.h: New file.
23434         * sysdeps/nios2/tls-macros.h: New file.
23435         * sysdeps/nios2/tst-audit.h: New file.
23436         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23437         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23438         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23439         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23440         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23441         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23442         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23443         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23444         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23445         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23446         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23447         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23448         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23449         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23450         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23451         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23452         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23453         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23454         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23455         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23456         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23457         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23458         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23459         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23460         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23461         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23462         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23463         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23464         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23465         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23466         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23467         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23468         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23469         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23470         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23471         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23472         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23473         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23474         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23475         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23476         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23477         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23478         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23479         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23481 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23483         [BZ #17844]
23484         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23485         (getutent): Use weak_alias in non SHARED case
23486         and default_symbol_version in SHARED case.
23487         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23488         (getutent_r, pututline): Likewise.
23489         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23490         (getutid): Likewise.
23491         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23492         (getutid_r): Likewise.
23493         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23494         (getutline): Likewise.
23495         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23496         (getutline_r): Likewise.
23497         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23498         (updwtmp): Likewise.
23500 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23502         [BZ #17848]
23503         * sysdeps/s390/s390-32/memcmp.S
23504         (memcmp_g5): Rename to __memcmp_g5.
23505         * sysdeps/s390/s390-32/memcpy.S
23506         (memcpy_g5): Rename to __memcpy_g5.
23507         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23508         (memcpy_mvcle) Rename to __memcpy_mvcle.
23509         * sysdeps/s390/s390-32/memset.S
23510         (memset_g5): Rename to __memset_g5.
23511         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23512         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23513         and use prefixed functions.
23514         * sysdeps/s390/s390-32/multiarch/memcmp.S
23515         (memcmp_z196): Rename to __memcmp_z196.
23516         (memcmp_z10): Rename to __memcmp_z10.
23517         (memcmp): Set alias to __memcmp_g5.
23518         (bcmp): Set alias to __memcmp_g5.
23519         * sysdeps/s390/s390-32/multiarch/memcpy.S
23520         (memcpy_z196): Rename to __memcpy_z196.
23521         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23522         (memcpy_z10): Rename to __memcpy_z10.
23523         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23524         (memcpy): Set alias to __memcpy_g5.
23525         * sysdeps/s390/s390-32/multiarch/memset.S
23526         (memset_z196): Rename to __memset_z196.
23527         Jump to __memset_mvcle instead of memset_mvcle.
23528         (memset_z10): Rename to __memset_z10.
23529         Jump to __memset_mvcle instead of memset_mvcle.
23530         (memset_mvcle) Rename to __memset_mvcle.
23531         (memset): Set alias to __memset_g5.
23532         * sysdeps/s390/s390-64/memcmp.S
23533         (memcmp_z900): Rename to __memcmp_z900.
23534         * sysdeps/s390/s390-64/memcpy.S
23535         (memcpy_z900): Rename to __memcpy_z900.
23536         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23537         (memcpy_mvcle) Rename to __memcpy_mvcle.
23538         * sysdeps/s390/s390-64/memset.S
23539         (memset_z900): Rename to __memset_z900.
23540         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23541         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23542         and use prefixed functions.
23543         * sysdeps/s390/s390-64/multiarch/memcmp.S
23544         (memcmp_z196): Rename to __memcmp_z196.
23545         (memcmp_z10): Rename to __memcmp_z10.
23546         (memcmp): Set alias to __memcmp_z900.
23547         (bcmp): Set alias to __memcmp_z900.
23548         * sysdeps/s390/s390-64/multiarch/memcpy.S
23549         (memcpy_z196): Rename to __memcpy_z196.
23550         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23551         (memcpy_z10): Rename to __memcpy_z10.
23552         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23553         (memcpy): Set alias to __memcpy_z900.
23554         * sysdeps/s390/s390-64/multiarch/memset.S
23555         (memset_z196): Rename to __memset_z196.
23556         Jump to __memset_mvcle instead of memset_mvcle.
23557         (memset_z10): Rename to __memset_z10.
23558         Jump to __memset_mvcle instead of memset_mvcle.
23559         (memset_mvcle) Rename to __memset_mvcle.
23560         (memset): Set alias to __memset_z900.
23562 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23564         [BZ #17748]
23565         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23566         __fesetenv instead of fesetenv.
23568 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23570         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23571         macro.
23573 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23575         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23576         regression on LE.
23578         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23579         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23580         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23581         strncmp-power8 object.
23582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23583         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23584         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23585         * NEWS: Update.
23587 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23588             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23590         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23591         trailing byte check.
23593 2015-01-13  David S. Miller  <davem@davemloft.net>
23595         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23597 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23599         * login/logout.c (logout): Use memset rather than bzero.
23600         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23601         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23602         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23603         (_gethtbyaddr): Likewise.
23604         * locale/programs/simple-hash.c (bcopy): Macro removed.
23606 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23608         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23609         Add strcmp-power8 object.
23610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23611         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23612         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23613         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23614         __strcmp_power8 implementation.
23615         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23616         * NEWS: Update.
23618         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23619         Add strncpy-power8 and stpncpy-power8 objects.
23620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23621         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23622         implementations.
23623         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23624         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23625         __stpncpy_power8 implementation.
23626         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23627         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23628         __strncpy_power8 implementation.
23629         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23630         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23631         * NEWS: Update.
23633         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23634         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23635         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23637         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23638         strncat-power8 object.
23639         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23640         __strcat_power8 implementation.
23641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23642         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23643         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23644         optimized strcat for power8.
23646         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23647         strcpy-power8 and stpcpy-power8 objects.
23648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23649         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23650         implementations.
23651         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23652         multiarch stpcpy implementation for POWER8.
23653         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23654         multiarch strcpy implementation for POWER8.
23655         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23656         __strcpy_power8 function.
23657         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23658         stpcpy for POWER8.
23659         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23660         strcpy for POWER8.
23661         * NEWS: Update.
23663 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23665         [BZ #16009]
23666         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23667         weights and rules. Use do_xfrm_cached if data fits in cache,
23668         do_xfrm otherwise.  Moved former main loop to...
23669         * (do_xfrm_cached): New function.
23670         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23671         find_idx, find_position and stack_push.
23672         * (find_idx): New function.
23673         * (find_position): Likewise.
23674         * localedata/sort-test.sh: Added test run for do_xfrm.
23675         * localedata/xfrm-test.c (main): Added command line option
23676         -nocache to run the test with strings that are too large for
23677         the STRXFRM cache.
23679 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23681         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23682         variable to lll_futex_wake call, not the value itself.
23684 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23686         [BZ #17803]
23687         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23688         twom64.  Adjust value to 0x1p-64L.
23689         (__scalblnl): Only return standard underflowing result for K <=
23690         -64 not K <= -63; adjust exponent for underflowing result by 64
23691         not 63.
23692         * math/libm-test.inc (scalbn_test_data): Add more tests.
23693         (scalbln_test_data): Likewise.
23695         [BZ #17834]
23696         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23697         0x1p63L.
23698         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23699         not HX.
23700         * math/libm-test.inc (scalbn_test_data): Add more tests.
23701         (scalbln_test_data): Likewise.
23703 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23704             Stefani Seibold  <stefani@seibold.net>
23706         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23707         (sysdep_routines): Add dl-vdso here, ...
23708         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23709         (sysdep_routines): ... not here.
23710         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23711         fallback when vDSO is not presented.
23712         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23713         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23714         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23715         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23716         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23717         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23718         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23719         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23720         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23721         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23722         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23723         fallback configurable symbol when vDSO is not available.
23724         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23725         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23726         be able to redefine fallback symbol when vDSO is not available.
23727         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23728         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23730 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23732         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23733         (TLS_INIT_TP): Add tm_capable initialization.
23734         (TLS_DEFINE_INIT_TP): Likewise.
23735         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23736         TCB.
23737         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23738         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23739         calculation.
23740         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23741         transactoion is lock elision is built and TCB tm_capable is set.
23742         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23744         (INTERNAL_SYSCALL_NCS): Likewise.
23745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23746         (INTERNAL_SYSCALL_NCS): Likewise.
23747         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23749         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23750         for powerpc.
23751         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23752         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23753         and remove it for 32 bits case.
23754         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23755         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23756         initialization.
23757         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23758         Disable lock elision with rdlocks if elision is not available.
23760         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23761         (sysdep_routines): Add lock elision objects.
23762         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23763         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23764         [pthread_mutex_t] (__elision): Add field.
23765         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23766         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23767         elision definitions for powerpc.
23768         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23769         implementation of lock elision for powerpc.
23770         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23771         implementation of timed lock elision for powerpc.
23772         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23773         implementation of trylock with lock elision for powerpc.
23774         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23775         implementaion of unlock for lock elision for powerpc.
23776         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23777         automatic enable lock elision for mutexes.
23778         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23779         transaction execution definitions for powerpc.
23780         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23781         definitions.
23782         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23783         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23784         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23785         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23786         * NEWS: Update.
23788 2015-01-09  Roland McGrath  <roland@hack.frob.com>
23790         * sysdeps/posix/shm-directory.c: Use <> rather than ""
23791         for #include of <shm-directory.h>.
23793 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
23795         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23796         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23798 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
23800         [BZ #17791]
23801         * NEWS: Mention bug fix.
23802         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23803         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23804         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23806 2015-01-09  Torvald Riegel <triegel@redhat.com>
23808         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23810 2015-01-09  Torvald Riegel <triegel@redhat.com>
23812         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23814 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23816         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23817         pointer and cast to uintptr_t.
23819 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23821         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23822         removed.
23823         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23825 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23827         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23828         of 0.
23830 2015-01-08  Roland McGrath  <roland@hack.frob.com>
23832         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23833         <nptl/pthreadP.h> instead.
23834         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23836         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23837         already defined.
23838         [__SIGRTMIN] (init): Function removed.
23839         [__SIGRTMIN] (initialized): Variable removed.
23840         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23841         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23842         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23843         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23844         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23845         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23846         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23847         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23848         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23849         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23850         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23851         * sysdeps/nptl/allocrtsig.c: New file.
23852         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23853         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23854         * sysdeps/generic/testrtsig.h: File removed.
23856         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23857         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23859         * nptl/nptl-init.c (pthread_functions): Conditionalize
23860         .ptr__nptl_setxid initialization on [SIGSETXID].
23862         * sysdeps/nptl/sys/procfs.h: New file.
23863         * nptl_db/Makefile (headers): Add it.
23864         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23866         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23867         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23868         * nptl/pthread_attr_setaffinity.c: Include it.
23869         * nptl/pthread_setattr_default_np.c: Likewise.
23870         * nptl/check-cpuset.h: New file.
23872 2015-01-08  Richard Henderson  <rth@redhat.com>
23874         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23875         (CFLAGS-tst-execstack-prog.c): Likewise.
23876         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23878 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23879             Sandra Loosemore  <sandra@codesourcery.com>
23880             Andrew Jenner  <andrew@codesourcery.com>
23881             Joseph Myers  <joseph@codesourcery.com>
23882             Nathan Sidwell  <nathan@codesourcery.com>
23884         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23885         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23886         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23887         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23888         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23889         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23890         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23891         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23892         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23893         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23894         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23895         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23896         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23897         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23898         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23899         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23900         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23902 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23904         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23905         timespec struct member in syscall macro.
23906         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23907         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23908         first timeval struct member in syscall macro.
23909         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23911 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23913         [BZ #17748]
23914         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23915         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23916         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23917         __feupdateenv and define as weak alias of __feupdateenv.  Use
23918         libm_hidden_weak.
23919         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23920         libm_hidden_def.
23921         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23922         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23923         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23924         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23925         libm_hidden_def.
23926         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23927         __feupdateenv and define as weak alias of __feupdateenv.  Use
23928         libm_hidden_weak.
23929         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23930         libm_hidden_def.
23931         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23932         __feupdateenv and define as weak alias of __feupdateenv.  Use
23933         libm_hidden_weak.
23934         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23935         libm_hidden_def.
23936         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23937         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23938         (__feupdateenv): Likewise.
23939         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23940         __feupdateenv and define as weak alias of __feupdateenv.  Use
23941         libm_hidden_weak.
23942         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23943         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23944         libm_hidden_def.
23945         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23946         function.
23947         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23948         libm_hidden_def.
23949         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23950         __feupdateenv instead of feupdateenv.
23951         (default_libc_feupdateenv_test): Likewise.
23952         (libc_feresetround_ctx): Likewise.
23954 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23956         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23957         prototype.
23959 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23961         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23962         COLL_SYM in a couple of places to avoid uninitialized variable
23963         wanings on tilegx gcc 4.8.2.
23965 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23967         * sysdeps/aarch64/strcpy.S: New file.
23968         * sysdeps/aarch64/stpcpy.S: New file.
23969         * NEWS: Updated.
23971 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23973         * sysdeps/aarch64/strrchr.S: New file.
23974         * NEWS: Updated.
23976 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23978         [BZ #17658]
23979         * stdlib/setenv.c: Fix memory leak when setting large,
23980         duplicate string.
23982 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23984         [BZ #17273]
23985         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23986         and tabs from buffer before parsing fstab entry.
23987         * misc/tst-mntent.c (main): Add test for mount entry with
23988         trailing spaces and tabs.
23990 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23992         [BZ #17748]
23993         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23994         * math/fesetround.c (fesetround): Rename to __fesetround and
23995         define as weak alias of __fesetround.  Use libm_hidden_weak.
23996         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23997         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23998         * sysdeps/arm/fesetround.c (fesetround): Likewise.
23999         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24000         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24001         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24002         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24003         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24004         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24005         __fesetround_inline.
24006         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24007         __fesetround_inline instead of __fesetround.
24008         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24009         __fesetround and define as weak alias of __fesetround.  Use
24010         libm_hidden_weak.  Call __fesetround_inline instead of
24011         __fesetround.
24012         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24013         __fesetround and define as weak alias of __fesetround.  Use
24014         libm_hidden_weak.
24015         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24016         Likewise.
24017         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24018         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24019         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24020         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24021         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24022         __fesetround and define as weak alias of __fesetround.  Use
24023         libm_hidden_weak.
24024         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24025         __fesetround instead of fesetround.
24026         (default_libc_feholdexcept_setround): Likewise.
24027         (libc_feholdsetround_ctx): Likewise.
24028         (libc_feholdsetround_noex_ctx): Likewise.
24030         [BZ #17748]
24031         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24032         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24033         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24034         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24035         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24036         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24037         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24038         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24039         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24040         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24041         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24042         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24043         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24044         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24045         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24046         libm_hidden_def.
24047         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24048         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24049         Likewise.
24050         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24051         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24052         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24053         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24054         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24055         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24056         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24057         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24058         __fesetenv instead of fesetenv.
24059         (libc_feresetround_noex_ctx): Likewise.
24060         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24061         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24062         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24063         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24064         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24065         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24066         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24067         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24068         (__feupdateenv): Likewise.
24069         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24070         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24071         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24072         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24074 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24076         [BZ #17806]
24077         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24078         addresses have been freed.
24080 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24082         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24083         and nservall.
24085 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24087         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24088         Clean up check_pf allocation pattern. addresses
24090 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24092         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24093         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24094         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24095         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24096         * nptl/pthread_join.c (pthread_join): Likewise.
24097         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24098         * sysdeps/posix/waitid.c (__waitid): Likewise.
24099         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24100         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24101         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24102         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24103         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24104         Likewise.
24105         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24106         (__libc_pread64): Likewise.
24107         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24108         (__libc_pwrite): Likewise.
24109         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24110         (__libc_pwrite64): Likewsie.
24111         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24112         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24113         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24114         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24115         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24116         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24117         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24119         Likewise.
24120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24121         (__libc_pread64): Likewise.
24122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24123         Likewise.
24124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24125         (__libc_pwrite64): Likewise.
24126         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24127         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24128         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24129         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24130         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24131         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24132         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24133         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24134         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24135         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24136         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24137         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24138         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24139         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24140         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24141         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24142         Likewise.
24144 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24146         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24147         (CFLAGS-test-double.c): Likewise.
24148         (CFLAGS-test-ldouble.c): Likewise.
24149         (CPPFLAGS-test-ifloat.c): Likewise.
24150         (CPPFLAGS-test-idouble.c): Likewise.
24151         (CPPFLAGS-test-ildoubl.c): Likewise.
24152         (CFLAGS-test-test-fenv.c): Remove variable.
24153         (CFLAGS-test-misc.c): Likewise.
24155 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24157         [BZ #17797]
24158         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24159         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24160         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24161         CLOCKS_PER_SEC == 1000000.
24162         * time/clocktest.c (main): Replace %ld with %jd and cast to
24163         intmax_t.
24165 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24167         * sysdeps/generic/unwind-resume.h: New file.
24168         * sysdeps/gnu/unwind-resume.c: Include it.
24169         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24170         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24171         argument list.
24172         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24173         global rather than static.
24174         (_Unwind_Resume): Update user.
24175         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24176         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24177         rather than static.  Add __attribute__ ((cold)).
24178         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24179         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24180         * sysdeps/arm/arm-unwind-resume.S: New file.
24181         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24182         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24183         * sysdeps/arm/Makefile [$(subdir) = csu]
24184         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24185         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24186         Add rt-arm-unwind-resume.
24187         [$(subdir) = nptl]
24188         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24189         Add pt-arm-unwind-resume.
24190         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24191         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24193 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24195         [BZ #17748]
24196         * include/fenv.h (__feholdexcept): Declare.  Use
24197         libm_hidden_proto.
24198         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24199         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24200         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24201         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24202         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24203         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24204         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24205         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24206         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24207         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24208         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24209         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24210         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24211         (feholdexcept): Likewise.
24212         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24213         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24214         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24215         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24216         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24217         __feholdexcept instead of feholdexcept.
24218         (default_libc_feholdexcept_setround): Likewise.
24220 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24222         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24223         to avoid using stl/str to align destination.
24225 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24227         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24229 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24231         [BZ #17796]
24232         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24233         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24234         Define as weak alias not strong alias.
24236 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24238         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24239         bltzal with addiupc.
24240         (RTLD_START): Ditto.
24242 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24244         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24245         for __vdso_* functions in declarations.
24246         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24247         definitions.
24248         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24249         INTERNAL_VSYSCALL): Use struct return types to check for error.
24251         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24252         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24253         function with cast from llround().
24254         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24255         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24256         Define.
24258 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24260         [BZ #17793]
24261         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24262         Define as weak alias not strong alias.
24264         [BZ #17635]
24265         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24266         ...
24267         * ctype/ctype-extn.c: ... here.
24268         (__isblank_l): Move to ...
24269         * ctype/ctype-c99_l.c: ... here.  New file.
24270         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24271         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24272         Remove variable.
24273         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24274         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24275         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24276         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24277         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24279         [BZ #17777]
24280         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24281         (posix_fadvise64): Define as weak alias not strong alias.
24282         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24283         (posix_fallocate64): Likewise.
24284         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24285         Remove variable.
24286         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24287         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24288         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24289         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24290         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24292 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24294         [BZ #16191]
24295         * NEWS: Mention bug fix.
24296         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24297         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24298         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24299         (HOST_STACK_END_ADDR): Likewise.
24301 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24303         [BZ #17748]
24304         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24305         * math/fegetround.c (fegetround): Rename to __fegetround and
24306         define as weak alias of __fegetround.  Use libm_hidden_weak.
24307         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24308         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24309         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24310         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24311         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24312         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24313         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24314         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24315         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24316         Undefine after rather than before function definition; use
24317         parentheses around function name in definition.
24318         (__fegetround): Also undefine macro after function definition.
24319         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24320         __fegetround and define as weak alias of __fegetround.  Use
24321         libm_hidden_weak.  Do not undefine as macro.
24322         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24323         Likewise.
24324         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24325         __fegetround and define as weak alias of __fegetround.  Use
24326         libm_hidden_weak.
24327         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24328         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24329         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24330         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24331         __fegetround and define as weak alias of __fegetround.  Use
24332         libm_hidden_weak.
24333         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24334         __fegetround instead of fegetround.
24336         [BZ #17782]
24337         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24338         Condition macro definition on [__USE_MISC].
24340         [BZ #17781]
24341         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24342         (struct sigaction): Change type of sa_flags field to int.
24344         [BZ #17780]
24345         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24346         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24347         __glibc_reserved0.
24349         * nptl/version.c (banner): Use single year in copyright notice.
24351         * NEWS: Update copyright dates.
24352         * catgets/gencat.c (print_version): Likewise.
24353         * csu/version.c (banner): Likewise.
24354         * debug/catchsegv.sh: Likewise.
24355         * debug/pcprofiledump.c (print_version): Likewise.
24356         * debug/xtrace.sh (do_version): Likewise.
24357         * elf/ldconfig.c (print_version): Likewise.
24358         * elf/ldd.bash.in: Likewise.
24359         * elf/pldd.c (print_version): Likewise.
24360         * elf/sotruss.sh: Likewise.
24361         * elf/sprof.c (print_version): Likewise.
24362         * iconv/iconv_prog.c (print_version): Likewise.
24363         * iconv/iconvconfig.c (print_version): Likewise.
24364         * locale/programs/locale.c (print_version): Likewise.
24365         * locale/programs/localedef.c (print_version): Likewise.
24366         * login/programs/pt_chown.c (print_version): Likewise.
24367         * malloc/memusage.sh (do_version): Likewise.
24368         * malloc/memusagestat.c (print_version): Likewise.
24369         * malloc/mtrace.pl: Likewise.
24370         * manual/libc.texinfo: Likewise.
24371         * nptl/version.c (banner): Likewise.
24372         * nscd/nscd.c (print_version): Likewise.
24373         * nss/getent.c (print_version): Likewise.
24374         * nss/makedb.c (print_version): Likewise.
24375         * posix/getconf.c (main): Likewise.
24376         * scripts/test-installation.pl: Likewise.
24377         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24379 2015-01-02  Will Newton  <will.newton@linaro.org>
24381         * sysdeps/arm/armv7/configure: Removed.
24382         * sysdeps/arm/armv7/configure.ac: Likewise.
24384 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24386         * All files with FSF copyright notices: Update copyright dates
24387         using scripts/update-copyrights.
24388         * intl/plural.c: Regenerated.
24389         * locale/programs/charmap-kw.h: Likewise.
24390         * locale/programs/locfile-kw.h: Likewise.
24392 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24394         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24396 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24398         [BZ #17748]
24399         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24400         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24401         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24402         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24403         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24404         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24405         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24406         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24407         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24408         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24409         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24410         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24411         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24412         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24413         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24414         libm_hidden_def.
24415         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24416         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24417         Likewise.
24418         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24419         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24420         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24421         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24422         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24423         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24424         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24425         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24426         __fegetenv instead of fegetenv.
24427         (libc_feholdsetround_noex_ctx): Likewise.
24429 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24431         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24432         (Elf_MIPS_ABIFlags_v0): New structure.
24433         (EF_MIPS_FP64): Define.
24434         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24435         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24436         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24437         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24438         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24439         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24440         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24441         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24442         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24443         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24444         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24445         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24446         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24447         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24448         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24449         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24450         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24451         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24452         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24453         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24454         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24455         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24456         field.
24457         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24458         EF_MIPS_FP64.
24459         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24460         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24461         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24462         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24463         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24464         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24465         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24466         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24467         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24468         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24469         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24470         record the current FP ABI extension.
24471         (mips-mode-switch): Define to show if kernel headers support mode
24472         switching.
24473         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24474         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24475         supported SYSV ABI version to 3.
24476         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24477         feature.
24479 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24480             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24482         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24483         path.
24484         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24486 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24488         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24489         __fegetround and redefine to call __fegetround.  Remove condition
24490         on [!__NO_MATH_INLINES].
24491         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24492         function.
24493         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24494         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24495         Remove macro.
24496         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24497         instead of <fenv_libc.h>.
24498         (__llrintl): Call fegetround instead of __fegetround.
24499         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24500         instead of <fenv_libc.h>.
24501         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24502         (__lrintl): Call fegetround instead of __fegetround.
24503         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24504         instead of <fenv_libc.h>.
24505         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24506         (__rintl): Call fegetround instead of __fegetround.
24508 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24510         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24511         arrays.
24513 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24515         [BZ #17775]
24516         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24517         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24518         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24520 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24522         * sysdeps/i386/tls-macros.h: Include <features.h>.
24523         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24524         (TLS_IE): Likewise.
24525         (TLS_LD): Likewise.
24526         (TLS_GD): Likewise.
24527         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24528         define for GCC >= 5.0.
24530 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24532         * math/test-fenv.c (test_single_exception, set_single_exc,
24533         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24534         feexcp_mask_test, feenable_test, fe_single_test): Add
24535         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24536         case where they are not used.
24537         * math/libm-test.inc: Likewise.
24538         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24539         unused in the absence of FP rounding/exception support.
24540         * stdio-common/tst-printf-round.c: Likewise.
24541         * stdlib/tst-strtod-round.c: Likewise.
24542         * stdlib/tst-strtod-underflow.c: Likewise.
24544 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24546         [BZ #17723]
24547         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24548         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24549         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24550         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24551         libm_hidden_weak.
24552         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24553         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24554         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24555         libm_hidden_def.
24556         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24557         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24558         libm_hidden_weak.
24559         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24560         Likewise.
24561         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24562         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24563         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24564         libm_hidden_weak.
24565         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24566         libm_hidden_def.
24567         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24568         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24569         (__feraiseexcept): Likewise.
24570         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24571         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24572         libm_hidden_weak.
24573         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24574         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24575         libm_hidden_def.
24576         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24577         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24578         Use libm_hidden_def.
24579         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24580         libm_hidden_def.
24581         (feraiseexcept): Define as weak not strong alias.  Use
24582         libm_hidden_weak.
24583         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24584         New inline function.  Factored out of ...
24585         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24586         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24587         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24588         feraiseexcept.
24589         * math/w_acos.c (__acos): Likewise.
24590         * math/w_asin.c (__asin): Likewise.
24591         * math/w_ilogb.c (__ilogb): Likewise.
24592         * math/w_j0.c (y0): Likewise.
24593         * math/w_j1.c (y1): Likewise.
24594         * math/w_jn.c (yn): Likewise.
24595         * math/w_log.c (__log): Likewise.
24596         * math/w_log10.c (__log10): Likewise.
24597         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24598         * sysdeps/aarch64/fpu/math_private.h
24599         (libc_feupdateenv_test_aarch64): Likewise.
24600         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24601         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24602         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24603         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24604         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24605         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24606         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24607         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24608         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24609         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24611 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24613         [BZ #17732]
24614         * io/test-utime.c (main): Replace %ld with %jd and cast to
24615         intmax_t.
24616         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24617         * nptl/tst-mutex5.c: Include <stdint.h>.
24618         (do_test): Replace %ld with %jd and cast to intmax_t.
24619         * posix/tst-regex.c (run_test): Likewise.
24620         (run_test_backwards): Likewise.
24621         * rt/tst-clock.c: Include <stdint.h>.
24622         (clock_test): Replace %ld with %jd and cast to intmax_t.
24623         * rt/tst-cpuclock1.c: Include <stdint.h>.
24624         (do_test): Replace %lu with %ju and cast to uintmax_t.
24625         * rt/tst-cpuclock2.c: Include <stdint.h>.
24626         (do_test): Replace %lu with %ju and cast to uintmax_t.
24627         * rt/tst-mqueue1.c: Include <stdint.h>.
24628         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24629         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24630         intmax_t.
24631         * rt/tst-mqueue4.c (do_test): Likewise.
24632         * rt/tst-timer4.c: Include <stdint.h>.
24633         (check_ts): Replace %ld with %jd and cast to intmax_t.
24634         (do_test): Likewise.
24635         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24636         and cast to intmax_t.
24637         * sysdeps/pthread/tst-timer.c (main): Likewise.
24638         * time/clocktest.c (main): Likewise.
24639         * time/tst-posixtz.c (do_test): Likewise.
24640         * timezone/tst-timezone.c (main): Likewise.
24642 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24643             H.J. Lu  <hongjiu.lu@intel.com>
24645         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24646         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24647         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24648         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24649         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24650         version if bit_Fast_Unaligned_Load is set.
24651         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24652         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24653         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24654         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24655         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24656         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24657         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24658         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24659         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24660         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24661         to 4.
24662         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24663         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24664         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24665         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24667 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24669         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24670         instead of #if to avoid a Wundef warning.
24671         * stdlib/tst-limits.c (do_test): Likewise.
24673         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24674         parallel other exception macros.
24675         (fegetenv): Convert from macro to extern inline so that it applies
24676         retroactively to inline functions already seen by the compiler.
24677         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24679         * posix/Makefile (before-compile): Use $(objpfx) for
24680         posix-conf-vars-def.h.
24682 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24684         * posix/getconf.c (main): Use size_t for type of I.
24685         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24686         NSPEC.
24688         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24689         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24690         * posix/posix-envs.def: Likewise.
24691         * sysdeps/posix/sysconf.c: Likewise.
24692         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24693         (specs): Remove array.
24694         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24695         array.
24697         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24698         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24699         (__sysconf): Use CONF_IS_* macros.
24701         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24702         ($(objpfx)posix-conf-vars-def.h): New target.
24703         * posix/posix-conf-vars.list: New file.
24704         * posix/posix-conf-vars.h: New file.
24705         * posix/confstr.c: Include posix-conf-vars.h.
24706         (confstr): Use CONF_IS_* macros.
24707         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24708         CONF_IS_* macros.
24709         * scripts/gen-posix-conf-vars.awk: New file.
24711 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24713         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24714         fegetround): Add no-op macros to avoid linknamespace issues.
24716         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24717         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24719         * sysdeps/unix/sysv/linux/tile/sysdep.h
24720         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24721         assembly-specific section to avoid a redefinition warning.
24723         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24724         long before casting to pointer to avoid a cast warning.
24726 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24728         * sysdeps/tile/tilegx/Implies: New file.
24730 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24732         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24734 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24736         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24738 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24740         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24741         not define.
24742         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24743         <kernel-features.h>.
24744         (__utimes) [__NR_utimes]: Make code unconditional.
24745         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24746         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24747         (__ASSUME_UTIMES): Do not undefine.
24748         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24749         (__ASSUME_UTIMES): Likewise.
24750         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24751         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24752         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24753         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24755 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24757         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24759 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24761         [BZ #17747]
24762         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24763         alias to weak alias for j0l, y0l.
24764         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24765         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24767         [BZ #17746]
24768         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24769         conversion.
24771 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24773         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24774         to zero if not already defined.
24776 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24778         [BZ #17724]
24779         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24780         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
24781         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
24782         (char *) casts added.
24783         * sysdeps/ieee754/k_standardf.c: New file.
24784         * sysdeps/ieee754/k_standardl.c: Likewise.
24785         * math/Makefile (libm-support): Remove k_standard.
24786         (libm-calls): Add k_standard.
24788 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24790         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24791         Optimize to avoid an unnecessary FPCR read.
24793 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24795         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24796         Optimize to reduce FPCR/FPSR accesses.
24798 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24800         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24801         Call libc_fetestexcept_aarch64.
24803 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24805         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24806         Call libc_fesetround_aarch64.
24808 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24810         [BZ #17733]
24811         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24812         (__bind): Do not define as weak alias.
24813         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24814         define.
24815         (__getsockname): Do not define as weak alias.
24817 2014-12-22  Will Newton  <will.newton@linaro.org>
24819         * manual/install.texi: Document that we require bison 2.7
24820         or above.
24821         * INSTALL: Regenerate.
24822         * configure.ac: Use AC_CHECK_PROG_VER instead of
24823         AC_PATH_PROG when checking for bison and check for
24824         version 2.7 or above.
24825         * configure: Regenerate.
24827 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
24829         [BZ #17745]
24830         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24831         * sysdeps/tile/ffsll.c (ffsll): To here.
24833         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24835 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24837         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24838         if not defined.
24839         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24840         definition.
24841         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24842         hidden ___tls_get_addr.
24843         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24844         hidden __tls_get_addr.
24845         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24846         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24847         Likewise.
24849 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24851         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24852         _dl_init call.
24854 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24856         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24857         from "call _dl_init@PLT".
24858         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24860 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24862         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24863         guarantees.
24865 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24867         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24869 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24871         [BZ #17744]
24872         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24873         strnlen.
24875 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24877         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24878         of multu on MIPSr6.
24879         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24880         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24881         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24882         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24883         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24885 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24887         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24888         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24889         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24890         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24891         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24892         mips32r6/mips64r6.
24893         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24895 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24897         * string/strncat.c (STRNCAT): Simplify implementation.
24899 2014-12-19  David S. Miller  <davem@davemloft.net>
24901         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24902         access the quad as both a long double and as a series of 4 words.
24904         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24905         link_map->l_info array access.
24907 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24909         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24911         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24912         * math/atest-exp2.c (TIMEOUT): Likewise.
24913         * math/atest-sincos.c (TIMEOUT): Likewise.
24915 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24917         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24918         -Wno-error with -fno-builtin-lround.
24920 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24922         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24923         Contains futex constants and functions moved over from ...
24924         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24925         <lowlevellock-futex.h>.
24926         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24927         (lll_timedwait_tid): Add comments and parentheses around macro
24928         arguments.
24930 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24932         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24933         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24934         (__lll_private_flag): Remove.
24935         (lll_futex_wait): Likewise.
24936         (lll_futex_timed_wait): Likewise.
24937         (lll_futex_wake): Likewise.
24938         (lll_futex_requeue): Likewise.
24939         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24940         (__lll_timedwait_tid): Spell out argument names.
24941         (lll_timedwait_tid): Add comments and parentheses around macro
24942         arguments.
24943         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24944         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24946 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24948         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24949         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24950         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24951         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24952         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24953         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24954         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24955         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24956         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24957         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24958         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24959         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24960         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24961         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24962         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24963         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24964         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24965         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24966         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24968 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24970         * sysdeps/x86_64/x32/Makefile: New file.
24972 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24974         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24975         1L with (mp_limb_t) 1.
24977 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24979         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24980         * nptl/libc_pthread_init.c: ... here.
24981         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24982         * nptl/register-atfork.c: ... here.
24984         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24985         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24986         Use assert_perror to check its return value.
24987         (__gai_create_helper_thread): Likewise.
24989         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24991         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24993 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24995         [BZ #17725]
24996         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24997         __profil_counter.
24998         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24999         Likewise.
25000         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25001         Likewise.
25002         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25003         Likewise.
25004         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25005         (profil_counter): Likewise.
25006         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25007         (profil_counter): Likewise.
25008         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25009         Likewise.
25010         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25011         Likewise.
25012         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25013         (profil_counter): Likewise.
25014         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25015         Likewise.
25016         [!__profil_counter] (profil_counter): Define as weak alias of
25017         __profil_counter.
25018         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25019         (profil_counter): Rename to __profil_counter.
25020         [!__profil_counter] (profil_counter): Define as weak alias of
25021         __profil_counter.
25022         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25023         (profil_counter): Rename to __profil_counter.
25024         [!__profil_counter] (profil_counter): Define as weak alias of
25025         __profil_counter.
25026         * sysdeps/posix/profil.c: Update comment referring to
25027         profil_counter.
25028         (__profil): Use __profil_counter instead of profil_counter.
25029         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25030         __profil_counter.  Use __profil_counter_ushort and
25031         __profil_counter_uint in definitions.
25032         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25033         instead of profil_counter_uint and profil_counter_ushort.
25035         [BZ #17722]
25036         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25037         define as weak alias of __inet_makeaddr.
25038         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25039         as weak alias of __inet_addr.
25040         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25041         as weak alias of __inet_pton.  Use libc_hidden_weak.
25042         * include/arpa/inet.h (__inet_pton): Declare.  Use
25043         libc_hidden_proto.
25044         (inet_makeaddr): Don't use libc_hidden_proto.
25045         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25046         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25047         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25048         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25049         Remove variable.
25050         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25051         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25053 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25055         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25057 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25059         * stdio-common/bug-vfprintf-nargs.c (do_test):
25060         Cast value to intptr_t to avoid format warning
25061         for usage with PRIdPTR printing macro.
25063 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25065         * libio/tst-widetext.c (do_test):
25066         Use format type %td instead of %Zd for ptrdiff_t
25067         in order to avoid format warning.
25069 2014-12-17  Andreas Schwab  <schwab@suse.de>
25071         * nscd/mem.c (gc): Add size_t cast to match printf format.
25073 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25075         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25076         (init): Apply PTR_MANGLE to pointers before storing them.
25077         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25078         before using them.
25080 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25082         [BZ #17719]
25083         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25084         define as weak alias of __memrchr.
25085         (__memrchr): Do not define as strong alias of memrchr.
25086         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25087         Remove variable.
25088         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25089         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25090         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25092         [BZ #17717]
25093         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25094         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25095         (if_indextoname): Rename to __if_indextoname and define as weak
25096         alias of __if_indextoname.  Use libc_hidden_weak.
25097         (if_freenameindex): Rename to __if_freenameindex and define as
25098         weak alias of __if_freenameindex.
25099         (if_nameindex): Rename to __if_nameindex and define as weak alias
25100         of __if_nameindex.
25101         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25102         __if_nametoindex and define as weak alias of __if_nametoindex.
25103         Use libc_hidden_weak.
25104         (if_freenameindex): Rename to __if_freenameindex and define as
25105         weak alias of __if_freenameindex.
25106         (if_nameindex): Rename to __if_nameindex and define as weak alias
25107         of __if_nameindex.
25108         (if_indextoname): Rename to __if_indextoname and define as weak
25109         alias of __if_indextoname.  Use libc_hidden_weak.
25110         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25111         __if_nametoindex and define as weak alias of __if_nametoindex.
25112         Use libc_hidden_weak.
25113         (if_freenameindex): Rename to __if_freenameindex and define as
25114         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25115         (if_nameindex_netlink): Use __if_freenameindex instead of
25116         if_freenameindex.
25117         (if_nameindex): Rename to __if_nameindex and define as weak alias
25118         of __if_nameindex.  Use libc_hidden_weak.
25119         (if_indextoname): Rename to __if_indextoname and define as weak
25120         alias of __if_indextoname.  Use libc_hidden_weak.
25121         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25122         libc_hidden_proto.
25123         [!_ISOMAC] (__if_freenameindex): Likewise.
25124         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25125         if_nametoindex.
25126         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25127         variable.
25128         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25129         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25130         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25131         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25132         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25133         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25134         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25136         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25137         Remove variable.
25138         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25139         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25141 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25143         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25144         subscript above bounds'
25146         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25147         bounds.
25149 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25151         * libio/tst-fopenloc.c: Use test-skeleton.c.
25153         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25154         (entry): Rename to ITEM.
25155         (do_test, comp): Adjust.
25157         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25159 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25161         * string/tester.c: Include <libc-internal.h>.
25162         (test_memset): Ignore -Wmemset-transposed-args.
25164 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25166         * misc/tst-mntent2.c (do_test): Fix warning.
25168 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25170         * elf/tst-unique4lib.cc(a): Mark as used.
25172 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25174         [BZ #17630]
25175         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25176         names.
25178 2014-12-16  Allan McRae  <allan@archlinux.org>
25180         * stdio-common/Makefile (tests): Re-add bug26.
25182 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25184         [BZ #17657]
25185         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25186         static array.
25188 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25190         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25191         (__lll_lock_wait): Likewise.
25192         (__lll_timedlock_wait): Likewise.
25193         (__lll_timedwait_tid): Likewise.
25194         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25195         (__lll_robust_timedlock_wait): Likewise.
25196         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25197         (lll_cond_trylock): Likewise.
25198         (__lll_lock): Likewise.
25199         (__lll_robust_lock): Likewise.
25200         (__lll_cond_lock): Likewise.
25201         (lll_robust_cond_lock): Likewise.
25202         (__lll_timedlock): Likewise.
25203         (__lll_robust_timedlock): Likewise.
25204         (__lll_unlock): Likewise.
25205         (__lll_robust_unlock): Likewise.
25206         (lll_wait_tid): Likewise.
25207         (lll_timedwait_tid): Likewise.
25209 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25211         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25213 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25215         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25217 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25219         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25220         * stdio-common/tst-sprintf.c: Likewise.
25222 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25224         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25226 2014-12-15  Jeff Law  <law@redhat.com>
25228         [BZ #16617]
25229         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25230         on the heap.  (CVE-2012-3406)
25231         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25232         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25233         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25235 2014-12-15  Will Newton  <will.newton@linaro.org>
25237         * manual/install.texi: Bump required version of texinfo
25238         to 4.7 from 4.5.
25239         * INSTALL: Regenerated.
25240         * configure.ac: Check for makeinfo version 4.7 and above.
25241         * configure: Regenerated.
25243 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25245         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25246         PREFIX, string constant to insert between directory and name.
25247         * sysdeps/posix/shm_open.c: Update caller.
25248         * sysdeps/posix/shm_unlink.c: Likewise.
25249         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25250         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25251         (SEM_SHM_PREFIX): New macro.
25252         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25253         [$(have-thread-library) = no].
25254         * nptl/Makefile (libpthread-routines): Add shm-directory.
25255         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25256         * sysdeps/nptl/shm-directory.h: New file.
25257         * sysdeps/posix/shm-directory.c
25258         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25259         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25260         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25261         INTERNAL_SYSCALL.
25262         (__where_is_shmfs): Function removed.
25263         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25264         Variables removed.
25265         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25266         Use SHM_GET_NAME.
25267         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25269         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25270         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25271         unconditional for use inside libpthread.
25272         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25274 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25276         * nptl/pthread_getaffinity.c: New file.
25277         * nptl/pthread_setaffinity.c: New file.
25278         * nptl/pthread_getname.c: New file.
25279         * nptl/pthread_setname.c: New file.
25281         * nptl/pthread_create.c (START_THREAD_DEFN)
25282         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25284 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25285             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25287         * resolv/res_send.c (send_vc): Disable warning resplen may
25288         be used uninitialized.
25290 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25292         * nptl/tst-mutex6.c
25293         (ATTR_NULL): New define checks ATTR against NULL.
25294         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25295         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25297 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25299         [BZ #17581]
25300         * malloc/hooks.c
25301         (mem2mem_check): Revert my previous change.
25302         (malloc_check_get_size): Revert my previous change.
25303         (mem2chunk_check): Revert my previous change.
25305 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25307         * sysdeps/posix/shm-directory.c: New file.
25308         * sysdeps/posix/shm-directory.h: New file.
25309         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25310         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25311         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25312         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25313         Transmute EPERM to EACCES.
25314         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25315         from ...
25316         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25317         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25319 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25321         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25322         pointer and cast to uintptr_t.
25323         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25324         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25325         Add cast to avoid warning.
25326         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25328 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25330         * nptl/semaphore.h: Move to ...
25331         * sysdeps/pthread/semaphore.h: ... here.
25332         * Makefile (installed-headers): Change nptl/semaphore.h to
25333         sysdeps/pthread/semaphore.h.
25335 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25337         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25338         generated error format strings.
25340         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25341         -Wformat-extra-args warnings for scanf formats.
25342         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25343         test of zero-length format (duh).
25344         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25345         corner-case scanf format test.
25346         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25347         generated fprintf format string.
25348         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25349         corner-case sprintf format tests.
25350         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25351         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25352         -Wformat-extra-args warnings throughout.
25353         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25354         (CFLAGS-scanf4.c): Likewise.
25355         (CFLAGS-scanf7.c): Likewise.
25356         (CFLAGS-tst-sprintf.c): Likewise.
25357         (CFLAGS-tst-printf.c): Likewise.
25358         (CFLAGS-tst-printfsz.c): Likewise.
25360 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25362         * include/cpio.h: New file.
25363         * include/fmtmsg.h: Likewise.
25365         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25366         corresponding format argument to size_t.
25367         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25368         arguments.
25369         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25370         corresponding format argument to size_t.
25371         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25372         arguments.
25373         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25374         corresponding format argument to size_t.
25375         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25376         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25377         (CFLAGS-tst-mbswcs2.c): Likewise.
25378         (CFLAGS-tst-mbswcs3.c): Likewise.
25379         (CFLAGS-tst-mbswcs4.c): Likewise.
25380         (CFLAGS-tst-mbswcs5.c): Likewise.
25381         (CFLAGS-tst-trans.c): Likewise.
25383 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25385         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25386         rather than assuming they won't contain any '%'s.
25388 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25390         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25391         inhibit_loop_to_libcall to avoid recursive calls.
25392         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25393         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25395 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25397         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25398         prototype.
25400 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25402         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25403         integer value instead of boolean.
25405 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25407         * malloc/malloc.c: Fix powerof2 check.
25409 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25411         * locale/programs/locfile.h (maybe_swap_uint32):
25412         Remove inline and add unused attribute.
25414 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25416         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25417         Truncating assembler expression to a .long expression.
25419 2014-12-11  Andreas Schwab  <schwab@suse.de>
25421         * elf/rtld.c (struct map_args): Constify str member.
25422         (do_preload): Constify fname argument.
25424 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25426         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25427         constants definition.
25429 2014-12-11  Andreas Schwab  <schwab@suse.de>
25431         [BZ #16657]
25432         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25433         FORCE_ELISION instead of DO_ELISION.
25434         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25435         Remove.
25436         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25437         Likewise.
25439         * iconvdata/gconv-modules: Remove duplicate entry.
25441 2014-12-11  Will Newton  <will.newton@linaro.org>
25443         Merge gettext 0.19.3 into intl/.
25445         This involves a number of cosmetic changes to comments
25446         and ANSI function definitions and prototypes throughout
25447         all the files. The gettext copyright header is used but
25448         with the date ranges taken from the glibc copy.
25450         * NEWS: Add gettext merge to 2.21.
25451         * intl/bindtextdom.c: Switch to gettext copyright.
25452         Use ANSI definitions and prototypes.
25453         Use gl_* locking primitives rather than __libc_* ones.
25454         Use __builtin_expect rather than __glibc_likely/unlikely.
25455         * intl/dcgettext.c: Switch to gettext copyright.
25456         Use ANSI definitions and prototypes.
25457         * intl/dcigettext.c: Switch to gettext copyright.
25458         Use ANSI definitions and prototypes.
25459         (INTDIV0_RAISES_SIGFPE): New define.
25460         Use gl_* locking primitives rather than __libc_* ones.
25461         Include eval-plural.h instead of plural-eval.c.
25462         Use __builtin_expect rather than __glibc_likely/unlikely.
25463         * intl/dcngettext.c: Switch to gettext copyright.
25464         Use ANSI definitions and prototypes.
25465         * intl/dgettext.c: Likewise.
25466         * intl/dngettext.c: Likewise.
25467         * intl/plural-eval.c: Renamed to...
25468         * intl/eval-plural.h: ...this.
25469         * intl/explodename.c: Switch to gettext copyright.
25470         Use ANSI definitions and prototypes.
25471         (_nl_explode_name): Use strchr instead of __rawmemchr.
25472         * intl/finddomain.c: Switch to gettext copyright.
25473         Use ANSI definitions and prototypes.
25474         Use gl_* locking primitives rather than __libc_* ones.
25475         (_nl_find_domain): Use malloc rather than alloca for
25476         allocation of temporary locale name.
25477         * intl/gettext.c: Switch to gettext copyright.
25478         Use ANSI definitions and prototypes.
25479         * intl/gettextP.h: Switch to gettext copyright.
25480         Use ANSI definitions and prototypes.
25481         Use gl_* locking primitives rather than __libc_* ones.
25482         * intl/gmo.h: Switch to gettext copyright.
25483         (struct sysdep_string): Move struct segment_pair outside of
25484         struct definition.
25485         * intl/hash-string.c: Use ANSI definitions and prototypes.
25486         * intl/hash-string.h: Switch to gettext copyright.
25487         Use ANSI definitions and prototypes.
25488         * intl/l10nflist.c: Switch to gettext copyright.
25489         Use ANSI definitions and prototypes.
25490         (_nl_normalize_codeset): Avoid integer overflow.
25491         * intl/loadinfo.h: Switch to gettext copyright.
25492         Use ANSI definitions and prototypes.
25493         (LIBINTL_DLL_EXPORTED): New define.
25494         (PATH_SEPARATOR): New define.
25495         * intl/loadmsgcat.c: Switch to gettext copyright.
25496         * intl/localealias.c: Switch to gettext copyright.
25497         Use ANSI definitions and prototypes.
25498         (_nl_expand_alias): Use PATH_SEPARATOR.
25499         * intl/ngettext.c: Switch to gettext copyright.
25500         Use ANSI definitions and prototypes.
25501         * intl/plural-exp.c: Likewise.
25502         * intl/plural-exp.h: Switch to gettext copyright.
25503         Use ANSI definitions and prototypes.
25504         (struct expression): Move definition of enum operator outside
25505         of struct definition.
25506         * intl/plural.c: Regenerate.
25507         * intl/plural.y: Switch to gettext copyright.
25508         Use ANSI definitions and prototypes.
25509         Port to bison 3.0.
25510         * intl/textdomain.c: Switch to gettext copyright.
25511         Use ANSI definitions and prototypes.
25512         Use gl_* locking primitives rather than __libc_* ones.
25514 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25516         * debug/warning-nop.c: Add used atrribute.
25518 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25520         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25522         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25523         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25524         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25526 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25527             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25529         [BZ #17634]
25530         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25531         Undefine after defining function.  Define as weak alias of
25532         __wcschr.  Use libc_hidden_weak.
25533         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25534         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25535         (libc_hidden_def): Also define __GI___wcschr alias.
25536         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25537         __wcschr and define as weak alias of __wcschr.
25538         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25539         __wcschr.
25540         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25541         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25542         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25543         libc_hidden_weak.  Do not use libc_hidden_def.
25544         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25545         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25546         __GI___wcschr alias.
25547         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25548         [IS_IN (libc)] (wcschr): Define as macro expanding to
25549         __redirect_wcschr.
25550         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25551         [IS_IN (libc)] (__wcschr_power6): Likewise.
25552         [IS_IN (libc)] (__wcschr_power7): Likewise.
25553         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25554         instead of wcschr.
25555         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25556         __libc_wcschr.
25557         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25558         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25559         __wcschr and define as weak alias of __wcschr.  Use
25560         libc_hidden_builtin_def.
25561         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25562         as weak alias of __wcschr.  Use libc_hidden_weak.
25563         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25564         wcschr.
25565         * time/era.c (_nl_init_era_entries): Likewise.
25566         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25567         variable.
25568         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25569         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25571 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25573         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25574         format for long int variable.
25576 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25578         [BZ #10672]
25579         * manual/search.texi: (Array Sort Function): Remove claim how to make
25580         qsort stable.
25582 2014-12-10  Andreas Schwab  <schwab@suse.de>
25584         [BZ #12847]
25585         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25586         user-controlled locks.
25588 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25590         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25591         register.
25593 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25595         * configure.ac (--disable-werror): New configure option.
25596         (enable_werror): New AC_SUBST.
25597         * configure: Regenerated.
25598         * config.make.in (enable-werror): New variable.
25599         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25600         -Wno-error=undef.
25601         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25602         * manual/install.texi (Configuring and compiling): Document
25603         --disable-werror.
25604         * INSTALL: Regenerated.
25605         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25606         (CFLAGS-tst-chk2.c): Likewise.
25607         (CFLAGS-tst-chk3.c): Likewise.
25608         (CFLAGS-tst-chk4.cc): Likewise.
25609         (CFLAGS-tst-chk5.cc): Likewise.
25610         (CFLAGS-tst-chk6.cc): Likewise.
25611         (CFLAGS-tst-lfschk1.c): Likewise.
25612         (CFLAGS-tst-lfschk2.c): Likewise.
25613         (CFLAGS-tst-lfschk3.c): Likewise.
25614         (CFLAGS-tst-lfschk4.cc): Likewise.
25615         (CFLAGS-tst-lfschk5.cc): Likewise.
25616         (CFLAGS-tst-lfschk6.cc): Likewise.
25618         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25619         (main): Disable -Wdeprecated-declarations around calls to
25620         register_printf_function.
25622         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25623         (do_test): Disable -Wdiv-by-zero around some calls to
25624         fwrite_unlocked and fread_unlocked.
25626         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25627         (DIAG_POP_NEEDS_COMMENT): Likewise.
25628         (_DIAG_STR1): Likewise.
25629         (_DIAG_STR): Likewise.
25630         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25631         * stdio-common/bug21.c: Include <libc-internal.h>.
25632         (do_test): Disable -Wformat around call to sscanf.
25633         * stdio-common/scanf14.c: Include <libc-internal.h>.
25634         (main): Disable -Wformat around some calls to scanf functions.
25636 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25638         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25640 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25642         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25643         stack variable alignment.
25645 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25647         [BZ #17682]
25648         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25649         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25650         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25651         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25652         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25653         __getrlimit instead of getrlimit.
25654         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25655         __gettimeofday instead of gettimeofday.
25656         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25657         Likewise.
25658         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25659         Likewise.
25660         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25661         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25662         Remove variable.
25663         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25664         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25666 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25668         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25669         for wide-character tests.
25671 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25673         * io/openat64.c: #include <libc-internal.h>
25674         (__openat64): Prototypify.  Use ignore_value on MODE.
25675         * io/openat.c: Likewise.
25676         * misc/reboot.c: #include <libc-internal.h>
25677         (reboot): Prototypify.  Use ignore_value on HOWTO.
25678         * misc/ptrace.c: #include <libc-internal.h>
25679         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25681 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25683         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25684         XPG4, UNIX98 and XOPEN2K.
25685         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25686         Remove variable.
25687         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25689 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25691         * libio/fileops.c: Use ISO C style for function definitions.
25692         * libio/iofopen.c: Likewise.
25693         * libio/wfileops.c: Likewise.
25695         [BZ #17653]
25696         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25697         offset on EOF.
25698         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25699         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25700         (fgets_func): Function pointer to fgets and fgetws.
25701         (do_ftell_test): Add test to verify ftell value after read
25702         EOF.
25703         (do_test): Set fgets_func.
25705         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25706         O_TRUNC flag for w and w+ modes.
25707         (do_rewind_test): Likewise.
25708         (do_ftell_test): Likewise.
25709         (do_write_test): Likewise.
25711         [BZ #17647]
25712         * libio/fileops.c (do_ftell): Seek only when there are
25713         unflushed writes.
25714         * libio/wfileops.c (do_ftell_wide): Likewise.
25715         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25716         test case.
25717         (do_one_test): Call it.
25719 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25721         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25722         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25723         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25724         Remove variable.
25725         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25726         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25727         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25729 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25731         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25732         Remove variable.
25733         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25735         [BZ #17668]
25736         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25737         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25738         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25739         __freeifaddrs.  Use libc_hidden_weak.
25740         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25741         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25742         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25743         __freeifaddrs.  Use libc_hidden_weak.
25744         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25745         __getifaddrs and define as weak alias of __getifaddrs.  Use
25746         libc_hidden_weak.
25747         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25748         __freeifaddrs.  Use libc_hidden_weak.
25749         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25750         Remove variable.
25751         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25752         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25754 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25756         [BZ #17601]
25757         * sysdeps/mips/start.S (__start): Use indirect jump to call
25758         __libc_start_main.
25760 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25762         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25764         * nptl/tst-mutex1.c: Include <stdbool.h>.
25765         [!ATTR] (ATTR_NULL): New macro.
25766         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25767         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25768         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25770         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25771         to char *.
25773         [BZ #17665]
25774         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25775         Change conditional to [__USE_MISC].
25777         [BZ #17664]
25778         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25779         fgets_unlocked.
25780         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25781         __fgets_unlocked.
25782         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25783         fgets_unlocked.
25784         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25785         Remove variable.
25786         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25787         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25788         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25789         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25790         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25791         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25792         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25793         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25794         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25796         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25798 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25800         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25801         Remove strpbrk objects.
25802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25803         (__libc_ifunc_impl_list): Remove strpbrk implementation.
25804         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25805         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25806         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25807         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25809         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25810         Remove strcspn objects.
25811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25812         (__libc_ifunc_impl_list): Remove strcspn implementation.
25813         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25814         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25815         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25816         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25818         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25819         Remove strspn objetcs.
25820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25821         (__libc_ifunc_impl_list): Remove strspn implementation.
25822         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25823         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25824         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25825         * sysdeps/powerpc/powerpc64/strspn.S: New file.
25827 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
25829         [BZ #17581]
25830         * malloc/hooks.c
25831         (mem2mem_check): Add a terminator to the chain of checking blocks.
25832         (malloc_check_get_size): Use it here.
25833         (mem2chunk_check): Ditto.
25835 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25837         * sysdeps/powerpc/powerpc64/strtok.S: New file.
25838         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25840 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
25842         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25844         * nptl/nptl-init.c: Include libc-internal.h.
25845         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25847         * elf/ldconfig.c (search_dir): Expand comment.
25849 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25851         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25852         variable.
25853         (linknamespace-symlist-stdlibs-tests): Likewise.
25854         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25855         instead of $(objpfx)symlist-stdlibs.
25856         (linknamespace-libs-isoc): New variable.
25857         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25858         (linknamespace-libs-ISO): New variable.
25859         (linknamespace-libs-ISO99): Likewise.
25860         (linknamespace-libs-ISO11): Likewise.
25861         (linknamespace-libs-XPG3): Likewise.
25862         (linknamespace-libs-XPG4): Likewise.
25863         (linknamespace-libs-POSIX): Likewise.
25864         (linknamespace-libs-UNIX98): Likewise.
25865         (linknamespace-libs-XOPEN2K): Likewise.
25866         (linknamespace-libs-POSIX2008): Likewise.
25867         (linknamespace-libs-XOPEN2K8): Likewise.
25868         ($(objpfx)symlist-stdlibs): Replace by
25869         $(linknamespace-symlist-stdlibs-tests).  Use
25870         $(linknamespace-libs-$*) as set of libraries.
25871         ($(linknamespace-header-tests)): Update dependencies.  Use
25872         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25873         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25874         * conform/linknamespace.pl: Remove comment about considering
25875         definitions of symbols from irrelevant libraries.
25877 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25879         [BZ #13862]
25880         * elf/dl-tls.c: Include <atomic.h>.
25881         (oom): Remove #ifdef SHARED/#endif.
25882         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25883         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25884         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25885         big enough.
25886         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25887         * nptl/Makefile (tests): Add tst-stack4.
25888         (modules-names): Add tst-stack4mod.
25889         ($(objpfx)tst-stack4): New.
25890         (tst-stack4mod.sos): Likewise.
25891         ($(objpfx)tst-stack4.out): Likewise.
25892         ($(tst-stack4mod.sos)): Likewise.
25893         (clean): Likewise.
25894         * nptl/tst-stack4.c: New file.
25895         * nptl/tst-stack4mod.c: Likewise.
25897 2014-11-27  J. Brown  <jb999@gmx.de>
25899         * sysdeps/x86/bits/string.h: Add recent CPUs.
25901 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25903         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25904         sigblock.
25906         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25907         feof.
25909         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25910         variable.
25912 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25914         * nscd/connections.c: Include libc-internal.h because of macro
25915         usage ignore_value.
25917 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25919         * string/bits/string3.h (__warn_memset_zero_len): Don't
25920         declare for gcc newer than 5.0.
25921         (memset): Don't test for zero-length __LEN for gcc newer than
25922         5.0.
25924 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25926         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25927         size_t for %zu format.
25929         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25930         difference, not %ju.
25932 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25934         * include/libc-internal.h (ignore_value): New macro.
25935         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25936         with ignore_value.
25938         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25939         definition.
25941         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25942         pthread_cleanup_push to void *.
25944         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25945         Undefine.
25947         [BZ #16619]
25948         [BZ #16740]
25949         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25950         instead of 1L << 52.
25952         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25953         * libio/bug-rewind2.c (do_test): Likewise.
25955         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25956         * debug/test-strcpy_chk-ifunc.c: Likewise.
25957         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25958         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25959         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25960         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25961         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25962         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25963         * Rules [$(multi-arch) = no] (tests): Do not filter out
25964         $(tests-ifunc).
25965         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25966         * debug/Makefile (tests-ifunc): Remove variable.
25967         (tests): Do not add $(tests-ifunc).
25968         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25969         (tests): Do not add $(tests-ifunc).
25970         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25971         [TEST_IFUNC]: Remove conditionals.
25972         * string/test-string.h (TEST_IFUNC): Remove macro.
25973         [TEST_IFUNC]: Remove conditionals.
25975         * string/test-strchr.c [!WIDE] (L): New macro.
25976         [WIDE] (L): Likewise.
25977         (check1): Use CHAR instead of char.  Use L on string and character
25978         constants.
25980 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25982         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25983         tests.
25984         * sysdeps/powerpc/bits/atomic.h
25985         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25986         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25987         (atomic_exchange_and_add_acq): Likewise.
25988         (atomic_exchange_and_add_rel): Likewise.
25989         * sysdeps/powerpc/powerpc32/bits/atomic.h
25990         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25991         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25992         * sysdeps/powerpc/powerpc64/bits/atomic.h
25993         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25994         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25996 2014-11-26  Torvald Riegel  <triegel@redhat.com>
25998         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25999         Change synchronization of __sched_fifo_min_prio and
26000         __sched_fifo_max_prio.
26001         * nptl/pthread_mutexattr_getprioceiling.c
26002         (pthread_mutexattr_getprioceiling): Likewise.
26003         * nptl/pthread_mutexattr_setprioceiling.c
26004         (pthread_mutexattr_setprioceiling): Likewise.
26005         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26006         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26007         Likewise.
26009 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26011         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26012         void.
26014 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26016         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26017         third argument const.
26019 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26021         fnmatch: work around GCC compiler warning bug with uninit var
26022         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26023         This works around a bug with x86-64 GCC 4.9.2 and earlier
26024         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26025         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26026         used uninitialized in this function [-Wmaybe-uninitialized]".
26028 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26030         * posix/bug-regex31.c (main): Return RES not 0.
26032 2014-11-25  Anton Blanchard <anton@samba.org>
26034         * sysdeps/powerpc/bits/atomic.h
26035         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26037 2014-11-24  Sterling Augustine  <saugustine@google.com>
26039         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26041 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26043         [BZ #17608]
26044         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26046 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26048         [BZ #17633]
26049         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26050         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26051         variable.
26052         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26053         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26055 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26057         * string/strncpy.c (strncpy): Improve performance by using memset.
26059 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26061         * string/strcpy.c (strcpy):
26062         Improve performance by using strlen and memcpy.
26064 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26066         * string/strcoll_l.c (get_next_seq): __always_inline.
26067         * string/strcoll_l.c (do_compare): __always_inline.
26069 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26071         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26072         defined.
26073         * include/mqueue.h: Likewise.
26074         * include/stdlib.h: Likewise.
26076         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26077         (get_null_defines): Adjust.
26078         * sunrpc/Makefile: Adjust comment.
26079         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26080         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26081         (CFLAGS-interp.c): Likewise.
26082         (CFLAGS-ldconfig.c): Likewise.
26083         (CPPFLAGS-.os): Likewise.
26084         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26085         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26086         * extra-modules.mk (extra-modules.mk): Likewise.
26087         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26088         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26089         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26090         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26091         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26092         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26093         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26094         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26095         * iconvdata/Makefile (CPPFLAGS): Likewise.
26096         (cpp-srcs-left): Add libof for all iconvdata routines.
26097         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26098         * include/assert.h: Likewise.
26099         * include/ctype.h: Likewise.
26100         * include/errno.h: Likewise.
26101         * include/libc-symbols.h: Likewise.
26102         * include/math.h: Likewise.
26103         * include/netdb.h: Likewise.
26104         * include/resolv.h: Likewise.
26105         * include/stdio.h: Likewise.
26106         * include/stdlib.h: Likewise.
26107         * include/string.h: Likewise.
26108         * include/sys/stat.h: Likewise.
26109         * include/wctype.h: Likewise.
26110         * intl/l10nflist.c: Likewise.
26111         * libidn/idn-stub.c: Likewise.
26112         * libio/libioP.h: Likewise.
26113         * nptl/libc_multiple_threads.c: Likewise.
26114         * nptl/pthreadP.h: Likewise.
26115         * posix/regex_internal.h: Likewise.
26116         * resolv/res_hconf.c: Likewise.
26117         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26118         * sysdeps/arm/memmove.S: Likewise.
26119         * sysdeps/arm/sysdep.h: Likewise.
26120         * sysdeps/generic/_itoa.h: Likewise.
26121         * sysdeps/generic/symbol-hacks.h: Likewise.
26122         * sysdeps/gnu/errlist.awk: Likewise.
26123         * sysdeps/gnu/errlist.c: Likewise.
26124         * sysdeps/i386/i586/memcpy.S: Likewise.
26125         * sysdeps/i386/i586/memset.S: Likewise.
26126         * sysdeps/i386/i686/memcpy.S: Likewise.
26127         * sysdeps/i386/i686/memmove.S: Likewise.
26128         * sysdeps/i386/i686/mempcpy.S: Likewise.
26129         * sysdeps/i386/i686/memset.S: Likewise.
26130         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26131         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26132         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26133         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26134         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26135         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26136         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26137         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26138         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26139         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26140         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26141         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26142         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26143         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26144         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26145         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26146         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26147         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26148         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26149         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26150         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26151         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26152         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26153         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26154         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26155         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26156         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26157         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26158         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26159         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26160         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26161         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26163         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26164         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26165         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26166         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26167         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26168         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26169         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26170         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26171         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26172         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26173         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26174         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26175         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26176         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26177         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26178         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26179         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26180         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26181         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26182         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26183         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26184         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26185         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26186         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26187         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26188         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26189         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26190         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26191         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26192         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26193         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26194         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26195         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26196         * sysdeps/posix/closedir.c: Likewise.
26197         * sysdeps/posix/opendir.c: Likewise.
26198         * sysdeps/posix/readdir.c: Likewise.
26199         * sysdeps/posix/rewinddir.c: Likewise.
26200         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26201         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26202         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26203         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26204         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26205         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26206         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26207         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26208         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26209         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26211         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26212         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26213         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26214         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26215         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26216         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26217         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26218         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26219         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26220         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26221         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26222         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26223         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26224         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26225         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26226         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26227         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26228         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26230         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26232         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26235         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26236         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26237         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26238         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26239         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26240         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26241         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26242         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26243         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26244         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26245         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26246         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26247         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26248         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26249         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26250         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26251         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26252         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26253         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26254         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26255         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26256         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26257         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26258         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26259         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26260         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26261         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26262         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26263         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26264         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26265         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26266         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26267         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26268         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26269         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26270         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26271         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26272         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26273         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26274         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26275         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26276         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26277         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26278         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26279         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26280         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26281         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26282         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26283         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26284         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26285         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26286         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26287         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26288         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26289         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26290         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26291         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26292         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26293         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26294         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26295         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26296         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26297         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26298         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26299         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26300         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26301         * sysdeps/unix/alpha/sysdep.S: Likewise.
26302         * sysdeps/unix/alpha/sysdep.h: Likewise.
26303         * sysdeps/unix/make-syscalls.sh: Likewise.
26304         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26306         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26307         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26308         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26309         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26310         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26311         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26312         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26313         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26314         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26315         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26316         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26317         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26318         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26319         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26320         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26321         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26322         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26323         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26324         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26325         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26326         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26327         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26328         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26329         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26330         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26333         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26334         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26335         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26338         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26340         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26341         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26342         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26343         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26344         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26345         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26346         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26347         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26348         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26349         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26350         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26351         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26352         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26353         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26354         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26355         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26356         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26357         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26358         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26359         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26360         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26361         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26362         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26363         * sysdeps/x86_64/memcpy.S: Likewise.
26364         * sysdeps/x86_64/memmove.c: Likewise.
26365         * sysdeps/x86_64/memset.S: Likewise.
26366         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26367         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26368         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26369         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26370         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26371         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26372         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26373         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26374         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26375         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26376         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26377         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26378         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26379         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26380         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26381         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26382         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26383         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26384         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26385         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26386         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26387         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26388         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26389         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26390         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26391         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26392         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26393         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26394         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26395         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26396         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26397         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26398         * sysdeps/x86_64/strcmp.S: Likewise.
26400         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26402         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26403         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26404         * elf/rtld-Rules: Likewise.
26405         * elf/setup-vdso.h: Likewise.
26406         * include/assert.h: Likewise.
26407         * include/bits/stdlib-float.h: Likewise.
26408         * include/errno.h: Likewise.
26409         * include/sys/stat.h: Likewise.
26410         * include/unistd.h: Likewise.
26411         * sysdeps/aarch64/setjmp.S: Likewise.
26412         * sysdeps/alpha/setjmp.S: Likewise.
26413         * sysdeps/arm/__longjmp.S: Likewise.
26414         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26415         * sysdeps/arm/setjmp.S: Likewise.
26416         * sysdeps/arm/sysdep.h: Likewise.
26417         * sysdeps/generic/_itoa.h: Likewise.
26418         * sysdeps/generic/dl-sysdep.h: Likewise.
26419         * sysdeps/generic/ldsodefs.h: Likewise.
26420         * sysdeps/i386/dl-tls.h: Likewise.
26421         * sysdeps/i386/setjmp.S: Likewise.
26422         * sysdeps/m68k/setjmp.c: Likewise.
26423         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26424         * sysdeps/mach/hurd/opendir.c: Likewise.
26425         * sysdeps/posix/getcwd.c: Likewise.
26426         * sysdeps/posix/opendir.c: Likewise.
26427         * sysdeps/posix/profil.c: Likewise.
26428         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26429         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26430         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26431         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26432         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26433         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26434         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26435         * sysdeps/s390/dl-tls.h: Likewise.
26436         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26437         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26438         * sysdeps/sh/sh3/setjmp.S: Likewise.
26439         * sysdeps/sh/sh4/setjmp.S: Likewise.
26440         * sysdeps/unix/alpha/sysdep.h: Likewise.
26441         * sysdeps/unix/arm/sysdep.S: Likewise.
26442         * sysdeps/unix/i386/sysdep.S: Likewise.
26443         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26444         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26445         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26446         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26447         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26448         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26449         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26450         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26451         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26452         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26453         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26454         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26455         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26458         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26459         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26461         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26462         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26463         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26464         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26465         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26466         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26467         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26468         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26470         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26471         * sysdeps/x86_64/setjmp.S: Likewise.
26473         * include/math.h: Use IS_IN instead of IS_IN_libm.
26474         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26475         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26476         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26477         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26478         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26479         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26480         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26481         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26482         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26483         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26484         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26485         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26486         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26487         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26488         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26489         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26490         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26491         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26492         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26493         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26494         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26495         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26496         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26497         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26498         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26499         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26500         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26501         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26502         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26503         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26504         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26505         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26506         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26508         Likewise.
26509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26510         Likewise.
26511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26512         Likewise.
26513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26514         Likewise.
26515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26516         Likewise.
26517         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26518         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26519         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26520         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26521         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26522         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26528         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26529         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26530         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26531         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26532         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26533         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26534         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26535         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26536         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26537         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26538         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26539         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26540         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26541         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26543         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26545         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26546         * nptl/pthreadP.h: Likewise.
26547         * nptl_db/structs.def: Likewise.
26548         * sysdeps/arm/sysdep.h: Likewise.
26549         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26550         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26551         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26552         * sysdeps/unix/alpha/sysdep.h: Likewise.
26553         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26554         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26555         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26556         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26557         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26558         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26559         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26560         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26561         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26562         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26563         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26564         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26565         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26566         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26569         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26570         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26571         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26572         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26573         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26574         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26575         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26576         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26577         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26578         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26580         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26581         * nptl/pthreadP.h: Likewise.
26582         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26583         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26584         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26585         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26586         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26587         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26588         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26589         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26590         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26591         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26592         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26593         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26595         Likewise.
26596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26597         Likewise.
26598         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26600         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26602         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26603         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26604         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26605         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26607         * dlfcn/dladdr.c: Use IS_IN.
26608         * dlfcn/dladdr1.c: Likewise.
26609         * dlfcn/dlclose.c: Likewise.
26610         * dlfcn/dlerror.c: Likewise.
26611         * dlfcn/dlinfo.c: Likewise.
26612         * dlfcn/dlmopen.c: Likewise.
26613         * dlfcn/dlopen.c: Likewise.
26614         * dlfcn/dlsym.c: Likewise.
26615         * dlfcn/dlvsym.c: Likewise.
26617         * include/ifaddrs.h: Use IS_IN.
26618         * inet/check_pf.c: Likewise.
26619         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26620         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26622         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26623         IS_IN_ldconfig.
26624         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26625         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26627         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26628         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26629         IS_IN (libc).
26631         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26633         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26634         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26635         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26636         * include/libc-symbols.h (IS_IN_LIB): New macro.
26637         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26638         * include/netdb.h: Likewise.
26639         * include/stap-probe.h: Remove all uses of IN_LIB.
26641         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26642         instead of IN_MODULE.
26643         * include/libc-symbols.h (IN_MODULE): Define using
26644         MODULE_NAME.
26645         (PASTE_NAME, PASTE_NAME1): New macros.
26646         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26647         of IN_LIB.
26648         (STAP_PROBE_ASM): Likewise.
26650 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26652         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26653         __mach_init in dlopened libc.
26655 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26657         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26658         * sysdeps/arm/preconfigure: Regenerate.
26660 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26662         * nptl/pthread_create.c (__pthread_create_2_1): Set
26663         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26664         when copying values from IATTR into PD.
26666 2014-11-21  Will Newton  <will.newton@linaro.org>
26667             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26669         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26670         Refactor inline-asm.  Also add comment.
26672         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26673         ElfW macro instead of hardcoded Elf64 types.
26674         (la_aarch64_gnu_pltenter): Likewise.
26675         * sysdeps/aarch64/dl-machine.h
26676         (elf_machine_runtime_setup): Use ElfW(Addr).
26678         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26679         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26680         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26681         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26682         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26683         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26684         (R_AARCH64_TLS_DTPMOD): This.
26685         (R_AARCH64_TLS_DTPREL64): Rename to ...
26686         (R_AARCH64_TLS_DTPREL): This.
26687         (R_AARCH64_TLS_TPREL64): Rename to ...
26688         (R_AARCH64_TLS_TPREL): This.
26689         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26690         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26691         R_AARCH64_TLS_TPREL64.
26692         (elf_machine_rela): Likewise.
26694 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26696         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26697         by setting it to 0.  64b atomics are not supported currently.
26699 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26701         [BZ #16469]
26702         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26703         search domain names.
26705 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26707         [BZ #16469]
26708         * NEWS: Update.
26709         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26710         trailing dot.
26711         * posix/tst-getaddrinfo5.c: New.
26712         * posix/Makefile (tests): Add it.
26714 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26716         [BZ #14498]
26717         * NEWS: Fixed.
26718         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26719         after parsing line but before break_if_match.
26720         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26721         if there is a protocol mismatch.
26723 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26725         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26726         because the potential race is on the user-supplied stream.
26728 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26730         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26731         string literal if not passed a buffer.
26732         * manual/job.texi (ctermid): Update reasoning, note deviation
26733         from posix, suggest mtasurace when not passed a buffer, for
26734         future non-preliminary safety notes.
26736 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26738         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26739         of not passing it a buffer.
26740         Reported by Peng Haitao.
26742 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26744         * manual/Makefile ($(objpfx)stamp-summary): Require
26745         check-safety.sh to pass.
26746         * manual/check-safety.sh: Wish for verification that every
26747         @deftypefn and @deftypefun is followed by a @safety remark.
26749 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26751         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26753         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26754         PTHREAD_CANCEL_ASYNCHRONOUS.
26755         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26756         send SIGCANCEL.
26758         * nptl/default-sched.h: New file.
26759         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26760         * nptl/pthread_create.c: Include it.
26761         (__pthread_create_2_1): Use collect_default_sched instead of making
26762         Linux syscalls here directly.
26764 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26766         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26767         __pthread_once): Use C11 atomics.
26769 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26771         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26773 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26775         * include/atomic.h (__atomic_link_error, __atomic_check_size,
26776         atomic_thread_fence_acquire, atomic_thread_fence_release,
26777         atomic_thread_fence_seq_cst, atomic_load_relaxed,
26778         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26779         atomic_compare_exchange_weak_relaxed,
26780         atomic_compare_exchange_weak_acquire,
26781         atomic_compare_exchange_weak_release,
26782         atomic_exchange_acquire, atomic_exchange_release,
26783         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26784         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26785         atomic_fetch_and_acquire,
26786         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26788 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26790         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26791         USE_ATOMIC_COMPILER_BUILTINS): Define.
26792         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26793         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26794         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26795         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26796         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26797         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26798         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26799         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26800         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26801         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26802         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26803         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26804         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26805         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26806         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26807         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26808         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26809         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26810         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26811         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26812         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26813         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26814         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26815         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26816         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26817         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26818         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26819         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26820         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26821         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26822         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26823         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26824         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26825         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26826         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26827         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26828         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26829         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26830         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26831         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26833 2014-11-19  Roland McGrath  <roland@hack.frob.com>
26835         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26836         the sched_priority value here.  It was already checked when the user
26837         called pthread_attr_setschedparam.
26839         * nptl/tst-bad-schedattr.c: New file.
26840         * nptl/Makefile (tests): Add it.
26842 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
26843             Florian Weimer  <fweimer@redhat.com>
26844             Joseph Myers  <joseph@codesourcery.com>
26845             Adam Conrad  <adconrad@0c3.net>
26846             Andreas Schwab  <schwab@suse.de>
26847             Brooks  <bmoses@google.com>
26849         [BZ #17625]
26850         * wordexp-test.c (__dso_handle): Add prototype.
26851         (__register_atfork): Likewise.
26852         (__app_register_atfork): New function.
26853         (registered_forks): New global.
26854         (register_fork): New function.
26855         (test_case): Add 3 new tests for WRDE_CMDSUB.
26856         (main): Call __app_register_atfork.
26857         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26858         fork count is non-zero fail the test.
26859         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26860         is set.
26861         (parse_dollars): Remove check for WRDE_NOCMD.
26862         (parse_dquote): Likewise.
26864 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26866         * Makeconfig (built-modules): List non-library modules to be
26867         built.
26868         (module-cppflags): Include libc-modules.h for
26869         everything except shlib-versions.v.i.
26870         (CPPFLAGS): Use it.
26871         (before-compile): Add libc-modules.h.
26872         ($(common-objpfx)libc-modules.h,
26873         $(common-objpfx)libc-modules.stmp): New targets.
26874         (common-generated): Add libc-modules.h and libc-modules.stmp.
26875         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26876         * include/libc-symbols.h: Don't include libc-modules.h.
26877         * include/libc-modules.h: Remove file.
26878         * scripts/gen-libc-modules.awk: New script to generate
26879         libc-modules.h.
26880         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26881         Depend on libc-modules.stmp.
26883         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26885         * Makeconfig (in-module): Get value of libof set for the
26886         translation unit.
26887         (CPPFLAGS): Use $(in-module).
26888         * Makerules: Don't suffix routine names for nonlib.
26889         * include/libc-modules.h: New file.
26890         * include/libc-symbols.h: Include libc-modules.h
26891         (IS_IN): New macro to replace IS_IN_* macros.
26892         * elf/Makefile: Set libof-* for each routine.
26893         * elf/rtld-Rules: Likewise.
26894         * extra-modules.mk: Likewise.
26895         * iconv/Makefile: Likewise.
26896         * iconvdata/Makefile: Likewise.
26897         * locale/Makefile: Likewise.
26898         * malloc/Makefile: Likewise.
26899         * nss/Makefile: Likewise.
26900         * sysdeps/gnu/Makefile: Likewise.
26901         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26902         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26903         * sysdeps/s390/s390-64/Makefile: Likewise.
26904         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26905         CPPFLAGS for nscd instead of nonlib.
26907 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26909         * nptl/createthread.c: New file.
26911         * nptl/createthread.c: Moved ...
26912         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26914         * nptl/createthread.c: Add proper top-line comment.
26915         (do_clone): Folded into ...
26916         (create_thread): ... here.  Take new arguments STOPPED_START and
26917         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26918         increment __nptl_threads, do event-reporting logic, do
26919         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26920         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26921         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26922         just send SIGCANCEL.
26923         * nptl/pthread_create.c: Forward-declare create_thread before
26924         including createthread.c.
26925         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26926         declaration, and new macro START_THREAD_SELF to replace argument.
26927         Remove return statement.
26928         (report_thread_creation): New function.
26929         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26930         synchronization logic, and __nptl_nthreads increment here, around
26931         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26932         PD->parent_cancelhandling here, before create_thread.  When
26933         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26934         __deallocate_stack, and ENOMEM translation here.
26936 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26938         [BZ #17616]
26939         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26940         (mptwo): Rename to __mptwo.
26941         (__inv): Use __mptwo instead of mptwo.
26942         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26943         (mptwo): Rename to __mptwo.
26944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26945         of mpone and __mptwo instead of mptwo.
26946         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26947         instead of mpone.
26948         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26949         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26950         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26951         of mpone and __mptwo instead of mptwo.
26952         (__mpranred): Use __mpone instead of mpone.
26953         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26954         variable.
26955         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26956         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26957         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26958         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26959         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26960         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26961         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26962         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26963         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26964         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26965         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26966         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26967         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26968         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26969         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26970         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26971         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26972         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26973         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26975 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26977         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26978         replace BSD Handler xref with BSD Signal Handling.
26980 2014-11-17  Richard Henderson  <rth@redhat.com>
26982         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26983         (_FP_PACK_RAW_2): Remove.
26984         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26985         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26986         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26987         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26988         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26989         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26990         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26991         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26992         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26993         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26994         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26995         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26996         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26997         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26998         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26999         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27001 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27003         * signal/signal.h [__USE_MISC]
27004         (struct sigvec): Remove type.
27005         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27006         (sigvec): Remove declaration.
27007         * sysdeps/posix/sigvec.c: Moved ...
27008         * signal/sigvec.c: ... here, replacing old file.
27009         (struct sigvec): New type, copied from old signal.h definition.
27010         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27011         (__sigvec): Convert definition to prototype.
27012         (sigvec): Replace weak_alias with compat_symbol.
27013         * signal/Versions (libc: GLIBC_2.21): New version set.
27014         * include/signal.h: Remove __sigvec declaration.
27015         * sysdeps/unix/bsd/sigvec.c: Remove file.
27016         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27017         * manual/signal.texi (BSD Handler): Remove subsection.
27018         Move siginterrupt up to ...
27019         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27020         (Blocking in BSD): Fold subsection into its parent.
27021         * NEWS: Mention sigvec removal.
27023 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27025         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27026         (DLA_FMS): Make definition conditional only on [__FMA4__].
27027         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27028         definition.
27030         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27031         Make definition conditional only on [PROF].
27032         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27033         definition.
27034         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27035         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27037         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27038         !__GNUC__].
27039         * include/signal.h (__sigpause): Move declaration above call to
27040         libc_hidden_proto.
27041         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27042         variable.
27043         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27044         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27046 2014-11-14  David S. Miller  <davem@davemloft.net>
27048         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27049         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27051 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27053         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27054         * configure: Regenerated.
27055         * manual/install.texi (Tools for Compilation): Document a
27056         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27057         compiler verified to work.
27058         * INSTALL: Regenerated.
27060         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27061         redeclare with asm name.
27062         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27063         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27064         including <string.h>.
27065         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27066         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27067         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27068         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27069         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27070         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27071         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27073 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27075         * stdlib/strtol.c (__strtol): Use prototype definition.
27077         [BZ #17594]
27078         * stdlib/strtol.c (SYM__): New macro.
27079         (SYM__1): Likewise.
27080         (__strtol): Likewise.
27081         (strtol): Rename to __strtol and define as weak alias of
27082         __strtol.  Use libc_hidden_weak.
27084 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27086         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27087         Use numbered labels in inline assembly.
27089 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27091         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27092         Add setjmp LIBC_PROBE.
27093         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27094         Likewise.
27095         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27096         Add longjmp, longjmp_target LIBC_PROBE.
27097         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27098         Likewise.
27100 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27102         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27103         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27104         to get rid of unused variable warning.
27106 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27108         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27109         Check for unwind_backtrace ==  NULL only in SHARED case.
27110         (__backchain_backtrace): Compile only in SHARED case.
27111         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27112         Likewise.
27113         (__backchain_backtrace): Declare as static.
27115 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27117         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27118         (__libc_multiple_threads_ptr): Variable moved ...
27119         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27121 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27123         * conform/GlibcConform.pm: New file.
27124         * conform/conformtest.pl: Use GlibcConform module.
27125         * conform/linknamespace.pl: New file.
27126         * conform/list-header-symbols.pl: Likewise.
27127         * conform/Makefile (linknamespace-symlists-base): New variable.
27128         (linknamespace-symlists-tests): Likewise.
27129         (linknamespace-header-base): Likewise.
27130         (linknamespace-header-tests): Likewise.
27131         (tests-special): Add new tests.
27132         ($(linknamespace-symlists-tests)): New rule.
27133         (linknamespace-libs): New variable.
27134         ($(objpfx)symlist-stdlibs): New rule.
27135         ($(linknamespace-header-tests)): Likewise.
27136         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27137         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27138         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27139         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27140         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27141         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27142         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27143         (test-xfail-ISO/math.h/linknamespace): Likewise.
27144         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27145         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27146         (test-xfail-ISO/time.h/linknamespace): Likewise.
27147         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27148         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27149         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27150         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27151         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27152         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27153         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27154         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27155         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27156         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27157         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27158         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27159         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27160         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27161         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27162         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27163         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27164         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27165         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27166         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27167         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27168         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27169         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27170         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27171         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27172         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27173         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27174         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27175         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27176         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27177         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27178         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27179         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27180         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27181         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27182         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27183         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27184         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27185         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27186         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27187         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27188         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27189         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27190         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27191         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27192         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27193         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27194         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27195         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27196         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27197         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27198         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27199         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27200         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27201         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27202         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27203         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27204         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27205         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27206         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27207         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27208         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27209         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27210         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27211         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27212         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27213         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27214         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27215         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27216         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27217         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27218         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27219         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27220         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27221         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27222         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27223         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27224         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27225         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27226         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27227         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27228         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27229         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27230         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27231         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27232         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27233         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27234         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27235         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27236         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27237         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27238         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27239         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27240         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27241         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27242         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27243         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27244         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27245         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27246         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27247         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27248         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27249         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27250         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27251         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27252         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27253         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27254         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27255         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27256         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27257         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27258         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27259         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27260         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27261         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27262         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27263         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27264         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27265         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27266         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27267         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27268         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27269         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27270         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27271         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27272         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27273         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27274         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27275         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27276         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27277         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27278         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27279         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27280         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27281         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27282         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27283         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27284         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27285         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27286         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27287         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27288         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27289         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27290         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27291         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27292         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27293         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27294         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27295         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27296         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27298         [BZ #17589]
27299         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27300         of fgets_unlocked.
27302         [BZ #17585]
27303         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27304         (memmem): Rename to __memmem and define as weak alias of
27305         __memmem.  Use libc_hidden_weak.
27306         (__memmem): Use libc_hidden_def.
27307         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27308         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27309         memmem.
27311         [BZ #17582]
27312         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27313         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27314         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27315         and define as weak alias of __fgets_unlocked.  Use
27316         libc_hidden_weak.
27317         (__fgets_unlocked): Use libc_hidden_def.
27318         * include/stdio.h (__fgets_unlocked): Declare.  Use
27319         libc_hidden_proto.
27320         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27321         __fgets_unlocked instead of fgets_unlocked.
27322         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27323         (GET_NPROCS_CONF_PARSER): Likewise.
27324         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27325         (GET_NPROCS_CONF_PARSER): Likewise.
27327         [BZ #17574]
27328         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27329         weak alias of __wmemset.  Use libc_hidden_weak.
27330         (__wmemset): Use libc_hidden_def.
27331         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27332         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27333         of wmemset.
27335         [BZ #17573]
27336         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27337         with asm name __mempcpy.
27338         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27340         [BZ #17572]
27341         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27342         and define as weak alias of __rawmemchr.
27343         (__rawmemchr): Do not define as strong alias of rawmemchr.
27345         [BZ #17571]
27346         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27347         alias of __qsort_r.
27348         (qsort): Call __qsort_r instead of qsort_r.
27349         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27350         (__qsort_r): Declare.  Call libc_hidden_proto.
27351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27352         instead of qsort_r.
27353         * nscd/gai.c (__qsort_r): Define to qsort_r.
27354         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27355         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27356         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27358         [BZ #17570]
27359         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27360         define as weak alias of __malloc_info.
27362         [BZ #17584]
27363         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27364         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27365         (__rewinddir): Use libc_hidden_def.
27366         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27367         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27368         (__rewinddir): Use libc_hidden_def.
27369         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27370         weak alias of __rewinddir.  Don't use libc_hidden_def.
27371         (__rewinddir): Use libc_hidden_def.
27372         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27373         (__rewinddir): Use libc_hidden_proto.
27374         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27375         rewinddir.
27376         (__getcwd): Use __rewinddir instead of rewinddir.
27378         [BZ #17583]
27379         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27380         alias of __fileno.  Use libc_hidden_weak.
27381         (__fileno): Use libc_hidden_def.
27382         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27383         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27384         alias of __ftello.
27385         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27386         __ftello.
27387         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27388         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27389         libc_hidden_def.
27390         (fread_unlocked): Don't use libc_hidden_ver.
27391         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27392         and define as weak alias of __fread_unlocked.  Don't use
27393         libc_hidden_def.
27394         (__fread_unlocked): Use libc_hidden_def.
27395         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27396         (ftello): Don't use libc_hidden_proto.
27397         (__ftello): Declare.  Use libc_hidden_proto.
27398         (fread_unlocked): Don't use libc_hidden_proto.
27399         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27400         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27401         and __ftello instead of fileno, fread_unlocked and ftello.
27403 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27405         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27406         GOT12.
27407         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27408         Likewise.
27409         (_dl_start_user): Likewise.
27410         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27412 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27413             Siddhesh Poyarekar  <siddhesh@redhat.com>
27415         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27416         Move argv and envp down instead of moving argc up.
27417         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27419 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27421         [BZ #17506]
27422         * test-skeleton.c (main): Return successful if one of
27423         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27424         * string/tst-strcoll-overflow.c: Define expected status.
27426 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27428         [BZ #17475]
27429         * locale/iso-639.def: Define Bhili and Tulu language codes.
27431 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27433         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27435 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27437         [BZ #17555]
27438         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27440 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27442         * configure.ac: Updated check of minimal required version to
27443         2.22.
27444         * manual/install.texi (Tools for Compilation): Updated version
27445         number.
27446         * configure: Regenerated.
27447         * INSTALL: Likewise.
27449 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27451         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27452         __tls_get_addr.
27454 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27456         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27457         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27458         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27459         libc_hidden_weak.
27460         (waitpid): Define as alias of __waitpid.
27461         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27462         __waitpid.
27463         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27464         libc_hidden_weak.
27465         (waitpid): Define as alias of __waitpid.
27466         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27467         __libc_waitpid alias.
27468         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27469         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27470         Likewise.
27471         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27472         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27473         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27474         alias.
27475         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27476         __waitpid.
27477         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27478         libc_hidden_weak.
27479         (waitpid): Define as alias of __waitpid.
27481 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27483         * manual/llio.texi: Add comment that write safety has been
27484         fixed in Linux.
27486         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27487         (localplt-build-dso): Add elf/ld.so.
27488         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27489         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27490         and free for ld.so.
27491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27492         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27494         Likewise.
27495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27496         Likewise.
27497         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27498         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27499         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27500         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27501         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27502         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27503         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27504         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27505         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27506         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27507         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27509 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27511         [BZ #14132]
27512         * include/libc-symbols.h (INTUSE): Remove macro.
27513         (INTDEF): Likewise.
27514         (INTVARDEF): Likewise.
27515         (_INTVARDEF): Likewise.
27516         (INTDEF2): Likewise.
27517         (INTVARDEF2): Likewise.
27518         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27519         rtld_hidden_def instead of INTVARDEF.
27520         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27521         (_dl_starting_up_internal): Remove declaration.
27522         (_dl_starting_up): Use rtld_hidden_proto.
27523         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27524         declaration.
27525         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27526         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27527         _dl_starting_up.
27528         * elf/dl-writev.h (_dl_writev): Likewise.
27529         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27530         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27531         _dl_starting_up_internal.
27533 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27535         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27536         test-skeleton.c.
27538 2014-11-05  Will Newton  <will.newton@linaro.org>
27540         * benchtests/Makefile: (bench-malloc): Add malloc thread
27541         scalability benchmark.
27542         * benchtests/bench-malloc-threads.c: New file.
27544 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27546         * sysdeps/aarch64/strchrnul.S: New file.
27548 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27550         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27551         definition.
27552         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27553         Likwise.
27554         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27555         Likewise.
27556         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27557         Likewise.
27558         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27559         Likewise.
27560         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27561         Likewise.
27563 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27565         * catgets/test-gencat.c: Use test-skeleton.c.
27566         * catgets/tst-catgets.c: Likewise.
27567         * csu/tst-empty.c: Likewise.
27568         * elf/tst-audit2.c: Likewise.
27569         * elf/tst-global1.c: Likewise.
27570         * elf/tst-pathopt.c: Likewise.
27571         * elf/tst-piemod1.c: Likewise.
27572         * elf/tst-tls10.c: Likewise.
27573         * elf/tst-tls11.c: Likewise.
27574         * elf/tst-tls12.c: Likewise.
27575         * gnulib/tst-gcc.c: Likewise.
27576         * iconvdata/tst-e2big.c: Likewise.
27577         * iconvdata/tst-loading.c: Likewise.
27578         * iconv/tst-iconv1.c: Likewise.
27579         * iconv/tst-iconv2.c: Likewise.
27580         * inet/test-inet6_opt.c: Likewise.
27581         * inet/tst-gethnm.c: Likewise.
27582         * inet/tst-network.c: Likewise.
27583         * inet/tst-ntoa.c: Likewise.
27584         * intl/tst-codeset.c: Likewise.
27585         * intl/tst-gettext2.c: Likewise.
27586         * intl/tst-gettext3.c: Likewise.
27587         * intl/tst-ngettext.c: Likewise.
27588         * intl/tst-translit.c: Likewise.
27589         * io/test-stat.c: Likewise.
27590         * libio/test-fmemopen.c: Likewise.
27591         * libio/tst-freopen.c: Likewise.
27592         * libio/tst-sscanf.c: Likewise.
27593         * libio/tst-ungetwc1.c: Likewise.
27594         * libio/tst-ungetwc2.c: Likewise.
27595         * libio/tst-widetext.c: Likewise.
27596         * localedata/tst-ctype.c: Likewise.
27597         * localedata/tst-digits.c: Likewise.
27598         * localedata/tst-leaks.c: Likewise.
27599         * localedata/tst-mbswcs1.c: Likewise.
27600         * localedata/tst-mbswcs2.c: Likewise.
27601         * localedata/tst-mbswcs3.c: Likewise.
27602         * localedata/tst-mbswcs4.c: Likewise.
27603         * localedata/tst-mbswcs5.c: Likewise.
27604         * localedata/tst-setlocale.c: Likewise.
27605         * localedata/tst-trans.c: Likewise.
27606         * localedata/tst-wctype.c: Likewise.
27607         * localedata/tst-xlocale1.c: Likewise.
27608         * login/tst-grantpt.c: Likewise.
27609         * malloc/tst-calloc.c: Likewise.
27610         * malloc/tst-malloc.c: Likewise.
27611         * malloc/tst-mallocstate.c: Likewise.
27612         * malloc/tst-mcheck.c: Likewise.
27613         * malloc/tst-mtrace.c: Likewise.
27614         * malloc/tst-obstack.c: Likewise.
27615         * math/atest-exp2.c: Likewise.
27616         * math/atest-exp.c: Likewise.
27617         * math/atest-sincos.c: Likewise.
27618         * math/test-matherr.c: Likewise.
27619         * math/test-misc.c: Likewise.
27620         * math/test-powl.c: Likewise.
27621         * math/tst-definitions.c: Likewise.
27622         * misc/tst-dirname.c: Likewise.
27623         * misc/tst-efgcvt.c: Likewise.
27624         * misc/tst-fdset.c: Likewise.
27625         * misc/tst-hsearch.c: Likewise.
27626         * misc/tst-mntent2.c: Likewise.
27627         * nptl/tst-sem7.c: Likewise.
27628         * nptl/tst-sem8.c: Likewise.
27629         * nptl/tst-sem9.c: Likewise.
27630         * nss/test-netdb.c: Likewise.
27631         * posix/tst-fnmatch.c: Likewise.
27632         * posix/tst-getlogin.c: Likewise.
27633         * posix/tst-gnuglob.c: Likewise.
27634         * posix/tst-mmap.c: Likewise.
27635         * pwd/tst-getpw.c: Likewise.
27636         * resolv/tst-inet_ntop.c: Likewise.
27637         * rt/tst-timer.c: Likewise.
27638         * stdio-common/test-fseek.c: Likewise.
27639         * stdio-common/test-popen.c: Likewise.
27640         * stdio-common/test-vfprintf.c: Likewise.
27641         * stdio-common/tst-cookie.c: Likewise.
27642         * stdio-common/tst-fileno.c: Likewise.
27643         * stdio-common/tst-gets.c: Likewise.
27644         * stdio-common/tst-obprintf.c: Likewise.
27645         * stdio-common/tst-perror.c: Likewise.
27646         * stdio-common/tst-sprintf2.c: Likewise.
27647         * stdio-common/tst-sprintf3.c: Likewise.
27648         * stdio-common/tst-sprintf.c: Likewise.
27649         * stdio-common/tst-swprintf.c: Likewise.
27650         * stdio-common/tst-tmpnam.c: Likewise.
27651         * stdio-common/tst-unbputc.c: Likewise.
27652         * stdio-common/tst-wc-printf.c: Likewise.
27653         * stdlib/tst-environ.c: Likewise.
27654         * stdlib/tst-fmtmsg.c: Likewise.
27655         * stdlib/tst-limits.c: Likewise.
27656         * stdlib/tst-rand48-2.c: Likewise.
27657         * stdlib/tst-rand48.c: Likewise.
27658         * stdlib/tst-random2.c: Likewise.
27659         * stdlib/tst-random.c: Likewise.
27660         * stdlib/tst-strtol.c: Likewise.
27661         * stdlib/tst-strtoll.c: Likewise.
27662         * stdlib/tst-tls-atexit.c: Likewise.
27663         * stdlib/tst-xpg-basename.c: Likewise.
27664         * string/test-ffs.c: Likewise.
27665         * string/tst-bswap.c: Likewise.
27666         * string/tst-inlcall.c: Likewise.
27667         * string/tst-strtok.c: Likewise.
27668         * string/tst-strxfrm.c: Likewise.
27669         * sysdeps/x86_64/tst-audit10.c: Likewise.
27670         * sysdeps/x86_64/tst-audit3.c: Likewise.
27671         * sysdeps/x86_64/tst-audit4.c: Likewise.
27672         * sysdeps/x86_64/tst-audit5.c: Likewise.
27673         * time/tst-ftime_l.c: Likewise.
27674         * time/tst-getdate.c: Likewise.
27675         * time/tst-mktime3.c: Likewise.
27676         * time/tst-mktime.c: Likewise.
27677         * time/tst-posixtz.c: Likewise.
27678         * time/tst-strptime2.c: Likewise.
27679         * time/tst-strptime3.c: Likewise.
27680         * wcsmbs/tst-btowc.c: Likewise.
27681         * wcsmbs/tst-mbrtowc.c: Likewise.
27682         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27683         * wcsmbs/tst-wchar-h.c: Likewise.
27684         * wcsmbs/tst-wcpncpy.c: Likewise.
27685         * wcsmbs/tst-wcrtomb.c: Likewise.
27686         * wcsmbs/tst-wcsnlen.c: Likewise.
27687         * wcsmbs/tst-wcstof.c: Likewise.
27689 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27691         [BZ #14132]
27692         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27693         INTDEF.
27694         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27695         declaration.
27696         (_dl_mcount): Use rtld_hidden_proto.
27697         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27698         _dl_mcount.
27699         * elf/rtld.c (_rtld_global_ro): Likewise.
27701         [BZ #14132]
27702         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27703         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27704         of _dl_init_internal.
27705         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27706         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27707         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27708         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27709         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27710         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27711         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27712         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27713         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27714         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27715         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27716         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27717         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27718         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27719         * sysdeps/tile/dl-start.S (_start): Likewise.
27720         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27721         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27723         [BZ #14132]
27724         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27725         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27726         (rtld_progname): Make macro definition unconditional.
27727         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27728         INTDEF.
27729         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27730         (dl_main): Likewise.
27731         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27732         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27733         instead of _dl_argv_internal.
27734         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27735         __GI__dl_argv instead of INTUSE(_dl_argv).
27736         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27737         __GI__dl_argv instead of _dl_argv_internal.
27739         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27740         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27741         macro.
27742         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27743         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27744         New macro.
27745         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27746         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27747         macro.
27748         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27749         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27751 2014-11-04  Andreas Schwab  <schwab@suse.de>
27753         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27755 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27757         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27758         mtvsrd instruction in binary form.
27760 2014-11-03  Andreas Schwab  <schwab@suse.de>
27762         [BZ #17522]
27763         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27764         for less than MB_LEN_MAX use a local buffer of that size.
27765         * libio/tst-fputws.c: New file.
27766         * libio/Makefile (tests): Add tst-fputws.
27768 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27770         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27771         the size of the fpu_fr.fpu_dregs[] array.
27773 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
27775         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27776         (__nanosleep): Do not define as alias.
27777         (nanosleep): Define as alias of __nanosleep.
27778         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27779         __libc_nanosleep name.
27781 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27783         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27784         install.texi in comment.
27786 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27788         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27789         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27790         ... add here and use lwsync or sync ...
27791         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27792         ... and add here using lwsync.
27794 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27796         * elf/dl-machine-reject-phdr.h: New file.
27797         * elf/dl-load.c: #include that.
27798         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27799         if that returned true.
27801 2014-10-31  Roland McGrath  <roland@hack.frob.com>
27803         [BZ #17496]
27804         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27805         gen-as-const-headers chunk.  Add a big scare comment after the last
27806         safe place to touch before-compile.
27808 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27810         * manual/install.texi (Tools for Compilation): Update autoconf
27811         version requirements.
27812         * INSTALL: Regenerated.
27814         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27815         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27816         (__libc_pselect): Likewise.
27818         [BZ #14138]
27819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27824 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27826         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27827         correct barrier instruction.
27828         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27829         Likewise.
27830         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27831         Likewise.
27833 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27835         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27836         after defining inlines.  Instead, just use parens to defeat macro
27837         expansion of __isctype in its declaration.
27839 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27841         * include/sys/uio.h (__libc_readv): Remove declaration.
27842         (__libc_writev): Likewise.
27843         * misc/readv.c (__libc_readv): Rename to __readv.
27844         (__readv): Do not define as alias.
27845         (readv): Define as alias of __readv.
27846         * misc/writev.c (__libc_writev): Rename to __writev.
27847         (__writev): Do not define as alias.
27848         (writev): Define as alias of __writev.
27849         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27850         (__readv): Do not define as alias.
27851         (readv): Define unconditionally as alias of __readv.
27852         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27853         (__writev): Do not define as alias.
27854         (writev): Define unconditionally as alias of __writev.
27855         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27856         name.
27857         (writev): Do not define __libc_writev name.
27859 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27861         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27862         (convert_charseq): New function, broken out of ...
27863         (use_from_charmap): ... here.  Call it.
27864         (use_to_charmap): Use convert_charseq and free instead of duplicating
27865         its code with a variable-length stack struct.
27867 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27869         * include/fcntl.h (__libc_creat): Remove declaration.
27870         * io/creat.c (__libc_creat): Rename to creat.
27871         (creat): Do not define as alias.
27872         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27873         of creat instead of __libc_creat.
27874         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27875         to creat.
27876         (creat): Do not define as alias.
27877         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27878         __libc_creat.
27879         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27880         __libc_creat name.
27881         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27882         Likewise.
27884 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27886         * manual/llio.texi: Add comments discussing why write() may be
27887         considered MT-unsafe on Linux.
27889 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27891         * dl-load.c (local_strdup): Remove.
27892         (expand_dynamic_string_token): Use __strdup.
27893         (decompose_rpath): Likewise.
27894         (_dl_map_object): Likewise.
27896 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27898         [BZ #14132]
27899         * sysdeps/generic/unwind-dw2-fde.c
27900         (__register_frame_info_bases_internal): Do not declare.
27901         (__register_frame_info_table_bases_internal): Likewise.
27902         (__deregister_frame_info_bases_internal): Likewise.
27903         (__register_frame_info_bases): Declare and use hidden_proto before
27904         definition.  Use hidden_def instead of INTDEF.
27905         (__register_frame_info_table_bases): Likewise.
27906         (__deregister_frame_info_bases): Likewise.
27907         (__register_frame_info): Do not use INTUSE.
27908         (__register_frame): Likewise.
27909         (__register_frame_info_table): Likewise.
27910         (__register_frame_table): Likewise.
27911         (__deregister_frame_info): Likewise.
27912         (__deregister_frame): Likewise.
27914 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27916         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27917         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27918         not undefine.
27919         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27920         Likewise.
27921         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27922         Likewise.
27924 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27926         [BZ #14138]
27927         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27928         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27929         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27930         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27931         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27932         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27933         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27934         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27935         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27936         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27937         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27938         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27939         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27940         syscall.
27941         (setfsuid): Likewise.
27942         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27943         (setfsuid): Likewise.
27944         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27945         (setfsuid): Likewise.
27946         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27947         Likewise.
27948         (setfsuid): Likewise.
27949         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27950         (setfsuid): Likewise.
27951         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27952         Likewise.
27953         (setfsuid): Likewise.
27955 2014-10-27  Andreas Schwab  <schwab@suse.de>
27957         [BZ #17501]
27958         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27959         check for Slow_SSE4_2 feature bit.
27960         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27961         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27962         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27963         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27965 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27967         * configure.ac: Validate compiler version with a empirical test of
27968         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27969         $CC -v output.
27970         * configure: Regenerated.
27972         * inet/htons.c (htons): Prototypify.
27973         * inet/htonl.c (htonl): Likewise.
27975 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27977         * string/strncat.c (strncat): Improve performance by using strlen.
27979 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27981         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27983 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27985         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27986         Call libc_fetestexcept_aarch64.
27988 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27990         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27991         Call libc_feholdexcept_aarch64.
27993 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27995         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27996         Call get_rounding_mode.
27998 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28000         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28001         Simplify logic.
28003 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28005         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28006         Simplify logic.
28008 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28010         [BZ #14138]
28011         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28012         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28013         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28014         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28015         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28016         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28017         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28018         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28019         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28020         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28021         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28022         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28023         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28024         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28025         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28026         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28027         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28028         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28029         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28030         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28031         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28032         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28033         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28034         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28035         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28036         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28037         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28038         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28039         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28040         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28041         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28042         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28043         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28044         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28045         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28046         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28047         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28048         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28049         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28050         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28051         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28052         syscall.
28053         (geteuid): Likewise.
28054         (getgid): Likewise.
28055         (getuid): Likewise.
28056         (getresgid): Likewise.
28057         (getresuid): Likewise.
28058         (getgroups): Likewise.
28059         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28060         (geteuid): Likewise.
28061         (getgid): Likewise.
28062         (getuid): Likewise.
28063         (getresgid): Likewise.
28064         (getresuid): Likewise.
28065         (getgroups): Likewise.
28066         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28067         (geteuid): Likewise.
28068         (getgid): Likewise.
28069         (getuid): Likewise.
28070         (getresgid): Likewise.
28071         (getresuid): Likewise.
28072         (getgroups): Likewise.
28073         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28074         Likewise.
28075         (geteuid): Likewise.
28076         (getgid): Likewise.
28077         (getuid): Likewise.
28078         (getresgid): Likewise.
28079         (getresuid): Likewise.
28080         (getgroups): Likewise.
28081         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28082         (geteuid): Likewise.
28083         (getgid): Likewise.
28084         (getuid): Likewise.
28085         (getresgid): Likewise.
28086         (getresuid): Likewise.
28087         (getgroups): Likewise.
28088         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28089         Likewise.
28090         (geteuid): Likewise.
28091         (getgid): Likewise.
28092         (getuid): Likewise.
28093         (getgroups): Likewise.
28095         [BZ #14138]
28096         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28097         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28098         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28099         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28100         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28101         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28102         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28103         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28104         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28105         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28106         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28107         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28108         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28109         __chown.
28110         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28111         (lchown): Likewise.
28112         (fchown): Likewise.
28113         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28114         Likewise.
28115         (lchown): Likewise.
28116         (fchown): Likewise.
28117         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28118         (lchown): Likewise.
28119         (fchown): Likewise.
28120         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28121         Likewise.
28122         (lchown): Likewise.
28123         (fchown): Likewise.
28125 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28127         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28128         Simplify logic.
28130 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28132         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28133         Cleanup logic.
28135 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28137         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28138         Remove unused include.
28140 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28142         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28143         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28144         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28145         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28147 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28148             Helge Deller <deller@gmx.de>
28150         [BZ #17508]
28151         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28152         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28153         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28155 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28157         [BZ #14132]
28158         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28159         Remove macro definition.
28160         (__ashrdi3_v_glibc20): Likewise.
28161         (__lshrdi3_v_glibc20): Likewise.
28162         (__cmpdi2_v_glibc20): Likewise.
28163         (__ucmpdi2_v_glibc20): Likewise.
28164         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28165         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28166         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28167         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28168         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28169         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28171 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28173         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28174         old GNU extension [0] syntax.
28175         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28176         alloca rather than an array member with variable length.
28177         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28178         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28179         (parse_opt): ... here.  Likewise use alloca there.
28180         Validate the -i argument before checking for rootness.
28181         (send_shutdown): New function, broken out of ...
28182         (parse_opt): ... here.
28184 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28186         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28187         macro to get at the _rt_local_ro field.
28188         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28189         ([PIC] case) or _dl_hwcap ([!PIC] case).
28190         * sysdeps/arm/setjmp.S: Likewise.
28192         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28193         * sysdeps/arm/configure.ac: New check to define it.
28194         * sysdeps/arm/configure: Regenerated.
28195         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28196         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28197         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28198         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28199         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28200         Use move/movt pair instead of a load.
28201         (LDST_GLOBAL): Macro removed.
28202         (LDR_GLOBAL): New macro replaces it.
28203         (LDR_HIDDEN): New macro.
28204         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28205         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28207         * setjmp/tst-setjmp-static.c: New file.
28208         * setjmp/Makefile (tests): Add it.
28209         (tests-static): New variable.
28211 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28213         [BZ #17485]
28214         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28216 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28218         [BZ #14132]
28219         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28221 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28223         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28225 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28227         * io/fts.c (dirent_not_directory): New function.
28228         (fts_build): Call it.
28230 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28232         * nptl/version.c (__nptl_main): Use normal __write rather than
28233         INTERNAL_SYSCALL.
28234         (banner): Update copyright years.
28236         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28237         gettimeofday.
28238         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28239         * nptl/pthread_cond_timedwait.c: Likewise.
28240         * nptl/pthread_mutex_timedlock.c: Likewise.
28241         * nptl/sem_timedwait.c: Likewise.
28243         * sysdeps/nptl/bits/libc-lock.h
28244         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28245         (__libc_lock_init_recursive): Return void, not 0.
28246         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28247         (__libc_rwlock_init): Likewise.
28248         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28250 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28252         [BZ #15215]
28253         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28254         (__pthread_once_slow): ... here.
28255         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28256         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28258 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28260         [BZ #15215]
28261         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28262         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28263         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28264         * nptl/pthread_once.c (__pthread_once): Likewise.
28265         Update comments.
28267 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28269         [BZ #14138]
28270         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28271         name.
28272         (writev): Use __libc_writev as strong name.
28273         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28274         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28276 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28278         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28280         * sysdeps/i386/nptl/tls.h
28281         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28282         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28283         New macros.
28284         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28285         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28286         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28287         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28288         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28289         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28291         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28292         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28293         on [__NR_futex].
28294         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28295         broken out of ...
28296         (__pthread_mutex_init): ... here.  Call it.
28297         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28298         Conditionalize PI cases on [__NR_futex].
28299         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28300         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28301         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28303         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28304         conditional on [SIGSETXID].
28305         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28306         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28307         is defined.  Likewise for SIGSETXID.
28308         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28309         Conditionalize definitions on [SIGSETXID].
28310         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28311         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28312         unblocking on [SIGCANCEL].
28314         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28315         [__NR_set_robust_list].
28317 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28319         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28320         (do_compare): Likewise.
28322 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28324         [BZ #15884]
28325         * string/strcoll_l.c: Don't include stdio.h.
28326         (coll_seq): Remove members idxarr and rulearr.
28327         (get_next_seq_cached): Remove function.
28328         (get_next_seq): Likewise.
28329         (get_next_seq_nocache): Rename to get_next_seq.
28330         (do_compare): Remove function.
28331         (do_compare_nocache): Rename to do_compare.
28332         (STRCOLL): Remove weight and rules cache.
28334 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28336         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28337         * sysdeps/arm/sfp-machine.h: ... to here.
28338         * sysdeps/arm/Implies: Remove arm/soft-fp.
28340 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28342         * conform/data/sys/utsname.h-data (*_t): Allow.
28343         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28344         [POSIX] (WEXITED): Do not expect constant.
28345         [POSIX] (WSTOPPED): Likewise.
28346         [POSIX] (WNOHANG): Likewise.
28347         [POSIX] (WNOWAIT): Likewise.
28348         [POSIX] (siginfo_t): Do not expect type or elements.
28349         [POSIX] (pid_t): Do not expect type.
28350         [POSIX] (signal.h): Do not allow header.
28351         [POSIX] (sys/resource.h): Likewise.
28352         [POSIX] (si_*): Do not allow pattern.
28353         [POSIX] (W*): Likewise.
28354         [POSIX] (P_*): Likewise.
28355         [POSIX] (BUS_*): Likewise.
28356         [POSIX] (CLD_*): Likewise.
28357         [POSIX] (FPE_*): Likewise.
28358         [POSIX] (ILL_*): Likewise.
28359         [POSIX] (POLL_*): Likewise.
28360         [POSIX] (SEGV_*): Likewise.
28361         [POSIX] (SI_*): Likewise.
28362         [POSIX] (TRAP_*): Likewise.
28363         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28364         variable.
28366 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28368         [BZ #12926]
28369         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28370         infinite loop when __recvmsg returns 0.
28372 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28374         * CANCEL-FCT-WAIVE: Remove file.
28375         * CANCEL-FILE-WAIVE: Likewise.
28377         [BZ #14132]
28378         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28379         instead of INTVARDEF.
28380         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28381         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28382         rtld_hidden_data_def instead of INTVARDEF.
28383         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28384         * elf/dl-deps.c (expand_dst): Likewise.
28385         * elf/dl-load.c (_dl_dst_count): Likewise.
28386         (_dl_dst_substitute): Likewise.
28387         (decompose_rpath): Likewise.
28388         (_dl_init_paths): Likewise.
28389         (open_path): Likewise.
28390         (_dl_map_object): Likewise.
28391         * elf/rtld.c (dl_main): Likewise.
28392         (process_dl_audit): Likewise.
28393         (process_envvars): Likewise.
28394         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28395         Remove declaration.
28396         (__libc_enable_secure): Use rtld_hidden_proto.
28398 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28400         * elf/dl-load.c
28401         (add_path): New function broken out of _dl_rtld_di_serinfo.
28402         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28404 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28406         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28407         parentheses around macro arguments.
28408         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28411         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28412         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28413         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28414         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28415         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28416         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28419         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28420         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28421         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28422         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28423         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28424         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28427         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28429         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28430         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28431         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28432         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28433         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28434         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28435         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28437         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28438         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28439         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28440         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28441         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28442         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28443         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28444         Likewise.
28445         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28446         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28447         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28448         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28449         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28450         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28451         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28452         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28453         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28454         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28455         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28456         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28457         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28458         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28459         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28460         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28461         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28462         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28463         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28464         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28465         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28466         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28467         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28468         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28469         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28470         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28471         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28472         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28473         (_FP_FRAC_SRS_1): Likewise.
28474         (_FP_FRAC_CLZ_1): Likewise.
28475         (_FP_MUL_MEAT_1_imm): Likewise.
28476         (_FP_MUL_MEAT_1_wide): Likewise.
28477         (_FP_MUL_MEAT_1_hard): Likewise.
28478         (_FP_SQRT_MEAT_1): Likewise.
28479         (_FP_FRAC_ASSEMBLE_1): Likewise.
28480         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28481         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28482         (__FP_CLZ_2): Likewise.
28483         (_FP_MUL_MEAT_2_wide): Likewise.
28484         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28485         (_FP_MUL_MEAT_2_gmp): Likewise.
28486         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28487         (_FP_SQRT_MEAT_2): Likewise.
28488         (_FP_FRAC_ASSEMBLE_2): Likewise.
28489         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28490         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28491         (_FP_FRAC_CLZ_4): Likewise.
28492         (_FP_MUL_MEAT_4_wide): Likewise.
28493         (_FP_MUL_MEAT_4_gmp): Likewise.
28494         (_FP_SQRT_MEAT_4): Likewise.
28495         (_FP_FRAC_ASSEMBLE_4): Likewise.
28496         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28497         * soft-fp/op-common.h (_FP_CMP): Likewise.
28498         (_FP_CMP_EQ): Likewise.
28499         (_FP_CMP_UNORD): Likewise.
28500         (_FP_TO_INT): Likewise.
28501         (_FP_FROM_INT): Likewise.
28502         [!__FP_CLZ] (__FP_CLZ): Likewise.
28503         (_FP_DIV_HELP_imm): Likewise.
28504         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28505         Likewise.
28506         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28507         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28508         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28509         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28510         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28511         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28512         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28513         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28514         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28515         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28516         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28517         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28518         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28519         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28520         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28521         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28522         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28523         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28524         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28525         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28526         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28527         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28528         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28529         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28530         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28531         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28532         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28533         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28534         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28535         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28536         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28537         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28538         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28539         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28540         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28541         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28542         (FP_UNPACK_RAW_SP): Likewise.
28543         (FP_PACK_RAW_S): Likewise.
28544         (FP_PACK_RAW_SP): Likewise.
28545         (FP_UNPACK_S): Likewise.
28546         (FP_UNPACK_SP): Likewise.
28547         (FP_UNPACK_SEMIRAW_S): Likewise.
28548         (FP_UNPACK_SEMIRAW_SP): Likewise.
28549         (FP_PACK_S): Likewise.
28550         (FP_PACK_SP): Likewise.
28551         (FP_PACK_SEMIRAW_S): Likewise.
28552         (FP_PACK_SEMIRAW_SP): Likewise.
28553         (_FP_SQRT_MEAT_S): Likewise.
28554         (FP_CMP_S): Likewise.
28555         (FP_CMP_EQ_S): Likewise.
28556         (FP_CMP_UNORD_S): Likewise.
28557         (FP_TO_INT_S): Likewise.
28558         (FP_FROM_INT_S): Likewise.
28560         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28562         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28563         (FP_EX_INVALID_IMZ): Likewise.
28564         (FP_EX_INVALID_IMZ_FMA): Likewise.
28565         (FP_EX_INVALID_ISI): Likewise.
28566         (FP_EX_INVALID_ZDZ): Likewise.
28567         (FP_EX_INVALID_IDI): Likewise.
28568         (FP_EX_INVALID_SQRT): Likewise.
28569         (FP_EX_INVALID_CVI): Likewise.
28570         (FP_EX_INVALID_VC): Likewise.
28571         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28572         "invalid" exceptions.
28573         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28574         (_FP_ADD_INTERNAL): Likewise.
28575         (_FP_MUL): Likewise.
28576         (_FP_FMA): Likewise.
28577         (_FP_DIV): Likewise.
28578         (_FP_CMP_CHECK_NAN): Likewise.
28579         (_FP_SQRT): Likewise.
28580         (_FP_TO_INT): Likewise.
28581         (FP_EXTEND): Likewise.
28583 2014-10-09  Allan McRae  <allan@archlinux.org>
28585         * po/fr.po: Update French translation from translation project.
28587 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28589         [BZ #14132]
28590         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28591         of INTDEF.
28592         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28593         (__cxa_atexit): Use libc_hidden_proto.
28594         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28596         [BZ #14132]
28597         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28598         declaration.
28599         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28600         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28601         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28602         [!_ISOMAC] (__iswctype_internal): Likewise.
28603         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28604         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28605         alias.
28606         (fcntl): Remove __fcntl_internal alias.
28607         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28608         __connect_internal alias.
28609         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28610         Likewise.
28612         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28613         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28614         FP_DENORM_ZERO.
28615         (_FP_CHECK_FLUSH_ZERO): New macro.
28616         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28617         (_FP_CMP): Likewise.
28618         (_FP_CMP_EQ): Likewise.
28619         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28620         FP_DENORM_ZERO.
28621         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28622         (FP_TRUNC): Likewise.
28624         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28625         treated as invalid conversion, not as normal exponent.
28627         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28628         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28629         (_FP_CMP_EQ): Likewise.
28630         (_FP_CMP_UNORD): Likewise.
28631         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28632         (FP_CMP_EQ_D): Likewise.
28633         (FP_CMP_UNORD_D): Likewise.
28634         * soft-fp/extended.h (FP_CMP_E): Likewise.
28635         (FP_CMP_EQ_E): Likewise.
28636         (FP_CMP_UNORD_E): Likewise.
28637         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28638         (FP_CMP_EQ_Q): Likewise.
28639         (FP_CMP_UNORD_Q): Likewise.
28640         * soft-fp/single.h (FP_CMP_S): Likewise.
28641         (FP_CMP_EQ_S): Likewise.
28642         (FP_CMP_UNORD_S): Likewise.
28643         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28644         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28645         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28646         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28647         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28648         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28649         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28650         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28651         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28652         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28653         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28654         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28655         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28656         to FP_CMP_Q.
28657         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28658         FP_CMP_Q.
28659         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28660         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28661         FP_CMP_EQ_Q.
28662         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28663         FP_CMP_Q.
28664         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28665         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28666         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28667         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28668         FP_CMP_EQ_Q.
28669         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28670         FP_CMP_Q.
28671         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28672         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28673         FP_CMP_EQ_Q.
28674         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28675         FP_CMP_Q.
28676         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28677         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28678         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28679         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28680         FP_CMP_EQ_Q.
28682         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28683         a subnormal result, set the underflow exception if trapping on
28684         underflow is enabled.
28685         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28686         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28687         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28688         redefine to 0.
28689         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28690         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28691         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28692         * soft-fp/extendxftf2.c (__extendxftf2): Use
28693         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28695         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28696         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28697         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28698         FP_HANDLE_EXCEPTIONS.
28699         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28700         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28701         FP_HANDLE_EXCEPTIONS.
28702         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28703         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28704         FP_HANDLE_EXCEPTIONS.
28705         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28706         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28707         FP_HANDLE_EXCEPTIONS.
28709 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28711         [BZ #14132]
28712         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28713         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28714         use INTUSE.
28715         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28716         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28717         Remove alias.
28718         (__adjtimex): Define using libc_hidden_ver.
28719         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28720         Remove declaration.
28721         (ntp_gettime): Call __adjtimex directly.
28722         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28723         Remove declaration.
28724         (ntp_gettimex): Call __adjtimex directly.
28725         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28726         __adjtimex_internal alias.
28728 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28730         [BZ #17460]
28731         * nscd/nscd.c (more_help): Rewrite list of tables collection
28732         using xstrdup and asprintf.
28734         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28736 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28737             Roland McGrath  <roland@hack.frob.com>
28739         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28740         (do_lookup_unique): ... local function 'enter' here; update callers.
28742 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28744         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28745         compat_symbol calls on [SHARED].
28746         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28747         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28748         Remove.
28749         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28750         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28751         (oldsetrlimit): Remove.
28752         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28754         (lchown): New syscall entry.
28755         (oldsetrlimit): Remove.
28756         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28757         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28758         (oldsetrlimit): Remove.
28759         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28761         [BZ #14138]
28762         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28763         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28764         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28765         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28766         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28767         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28768         (fchown): Likewise.
28769         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28770         (fchown): Likewise.
28771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28772         Likewise.
28774 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28776         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28777         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28778         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28779         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28780         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28781         Likewise.
28782         (__old_sem_post): Likewise.
28784 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
28786         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28787         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28788         HAVE_CLOCK_GETTIME_VSYSCALL macros.
28789         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28790         Use INLINE_VSYSCALL macro.
28791         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28792         __vdso_clock_gettime.
28793         * sysdeps/unix/sysv/linux/tile/init-first.c
28794         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28795         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28796         __vdso_clock_gettime.
28798         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28799         to set up frame more cleanly.
28801         * sysdeps/tile/memcmp.c: New file.
28803         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28805         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28806         * sysdeps/tile/tilegx/strcasestr.c: New file.
28807         * sysdeps/tile/tilegx/strnlen.c: New file.
28808         * sysdeps/tile/tilegx/strstr.c: New file.
28810         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28812 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
28814         * nptl/tst-setuid3.c: Write errors to stdout.
28816 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28818         * elf/dl-deps.c
28819         (preload): New functions broken out of _dl_map_object_deps.
28820         (_dl_map_object_deps):  Remove a nested function. Update call sites.
28822 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
28824         [BZ #14138]
28825         * sysdeps/unix/sysv/linux/execve.c: Remove file.
28826         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28828 2014-10-01  Steve Ellcey  <sellcey@mips.com>
28830         * sysdeps/mips/strcmp.S: New.
28832 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
28834         [BZ #14138]
28835         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28836         (linkat): Likewise.
28837         (mkdirat): Likewise.
28838         (readlinkat): Likewise.
28839         (renameat): Likewise.
28840         (symlinkat): Likewise.
28841         (unlinkat): Likewise.
28842         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28843         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28844         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28845         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28846         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28847         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28848         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28850 2014-09-30  Will Newton  <will.newton@linaro.org>
28852         * math/math.h: Define long double math functions if
28853         _LIBC_TEST is defined.
28854         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28856         * localedata/Makefile: Move assignment to tests-special
28857         into an ifdef testing run-built-tests.
28858         * timezone/Makefile: Likewise.
28860 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28862         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28863         with $(BASH) not $(SHELL).
28865 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28866             Matthew LeGendre  <legendre1@llnl.gov>
28868         [BZ #17411]
28869         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28870         l_reloc_result.
28872 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28874         * stdio-common/printf_fp.c
28875         (hack_digit): New function, broken out of ...
28876         (__printf_fp): ... local function here.  Update call sites.
28877         hack_digit now takes an additional parameter that is a pointer
28878         to a struct of the referenced locals.  Those locals moved inside
28879         the struct and references updated.
28881 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28883         * aclocal.m4: Require autoconf 2.69.
28884         * configure: Regenerated.
28885         * sysdeps/aarch64/configure: Likewise.
28886         * sysdeps/alpha/configure: Likewise.
28887         * sysdeps/arm/armv7/configure: Likewise.
28888         * sysdeps/arm/configure: Likewise.
28889         * sysdeps/ia64/configure: Likewise.
28890         * sysdeps/mach/configure: Likewise.
28891         * sysdeps/mips/configure: Likewise.
28892         * sysdeps/s390/configure: Likewise.
28893         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28896         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28897         file.
28898         * sysdeps/ia64/configure.ac: Likewise.
28900 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28903         specify symbol version for ld.so.  Do not include entry for
28904         libpthread.
28905         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28906         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28907         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28909         [BZ #14171]
28910         * Makeconfig [$(build-shared) = yes]
28911         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28912         makefiles.
28913         [$(build-shared) = yes && $(soversions.mk-done) = t]
28914         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28915         [$(build-shared) = yes && $(soversions.mk-done) = t]
28916         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28917         to Makerules.
28918         [$(build-shared) = yes && $(soversions.mk-done) = t]
28919         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28920         here.
28921         [$(build-shared) = yes && $(soversions.mk-done) = t]
28922         (common-generated): Don't append gnu/lib-names.h and
28923         gnu/lib-names.stmp here.
28924         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28925         (lib-names-h-abi): New variable.
28926         [$(build-shared) = yes && $(soversions.mk-done) = t]
28927         (lib-names-stmp-abi): Likewise.
28928         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28929         abi-variants] (before-compile): Append
28930         $(common-objpfx)$(lib-names-h-abi).
28931         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28932         abi-variants] (common-generated): Append gnu/lib-names.h.
28933         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28934         abi-variants] (install-others-nosubdir): Depend on
28935         $(inst_includedir)/$(lib-names-h-abi).
28936         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28937         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28938         [$(build-shared) = yes && $(soversions.mk-done) = t]
28939         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28940         [$(build-shared) = yes && $(soversions.mk-done) = t]
28941         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28942         [$(build-shared) = yes && $(soversions.mk-done) = t]
28943         (common-generated): Append $(lib-names-h-abi) and
28944         $(lib-names-stmp-abi).
28945         * scripts/lib-names.awk: Do not handle multi being set.
28946         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28947         Remove variable.
28948         (abi-lp64_be-ld-soname): Likewise.
28949         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28950         Likewise.
28951         (abi-hard-ld-soname): Likewise.
28952         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28953         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28954         Remove variable.
28955         (abi-o32_hard-ld-soname): Likewise.
28956         (abi-o32_soft_2008-ld-soname): Likewise.
28957         (abi-o32_hard_2008-ld-soname): Likewise.
28958         (abi-n32_soft-ld-soname): Likewise.
28959         (abi-n32_hard-ld-soname): Likewise.
28960         (abi-n32_soft_2008-ld-soname): Likewise.
28961         (abi-n32_hard_2008-ld-soname): Likewise.
28962         (abi-n64_soft-ld-soname): Likewise.
28963         (abi-n64_hard-ld-soname): Likewise.
28964         (abi-n64_soft_2008-ld-soname): Likewise.
28965         (abi-n64_hard_2008-ld-soname): Likewise.
28966         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28967         Likewise.
28968         (abi-64-v2-ld-soname): Likewise.
28969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28970         ld.so entries.
28971         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28972         variable.
28973         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28974         entry.
28975         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28976         variable.
28977         (abi-64-ld-soname): Likewise.
28978         (abi-x32-ld-soname): Likewise.
28979         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28980         entry.
28981         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28983 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28985         [BZ #14138]
28986         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28987         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28988         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28989         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28990         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28991         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28992         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28993         syscall entry for GLIBC_2.2 symbol version.
28994         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28995         Likewise.
28996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28997         (setrlimit): Likewise.
28998         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28999         Likewise.
29001 2014-09-23  Will Newton  <will.newton@linaro.org>
29003         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29004         _LINUX_ARM_SYSDEP_H include guard too.
29005         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29006         define.
29008 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29010         * sysdeps/unix/sysv/linux/eventfd.c:
29011         Make first argument unsigned.
29012         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29013         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29015 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29017         [BZ #16852]
29018         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29019         * socket/sys/socket.h: Likewise.
29020         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29022 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29024         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29026 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29028         * time/tst-ftime.c: New test.
29029         * time/Makefile (tests): Add tst-ftime.
29031 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29033         * soft-fp/extended.h: Fix comment formatting.
29034         * soft-fp/op-1.h: Likewise.
29035         * soft-fp/op-2.h: Likewise.
29036         * soft-fp/op-4.h: Likewise.
29037         * soft-fp/op-8.h: Likewise.
29038         * soft-fp/op-common.h: Likewise.
29039         * soft-fp/soft-fp.h: Likewise.
29041         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29043 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29045         [BZ #6652]
29046         * Makeconfig (soversions-default-setname): Remove variable.
29047         ($(common-objpfx)soversions.i): Don't pass default_setname to
29048         soversions.awk.
29049         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29050         oldest_abi to abi-versions.awk.
29051         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29052         * config.make.in (oldest-abi): Remove variable.
29053         * configure.ac (--enable-oldest-abi): Remove configure option.
29054         * configure: Regenerated.
29055         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29056         text.
29057         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29058         * scripts/soversions.awk: Do not handle default_setname variable.
29059         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29060         variable.
29061         * sysdeps/mach/hurd/configure: Regenerated.
29062         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29063         variable.
29064         * sysdeps/unix/sysv/linux/configure: Regenerated.
29066 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29068         * elf/Makefile (CFLAGS-interp.c): Remove.
29069         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29070         path string.
29071         * elf/interp.c: Include generated runtime-linker.h
29073         * Makerules (lib%.so): Don't include $(+interp) in
29074         prerequisites.
29075         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29076         * dlfcn/eval.c: Remove file.
29078         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29079         macros.
29081         [BZ #17266]
29082         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29083         4.2 and newer.
29085         [BZ #17370]
29086         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29088 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29089             Jakub Jelinek  <jakub@redhat.com>
29091         [BZ #17266]
29092         * libio/stdio.h: Check definition of __fortify_function
29093         instead of __extern_always_inline to include bits/stdio2.h.
29094         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29095         check if __extern_always_inline is defined.
29096         [__USE_MISC || __USE_XOPEN]: Likewise.
29097         [__USE_ISOC99] Likewise.
29098         * misc/sys/cdefs.h (__fortify_function): Define only if
29099         __extern_always_inline is defined.
29100         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29101         __extern_always_inline and __extern_inline only for g++-4.3
29102         and newer or a compatible gcc.
29104 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29106         [BZ #17371]
29107         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29108         last change to handle zero prefix length.
29110 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29112         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29113         _SC_REGEX_VERSION.
29115         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29116         _POSIX_RAW_SOCKETS.
29118 2014-09-13  Allan McRae  <allan@archlinux.org>
29120         * po/ru.po: Update Russian translation from translation project.
29122 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29124         * locale/programs/locale.c (show_locale_vars): Inline local function
29125         into its sole call site.  Clean up some style nits.
29126         (print_item): New function, broken out of ...
29127         (show_info): ... local function here.  Clean up style nits.
29129         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29130         out of ...
29131         (set_class_defaults): ... local function set_default here.
29132         Define set_default as a macro locally to pass constant parameters.
29133         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29134         rather than a shared local.
29136         * stdlib/rpmatch.c (try): New function, broken out of ...
29137         (rpmatch): ... local function here.  Also, prototypify definition.
29139 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29141         * scripts/soversions.awk: Do not handle configuration names.
29142         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29143         vendor and os variables to soversions.awk.
29144         * configure.ac: Do not modify gnu-* host_os.
29145         * configure: Regenerated
29146         * shlib-versions: Remove first column with configuration names.
29147         * nptl/shlib-versions: Likewise.
29148         * nptl_db/shlib-versions: Likewise.
29149         * sysdeps/hppa/shlib-versions: Likewise.
29150         * sysdeps/m68k/shlib-versions: Likewise.
29151         * sysdeps/mach/hurd/shlib-versions: Likewise.
29152         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29153         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29154         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29155         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29156         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29157         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29158         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29159         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29161         Likewise.
29162         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29163         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29164         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29165         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29166         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29167         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29168         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29169         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29172         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29174         Regenerated.
29175         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29177         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29179         * shlib-versions: Remove OS-specific entries.  Moved to files in
29180         sysdeps.
29181         * sysdeps/mach/hurd/shlib-versions: New file.
29182         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29184         * nptl/shlib-versions: Remove architecture-specific entries.
29185         Moved to files in sysdeps.
29186         * shlib-versions: Likewise.
29187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29188         file.
29189         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29190         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29191         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29192         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29194         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29195         (UDP_NO_CHECK6_RX): Likewise.
29197 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29199         * sysdeps/posix/sysconf.c (__sysconf): Spell
29200         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29202 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29204         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29205         loading.
29206         * iconv/Versions (__gconv_transliterate): Export for use from
29207         gconv modules.
29208         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29209         (struct __gconv_trans_data, __gconv_trans_fct,
29210         __gconv_trans_context_fct, __gconv_trans_query_fct,
29211         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29212         definitions.
29213         (struct __gconv_step_data): Remove __trans member.
29214         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29215         longer hidden.  Remove unused trans_data argument.
29216         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29217         (__gconv_translit_find): Remove declaration.
29218         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29219         prototype.
29220         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29221         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29222         trans_data argument.  Add hidden definition.
29223         (__gconv_translit_find): Remove.
29224         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29225         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29226         * iconv/skeleton.c: Remove transliteration initialization.
29227         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29228         __gconv_step_data initialization.
29229         * libio/iofwide.c (__libio_translit_): Remove.
29230         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29231         * wcsmbs/btowc.c (__btowc): Likewise.
29232         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29233         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29234         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29235         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29236         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29237         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29238         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29239         * wcsmbs/wctob.c (wctob): Likewise.
29241 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29243         [BZ #16194]
29244         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29245         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29246         register usage.
29247         * sysdeps/x86/Makefile: Adjust.
29249 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29250             Roland McGrath  <roland@hack.frob.com>
29252         * locale/weight.h: Add include guard.
29253         (findidx): Make static rather than auto; take new parameters
29254         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29255         * locale/weightwc.h: Likewise.
29256         * posix/fnmatch_loop.c
29257         (FCT): Change type of EXTRA from int32_t to wint_t.
29258         Don't include either header inside the function.
29259         Call FINDIDX rather than findidx, and pass new arguments.
29260         #undef FINDIDX at the end of the file.
29261         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29262         FINDIDX before including fnmatch_loop.c for the non-wide version.
29263         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29264         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29265         for the wide version.
29266         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29267         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29268         Pass new arguments to findidx.
29269         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29270         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29271         Don't #include it inside the function.  Pass new arguments to findidx.
29272         * posix/regex_internal.h
29273         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29274         (re_string_elem_size_at): Don't #include it inside the function.
29275         Pass new arguments to findidx.
29276         * string/strcoll_l.c: #include WEIGHT_H at top level.
29277         (get_next_seq): Don't #include it inside the function.
29278         Pass new arguments to findidx.
29279         (get_next_seq_nocache): Likewise.
29280         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29281         (STRXFRM): Don't #include it inside the function.
29282         Pass new arguments to findidx.
29284 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29286         [BZ #17344]
29287         * malloc/malloc.c (unlink): Turn asserts into a call to
29288         malloc_printerr.
29290 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29292         [BZ #17370]
29293         * libio/wfileops (do_ftell_wide): Free OUT.
29295 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29297         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29299 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29301         [BZ #17363]
29302         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29303         group if the current group is empty.
29305 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29307         * benchtests/bench-memset.c (test_main): Add more test from size
29308         from 32 to 512 bytes.
29309         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29310         Add POWER8 memset object.
29311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29312         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29313         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29314         implementation.
29315         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29316         Likewise.
29317         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29318         multiarch POWER8 memset optimization.
29319         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29320         POWER8 memset optimization.
29322         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29323         Remove bzero multiarch objects.
29324         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29325         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29326         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29327         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29328         Remove define.
29329         [__bzero]: Redefine to specific name.
29330         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29331         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29332         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29333         define.
29334         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29335         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29337 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29339         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29340         warnings into errors.
29342         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29343         __cxa_thread_atexit_impl prototype.
29345 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29347         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29348         Fix capitalization of error message.
29350 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29352         * sysdeps/mips/preconfigure: Modify ABI tests.
29354 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29356         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29358 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29359             Carlos O'Donell  <carlos@systemhalted.org>
29361         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29362         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29363         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29364         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29365         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29366         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29367         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29368         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29369         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29370         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29371         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29372         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29373         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29374         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29375         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29376         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29377         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29378         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29379         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29380         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29381         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29382         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29383         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29384         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29385         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29386         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29387         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29388         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29389         Deconditionalize the code that was previously under [RESET_PID].
29390         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29391         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29392         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29393         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29394         include sysdep.h.
29396 2014-09-08  Allan McRae  <allan@archlinux.org>
29398         * version.h (RELEASE): Set to "development".
29399         (VERSION): Set to "2.20.90"
29401 2014-09-07  Allan McRae  <allan@archlinux.org
29403         * version.h (RELEASE): Set to "stable".
29404         (VERSION): Set to "2.20"
29405         * include/features.h (__GLIBC_MINOR__): Set to 20.
29407         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29408         Liebler.
29410         * po/ko.po: Update Korean translation from translation project.
29412 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29414         [BZ #17354]
29415         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29416         macro for handling signed relocations.
29418 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29420         [BZ #17325]
29421         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29422         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29423         assert.
29424         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29425         * iconvdata/ibm935.c (BODY): Likewise.
29426         * iconvdata/ibm937.c (BODY): Likewise.
29427         * iconvdata/ibm939.c (BODY): Likewise.
29428         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29429         assert.
29430         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29431         script.
29432         * iconvdata/run-iconv-test.sh: New test loop for checking for
29433         decoder crashers.
29435 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29437         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29438         libm_hidden_ver.
29440 2014-09-01  Allan McRae  <allan@archlinux.org>
29442         * po/eo.po: Update Esperanto translation from translation project.
29444         * po/ca.po: Update Catalan translation from translation project.
29446 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29448         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29449         __proc_dostop call.
29451 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29453         [BZ #17319]
29454         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29455         to call set_thread_area instead of hand written asm.
29456         (__NR_set_thread_area): Removed define.
29457         (TLS_FLAG_WRITABLE): Likewise.
29458         (__ASSUME_SET_THREAD_AREA): Remove check.
29459         (TLS_EBX_ARG): Remove define.
29460         (TLS_LOAD_EBX): Likewise.
29462 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29464         Simplify atomicity of socket creation in bind.
29466         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29467         looking up the name after linking the file.
29469 2014-08-27  Allan McRae  <allan@archlinux.org>
29471         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29473 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29475         [BZ #17187]
29476         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29477         trans_compare, open_translit, __gconv_translit_find):
29478         Remove module loading code.
29480 2014-08-26  Allan McRae  <allan@archlinux.org>
29482         * po/vi.po: Update Vietnamese translation from translation project.
29484         * po/uk.po: Update Ukrainian translation from translation project.
29486         * po/fr.po: Update French translation from translation project.
29488         * po/ru.po: Update Russian translation from translation project.
29490         * po/pl.po: Update Polish translation from translation project.
29492         * po/cs.po: Update Czech translation from translation project.
29494         * po/de.po: Update German translation from translation project.
29496         * po/bg.po: Update Bulgarian translation from translation project.
29498         * po/sv.po: Update Sweedish translation from translation project.
29500         * po/nl.po: Update Dutch translation from translation project.
29502         * po/es.po: Update Spanish translation from translation project.
29504 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29506         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29508         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29509         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29510         (CPPFLAGS-iconvconfig): Likewise.
29511         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29513         * include/libc-symbols.h: Remove unnecessary check for
29514         NOT_IN_libc.
29515         * nptl/pthreadP.h: Likewise.
29516         * sysdeps/aarch64/setjmp.S: Likewise.
29517         * sysdeps/alpha/setjmp.S: Likewise.
29518         * sysdeps/arm/sysdep.h: Likewise.
29519         * sysdeps/i386/setjmp.S: Likewise.
29520         * sysdeps/m68k/setjmp.c: Likewise.
29521         * sysdeps/posix/getcwd.c: Likewise.
29522         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29523         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29524         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29525         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29526         * sysdeps/sh/sh3/setjmp.S: Likewise.
29527         * sysdeps/sh/sh4/setjmp.S: Likewise.
29528         * sysdeps/unix/alpha/sysdep.h: Likewise.
29529         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29530         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29531         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29532         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29536         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29537         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29538         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29540         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29541         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29542         * sysdeps/x86_64/setjmp.S: Likewise.
29544 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29546         [BZ #17263]
29547         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29548         <stdint.h>.
29549         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29550         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29552 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29554         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29556         [BZ #17262]
29557         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29558         and __x86_64__ when disabling x87 inline functions.
29560 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29562         [BZ #17259]
29563         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29564         asm statement with __cpuid_count.
29566 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29568         * configure.ac: Change __ehdr_start code to dereference the struct.
29569         Run readelf on the output to look for relocations.
29570         * configure: Regenerated.
29572 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29574         [BZ #17261]
29575         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29576         value to 0.
29577         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29579 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29581         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29583 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29585         [BZ #16892]
29586         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29587         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29589 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29591         * malloc/malloc.c: Fix typo in comment.
29593 2014-08-09  Allan McRae  <allan@archlinux.org>
29595         * Regenerate libc.po.
29597 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29599         * intl/tst-gettext2.sh: Check every lang file for creation.
29601 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29603         * sysdeps/aarch64/fpu/math_private.h
29604         (libc_feholdsetround_noex_aarch64_ctx): New function.
29606 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29608         * sysdeps/arm/armv6/strcpy.S (strcpy):
29609         Fix performance issue in misaligned cases.
29611 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29613         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29614         Move definition from termios.h.
29615         (struct termio): Likewise.
29616         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29617         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29618         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29619         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29620         Likewise.
29621         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29622         Move definition to ioctl-types.h
29623         (struct termio): Likewise.
29624         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29625         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29626         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29627         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29628         Likewise.
29630 2014-08-05  Richard Henderson  <rth@redhat.com>
29632         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29633         exceptions.
29634         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29635         Add fraiseexcpt.
29636         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29637         Use __feraiseexcept.
29638         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29639         Protect libm symbols with IS_IN_libm.
29641         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29643 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29645         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29647 2014-08-04  Will Newton  <will.newton@linaro.org>
29649         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29650         file.
29652 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29654         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29655         variants for each function.
29657 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29659         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29660         appended ...
29661         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29662         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29663         appended ...
29664         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29665         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29666         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29667         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29668         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29669         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29670         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29671         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29672         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29673         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29674         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29675         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29676         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29677         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29678         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29679         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29680         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29681         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29682         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29683         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29684         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29685         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29686         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29687         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29688         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29689         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29690         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29691         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29692         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29693         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29694         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29695         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29696         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29697         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29698         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29699         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29700         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29701         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29702         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29703         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29704         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29705         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29706         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29707         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29708         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29709         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29710         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29711         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29712         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29713         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29714         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29715         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29716         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29717         Update #include.
29718         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29719         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29721 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29723         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29724         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29725         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29726         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29727         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29728         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29730 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29732         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29733         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29734         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29735         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29737 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29739         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29740         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29741         (__libc_vfork): Define function under this name.
29742         (__vfork): Define as an alias.
29743         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29744         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29746 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29748         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29749         that was previously under [RESET_PID].
29750         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29752 2014-08-04  Andreas Schwab  <schwab@suse.de>
29754         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29756 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29758         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29759         (main): Likewise.
29761 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29763         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29765 2014-08-01  Richard Henderon  <rth@redhat.com>
29767         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29768         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29769         typo in exact zero test.
29770         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29771         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29772         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29774 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29776         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29777         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29778         * sysdeps/arm/sysdep.h: ... here.
29779         [!__ASSEMBLER__]: Include <stdint.h>.
29781 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29783         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29784         (HAVE_WCTYPE_H): Likewise.
29785         (HAVE_ISWCTYPE): Likewise.
29786         (ENABLE_NLS): Likewise.
29787         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29788         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29790         * posix/regex_internal.c: Check if DEBUG is defined and is
29791         set.
29793         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29794         (HAVE_MBSRTOWCS): Likewise.
29795         * posix/fnmatch.c: Include string.h unconditionally.
29797 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29799         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29800         reversal.
29802 2014-07-31  Roland McGrath  <roland@hack.frob.com>
29804         * sysdeps/generic/safe-fatal.h: New file.
29805         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29806         * nptl/forward.c: Include it.
29807         (__pthread_unwind): Use __safe_fatal as default action, rather
29808         than a bogus use of INTERNAL_SYSCALL that could never work.
29810         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29811         * configure.ac (libc_cv_builtin_trap): New test.
29812         * configure: Regenerated.
29813         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29814         (ABORT_INSTRUCTION): Define using __builtin_trap.
29816         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29817         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29818         * sysdeps/nptl/nptl-signals.h: New file.
29819         * nptl/pthreadP.h: Include <nptl-signals.h>.
29821 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29823         * sysdeps/s390/s390-64/utf16-utf32-z9.c
29824         (ONE_DIRECTION): Define.
29825         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29826         (ONE_DIRECTION): Define.
29827         * sysdeps/s390/s390-64/utf8-utf32-z9.c
29828         (ONE_DIRECTION): Define.
29830 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29832         * sysdeps/s390/Makefile: Delete file.
29833         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29834         * sysdeps/s390/__longjmp.c: Delete file.
29835         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29836         Remove fields __flags and __reserved.
29837         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29838         and add versioning.
29839         * sysdeps/s390/rtld-__longjmp.c: Delete file.
29840         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29841         * sysdeps/s390/rtld-setjmp.S: Likewise.
29842         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29843         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29844         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29845         * sysdeps/s390/s390-32/setjmp.S: ... here.
29846         Add versioning.
29847         (__sigsetjmp): Remove setting __flags field.
29848         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29849         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29850         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29851         * sysdeps/s390/s390-64/setjmp.S: ... here.
29852         Add versioning.
29853         (__sigsetjmp): Remove setting __flags field.
29854         * sysdeps/s390/setjmp.S: Delete file.
29855         * sysdeps/s390/sigjmp.c: Likewise.
29856         * sysdeps/s390/v1-longjmp.c: Likewise.
29857         * sysdeps/s390/v1-setjmp.h: Likewise.
29858         * sysdeps/s390/v1-sigjmp.c: Likewise.
29859         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29860         Remove v1-longjmp_chk.
29861         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29862         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29863         Include debug/longjmp_chk.c and add versioning.
29864         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29865         Include nptl/pt-longjmp.c and add versioning.
29866         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29867         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29868         Include __longjmp.c.
29869         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29870         Move to ...
29871         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29872         (__getcontext): Remove setting __flags field.
29873         Add versioning.
29874         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29875         Don't restore upper high grps.
29876         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29877         Likewise.
29878         (__swapcontext): Remove setting uc_flags field.
29879         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29880         Delete file.
29881         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29882         Include __longjmp.c.
29883         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29884         Move to ...
29885         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29886         (__getcontext): Remove setting __flags field.
29887         Add versioning.
29888         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29889         (__swapcontext): Remove setting uc_flags field.
29890         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29891         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29892         Remove fields uc_high_gprs and __reserved.
29893         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29894         New file with reverted content.
29895         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29896         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29897         Regenerated.
29898         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29899         Regenerated.
29901 2014-07-31  Andreas Schwab  <schwab@suse.de>
29903         * config.h.in (HAVE_IFUNC): Define to 0.
29904         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29905         definedness.
29907 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29910         memmove-avx-unaligned, memcpy-avx-unaligned and
29911         mempcpy-avx-unaligned.
29912         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29913         Add tests for AVX memcpy functions.
29914         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29915         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29916         memcpy_chk.
29917         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29918         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29919         memmove_chk.
29920         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29921         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29922         mempcpy_chk.
29923         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29924         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29925         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29927 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29929         [BZ #17213]
29930         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29931         powerpc64le.
29933 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29935         [BZ #16839]
29936         * manual/llio.texi: Add section about open file description locks.
29937         * manual/examples/ofdlocks.c: Example of open file description
29938         lock usage.
29939         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29940         F_OFD_SETLK, and F_OFD_SETLKW.
29942 2014-07-23  Allan McRae  <allan@archlinux.org>
29944         * po/es.po: Update Spanish translation from translation project.
29946 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29948         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29950 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29952         [BZ #17078]
29953         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29954         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29955         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29957 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29959         [BZ #17088]
29960         * math/fesetenv.c (__fesetenv)
29961         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29962         * math/feupdateenv.c (__feupdateenv)
29963         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29965         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29966         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29967         (__ASSUME_SOCKETCALL): Do not define.
29969         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29970         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29971         (__ASSUME_SOCKETCALL): Do not define.
29972         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29973         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29974         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29975         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29976         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29977         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29978         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29979         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29981         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29982         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29983         (__ASSUME_SOCKETCALL): Do not define.
29984         (__ASSUME_IPC64): Define unconditionally.
29985         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29986         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29987         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29988         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29989         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29990         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29991         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29992         Likewise.
29994         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29995         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29996         (__ASSUME_SOCKETCALL): Do not define.
29997         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29998         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29999         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30000         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30001         (__ASSUME_REQUEUE_PI): Define unconditionally.
30002         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30003         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30004         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30005         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30006         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30007         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30009         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30010         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30011         (__ASSUME_SOCKETCALL): Do not define.
30012         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30013         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30014         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30015         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30016         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30017         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30019         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30020         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30021         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30022         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30023         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30024         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30025         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30026         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30027         (__ASSUME_GETCPU_SYSCALL): Likewise.
30029         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30030         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30031         cases for individual architectures.
30032         * sysdeps/gnu/configure: Regenerated.
30033         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30034         LIBC_SLIBDIR_RTLDDIR.
30035         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30036         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30037         LIBC_SLIBDIR_RTLDDIR.
30038         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30040         LIBC_SLIBDIR_RTLDDIR.
30041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30042         Regenerated.
30043         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30044         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30045         file.
30046         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30047         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30048         file.
30049         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30050         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30051         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30052         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30054         * sysdeps/aarch64/shlib-versions: Move to ...
30055         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30056         * sysdeps/alpha/shlib-versions: Move to ...
30057         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30058         * sysdeps/arm/shlib-versions: Move to ...
30059         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30060         * sysdeps/hppa/shlib-versions: Move all contents except for
30061         libgcc_s entry to ...
30062         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30063         entry from ...
30064         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30065         * sysdeps/ia64/shlib-versions: Move to ...
30066         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30067         entry from ...
30068         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30069         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30070         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30071         * sysdeps/microblaze/shlib-versions: Move to ...
30072         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30073         * sysdeps/mips/shlib-versions: Move to ...
30074         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30075         entry from ...
30076         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30077         * sysdeps/tile/shlib-versions: Move to ...
30078         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30079         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30080         from ...
30081         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30082         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30083         entry from ...
30084         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30086 2014-07-17  Will Newton  <will.newton@linaro.org>
30088         * sysdeps/arm/bits/atomic.h
30089         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30090         (__arch_compare_and_exchange_bool_16_int): Likewise.
30091         (__arch_compare_and_exchange_bool_64_int): Likewise.
30093         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30094         into an #else block.
30096 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30098         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30099         just Linux configurations.  Test empirically that the compiler sets
30100         __ARM_EABI__, rather than using the tuple to decide.
30101         * sysdeps/arm/preconfigure: Regenerated.
30102         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30103         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30104         contents appended ...
30105         * sysdeps/arm/configure.ac: ... here.
30106         * sysdeps/arm/configure: Regenerated.
30108 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30110         * nptl/pthread_kill.c: New file.
30111         * nptl/pthread_sigmask.c: New file.
30112         * nptl/pthread_sigqueue.c: New file.
30114         * sysdeps/nptl/lowlevellock.h: New file.
30115         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30116         * sysdeps/nptl/lowlevellock-futex.h: New file.
30118         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30119         Remove dead declarations.
30121 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30123         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30124         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30125         config-cflags-avx2.
30126         * sysdeps/x86_64/configure.ac: Likewise.
30127         * sysdeps/i386/configure: Regenerated.
30128         * sysdeps/x86_64/configure: Likewise.
30129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30130         memset-avx2 only if config-cflags-avx2 is yes.
30131         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30132         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30133         defined.
30134         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30135         only if HAVE_AVX2_SUPPORT is defined.
30136         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30138 2014-07-14  Alan Modra  <amodra@gmail.com>
30140         [BZ #17153]
30141         * elf/elf.h (DT_PPC64_NUM): Correct value.
30142         * NEWS: Add to fixed bug list.
30144 2014-07-13  Jim Meyering  <meyering@fb.com>
30146         [BZ 17150]
30147         regex: don't deref NULL upon heap allocation failure
30148         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30149         failure in one more place.
30150         To trigger the segfault, configure grep -with-included-regex,
30151         build it, and run these commands:
30152         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30154 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30156         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30158 2014-07-11  Richard Henderson  <rth@redhat.com>
30160         * sysdeps/aarch64/libm-test-ulps: Update.
30162 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30164         [BZ #17135]
30165         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30166         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30167         (__nptl_setxid): Initialize error member.  Call
30168         __nptl_setxid_error.
30169         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30170         * nptl/descr.h (struct xid_command): Add error member.
30171         * nptl/tst-setuid3.c: New file.
30172         * nptl/Makefile (tests): Add it.
30174 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30176         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30177         New define.
30178         (__lll_trylock): Use __lll_base_trylock.
30179         (__lll_cond_trylock): Likewise.
30181 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30183         * nptl/pthread_create.c (start_thread): Use atomic_or and
30184         lll_futex_wake directly rather than lll_robust_dead.
30185         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30186         (lll_robust_dead): Macro removed.
30187         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30188         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30189         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30190         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30191         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30192         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30193         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30194         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30195         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30196         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30197         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30198         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30199         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30200         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30201         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30203         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30204         Use atomic_compare_and_exchange_val_acq directly rather than
30205         lll_robust_trylock.
30206         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30207         (__lll_robust_trylock, lll_robust_trylock): Removed.
30208         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30209         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30210         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30211         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30212         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30213         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30214         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30215         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30216         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30217         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30218         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30219         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30220         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30221         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30223 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30225         * manual/locale.texi (Locale Names): New section documenting
30226         locale name syntax.  Adjust menu and node chaining accordingly.
30227         (Choosing Locale): Reference Locale Names, Locale Categories.
30228         Mention setting LC_ALL=C.  Reflect that name syntax is now
30229         documented.
30230         (Locale Categories): New section title.  Reference Locale Names.
30231         LC_ALL is an environment variable, but not a category.
30232         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30233         description, now in Locale Name.  Reference that section.  Locale
30234         name syntax is now documented.
30236 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30238         [BZ #17137]
30239         * locale/findlocale.c (name_present, valid_locale_name): New
30240         functions.
30241         (_nl_find_locale): Use the loc_name variable to store name
30242         candidates.  Call name_present and valid_locale_name to check and
30243         validate locale names.  Return an error if the locale is invalid.
30245 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30247         * locale/setlocale.c (setlocale): Use strdup for allocating
30248         composite name copy.
30250 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30252         Sync up with gnulib.
30253         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30254         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30255         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30256         and _GL_ARG_NONNULL.
30257         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30258         [!_LIBC]: Include code for Windows and Cygwin.
30259         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30260         Include prototype for int strerror_r.
30261         [!_LIBC] (is_open): New function.
30262         (flush_stdout): New function.
30263         (print_errno_message): Use it.
30264         (error): Likewise.
30265         (error_at_line): Likewise.
30266         (error_tail) Add function attribute macros.  Use
30267         __builtin_expect.
30269         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30271         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30273         * io/ftw.c: Include sys/param.h unconditionally.
30275         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30277         [BZ #17125]
30278         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30279         libc_freeres_ptr.
30280         (freecache): New function to free CACHE on exit.
30282         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30283         initialization.
30285 2014-07-09  David S. Miller  <davem@davemloft.net>
30287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30289         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30290         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30291         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30292         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30293         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30294         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30295         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30296         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30297         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30298         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30299         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30300         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30301         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30303 2014-07-09  Andreas Schwab  <schwab@suse.de>
30305         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30306         output.
30307         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30308         (do_test): Likewise.
30310         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30312 2014-07-09  Will Newton  <will.newton@linaro.org>
30314         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30315         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30316         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30317         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30318         * sysdeps/hppa/start.S (_start): Likewise.
30320 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30322         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30324         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30325         defined.
30327 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30329         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30330         after checking that it is non-NULL.
30332         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30334 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30336         * sysdeps/powerpc/memmove.c: Remove file.
30337         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30338         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30339         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30340         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30341         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30342         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30343         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30344         string memmove instead of removed powerpc one.
30346         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30347         [weak_alias]: Fix compiler warning due trailing data.
30348         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30349         [weak_alias]: Likewise.
30350         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30351         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30354         (__libc_ifunc_impl_list): Add memmove functions.
30356 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30358         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30359         Remove code.
30360         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30361         Likewise.
30362         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30363         Likewise.
30364         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30365         Likewise.
30366         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30367         Likewise.
30368         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30369         Likewise.
30370         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30371         Likewise.
30372         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30373         Likewise.
30374         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30375         Likewise.
30376         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30377         Likewise.
30378         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30379         Likewise.
30380         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30381         Likewise.
30382         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30383         Likewise.
30384         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30385         Likewise.
30386         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30387         Likewise.
30388         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30389         Likewise.
30390         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30391         Likewise.
30393 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30395         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30396         to avoid alignment traps in non-cacheable memory.
30397         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30399         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30400         multiarch objects.
30401         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30402         file: multiarch power7 memmove.
30403         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30404         multiarch default memmove.
30405         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30406         multiarch memove for powerpc32/power4.
30408         * string/bcopy.c: Use full path to include memmove.c.
30409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30410         multiarch objects.
30411         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30412         bcopy for powerpc64.
30413         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30414         bcopy for powerpc64.
30415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30416         and memmove implementations.
30417         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30418         optimized multiarch memmove for POWER7/powerpc64.
30419         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30420         default multiarch memmove for powerpc64.
30421         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30422         multiarch for powerpc64.
30423         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30424         for POWER7/powerpc64.
30425         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30426         memmove for POWER7/powerpc64.
30428         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30429         glibc default one.
30431         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30432         __ELF_NATIVE_CLASS equal to 64.
30434 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30436         * sysdeps/nptl/lowlevellock.h: File removed.
30438         * NEWS: NPTL is no longer an add-on!
30439         * nptl/internaltypes.h: Moved ...
30440         * sysdeps/nptl/internaltypes.h: ... here.
30441         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30442         * sysdeps/nptl/fork.c: Likewise.
30443         * sysdeps/nptl/gai_misc.h: Likewise.
30444         * sysdeps/nptl/librt-cancellation.c: Likewise.
30445         * sysdeps/nptl/jmp-unwind.c: Likewise.
30446         * sysdeps/nptl/setxid.h: Likewise.
30447         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30448         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30449         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30450         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30451         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30452         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30453         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30454         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30455         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30456         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30457         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30458         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30459         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30460         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30461         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30462         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30463         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30464         * nptl/Makeconfig: Moved ...
30465         * sysdeps/nptl/Makeconfig: ... here.
30466         * nptl/configure: File removed.
30467         * nptl/ANNOUNCE: File removed.
30468         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30469         * sysdeps/unix/sysv/linux/configure: Regenerated.
30471         * nptl/Makefile (routines): Add libc_pthread_init,
30472         libc_multiple_threads, register-atfork and unregister-atfork.
30473         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30474         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30475         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30476         pthread-pi-defines.sym, structsem.sym.
30477         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30478         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30479         [$(subdir) = nptl] (tests): Add tst-setgetname.
30480         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30481         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30482         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30483         [!LIBC_SIGACTION]: Remove aliases.
30484         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30485         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30486         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30487         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30488         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30489         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30490         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30491         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30492         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30493         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30494         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30495         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30496         __libc_allocate_rtsig_private.
30497         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30498         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30499         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30500         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30501         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30502         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30503         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30504         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30505         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30506         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30507         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30508         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30509         * nptl/internaltypes.h: ... here.
30510         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30511         * sysdeps/nptl/jmp-unwind.c: ... here.
30512         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30513         * nptl/libc-lowlevellock.c: ... here.
30514         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30515         * nptl/libc_multiple_threads.c: ... here.
30516         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30517         * nptl/libc_pthread_init.c: ... here.
30518         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30519         * nptl/lowlevelbarrier.sym: ... here.
30520         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30521         * nptl/lowlevelcond.sym: ... here.
30522         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30523         * nptl/lowlevellock.c: ... here.
30524         * nptl/lowlevellock.h: Moved ...
30525         * sysdeps/nptl/lowlevellock.h: ... here.
30526         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30527         * nptl/lowlevelrobustlock.c: ... here.
30528         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30529         * nptl/lowlevelrobustlock.sym: ... here.
30530         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30531         * nptl/lowlevelrwlock.sym: ... here.
30532         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30533         * nptl/pt-fork.c: ... here.
30534         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30535         * nptl/pthread-pi-defines.sym: ... here.
30536         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30537         * nptl/pthread_attr_getaffinity.c: ... here.
30538         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30539         * nptl/pthread_attr_setaffinity.c: ... here.
30540         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30541         * nptl/pthread_mutex_cond_lock.c: ... here.
30542         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30543         Update #include.
30544         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30545         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30546         * nptl/pthread_once.c: ... here, replacing old file.
30547         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30548         * nptl/pthread_yield.c: ... here.
30549         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30550         * nptl/register-atfork.c: ... here.
30551         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30552         * nptl/sem_post.c: ... here.
30553         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30554         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30555         * nptl/sem_timedwait.c: ... here.
30556         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30557         * nptl/sem_trywait.c: ... here.
30558         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30559         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30560         * nptl/sem_wait.c: ... here.
30561         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30562         * nptl/structsem.sym: ... here.
30563         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30564         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30565         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30566         * nptl/unregister-atfork.c: ... here.
30567         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30568         * nptl/unwindbuf.sym: ... here.
30569         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30570         * sysdeps/nptl/fork.c: ... here.
30571         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30572         * sysdeps/nptl/fork.h: ... here.
30573         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30574         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30575         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30576         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30577         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30578         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30579         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30580         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30581         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30582         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30583         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30584         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30585         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30586         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30587         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30588         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30589         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30590         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30591         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30592         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30593         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30594         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30595         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30596         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30597         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30598         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30599         * sysdeps/unix/sysv/linux/raise.c: ... here.
30600         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30601         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30602         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30603         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30604         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30605         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30606         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30607         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30608         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30609         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30610         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30611         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30612         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30613         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30614         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30616 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30618         * sysdeps/generic/memcopy.h: Add comment for
30619         MEMCPY_OK_FOR_FWD_MEMMOVE.
30621 2014-07-04  Will Newton  <will.newton@linaro.org>
30623         * string/memchr.c: Merge from gnulib.
30624         [_LIBC]: Remove conditionals.
30625         (__ptr_t): Remove define.
30626         (LONG_MAX_32_BITS): Likewise.
30627         (LONG_MAX): Likewise.
30628         (MEMCHR): Use ANSI prototype and optimize algorithm.
30630         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30632 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30634         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30635         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30637         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30638         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30639         in a bare environment with no <stdlib.h> installed.
30640         * sysdeps/nptl/configure: Regenerated.
30642         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30644         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30645         AC_EGREP_CPP for kernel header checks, so they only succeed if
30646         including <linux/version.h> actually works right.
30647         * sysdeps/unix/sysv/linux/configure: Regenerated.
30649         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30650         value so it's not diagnosed as unused.
30652         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30653         thing) with "ifeq ($(subdir),rt)".
30655 2014-07-03  Richard Henderson  <rth@redhat.com>
30657         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30658         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30659         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30661         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30662         (math_force_eval): New.
30664         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30665         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30667         * sysdeps/alpha/fpu/s_round.c: Remove file.
30668         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30670         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30671         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30672         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30673         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30674         (_dl_start, print_statistics): Likewise.
30675         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30676         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30678         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30679         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30680         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30681         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30682         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30683         (HP_SMALL_TIMING_AVAIL): Define.
30684         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30685         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30686         (HP_SMALL_TIMING_AVAIL): Define.
30687         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30688         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30690         * sysdeps/aarch64/hp-timing.h: New file.
30692         * sysdeps/generic/hp-timing.h: Remove dead comment.
30693         * sysdeps/generic/hp-timing-common.h: New file.
30694         * sysdeps/alpha/hp-timing.h: Include it.
30695         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30696         * sysdeps/i386/i686/hp-timing.h: Likewise.
30697         * sysdeps/ia64/hp-timing.h: Likewise.
30698         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30699         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30700         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30701         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30702         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30703         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30704         (hp_timing_t): New.
30706         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30707         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30708         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30709         * elf/rtld.c (_dl_start_final): Likewise.
30710         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30711         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30712         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30713         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30714         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30715         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30716         (HP_TIMING_DIFF_INIT): Remove.
30717         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30718         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30719         (HP_TIMING_DIFF_INIT): Remove.
30720         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30721         * sysdeps/i386/i686/hp-timing.c: Remove file.
30722         * sysdeps/x86_64/hp-timing.c: Remove file.
30723         * sysdeps/ia64/hp-timing.c: Remove file.
30724         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30725         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30726         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30727         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30729         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30730         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30731         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30732         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30733         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30734         (HP_TIMING_ACCUM): Remove.
30735         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30736         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30737         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30739         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30740         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30741         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30742         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30743         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30744         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30745         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30746         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30748         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30750 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30752         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30754 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30756         Sync up with gettext.
30757         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30758         [_MSC_VER]: Include malloc.h
30759         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30760         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30761         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30762         TEMP_FAILURE_RETRY.  Cast return of alloca.
30763         [!_LIBC] Call gl_rwlock_init.
30764         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30766 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30768         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30769         before checking its value.
30771 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30773         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30775         * debug/memcpy_chk.c: Don't include pagecopy.h.
30776         * debug/mempcpy_chk.c: Likewise.
30777         * string/memcpy.c: Likewise.
30778         * string/memmove.c: Likewise.
30779         * sysdeps/powerpc/memmove.c: Likewise.
30780         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
30781         definition of PAGE_COPY_FWD_MAYBE here...
30782         * sysdeps/generic/pagecopy.h: ... from here.
30783         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30785 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30786             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30788         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30790         optimizations.
30791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30792         (__libc_ifunc_impl_list): Likewise.
30793         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30794         multiarch strcat for PPC64.
30795         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30796         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30798 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30800         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30802 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30804         * intl/loadmsgcat.c: Remove declaration of
30805         get_sysdep_segment_value.
30806         (get_sysdep_segment_value): Use ISO C style.
30807         (_nl_load_domain): Use ISO C style.  Get rid of redundant
30808         semicolon.  Fix typo and formatting in comment.
30809         (_nl_unload_domain): Use ISO C style.
30811         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30813 2014-07-02  Will Newton  <will.newton@linaro.org>
30815         * malloc/obstack.c: Merge from gnulib master.
30816         [HAVE_CONFIG_H]: Remove conditional code.
30817         [!_LIBC]: Include config.h.
30818         [!ELIDE_CODE]: Don't include inttypes.h, include
30819         stdint.h unconditionally.
30820         (print_and_abort): Mark as _Noreturn.
30821         (_obstack_allocated_p): Mark as __attribute_pure__.
30822         (obstack_free): Rename to __obstack_free.
30823         [!__attribute__]: Remove conditional code.
30824         * malloc/obstack.h: Merge from gnulib master.
30825         [__cplusplus]: Move conditional down.
30826         [!__attribute_pure__]: Define __attribute_pure__ here
30827         if it is not already defined.
30828         (_obstack_memory_used): Mark as __attribute_pure__.
30829         [!__obstack_free]: Define as obstack_free.
30830         [__GNUC__]: Remove check for ancient NeXT gcc.
30832 2014-07-02  Will Newton  <will.newton@linaro.org>
30833             Paul Eggert  <eggert@cs.ucla.edu>
30835         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30837 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30839         * resolv/gethnamaddr.c: Add comment warning that the file is
30840         not maintained.
30842 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30844         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30845         entries.
30847         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30848         entry for aio_cancel and aio_cancel64.
30849         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30850         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30851         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30852         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30853         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30854         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30855         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30856         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30857         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30858         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30859         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30860         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30861         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30863 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30865         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30866         * nptl/pthread_mutex_lock.c: Likewise.
30867         * nptl/pthread_mutex_timedlock.c: Likewise.
30868         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30870 2014-07-01  Richard henderson  <rth@redhat.com>
30872         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30873         (__isnan, __isnanl): Remove.
30874         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30876         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30878 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30880         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30882 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30884         * resolv/nss_dns/dns-host.c (getanswer_r)
30885         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30887 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30889         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30890         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30891         undefine.
30892         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30893         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30895 2014-07-01  Roland McGrath <roland@hack.frob.com>
30897         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30898         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30900         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30901         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30903         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30904         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30905         ... here.
30906         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30907         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30909         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30910         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30911         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30912         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30914         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30915         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30916         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30917         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30918         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30919         Moved ...
30920         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30921         ... here.
30922         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30923         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30924         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30925         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30926         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30927         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30928         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30929         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30930         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30931         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30932         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30933         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30934         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30935         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30936         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30937         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30938         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30939         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30940         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30941         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30942         ... here.
30943         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30944         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30945         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30946         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30947         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30948         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30949         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30950         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30952 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30954         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30955         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30956         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30957         Add sysdep.
30959 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30963 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30965         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30966         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30968         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30970         * sysdeps/arm/libm-test-ulps: Regenerated.
30972 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30973             Roland McGrath <roland@hack.frob.com>
30975         * test-skeleton.c (signal_handler): Kill the whole process group
30976         before killing the child individually.
30977         (main): Report any failure on `setpgid'.
30979 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30981         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30982         from _TLS_H to _ARM_NPTL_TLS_H.
30983         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30984         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30986 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30988         [BZ #16539]
30989         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30990         (__expm1l): Return argument unchanged when small but not
30991         subnormal.
30993         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30994         include macro name.
30995         (_FP_UNPACK_RAW_1_P): Likewise.
30996         (_FP_PACK_RAW_1): Likewise.
30997         (_FP_PACK_RAW_1_P): Likewise.
30998         (_FP_MUL_MEAT_1_wide): Likewise.
30999         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31000         (_FP_MUL_MEAT_1_hard): Likewise.
31001         (_FP_DIV_MEAT_1_imm): Likewise.
31002         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31003         (_FP_DIV_MEAT_1_udiv): Likewise.
31004         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31005         (_FP_UNPACK_RAW_2): Likewise.
31006         (_FP_UNPACK_RAW_2_P): Likewise.
31007         (_FP_PACK_RAW_2): Likewise.
31008         (_FP_PACK_RAW_2_P): Likewise.
31009         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31010         (_FP_MUL_MEAT_2_wide): Likewise.
31011         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31012         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31013         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31014         (_FP_MUL_MEAT_2_gmp): Likewise.
31015         (_FP_DIV_MEAT_2_udiv): Likewise.
31016         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31017         (_FP_FRAC_SRL_4): Likewise.
31018         (_FP_FRAC_SRST_4): Likewise.
31019         (_FP_FRAC_SRS_4): Likewise.
31020         (_FP_UNPACK_RAW_4): Likewise.
31021         (_FP_UNPACK_RAW_4_P): Likewise.
31022         (_FP_PACK_RAW_4): Likewise.
31023         (_FP_PACK_RAW_4_P): Likewise.
31024         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31025         (_FP_MUL_MEAT_4_wide): Likewise.
31026         (_FP_MUL_MEAT_4_gmp): Likewise.
31027         (umul_ppppmnnn): Likewise.
31028         (_FP_DIV_MEAT_4_udiv): Likewise.
31029         (__FP_FRAC_ADD_4): Likewise.
31030         (__FP_FRAC_SUB_3): Likewise.
31031         (__FP_FRAC_SUB_4): Likewise.
31032         (__FP_FRAC_DEC_3): Likewise.
31033         (__FP_FRAC_DEC_4): Likewise.
31034         (__FP_FRAC_ADDI_4): Likewise.
31035         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31036         (_FP_FRAC_SRL_8): Likewise.
31037         (_FP_FRAC_SRS_8): Likewise.
31039         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31040         include macro name.
31041         (FP_UNPACK_RAW_EP): Likewise.
31042         (FP_PACK_RAW_E): Likewise.
31043         (FP_PACK_RAW_EP): Likewise.
31044         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31045         (_FP_ISSIGNAN): Likewise.
31046         (_FP_ADD_INTERNAL): Likewise.
31047         (_FP_FMA): Likewise.
31048         (_FP_CMP): Likewise.
31049         (_FP_SQRT): Likewise.
31050         (_FP_TO_INT): Likewise.
31051         (_FP_FROM_INT): Likewise.
31052         (FP_EXTEND): Likewise.
31053         (_FP_DIV_MEAT_N_loop): Likewise.
31055 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31057         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31058         throughout.
31060 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31062         [BZ #17097]
31063         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31064         result with correct sign in case of exponents that produce
31065         overflow except for X very close to 1.
31067 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31069         mktime: merge #if/#ifdef usage from glibc
31070         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31071         as that works with both Glibc's and Gnulib's style.
31072         See thread starting at Siddhesh Poyarekar's bug report at:
31073         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31075 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31077         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31078         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31079         * sysdeps/tile/tilegx/memmove.c: Remove file.
31081 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31083         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31084         abi-name definition.
31085         * scripts/soversions.awk: Do not handle or generate ABI lines.
31086         * shlib-versions: Remove ABI entries.
31087         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31088         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31090 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31092         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31093         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31094         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31095         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31097         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31098         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31099         Moved ...
31100         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31101         ... here.
31102         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31103         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31104         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31105         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31106         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31107         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31109         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31110         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31111         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31112         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31113         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31115         Moved ...
31116         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31117         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31118         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31119         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31120         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31122         Moved ...
31123         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31124         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31125         Moved ...
31126         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31128         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31129         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31130         Moved ...
31131         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31132         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31133         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31134         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31135         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31136         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31137         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31138         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31139         Moved ...
31140         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31141         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31142         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31143         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31144         Moved ...
31145         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31146         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31147         Moved ...
31148         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31149         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31150         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31151         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31152         Moved ...
31153         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31154         ... here.
31155         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31156         Identical file removed.
31157         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31158         Moved ...
31159         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31160         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31161         Identical file removed.
31162         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31163         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31164         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31165         Moved ...
31166         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31167         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31168         Identical file removed.
31169         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31170         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31171         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31172         Identical file removed.
31173         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31174         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31175         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31176         Identical file removed.
31177         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31178         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31179         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31180         Identical file removed.
31181         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31182         Moved ...
31183         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31184         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31185         Identical file removed.
31186         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31187         Moved ...
31188         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31189         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31190         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31191         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31192         Identical file removed.
31193         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31194         Moved ...
31195         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31196         ... here.
31197         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31198         Identical file removed.
31199         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31200         Moved ...
31201         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31203         Identical file removed.
31204         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31205         Moved ...
31206         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31207         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31208         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31209         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31210         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31211         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31212         Moved ...
31213         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31214         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31215         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31217         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31218         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31219         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31220         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31221         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31223 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31225         [BZ #17092]
31226         * nscd/nscd.c (monitor_child): Return exit status of child
31227         instead of return value from wait syscall.
31229 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31231         * configure.ac (libc_commonpagesize): Remove variable.
31232         (libc_relro_required): Likewise.
31233         (libc_cv_z_relro): Remove configure test.
31234         * configure: Regenerated.
31235         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31236         variable.
31237         (libc_relro_required): Likewise.
31238         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31239         (libc_relro_required): Likewise.
31240         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31241         (libc_relro_required): Likewise.
31242         * sysdeps/arm/preconfigure: Regenerated.
31243         * sysdeps/ia64/preconfigure: Remove file.
31244         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31245         variable.
31246         (libc_relro_required): Likewise.
31248         [BZ #16561]
31249         [BZ #16562]
31250         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31251         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31252         recompute overflowing results in original rounding mode.
31253         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31254         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31255         recompute overflowing results in original rounding mode.
31256         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31257         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31258         recompute overflowing results in original rounding mode.
31259         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31260         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31261         recompute overflowing results in original rounding mode.
31262         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31263         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31264         recompute overflowing results in original rounding mode.
31265         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31266         (libc_feholdsetround_ctx): New macro.
31267         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31268         * sysdeps/i386/fpu/libm-test-ulps: Update.
31269         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31271 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31273         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31274         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31275         corresponding .cpsetup call.
31277 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31279         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31280         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31281         * sysdeps/arm/Makefile [$(subdir) = csu]
31282         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31283         (static-only-routines): Add aeabi_read_tp here.
31284         (shared-only-routines): Add libc-aeabi_read_tp here.
31285         (CFLAGS-libc-start.c): Add -fexceptions here.
31286         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31287         (sysdep_routines, static-only-routines, shared-only-routines):
31288         Don't add to these here.
31289         (CFLAGS-libc-start.c): Likewise.
31291         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31292         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31293         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31294         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31295         * sysdeps/arm/Makefile [$(subdir) = rt]
31296         (librt-sysdep_routines, librt-shared-only-routines):
31297         Append rt-aeabi_unwind_cpp_pr1 here.
31298         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31299         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31300         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31301         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31302         Append nptl-aeabi_unwind_cpp_pr1 here.
31303         (tests): Filter out tst-cleanupx4 here.
31304         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31305         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31306         Don't do those here.
31308 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31310         * scripts/list-sources.sh: Do not handle ports specially.
31312 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31314         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31315         * sysdeps/arm/feupdateenv.c: Likewise.
31317         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31319 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31321         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31322         trailing whitespace removed.
31323         * scripts/config.guess: Update to version 2014-03-23.
31324         * scripts/config.sub: Update to version 2014-05-01
31325         * scripts/install-sh: Update to version 2013-12-25.23.
31326         * scripts/move-if-change: Update from gnulib.
31328 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31330         * debug/memmove_chk.c: Remove pagecopy.h include.
31332 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31334         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31335         identical to gnulib mktime.
31337 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31339         * configure.ac: Do not test for machine being rs6000.  Do not test
31340         for powerpc*-*soft.
31341         * configure: Regenerated.
31343         [BZ #11505]
31344         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31345         test.
31346         * configure: Regenerated.
31347         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31348         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31349         Remove configure test.
31350         * sysdeps/arm/configure: Regenerated.
31351         * sysdeps/nptl/configure.ac: Do not check
31352         libc_cv_asm_cfi_directives.
31353         * sysdeps/nptl/configure: Regenerated.
31354         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31355         * sysdeps/x86_64/nptl/configure: Remove generated file.
31356         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31357         unconditional.
31358         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31360 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31362         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31363         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31364         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31365         it is defined.
31367         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31368         instead of whether it is defined.
31369         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31370         * sysdeps/hppa/dl-machine.h: Likewise.
31371         * sysdeps/ia64/dl-machine.h: Likewise.
31372         * sysdeps/m68k/dl-machine.h: Likewise.
31373         * sysdeps/microblaze/dl-machine.h: Likewise.
31374         * sysdeps/mips/dl-machine.: Likewise.
31375         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31376         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31377         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31378         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31379         * sysdeps/sh/dl-machine.h: Likewise.
31380         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31381         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31382         * sysdeps/tile/dl-machine.h: Likewise.
31383         * sysdeps/x86_64/dl-machine.h: Likewise.
31385         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31386         code.
31387         (verify_persistent_db): Likewise.
31389 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31392         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31394         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31396         Moved ...
31397         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31398         ... here.
31399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31400         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31402         Identical file removed.
31403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31404         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31406         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31408         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31410         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31412         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31414         Moved ...
31415         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31417         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31419         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31421         Moved ...
31422         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31424         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31426         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31428         Identical file removed.
31429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31430         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31432         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31434         Moved ...
31435         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31436         ... here.
31437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31438         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31440         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31442         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31444         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31446         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31448         Moved ...
31449         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31451         Moved ...
31452         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31454         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31456         Moved ...
31457         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31459         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31461         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31462         folded into ...
31463         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31464         * sysdeps/unix/sysv/linux/s390/Versions
31465         (libpthread: GLIBC_2.19): New version set.
31466         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31467         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31468         (librt: GLIBC_2.3.3): New version set.
31469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31470         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31471         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31472         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31473         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31475         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31477         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31478         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31479         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31480         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31481         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31482         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31483         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31484         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31485         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31486         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31487         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31488         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31489         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31490         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31491         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31492         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31493         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31494         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31495         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31496         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31497         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31498         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31499         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31500         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31501         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31502         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31503         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31504         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31505         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31506         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31507         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31509         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31510         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31511         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31512         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31513         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31515         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31516         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31517         (__libc_vfork): Define the function under this name.
31518         [!NOT_IN_libc] (__vfork): Make this an alias.
31519         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31520         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31521         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31522         (__libc_vfork): Define the function under this name.
31523         [!NOT_IN_libc] (__vfork): Make this an alias.
31524         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31525         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31526         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31527         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31528         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31529         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31531         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31532         code that was previously under [RESET_PID].
31533         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31534         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31535         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31537         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31538         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31539         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31540         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31541         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31542         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31543         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31544         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31545         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31546         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31547         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31548         Moved ...
31549         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31550         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31551         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31552         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31553         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31554         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31555         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31556         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31557         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31558         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31559         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31560         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31561         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31562         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31563         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31564         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31565         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31566         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31567         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31568         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31569         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31570         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31571         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31572         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31573         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31574         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31575         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31576         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31577         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31579 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31581         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31582         that was previously under [RESET_PID].
31583         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31585 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31587         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31588         not undefine and redefine.
31589         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31590         [O_CLOEXEC]: Make code unconditional.
31591         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31592         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31593         <kernel-features.h>.
31594         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31595         conditional variable definition.
31596         (shm_open) [O_CLOEXEC]: Make code unconditional.
31597         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31598         code.
31600         * configure.ac (USE_REGPARMS): Don't define here.
31601         * configure: Regenerated.
31602         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31603         * sysdeps/i386/configure: Regenerated.
31605         * nptl/createthread.c: Don't include kernel-features.h.
31606         * nptl/pthread_cancel.c: Likewise.
31607         * nptl/pthread_condattr_setclock.c: Likewise.
31608         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31609         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31610         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31611         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31612         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31613         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31614         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31615         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31616         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31617         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31618         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31619         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31620         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31621         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31622         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31623         * nscd/gai.c: Likewise.
31624         * nss/nss_db/db-open.c: Likewise.
31625         * sysdeps/generic/ldsodefs.h: Likewise.
31626         * sysdeps/sh/nptl/tls.h: Likewise.
31627         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31628         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31629         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31630         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31631         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31632         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31633         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31634         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31635         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31636         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31637         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31638         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31639         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31640         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31641         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31642         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31643         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31644         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31645         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31646         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31648         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31649         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31650         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31652         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31653         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31654         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31655         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31656         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31657         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31658         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31659         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31660         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31661         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31662         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31663         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31664         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31665         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31666         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31667         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31668         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31669         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31670         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31671         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31672         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31673         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31674         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31675         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31676         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31677         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31678         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31679         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31680         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31681         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31682         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31683         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31684         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31707         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31708         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31709         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31710         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31711         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31712         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31713         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31714         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31715         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31716         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31717         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31718         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31719         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31720         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31721         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31722         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31723         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31724         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31725         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31726         * sysdeps/unix/sysv/linux/system.c: Likewise.
31727         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31728         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31729         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31730         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31731         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31732         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31733         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31735         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31736         * configure: Regenerated.
31737         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31739         * configure.ac (base_machine): Do not set specially for particular
31740         machines here.
31741         * configure: Regenerated.
31742         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31743         settings from configure.ac.
31744         * sysdeps/i386/preconfigure: New file.
31745         * sysdeps/s390/preconfigure: Likewise.
31746         * sysdeps/sh/preconfigure: Likewise.
31747         * sysdeps/sparc/preconfigure: Likewise.
31749 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31751         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31752         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31753         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31754         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31755         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31756         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31757         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31758         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31759         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31760         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31761         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31762         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31763         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31764         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31765         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31766         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31767         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31768         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31769         * sysdeps/sparc/sparc64/Makefile: ... appended here.
31771         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31772         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31773         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31774         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31775         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31776         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31777         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31778         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31779         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31780         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31781         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31782         * sysdeps/sparc/sparc32/sem_post.c: ... here.
31783         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31784         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31785         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31786         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31787         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31788         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31789         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31790         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31791         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31792         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31793         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31794         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31795         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31796         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31797         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31798         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31799         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31800         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31801         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31802         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31803         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31804         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31805         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31806         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31807         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31808         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31811         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31813         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31815         Moved ...
31816         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31817         ... here.
31818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31819         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31821         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31823         Moved ...
31824         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31826         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31828         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31830         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31832         Moved ...
31833         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31835         Moved ...
31836         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31838         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31840         Moved ...
31841         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31843         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31845         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31847         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31849         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31851         Moved ...
31852         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31853         ... here.
31854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31855         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31857         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31859         Moved ...
31860         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31862         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31864         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31866         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31868         Moved ...
31869         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31871         Moved ...
31872         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31874         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31876         Moved ...
31877         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31879         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31881         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31883 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31885         * timezone/checktab.awk: Update from tzcode 2014e.
31886         * timezone/private.h: Likewise.
31887         * timezone/tzfile.h: Likewise.
31888         * timezone/zdump.c: Likewise.
31889         * timezone/zic.c: Likewise.
31891         * sysdeps/unix/sysv/linux/kernel-features.h
31892         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31893         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31894         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31895         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31896         Remove conditional code.
31898 2014-06-25  Will Newton  <will.newton@linaro.org>
31900         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31901         (_dl_arm_cap_flags): Add HWCAP2 values.
31902         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31903         (_DL_HWCAP_COUNT): Increase to 37.
31904         (_DL_HWCAP_LAST): New define.
31905         (_DL_HWCAP2_LAST): New define.
31906         (_dl_procinfo): Add support for printing
31907         AT_HWCAP2 entries.
31908         (_dl_string_hwcap): Use _dl_hwcap_string.
31910 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31914 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31916         * README: Do not mention ports directory.
31918         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31919         Remove macro.
31920         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31921         <kernel-features.h>.
31922         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31923         conditional variable definition.
31924         (__futimes): Update comment.
31925         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31926         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31928         [BZ #16560]
31929         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31930         arguments close to 0.
31931         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31932         Likewise.
31933         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31934         Likewise.
31935         * math/auto-libm-test-in: Add more tests of exp10.
31936         * math/auto-libm-test-out: Regenerated.
31937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31939         * sysdeps/unix/sysv/linux/kernel-features.h
31940         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31941         * sysdeps/unix/sysv/linux/readv.c: Do not include
31942         <kernel-features.h>.
31943         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31944         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31945         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31946         unconditional.
31947         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31948         conditional code.
31949         * sysdeps/unix/sysv/linux/writev.c: Do not include
31950         <kernel-features.h>.
31951         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31952         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31953         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31954         unconditional.
31955         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31956         conditional code.
31958 2014-06-25  Will Newton  <will.newton@linaro.org>
31960         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31961         comment changes throughout the file.  Remove checks
31962         for HAVE_*_H definitions that are not required.
31963         (__gen_tempname): Call abort if an unknown kind value is
31964         passed.
31966 2014-06-25  Andreas Schwab  <schwab@suse.de>
31968         [BZ #17086]
31969         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31970         scalbln, scalblnf, scalblnl in libc.
31972 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31974         [BZ #17086]
31975         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31976         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31977         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31979 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31981         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31982         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31983         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31984         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31985         Update #include.
31986         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31987         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31988         Update #include.
31989         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31990         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31991         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31992         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31993         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31994         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31995         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31996         * sysdeps/x86/bits/semaphore.h: ... here.
31997         * sysdeps/x86/nptl/elide.h: Moved ...
31998         * sysdeps/x86/elide.h: ... here.
31999         * sysdeps/x86_64/nptl/Implies: File removed.
32000         * sysdeps/i386/nptl/Implies: File removed.
32002 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32004         [BZ #16539]
32005         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32006         return the argument for normal arguments with exponent below -64.
32007         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32008         Likewise.
32009         * math/auto-libm-test-in: Add another test of expm1.
32010         * math/auto-libm-test-out: Regenerated.
32012         [BZ #16287]
32013         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32014         calling __erfcl for arguments at least 16.
32015         * math/auto-libm-test-in: Add more tests of erf.
32016         * math/auto-libm-test-out: Regenerated.
32018         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32019         individual architectures.
32020         * sysdeps/unix/sysv/linux/configure: Regenerated.
32021         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32022         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32023         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32024         (ldd_rewrite_script): Define variable.
32025         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32027         file.
32028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32029         generated file.
32030         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32031         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32032         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32033         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32034         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32035         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32036         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32037         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32039 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32041         [BZ #17084]
32042         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32043         Rename member __data.d to __data.__elision_data.
32045 2014-06-24  Wilco  <wdijkstr@arm.com>
32047         * NEWS: Add 16918 to fixed bug list.
32049 2014-06-24  Wilco  <wdijkstr@arm.com>
32051         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32053 2014-06-24  Wilco  <wdijkstr@arm.com>
32055         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32056         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32057         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32058         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32059         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32060         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32061         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32062         Use _FPU_MASK_RM.
32064 2014-06-24  Wilco  <wdijkstr@arm.com>
32066         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32068 2014-06-24  Wilco  <wdijkstr@arm.com>
32070         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32071         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32072         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32073         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32075 2014-06-24  Wilco  <wdijkstr@arm.com>
32077         [BZ #16918]
32078         * sysdeps/arm/feupdateenv.c (feupdateenv):
32079         Rewrite to reduce FPSCR accesses and fix return value.
32081 2014-06-24  Wilco  <wdijkstr@arm.com>
32083         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32084         Optimize to avoid unnecessary FPSCR writes.
32085         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32086         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32087         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32088         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32090 2014-06-24  Wilco  <wdijkstr@arm.com>
32092         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32093         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32094         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32095         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32096         Call libc_fetestexcept_vfp.
32097         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32098         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32099         __SOFTFP__ ifdef so that they can be built for softfp.
32101 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32103         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32104         argument type signed char.
32106         * Makerules (check-abi): Dump diff of symlist if the test
32107         fails.
32109 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32111         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32112         using abort.
32114         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32115         Remove unused variable ST.
32117 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32119         [BZ #16354]
32120         [BZ #17061]
32121         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32122         small arguments before calling __expm1.
32123         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32124         small arguments before calling __expm1f.
32125         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32126         small arguments before calling __expm1l.
32127         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32128         Likewise.
32129         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32130         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32131         spurious underflow for some cosh tests.
32132         * math/auto-libm-test-out: Regenerated.
32133         * sysdeps/i386/fpu/libm-test-ulps: Update.
32135         [BZ #17050]
32136         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32137         (__ieee754_y1): Set errno if return value overflows.
32138         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32139         (__ieee754_y1f): Set errno if return value overflows.
32140         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32141         (__ieee754_y1l): Set errno if return value overflows.
32142         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32143         (__ieee754_y1l): Set errno if return value overflows.
32144         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32145         * math/auto-libm-test-out: Regenerated.
32147         * math/gen-auto-libm-tests.c: Document use of
32148         ignore-zero-inf-sign.
32149         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32150         (input_flags): Add ignore-zero-inf-sign.
32151         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32152         * math/gen-libm-test.pl (generate_testfile): Handle
32153         ignore-zero-inf-sign.
32154         * math/auto-libm-test-in: Mark some cpow tests with
32155         ignore-zero-inf-sign and some with xfail-rounding.
32156         * math/auto-libm-test-out: Regenerated.
32157         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32158         * sysdeps/i386/fpu/libm-test-ulps: Update.
32159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32161         [BZ #16315]
32162         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32163         overflowing or underflowing operations take place with sign of
32164         result.
32165         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32166         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32167         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32168         (__ieee754_pow): Recompute overflowing and underflowing results in
32169         original rounding mode.
32170         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32171         (__powl_helper): Allow negative argument X and scale negated value
32172         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32173         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32174         overflowing or underflowing operations take place with sign of
32175         result.
32176         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32177         Include <math.h>.
32178         * math/auto-libm-test-in: Add more tests of pow.
32179         * math/auto-libm-test-out: Regenerated.
32180         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32181         (pow_tonearest_test_data): Remove.
32182         (pow_test_tonearest): Likewise.
32183         (pow_towardzero_test_data): Likewise.
32184         (pow_test_towardzero): Likewise.
32185         (pow_downward_test_data): Likewise.
32186         (pow_test_downward): Likewise.
32187         (pow_upward_test_data): Likewise.
32188         (pow_test_upward): Likewise.
32189         (main): Don't call removed functions.
32190         * sysdeps/i386/fpu/libm-test-ulps: Update.
32191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32193 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32196         Moved ...
32197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32199         Moved ...
32200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32202         Moved ...
32203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32205         Moved ...
32206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32208         File removed.
32209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32210         File removed.
32211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32212         File removed.
32213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32214         File removed.
32215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32216         File removed.
32217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32218         File removed.
32219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32220         File removed.
32221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32222         File removed.
32223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32224         File removed.
32225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32226         File removed.
32227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32228         File removed.
32229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32230         File removed.
32231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32232         Moved ...
32233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32235         Moved ...
32236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32237         ... here.
32238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32239         Moved ...
32240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32242         Moved ...
32243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32245         Moved ...
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32248         Moved ...
32249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32251         Moved ...
32252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32254         Moved ...
32255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32257         Moved ...
32258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32261         ... here.
32262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32263         Moved ...
32264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32266         Moved ...
32267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32268         ... here.
32269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32270         Moved ...
32271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32272         ... here.
32273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32274         Moved ...
32275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32276         ... here.
32277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32278         Moved ...
32279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32281         Moved ...
32282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32286         Moved ...
32287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32288         ... here.
32289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32290         Moved ...
32291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32292         ... here.
32293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32294         Moved ...
32295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32297         Moved ...
32298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32300         Moved ...
32301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32303         Moved ...
32304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32306         Moved ...
32307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32308         ... here.
32309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32310         Moved ...
32311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32313         Moved ...
32314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32316         Moved ...
32317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32319         Moved ...
32320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32324         Moved ...
32325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32327         Moved ...
32328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32330         Moved ...
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32332         ... here.
32333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32334         Moved ...
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32336         ... here.
32337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32338         Moved ...
32339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32340         ... here.
32341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32342         Moved ...
32343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32345         Moved ...
32346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32348         Moved ...
32349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32351         Moved ...
32352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32353         ... here.
32354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32355         Moved ...
32356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32357         ... here.
32358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32359         Moved ...
32360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32361         ... here.
32362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32363         Moved ...
32364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32366         Moved ...
32367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32369 2014-06-23  Will Newton  <will.newton@linaro.org>
32370             Wilco  <wdijkstr@arm.com>
32372         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32373         implementation.  Include get-rounding-mode.h.
32374         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32375         [!libc_feholdsetround_noex_ctx]: Define
32376         libc_feholdsetround_noex_ctx.
32377         [!libc_feholdsetround_noexf_ctx]: Define
32378         libc_feholdsetround_noexf_ctx.
32379         [!libc_feholdsetround_noexl_ctx]: Define
32380         libc_feholdsetround_noexl_ctx.
32381         (libc_feholdsetround_ctx): New function.
32382         (libc_feresetround_ctx): New function.
32383         (libc_feholdsetround_noex_ctx): New function.
32384         (libc_feresetround_noex_ctx): New function.
32386 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32388         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32389         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32390         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32391         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32392         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32393         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32395         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32396         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32397         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32398         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32399         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32400         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32401         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32402         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32403         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32404         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32405         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32406         Moved ...
32407         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32408         ... here.
32409         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32410         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32411         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32412         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32413         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32414         Moved ...
32415         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32416         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32417         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32418         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32419         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32420         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32421         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32422         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32423         Moved ...
32424         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32425         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32426         Moved ...
32427         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32428         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32429         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32430         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32431         Moved ...
32432         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32433         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32434         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32435         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32436         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32437         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32438         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32439         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32440         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32441         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32442         Moved ...
32443         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32444         ... here.
32445         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32446         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32447         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32448         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32449         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32450         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32451         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32452         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32453         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32454         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32455         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32456         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32457         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32458         Moved ...
32459         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32460         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32461         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32462         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32463         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32464         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32465         Moved ...
32466         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32467         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32468         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32469         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32470         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32472         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32473         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32474         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32475         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32476         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32477         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32478         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32479         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32480         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32481         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32482         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32483         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32484         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32485         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32486         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32487         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32488         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32489         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32490         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32491         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32492         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32493         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32494         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32495         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32496         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32497         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32498         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32499         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32501 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32503         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32504         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32505         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32506         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32507         (IPV6_PMTUDISC_INTERFACE): Likewise.
32508         (IPV6_PMTUDISC_OMIT): Likewise.
32510 2014-06-23  Andreas Schwab  <schwab@suse.de>
32512         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32513         Remove unused errout label.
32515 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32517         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32518         macro: hardware supports Vector Crypto instructions.
32520 2014-06-23  Will Newton  <will.newton@linaro.org>
32522         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32523         rather than __builtin_expect.
32525         * elf/dl-lookup.c (undefined_msg): Remove variable.
32526         (_dl_lookup_symbol_x): Replace undefined_msg with string
32527         literal.
32529         * elf/dl-lookup.c (do_lookup_unique): New function.
32530         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32531         to a separate function.
32533 2014-06-23  Andreas Schwab  <schwab@suse.de>
32535         [BZ #17079]
32536         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32537         before reading the next line.
32539 2014-06-23  Will Newton  <will.newton@linaro.org>
32541         * test-skeleton.c (signal_handler): Use printf and %m
32542         rather than perror.  Use printf rather than fprintf to
32543         stderr.  Use puts rather than fputs to stderr.
32544         (main): Likewise.
32546 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32548         * nscd/nscd.c (thread_info_t): Remove typedef.
32549         (thread_info): Remove variable.
32551 2014-06-21  Allan McRae  <allan@archlinux.org>
32553         * NEWS: Mention CVE-2014-4043.
32555 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32557         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32558         * nptl/smp.h: ... here.
32560         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32562         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32563         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32564         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32565         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32567         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32568         * nptl/stack-aliasing.h: New file.
32569         * sysdeps/i386/i686/stack-aliasing.h: New file.
32570         * sysdeps/i386/i686/nptl/Makefile: File removed.
32571         * sysdeps/x86_64/stack-aliasing.h: New file.
32572         * sysdeps/x86_64/nptl/Makefile
32573         (CFLAGS-pthread_create.c): Variable removed.
32575         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32576         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32577         old file.
32578         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32579         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32580         old file.
32582 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32584         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32585         (__ASSUME_SIGFRAME_V2): Remove macro.
32586         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32587         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32588         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32589         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32590         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32591         Declare as function.  Remove conditional macro definitions.
32592         (__default_rt_sa_restorer): Likewise.
32593         (__default_sa_restorer_v1): Remove declaration.
32594         (__default_sa_restorer_v2): Likewise.
32595         (__default_rt_sa_restorer_v1): Likewise.
32596         (__default_rt_sa_restorer_v2): Likewise.
32597         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32598         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32599         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32601 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32603         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32604         (libpthread-routines): Add sysdep.
32605         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32606         * sysdeps/unix/sysv/linux/sparc/Versions
32607         (libpthread: GLIBC_2.3.3): New version set.
32608         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32609         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32610         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32611         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32612         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32613         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32614         Moved ...
32615         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32616         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32617         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32618         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32619         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32620         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32621         * sysdeps/sparc/nptl/sem_init.c: ... here.
32622         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32623         * sysdeps/sparc/nptl/sem_post.c: ... here.
32624         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32625         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32626         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32627         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32628         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32629         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32630         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32631         (libpthread-routines): Add cpu_relax.
32632         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32633         File removed.
32634         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32635         (librt: GLIBC_2.3.3): New version set.
32636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32637         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32638         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32639         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32642         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32644         Moved ...
32645         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32647         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32649         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32651         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32653         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32655         Moved ...
32656         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32657         Update #include.
32658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32659         Moved ...
32660         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32661         Update #include.
32662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32663         Moved ...
32664         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32665         Update #include.
32666         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32667         Moved ...
32668         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32669         Update #include.
32670         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32671         Moved ...
32672         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32673         Update #include.
32674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32675         Moved ...
32676         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32677         Update #include.
32678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32679         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32683         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32685         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32687         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32689         Moved ...
32690         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32692         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32694         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32696 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32698         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32699         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32700         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32701         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32702         * nscd/nscd.c: Likewise.
32703         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32704         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32705         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32706         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32708         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32709         <kernel-features.h>.
32710         (init_mq_netlink): Remove conditional have_sock_cloexec
32711         definitions.  Remove code conditional on have_sock_cloexec < 0.
32712         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32713         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32714         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32715         <kernel-features.h>.
32716         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32717         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32719 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32722         Add tests for memset_chk and memset.
32724         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32725         with AVX2_Usable.
32727 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32729         [BZ #16046]
32730         * elf/tst-dl-iter-static.c: New file.
32731         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32733         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32734         error.
32736 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32738         * sysdeps/unix/sysv/linux/kernel-features.h
32739         (__ASSUME_F_GETOWN_EX): Remove macro.
32740         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32741         <kernel-features.h>.
32742         (miss_F_GETOWN_EX): Remove variable or macro.
32743         (do_fcntl): Do not check miss_F_GETOWN_EX.
32744         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32746         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32747         Remove macro.
32748         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32749         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32750         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32752         * sysdeps/unix/sysv/linux/kernel-features.h
32753         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32754         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32755         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32756         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32758 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32760         [BZ #17075]
32761         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32762         Fix calculation of the symbol's value.
32763         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32764         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32765         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32766         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32767         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32768         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32769         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32770         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32771         (modules-names): Add `tst-armtlsdescmod',
32772         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32773         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32774         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32775         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32776         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32777         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32778         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32779         ($(objpfx)tst-armtlsdescloc): New dependency.
32780         ($(objpfx)tst-armtlsdescextnow): Likewise.
32781         ($(objpfx)tst-armtlsdescextlazy): Likewise.
32782         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32783         TLS scheme support.
32784         * sysdeps/arm/configure: Regenerate.
32786 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32788         * include/fcntl.h (__atfct_seterrno): Remove prototype.
32789         (__atfct_seterrno_2): Likewise.
32790         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32791         <kernel-features.h>.
32792         (__ASSUME_ATFCTS): Do not undefine and redefine.
32793         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32794         (__have_atfcts): Remove conditional definition.
32795         (__fxstatat([__NR_fstatat64]: Make code unconditional.
32796         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32797         unreachable if [__ASSUME_ATFCTS].
32798         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32799         not undefine and redefine.
32800         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32801         <kernel-features.h>.
32802         (faccessat) [__NR_faccessat]: Make code unconditional.
32803         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32804         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32805         <kernel-features.h>.
32806         (fchmodat) [__NR_fchmodat]: Make code unconditional.
32807         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32808         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32809         <kernel-features.h>.
32810         (fchownat) [__NR_fchownat]: Make code unconditional.
32811         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32812         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32813         <kernel-features.h>.
32814         (futimesat) [__NR_futimesat]: Make code unconditional.
32815         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32816         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32817         <kernel-features.h>.
32818         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32819         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32820         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32821         <kernel-features.h>.
32822         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32823         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32824         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32825         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32826         <kernel-features.h>.
32827         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32828         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32829         * sysdeps/unix/sysv/linux/linkat.c: Do not include
32830         <kernel-features.h>.
32831         (linkat) [__NR_linkat]: Make code unconditional.
32832         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32833         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32834         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32835         <kernel-features.h>.
32836         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32837         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32838         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32839         <kernel-features.h>.
32840         (mkdirat) [__NR_mkdirat]: Make code unconditional.
32841         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32842         * sysdeps/unix/sysv/linux/openat.c: Do not include
32843         <kernel-features.h>.
32844         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32845         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32846         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32847         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32848         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32849         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32850         <kernel-features.h>.
32851         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32852         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32853         result of INLINE_SYSCALL directly, not via int variable.
32854         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32855         <kernel-features.h>.
32856         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32857         (renameat) [__NR_renameat]: Make code unconditional.
32858         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32859         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32860         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32861         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32862         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32863         (__ASSUME_ATFCTS): Do not undefine and redefine.
32864         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32865         <kernel-features.h>.
32866         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32867         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32868         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32869         <kernel-features.h>.
32870         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32871         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32872         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32873         (__ASSUME_ATFCTS): Do not undefine and redefine.
32874         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32875         <kernel-features.h>.
32876         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32877         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32878         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32879         <kernel-features.h>.
32880         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32881         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32883 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32885         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32887 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32889         [BZ #17069]
32890         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32891         constructed tree before returning error.
32892         * posix/bug-regexp36.c: Expand test case.
32894 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32896         [BZ #6803]
32897         * math/libm-test.inc (scalbln_test_date):
32898         Add errno expectations.
32899         * math/w_scalblnf.c: New File.
32900         Add wrapper which checks for setting errno to ERANGE.
32901         Add weak_alias for corresponding scalbln function.
32902         * math/w_scalbln.c: Likewise.
32903         * math/w_scalblnl.c: Likewise.
32904         * math/Makefile (libm-calls): Add w_scalbln.
32905         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32906         Remove weak_alias for corresponding scalbln function.
32907         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32908         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32909         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32910         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32911         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32912         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32913         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32914         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32915         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32916         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32917         Remove long_double_symbol for scalblnl function in libm, libc.
32918         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32919         Add wrapper which checks for setting errno to ERANGE.
32920         Add long_double_symbol for scalblnl function in libm, libc.
32921         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32922         Remove long_double_symbol for scalblnl in libm.
32923         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32924         Add wrapper which checks for setting errno to ERANGE.
32925         Add long_double_symbol for scalblnl function in libm.
32926         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32927         Do not use wrapper because of own implementation.
32929 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32931         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32932         3 bytes for __pad1 for x32.
32933         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32935 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32936             H.J. Lu  <hongjiu.lu@intel.com>
32938         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32939         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32940         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32941         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32942         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32944 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32946         [BZ #17069]
32947         * posix/regcomp.c (parse_expression): Deallocate partially
32948         constructed tree before returning error.
32949         * posix/Makefile.c (tests): Add bug-regex36.
32950         (generated): Add bug-regex36.mtrace.
32951         (tests-special): Add $(objpfx)bug-regex36-mem.out
32952         (bug-regex36-ENV): New variable.
32953         ($(objpfx)bug-regex36-mem.out): New rule.
32954         * posix/bug-regex36.c: New file.
32956 2014-06-19  Will Newton  <will.newton@linaro.org>
32958         * malloc/malloc.c (systrim): If extra is zero then return
32959         early.
32961 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32963         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32965 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32967         * sysdeps/aarch64/strchr.S: New file.
32969 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32971         [BZ #17022]
32972         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32973         from arguments -2 or below.
32974         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32975         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32977 2014-06-18  Andreas Schwab  <schwab@suse.de>
32979         [BZ #17062]
32980         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32981         of a bracket expr not to run off the end of the string.
32982         * posix/Makefile (tests): Add tst-fnmatch3.
32983         * posix/tst-fnmatch3.c: New file.
32985 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32987         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32988         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32989         [$(cross-compiling) = no]: Likewise.
32990         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32991         [$(cross-compiling) = no]: Likewise.
32993 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32995         [BZ #17031]
32996         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32997         double, adjusted for any remainder from the high double.
32998         * math/libm-test.inc (nearbyint): Add tests.
32999         (rint): Likewise.
33001 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33003         * nptl/sysdeps/powerpc/Makefile: Moved ...
33004         * sysdeps/powerpc/nptl/Makefile: ... here.
33005         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33006         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33007         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33008         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33009         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33010         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33011         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33012         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33013         * nptl/sysdeps/powerpc/tls.h: Moved ...
33014         * sysdeps/powerpc/nptl/tls.h: ... here.
33016 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33018         [BZ #16681]
33019         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33020         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33021         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33022         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33023         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33024         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33025         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33026         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33027         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33029 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33031         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33033 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33035         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33036         defined operator.
33038         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33039         $TIMEOUTFACTOR.
33041 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33043         [BZ #17058]
33044         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33045         non-executed part of the test.
33047 2014-06-16  Andreas Schwab  <schwab@suse.de>
33049         * string/bits/string2.h (strdup, strndup): Update feature guard.
33051 2014-06-14  David S. Miller  <davem@davemloft.net>
33053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33055 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33057         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33058         that was previously under [RESET_PID].
33059         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33061         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33062         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33063         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33064         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33065         (__libc_vfork): New strong alias.
33066         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33068 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33070         * sysdeps/generic/elide.h: New file.
33072 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33074         * Makefile (installed-headers): Adjust path of pthread.h header.
33076 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33078         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33079         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33080         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33081         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33083         * nptl/sysdeps/s390/Makefile: Moved ...
33084         * sysdeps/s390/nptl/Makefile: ... here.
33085         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33086         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33087         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33088         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33089         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33090         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33091         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33092         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33093         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33094         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33095         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33096         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33097         * nptl/sysdeps/s390/tls.h: Moved ...
33098         * sysdeps/s390/nptl/tls.h: ... here.
33100         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33101         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33103 2014-06-13  David S. Miller  <davem@davemloft.net>
33105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33108         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33112         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33113         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33114         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33115         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33116         Remove RESET_PID cpp guards.
33117         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33118         Remove RESET_PID cpp guards.
33119         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33121 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33123         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33124         __sp to uintptr_t.
33126 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33128         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33129         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33130         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33131         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33132         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33133         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33134         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33135         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33136         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33137         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33138         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33139         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33140         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33141         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33142         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33143         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33144         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33145         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33146         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33147         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33149         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33150         (pthread_rwlock_rdlock): Add elision.
33151         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33152         (pthread_rwlock_wrlock): Add elision.
33153         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33154         (pthread_rwlock_trywrlock): Add elision.
33155         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33156         (pthread_rwlock_tryrdlock): Add elision.
33157         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33158         (pthread_rwlock_tryrdlock): Add elision unlock.
33159         * nptl/sysdeps/pthread/pthread.h:
33160         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33161         (PTHREAD_RWLOCK_INITIALIZER,
33162         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33163         Handle new elision field.
33164         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33165         * sysdeps/arm/nptl/bits/pthreadtypes.h
33166         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33167         * sysdeps/sh/nptl/bits/pthreadtypes.h
33168         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33169         * sysdeps/tile/nptl/bits/pthreadtypes.h
33170         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33171         * sysdeps/a/nptl/bits/pthreadtypes.h
33172         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33173         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33174         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33175         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33176         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33177         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33178         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33179         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33180         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33181         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33182         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33183         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33184         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33185         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33186         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33187         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33188         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33189         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33190         (elision_init): Set try_xbegin to zero when no RTM.
33191         * sysdeps/x86/nptl/bits/pthreadtypes.h
33192         (pthread_rwlock_t): Change __pad1 to __rwelision.
33193         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33195 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33197         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33198         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33199         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33200         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33202 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33204         [BZ #16996]
33205         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33206         that the cached result has been set before returning it.
33208 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33210         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33211         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33212         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33213         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33214         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33215         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33217         * nptl/sysdeps/sparc/Makefile: Moved ...
33218         * sysdeps/sparc/nptl/Makefile: ... here.
33219         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33220         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33221         * nptl/sysdeps/sparc/tls.h: Moved ...
33222         * sysdeps/sparc/nptl/tls.h: ... here.
33223         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33224         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33225         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33226         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33227         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33228         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33229         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33230         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33231         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33232         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33233         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33234         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33235         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33236         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33237         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33238         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33239         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33240         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33241         Update #include.
33242         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33244         Update #include.
33245         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33246         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33247         Update #include.
33248         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33249         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33250         Update #include.
33252         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33254         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33255         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33257         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33258         (struct list_links): Type removed.
33259         (struct thread_node, struct timer_node): Replace struct list_links
33260         with struct list_head.
33261         (list_unlink_ip): Likewise.
33262         * sysdeps/pthread/timer_routines.c
33263         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33264         (list_append, list_insbefore): Likewise.
33265         (list_init): Function removed.
33266         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33267         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33268         * sysdeps/pthread/Makefile: ... here, new file.
33270         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33271         * sysdeps/nptl/Implies: ... here.
33272         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33273         * nptl/sysdeps/pthread/list.h: Moved ...
33274         * include/list.h: ... here.
33275         * nptl/sysdeps/pthread/createthread.c: Moved ...
33276         * nptl/createthread.c: ... here.
33277         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33278         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33279         * nptl/pt-longjmp.c: ... here.
33280         * nptl/sysdeps/pthread/Makefile: Moved ...
33281         * sysdeps/nptl/Makefile: ... here.
33282         * nptl/sysdeps/pthread/Subdirs: Moved ...
33283         * sysdeps/nptl/Subdirs: ... here.
33284         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33285         * sysdeps/nptl/aio_misc.h: ... here.
33286         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33287         * sysdeps/nptl/bits/libc-lock.h: ... here.
33288         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33289         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33290         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33291         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33292         * nptl/sysdeps/pthread/configure: Moved ...
33293         * sysdeps/nptl/configure: ... here.
33294         * nptl/sysdeps/pthread/configure.ac: Moved ...
33295         * sysdeps/nptl/configure.ac: ... here.
33296         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33297         * sysdeps/nptl/gai_misc.h: ... here.
33298         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33299         * sysdeps/nptl/librt-cancellation.c: ... here.
33300         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33301         * sysdeps/nptl/malloc-machine.h: ... here.
33302         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33303         * sysdeps/nptl/pthread-functions.h: ... here.
33304         * nptl/sysdeps/pthread/pthread.h: Moved ...
33305         * sysdeps/nptl/pthread.h: ... here.
33306         * nptl/sysdeps/pthread/setxid.h: Moved ...
33307         * sysdeps/nptl/setxid.h: ... here.
33308         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33309         * sysdeps/nptl/sigfillset.c: ... here.
33310         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33311         * sysdeps/nptl/tcb-offsets.h: ... here.
33312         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33313         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33314         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33315         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33316         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33317         * sysdeps/pthread/allocalim.h: ... here.
33318         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33319         * sysdeps/pthread/bits/sigthread.h: ... here.
33320         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33321         * sysdeps/pthread/flockfile.c: ... here.
33322         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33323         * sysdeps/pthread/ftrylockfile.c: ... here.
33324         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33325         * sysdeps/pthread/funlockfile.c: ... here.
33326         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33327         * sysdeps/pthread/posix-timer.h: ... here.
33328         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33329         * sysdeps/pthread/timer_create.c: ... here.
33330         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33331         * sysdeps/pthread/timer_delete.c: ... here.
33332         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33333         * sysdeps/pthread/timer_getoverr.c: ... here.
33334         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33335         * sysdeps/pthread/timer_gettime.c: ... here.
33336         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33337         * sysdeps/pthread/timer_routines.c: ... here.
33338         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33339         * sysdeps/pthread/timer_settime.c: ... here.
33340         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33341         * sysdeps/pthread/tst-timer.c: ... here.
33342         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33343         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33345         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33346         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33348         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33349         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33350         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33351         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33352         Update #include target.
33353         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33354         * sysdeps/i386/i686/nptl/Makefile: ... here.
33355         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33356         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33357         Update #include target.
33358         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33359         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33360         * nptl/sysdeps/i386/Makefile: Moved ...
33361         * sysdeps/i386/nptl/Makefile: ... here.
33362         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33363         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33364         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33365         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33366         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33367         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33368         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33369         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33370         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33371         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33372         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33373         * nptl/sysdeps/i386/tls.h: Moved ...
33374         * sysdeps/i386/nptl/tls.h: ... here.
33376         * sysdeps/sh/Makefile [$(subdir) = csu]
33377         (gen-as-const-headers): Add tcb-offsets.sym.
33378         * nptl/sysdeps/sh/Makefile: File removed.
33379         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33380         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33381         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33382         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33383         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33384         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33385         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33386         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33387         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33388         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33389         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33390         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33391         * nptl/sysdeps/sh/tls.h: Moved ...
33392         * sysdeps/sh/nptl/tls.h: ... here.
33393         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33394         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33395         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33396         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33397         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33398         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33399         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33400         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33401         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33402         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33403         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33404         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33405         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33406         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33407         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33408         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33410         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33411         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33412         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33413         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33414         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33415         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33416         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33417         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33418         Moved ...
33419         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33420         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33421         Moved ...
33422         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33423         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33424         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33425         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33426         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33427         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33428         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33429         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33430         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33431         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33432         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33433         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33434         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33435         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33436         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33437         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33438         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33439         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33440         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33442 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33444         * posix/spawn_faction_addopen.c: Include string.h.
33446 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33448         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33449         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33450         * nptl/sysdeps/x86_64/Makefile: Moved ...
33451         * sysdeps/x86_64/nptl/Makefile: ... here.
33452         * nptl/sysdeps/x86_64/configure: Moved ...
33453         * sysdeps/x86_64/nptl/configure: ... here.
33454         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33455         * sysdeps/x86_64/nptl/configure.ac: ... here.
33456         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33457         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33458         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33459         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33460         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33461         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33462         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33463         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33464         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33465         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33466         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33467         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33468         * nptl/sysdeps/x86_64/tls.h: Moved ...
33469         * sysdeps/x86_64/nptl/tls.h: ... here.
33470         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33471         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33472         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33473         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33475         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33477 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33481 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33483         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33484         type.
33485         [POSIX] (off_t): Likewise.
33486         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33487         [POSIX] (S_ISBLK): Require macro.
33488         [POSIX] (S_ISCHR): Likewise.
33489         [POSIX] (S_ISDIR): Likewise.
33490         [POSIX] (S_ISFIFO): Likewise.
33491         [POSIX] (S_ISREG): Likewise.
33492         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33493         optional-macro.
33494         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33495         type.
33496         [POSIX] (time_t): Likewise.
33497         [POSIX] (timer_t): Likewise.
33499 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33501         [BZ #17048]
33502         * posix/spawn_int.h (struct __spawn_action): Make the path string
33503         non-const to support deallocation.
33504         * posix/spawn_faction_addopen.c
33505         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33506         * posix/spawn_faction_destroy.c
33507         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33508         path in all spawn_do_open actions.
33509         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33510         posix_spawn_file_actions_addopen.
33512 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33514         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33515         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33516         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33517         conditional code always true.
33518         (__libc_vfork): New alias.
33520 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33522         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33523         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33525         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33527         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33528         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33530         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33531         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33533         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33534         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33536 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33538         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33539         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33540         multiarch strcmp for PPC64.
33541         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33542         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33544         multiarch optimizations.
33545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33546         (__libc_ifunc_impl_list): Likewise.
33548 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33550         * benchtests/scripts/validate_benchout.py: New script.
33551         * benchtests/Makefile (bench-func): Call it.
33552         * benchtests/scripts/benchout.schema.json: New file.
33554 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33556         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33557         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33558         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33559         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33560         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33561         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33562         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33563         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33564         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33565         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33566         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33567         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33568         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33569         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33570         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33571         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33573         Moved ...
33574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33575         ... here.
33576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33577         Moved ...
33578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33580         Moved ...
33581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33582         ... here.
33583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33584         Moved ...
33585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33586         ... here.
33587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33588         Moved ...
33589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33591         Moved ...
33592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33593         ... here.
33594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33595         Moved ...
33596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33597         ... here.
33598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33599         Moved ...
33600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33602         Moved ...
33603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33604         ... here.
33605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33606         Moved ...
33607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33608         ... here.
33609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33610         Moved ...
33611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33612         ... here.
33613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33614         Moved ...
33615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33617         Moved ...
33618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33619         ... here.
33620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33621         Moved ...
33622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33623         ... here.
33624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33625         Moved ...
33626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33627         ... here.
33628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33629         Moved ...
33630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33632         Moved ...
33633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33634         ... here.
33635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33636         Moved ...
33637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33638         ... here.
33639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33640         Moved ...
33641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33643         Moved ...
33644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33645         ... here.
33646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33647         Moved ...
33648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33650         Moved ...
33651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33653         Moved ...
33654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33655         ... here.
33656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33657         Moved ...
33658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33659         ... here.
33660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33661         Moved ...
33662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33663         ... here.
33664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33665         Moved ...
33666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33668         Moved ...
33669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33670         ... here.
33671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33672         Moved ...
33673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33674         ... here.
33675         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33676         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33677         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33678         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33679         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33680         Moved ...
33681         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33682         ... here.
33683         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33684         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33685         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33686         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33687         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33688         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33689         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33690         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33691         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33692         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33693         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33694         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33695         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33696         Moved ...
33697         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33698         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33699         Moved ...
33700         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33702         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33703         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33704         Moved ...
33705         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33706         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33707         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33708         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33709         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33710         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33711         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33713 2014-06-10  Wilco  <wdijkstr@arm.com>
33715         * math/test-fenv-return.c: New file.
33716         * math/Makefile: Add new test test-fenv-return.
33718 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33720         [BZ #17042]
33721         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33722         when x - 1 is zero.
33723         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33724         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33725         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33726         0.0L for an argument of 1.0L.
33727         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33728         Likewise.
33729         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33730         value when x - 1 is zero.
33731         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33732         * sysdeps/i386/fpu/libm-test-ulps: Update.
33733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33735 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33737         [BZ #15119]
33738         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33740 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33742         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33743         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33745 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33747         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33748         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33750         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33751         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33753         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33754         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33756         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33757         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33759         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33760         if not already defined.
33761         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33762         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33763         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33764         (TLS_INIT_TP): Use it.
33765         (TLS_DEFINE_INIT_TP): New macro.
33766         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33768 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33770         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33771         constant.
33772         [POSIX] (IXANY): Likewise.
33773         [POSIX] (OLCUC): Likewise.
33774         [POSIX || POSIX2008] (CBAUD): Do not allow.
33775         [POSIX || POSIX2008] (DEFECHO): Likewise.
33776         [POSIX || POSIX2008] (ECHOCTL): Likewise.
33777         [POSIX || POSIX2008] (ECHOKE): Likewise.
33778         [POSIX || POSIX2008] (ECHOPRT): Likewise.
33779         [POSIX || POSIX2008] (EXTA): Likewise.
33780         [POSIX || POSIX2008] (EXTB): Likewise.
33781         [POSIX || POSIX2008] (FLUSHO): Likewise.
33782         [POSIX || POSIX2008] (LOBLK): Likewise.
33783         [POSIX || POSIX2008] (PENDIN): Likewise.
33784         [POSIX || POSIX2008] (SWTCH): Likewise.
33785         [POSIX || POSIX2008] (VDISCARD): Likewise.
33786         [POSIX || POSIX2008] (VDSUSP): Likewise.
33787         [POSIX || POSIX2008] (VLNEXT): Likewise.
33788         [POSIX || POSIX2008] (VREPRINT): Likewise.
33789         [POSIX || POSIX2008] (VSTATUS): Likewise.
33790         [POSIX || POSIX2008] (VWERASE): Likewise.
33791         (B*): Change to B[0123456789]*.
33792         * conform/data/time.h-data [POSIX || UNIX98]
33793         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33794         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33795         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33796         [POSIX] (tm_*): Do not allow.
33798 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
33800         * Makefile (install): Don't set LANGUAGE.
33801         * Makefile.in (install): Likewise.
33802         * assert/Makefile (test-assert-ENV): Remove variable.
33803         (test-assert-perr-ENV): Likewise.
33804         * elf/Makefile (neededtest4-ENV): Likewise.
33805         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33806         [$(cross-compiling) = no]: Don't set LANGUAGE.
33807         * io/ftwtest-sh (LANG): Remove variable.
33808         * libio/Makefile (tst-widetext-ENV): Likewise.
33809         * manual/install.texi (Running make install): Don't refer to
33810         environment settings for make install.
33811         * INSTALL: Regenerated.
33812         * nptl/tst-tls6.sh: Don't set LANG.
33813         * posix/globtest.sh (LANG): Remove variable.
33814         * string/Makefile (tester-ENV): Likewise.
33815         (inl-tester-ENV): Likewise.
33816         (noinl-tester-ENV): Likewise.
33817         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33818         [$(cross-compiling) = no]: Don't set LANGUAGE.
33819         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33820         without explicit environment settings.
33822 2014-06-06  Roland McGrath  <roland@hack.frob.com>
33824         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33825         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33826         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33827         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33829 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
33831         * crypt/crypt-private.h [DOS]: Add some includes taken from the
33832         other files in the crypt directory.
33833         * crypt/crypt.c: Remove duplicate includes.
33834         * crypt/crypt-entry.c: Likewise.
33835         * crypt/crypt_util.c: Likewise.
33837 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
33839         * Makeconfig (run-program-env): New variable.
33840         (run-program-prefix-before-env): Likewise.
33841         (run-program-prefix-after-env): Likewise.
33842         (run-program-prefix): Define in terms of new variables.
33843         (built-program-cmd-before-env): New variable.
33844         (built-program-cmd-after-env): Likewise.
33845         (built-program-cmd): Define in terms of new variables.
33846         (test-program-prefix-before-env): New variable.
33847         (test-program-prefix-after-env): Likewise.
33848         (test-program-prefix): Define in terms of new variables.
33849         (test-program-cmd-before-env): New variable.
33850         (test-program-cmd-after-env): Likewise.
33851         (test-program-cmd): Define in terms of new variables.
33852         * Rules (make-test-out): Use $(run-program-env).
33853         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33854         (help): Do not mention environment variables.  Mention
33855         --timeoutfactor option.
33856         (timeoutfactor): New variable.
33857         (blacklist_exports): Remove function.
33858         (exports): Remove variable.
33859         (command): Do not include ${exports}.
33860         * manual/install.texi (Configuring and compiling): Do not mention
33861         test wrappers preserving environment variables.  Mention that last
33862         assignment to a variable must take precedence.
33863         * INSTALL: Regenerated.
33864         * benchtests/Makefile (run-bench): Use $(run-program-env).
33865         * catgets/Makefile ($(objpfx)test1.cat): Use
33866         $(built-program-cmd-before-env), $(run-program-env) and
33867         $(built-program-cmd-after-env).
33868         ($(objpfx)test2.cat): Do not specify environment variables
33869         explicitly.
33870         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33871         $(run-program-env) and $(built-program-cmd-after-env).
33872         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33873         $(run-program-env) and $(test-program-cmd-after-env).
33874         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33875         explicitly.
33876         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33877         run_program_env and test_program_cmd_after_env arguments.
33878         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33879         * elf/tst-pathopt.sh: Use run_program_env argument.
33880         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33881         $(test-wrapper-env) and $(run-program-env).
33882         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33883         run_program_env arguments.
33884         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33885         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33886         $(test-program-prefix-before-env), $(run-program-env) and
33887         $(test-program-prefix-after-env).
33888         ($(objpfx)tst-gettext2.out): Likewise.
33889         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33890         run_program_env and test_program_prefix_after_env arguments.
33891         * intl/tst-gettext2.sh: Likewise.
33892         * intl/tst-gettext4.sh: Do not set environment variables
33893         explicitly.
33894         * intl/tst-gettext6.sh: Likewise.
33895         * intl/tst-translit.sh: Likewise.
33896         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33897         $(test-program-prefix-before-env), $(run-program-env) and
33898         $(test-program-prefix-after-env).
33899         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33900         run_program_env and test_program_prefix_after_env arguments.
33901         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33902         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33903         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33904         explicitly with each use of ${test_wrapper_env}.
33905         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33906         $(test-program-prefix-before-env), $(run-program-env) and
33907         $(test-program-prefix-after-env).
33908         * posix/tst-getconf.sh: Do not set environment variables
33909         explicitly.
33910         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33911         run_program_env and test_program_prefix_after_env arguments.
33912         * stdio-common/tst-printf.sh: Do not set environment variables
33913         explicitly.
33914         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33915         $(test-program-prefix-before-env), $(run-program-env) and
33916         $(test-program-prefix-after-env).
33917         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33918         run_program_env and test_program_prefix_after_env arguments.
33919         Split $test calls into $test_pre and $test.
33920         * timezone/Makefile (build-testdata): Use
33921         $(built-program-cmd-before-env), $(run-program-env) and
33922         $(built-program-cmd-after-env).
33924 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33926         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33927         strlen for non SHARED builds.
33929 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33931         * nptl/allocatestack.c (check_list): Inlined function...
33932         (__reclaim_stacks): ... here.
33934 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33936         [BZ #15698]
33937         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33938         memory overrun.
33940 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33942         * Rules (make-test-out): Include
33943         LOCPATH=$(common-objpfx)localedata in default environment.
33944         * debug/Makefile (tst-chk1-ENV): Remove variable.
33945         (tst-chk2-ENV): Likewise.
33946         (tst-chk3-ENV): Likewise.
33947         (tst-chk4-ENV): Likewise.
33948         (tst-chk5-ENV): Likewise.
33949         (tst-chk6-ENV): Likewise.
33950         (tst-lfschk1-ENV): Likewise.
33951         (tst-lfschk2-ENV): Likewise.
33952         (tst-lfschk3-ENV): Likewise.
33953         (tst-lfschk4-ENV): Likewise.
33954         (tst-lfschk5-ENV): Likewise.
33955         (tst-lfschk6-ENV): Likewise.
33956         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33957         (tst-iconv7-ENV): Likewise.
33958         * intl/Makefile (LOCPATH-ENV): Likewise.
33959         (tst-codeset-ENV): Likewise.
33960         (tst-gettext3-ENV): Likewise.
33961         (tst-gettext5-ENV): Likewise.
33962         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33963         (tst-fopenloc-ENV): Likewise.
33964         (tst-fgetws-ENV): Remove variable.
33965         (tst-ungetwc1-ENV): Likewise.
33966         (tst-ungetwc2-ENV): Likewise.
33967         (bug-ungetwc2-ENV): Likewise.
33968         (tst-swscanf-ENV): Likewise.
33969         (bug-ftell-ENV): Likewise.
33970         (tst-fgetwc-ENV): Likewise.
33971         (tst-fseek-ENV): Likewise.
33972         (tst-ftell-partial-wide-ENV): Likewise.
33973         (tst-ftell-active-handler-ENV): Likewise.
33974         (tst-ftell-append-ENV): Likewise.
33975         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33976         (tst-regexloc-ENV): Likewise.
33977         (bug-regex1-ENV): Likewise.
33978         (tst-regex-ENV): Likewise.
33979         (tst-regex2-ENV): Likewise.
33980         (bug-regex5-ENV): Likewise.
33981         (bug-regex6-ENV): Likewise.
33982         (bug-regex17-ENV): Likewise.
33983         (bug-regex18-ENV): Likewise.
33984         (bug-regex19-ENV): Likewise.
33985         (bug-regex20-ENV): Likewise.
33986         (bug-regex22-ENV): Likewise.
33987         (bug-regex23-ENV): Likewise.
33988         (bug-regex25-ENV): Likewise.
33989         (bug-regex26-ENV): Likewise.
33990         (bug-regex30-ENV): Likewise.
33991         (bug-regex32-ENV): Likewise.
33992         (bug-regex33-ENV): Likewise.
33993         (bug-regex34-ENV): Likewise.
33994         (bug-regex35-ENV): Likewise.
33995         (tst-rxspencer-ENV): Likewise.
33996         (tst-rxspencer-no-utf8-ENV): Likewise.
33997         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33998         (tst-sscanf-ENV): Likewise.
33999         (tst-swprintf-ENV): Likewise.
34000         (tst-swscanf-ENV): Likewise.
34001         (test-vfprintf-ENV): Likewise.
34002         (scanf13-ENV): Likewise.
34003         (bug14-ENV): Likewise.
34004         (tst-grouping-ENV): Likewise.
34005         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34006         (tst-strtod3-ENV): Likewise.
34007         (tst-strtod4-ENV): Likewise.
34008         (tst-strtod5-ENV): Likewise.
34009         (testmb2-ENV): Likewise./
34010         * string/Makefile (tst-strxfrm-ENV): Likewise.
34011         (tst-strxfrm2-ENV): Likewise.
34012         (bug-strcoll1-ENV): Likewise.
34013         (test-strcasecmp-ENV): Likewise.
34014         (test-strncasecmp-ENV): Likewise.
34015         * time/Makefile (tst-strptime-ENV): Likewise.
34016         (tst-ftime_l-ENV): Likewise.
34017         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34018         (tst-mbrtowc-ENV): Likewise.
34019         (tst-wcrtomb-ENV): Likewise.
34020         (tst-mbrtowc2-ENV): Likewise.
34021         (tst-c16c32-1-ENV): Likewise.
34022         (tst-mbsnrtowcs-ENV): Likewise.
34024 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34026         * manual/resource.texi (How to get information about the memory
34027         subsystem?): Fix typo.
34028         Reported by Peon de la Parra Ivan <peon@keba.com>
34030 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34032         [BZ #16882]
34033         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34034         (pthread_spin_lock): Branch out of spin loop to proper location.
34035         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34036         (pthread_spin_lock): Likewise.
34038         * nptl/tst-spin4.c: New test.
34039         * nptl/Makefile (tests): Add tst-spin4.
34041 2014-06-03  Andreas Schwab  <schwab@suse.de>
34043         [BZ #15946]
34044         * resolv/res_send.c (send_dg): Reload file descriptor after
34045         calling reopen.
34047 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34049         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34051 2014-06-03  Richard Henderson  <rth@redhat.com>
34053         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34054         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34055         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34056         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34057         in the SAVE_PID block.
34058         (__libc_vfork): New alias.
34059         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34061         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34062         child in registers, not on the stack.  Remove RESET_PID conditionals.
34063         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34065 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34067         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34069 2014-06-03  Wilco  <wdijkstr@arm.com>
34071         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34072         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34073         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34074         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34075         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34076         Likewise.
34078 2014-06-03  Wilco  <wdijkstr@arm.com>
34080         * sysdeps/aarch64/fpu/math_private.h
34081         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34082         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34083         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34084         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34085         Fix declarations.
34087 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34089         * crypt/crypt-private.h: Include ufc-crypt.h.
34090         (__b64_from_24bit): Declare extern.
34091         * crypt/crypt_util.c(__b64_from_24bit): New function.
34092         (b64t): New static const variable.
34093         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34094         (b64t): Remove variable.
34095         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34096         * crypt/sha256-crypt.c: Include crypt-private.h.
34097         (b64t): Remove variable.
34098         (__sha256_crypt_r): Remove b64_from_24bit and replace
34099         with __b64_from_24bit.
34100         * crypt/sha512-crypt.c: Likewise.
34102 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34104         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34105         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34106         Label the code __libc_vfork rather than __vfork.
34107         [!NOT_IN_libc] (vfork): Define as weak alias.
34108         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34109         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34110         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34112 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34114         * malloc/malloc.c (malloc_info): Fix format specifier for
34115         n_mmaps.
34117 2014-06-02  Wilco  <wdijkstr@arm.com>
34119         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34120         FPCR write.
34122 2014-06-02  Wilco  <wdijkstr@arm.com>
34124         [BZ #17009]
34125         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34126         Rewrite to reduce FPCR/FPSR accesses.
34128 2014-06-01  David S. Miller  <davem@davemloft.net>
34130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34132 2014-05-31  David S. Miller  <davem@davemloft.net>
34134         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34135         to occur in round to nearest mode when |x| >= 2.0
34137 2014-05-30  Richard Henderson  <rth@twiddle.net>
34139         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34140         (PSEUDO_RET_NOERRNO): Remove.
34141         (ret): Don't redefine.
34142         (ret_NOERRNO): Define in terms of ret.
34143         (ret_ERRVAL): Likewise.
34145         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34146         use of PSEUDO_RET; perform the error check directly.
34148 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34150         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34151         with __int128_t.
34153 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34155         * malloc/malloc (malloc_info): Fix formatting.
34157 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34158             Roland McGrath  <roland@hack.frob.com>
34160         * malloc/malloc (malloc_info): Also print mmapped statistics.
34162 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34164         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34165         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34167 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34169         * malloc/malloc.c (malloc_info): Inline mi_arena.
34171 2014-05-29  Richard Henderson  <rth@twiddle.net>
34173         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34174         Remove comma before expanding ASM_ARGS_##nr.
34175         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34176         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34177         of ASM_ARGS_##nr.
34178         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34179         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34180         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34181         (ASM_ARGS_1): Add leading comma.
34183         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34184         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34185         to __errno_location.
34186         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34187         Remove the expected plt for __errno_location.
34189         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34190         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34191         call to __read_tp.
34193         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34194         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34195         it and break it down.
34196         (DOCARGS_0, DOCARGS_1): Do nothing.
34197         (DOCARGS_2): Update to store into the new stack frame.
34198         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34199         (UNDOCARGS_1): Update to restore from the new stack frame.
34200         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34201         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34203         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34204         (SINGLE_THREAD_P): New parameter for result regno.
34205         (PSEUDO): Update to match; use cbz instead of beq.
34207         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34208         Use ENTRY to define the _nocancel entry point.  Share the syscall
34209         and syscall error check paths with the cancel path.
34210         (PSEUDO_END): New.
34212         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34213         whitespace; tabs before and after asm mnemonics.
34215 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34217         [BZ #15132]
34218         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34219         Call fstat64 or stat64 internally, depending on arguments passed.
34220         Replace stat buffer argument with file descriptor argument.
34221         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34222         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34223         Pass fd to __internal_statvfs instead of calling fstat64.
34224         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34225         Pass fd to __internal_statvfs64 instead of calling fstat64.
34226         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34227         Pass -1 to __internal_statvfs instead of calling stat64.
34228         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34229         Pass -1 to __internal_statvfs64 instead of calling stat64.
34231 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34233         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34234         that was previously under [RESET_PID].
34235         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34237         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34238         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34240 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34242         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34244         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34245         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34247 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34249         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34251 2014-05-27  Andreas Schwab  <schwab@suse.de>
34253         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34254         TLS_INIT_TP macro.
34255         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34256         * elf/rtld.c (init_tls, dl_main): Likewise.
34257         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34258         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34259         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34260         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34261         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34262         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34263         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34264         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34265         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34266         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34267         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34268         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34269         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34270         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34271         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34272         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34273         * sysdeps/generic/tls.h: Update description.
34275 2014-05-27  Will Newton  <will.newton@linaro.org>
34277         [BZ #16990]
34278         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34279         and restore r2 rather than just restoring.
34281 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34283         [BZ #16724]
34284         * libio/tst-ftell-append.c: New test case.
34285         * libio/Makefile (tests): Add test case.
34286         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34287         append mode.
34288         * libio/wfileops.c (do_ftell_wide): Likewise.
34290 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34294         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34295         ...
34296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34298         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34299         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34300         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34301         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34302         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34303         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34305         Moved ...
34306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34308         Moved ...
34309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34310         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34311         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34312         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34313         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34314         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34315         ...
34316         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34317         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34318         Moved ...
34319         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34320         here.
34321         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34322         ...
34323         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34324         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34325         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34327         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34328         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34329         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34330         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34333         merge into ...
34334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34336         ...
34337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34339         ...
34340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34342         Moved ...
34343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34344         here.
34345         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34346         Moved ...
34347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34349         Moved ...
34350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34353         conditional [RESET_PID].
34354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34355         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34356         removed.
34357         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34358         removed.
34360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34361         <tcb-offsets.h>.
34362         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34363         (__libc_vfork): New strong alias.
34364         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34365         removed.
34366         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34367         Removed.
34369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34370         <tcb-offsets.h>.
34371         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34372         (__libc_vfork): New strong alias.
34373         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34374         removed.
34375         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34376         removed.
34378 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34380         * malloc/malloc.c (mi_arena): New function.
34381         (malloc_info): Remove nested function mi_arena. Call non-nosted
34382         function mi_arena.
34384 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34386         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34387         by insrwi.
34388         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34389         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34390         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34391         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34392         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34393         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34394         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34396 2014-05-26  Andreas Schwab  <schwab@suse.de>
34398         [BZ #16984]
34399         * locale/programs/repertoire.c (repertoire_read): Add slash
34400         between I18NPATH element and file name.
34401         * locale/programs/locfile.c (locfile_read): Likewise.
34403 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34405         * nptl/pthread_mutexattr_settype.c
34406         (__pthread_mutexattr_settype):
34407         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34409 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34411         * nptl/tst-mutex5 (do_test):
34412         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34414 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34416         * benchtests/README: Document 'init' directive.
34417         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34418         BENCH_INIT.
34419         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34420         (parse_file): Recognize 'init' directive.
34422 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34424         [BZ #16796]
34425         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34426         alignment of struct pthread.
34428 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34430         [BZ #16878]
34431         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34432         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34433         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34434         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34436 2014-05-25  Richard Henderson  <rth@twiddle.net>
34438         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34439         (SINGLE_THREAD_P_PIC): Remove.
34440         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34441         (SINGLE_THREAD_P_PIC): Remove.
34443         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34444         branch to syscall error ...
34445         (PSEUDO): ... here.
34446         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34447         from __local_syscall_error to .Lsyscall_error.
34448         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34449         (SYSCALL_ERROR): Update label name.
34451         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34452         Do not use DOARGS/UNDOARGS.
34453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34454         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34455         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34456         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34457         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34459         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34460         block comment.
34462         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34463         define if !NOT_IN_libc.
34464         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34465         define with non-default symbol versions.
34467 2014-05-23  Richard Henderson  <rth@twiddle.net>
34469         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34470         (vfork, __vfork): Define via compat_symbol.
34472         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34473         [!HAVE_IFUNC] (vfork_compat): Remove.
34474         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34476 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34478         [BZ #16978]
34479         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34480         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34481         variable.
34483 2014-05-23  Richard Henderson  <rth@twiddle.net>
34485         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34486         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34487         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34488         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34490         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34491         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34492         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34493         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34494         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34495         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34496         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34497         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34498         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34499         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34500         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34501         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34502         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34503         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34504         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34505         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34506         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34507         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34508         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34509         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34510         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34511         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34512         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34513         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34514         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34515         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34516         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34517         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34518         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34519         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34520         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34521         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34522         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34523         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34524         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34525         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34526         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34527         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34528         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34529         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34530         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34531         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34532         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34533         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34534         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34535         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34536         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34537         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34538         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34539         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34540         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34541         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34542         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34543         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34544         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34545         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34547         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34548         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34549         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34550         before exiting on error.
34551         (__libc_vfork): New strong alias.
34552         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34553         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34555         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34556         that was previously under [RESET_PID].
34557         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34559         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34561 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34563         [BZ #16977]
34564         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34565         value when x - 1 is zero.
34566         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34567         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34568         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34569         0.0L for an argument of 1.0L.
34570         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34571         Likewise.
34572         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34573         value when x - 1 is zero.
34574         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34575         * sysdeps/i386/fpu/libm-test-ulps: Update.
34576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34578 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34580         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34581         alphasort and versionsort.
34583 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34585         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34586         macro.
34587         [copysignf]: Likewise.
34589 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34591         * crypt/md5-crypt.c: Fix formatting.
34593 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34595         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34596         (b64_from_24bit): New function.
34598 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34600         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34601         libc_hidden_builtin_def to ifunc.
34602         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34603         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34605 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34607         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34608         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34610 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34612         * nscd/Depend (linuxthreads): Remove.
34613         (nptl): Add.
34614         * resolv/Depend (linuxthreads): Remove.
34615         * rt/Depend (linuxthreads): Remove.
34617         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34618         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34619         $(common-objpfx)elf/.
34620         (link-libc-before-gnulib): Likewise.
34621         (elfobjdir): Remove variable.
34622         * Makefile (install): Use $(elf-objpfx) instead of
34623         $(common-objpfx)elf/.
34624         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34625         $(elfobjdir)/.
34626         (link-libc-deps): Likewise.
34627         ($(common-objpfx)libc.so): Likewise.
34628         ($(common-objpfx)linkobj/libc.so): Likewise.
34629         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34630         instead of $(common-objpfx)elf/.
34631         (symbolic-link-list): Likewise.
34632         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34633         [$(cross-compiling) = no]: Likewise.
34634         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34635         $(elfobjdir)/.
34636         (static-gnulib-arch): Likewise.
34637         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34638         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34639         $(common-objpfx)elf/.
34641 2014-05-21  Richard Henderson  <rth@redhat.com>
34643         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34644         (SINGLE_THREAD_P): Use the correct width load.  Fold
34645         into the ldr offset.
34647         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34648         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34650 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34652         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34653         (libgcc_s_resume): Use __attribute_used__.
34654         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34655         Likewise.
34657 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34659         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34660         optimization when used with float constants.
34662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34664 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34666         [BZ #16915]
34667         * locale/nl_langinfo_l.c: Make direct reference to every
34668         _nl_current_CATEGORY symbol.
34669         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34670         (tests-static): Add tst-langinfo-static.
34671         (tests-special): Add tst-langinfo-static.out.
34672         ($(objpfx)tst-langinfo.out): Redirect output.
34673         ($(objpfx)tst-langinfo-static.out): New.
34674         * localedata/tst-langinfo.sh: Send output to stdout.
34675         * localedata/tst-langinfo-static.c: New file.
34677         [BZ #16965]
34678         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34679         when the shift amount is modulo the limb size.
34681 2014-05-20  Richard Henderson  <rth@redhat.com>
34683         [BZ #16967]
34684         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34685         Change type of sa_flags from unsigned int to int.
34687         [BZ #16966]
34688         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34690         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34692 2014-05-20  Will Newton  <will.newton@linaro.org>
34694         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34695         Test the return value of the system call in the nocancel case.
34697 2014-05-20  Will Newton  <will.newton@linaro.org>
34698             Yvan Roux  <yvan.roux@linaro.org>
34700         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34701         #include of asm/ptrace.h.
34702         (PTRACE_GET_THREAD_AREA): Remove #undef.
34703         (PTRACE_GETHBPREGS): Likewise.
34704         (PTRACE_SETHBPREGS): Likewise.
34705         (struct user_regs_struct): New structure.
34706         (struct user_fpsimd_struct): New structure.
34707         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34708         #include of asm/ptrace.h and second #include of sys/user.h.
34709         (PTRACE_GET_THREAD_AREA): Remove #undef.
34710         (PTRACE_GETHBPREGS): Likewise.
34711         (PTRACE_SETHBPREGS): Likewise.
34712         (ELF_NGREG): Use new struct user_regs_struct.
34713         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34715 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34717         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34718         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34720 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34722         [BZ #16958]
34723         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34724         membar to avoid block loads/stores to overlap previous stores.
34726 2014-05-17  Richard Henderson  <rth@redhat.com>
34728         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34729         Create the __##syscall_name##_nocancel entry point.
34730         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34731         Remove; let the sysdep-cancel.h code create it.
34733 2014-05-17  David S. Miller  <davem@davemloft.net>
34735         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34736         Protect with __USE_GNU.
34737         (TIOCSET_TEMPT): Likewise.
34738         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34739         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34740         these are already provided in bits/ioctl-types.h
34742 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34744         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34745         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34747         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34748         Use wait4 regardless of [__NR_waitpid].
34750 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34752         PR libgcc/60166
34753         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34754         (_FP_NANSIGN_Q): Set the quiet bit.
34756 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34758         * benchtests/Makefile
34759         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34760         not $(common-objpfx)math/libm.so.
34761         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34762         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34763         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34764         $(common-objpfx)dlfcn/libdl.so.
34765         ($(objpfx)tst-audit8): Depend on $(libm), not
34766         $(common-objpfx)math/libm.so.
34767         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34768         not $(common-objpfx)dlfcn/libdl.so.
34769         * math/Makefile
34770         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34771         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
34772         [$(build-shared) = yes].
34773         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34774         $(common-objpfx)nptl/libpthread.so.
34775         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34776         $(common-objpfx)math/libm.so$(libm.so-version) or
34777         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34778         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34779         $(common-objpfx)dlfcn/libdl.so.
34780         * setjmp/Makefile (link-libm): Remove variable.
34781         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34782         * stdio-common/Makefile (link-libm): Remove variable.
34783         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34784         * stdlib/Makefile (link-libm): Remove variable.
34785         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34786         ($(objpfx)tst-strtod-round): Likewise.
34787         ($(objpfx)tst-tininess): Likewise.
34788         ($(objpfx)tst-strtod-underflow): Likewise.
34789         ($(objpfx)tst-strtod6): Likewise.
34790         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34791         $(libdl), not $(common-objpfx)nptl/libpthread.so and
34792         $(common-objpfx)dlfcn/libdl.so.
34794 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34796         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34797         BSD terminal modes definitions.
34799 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34801         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34802         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34804         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34805         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34806         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34807         Don't do #include_next.
34808         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34809         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34810         Don't do #include_next.
34811         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34812         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34813         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34814         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34816 2014-05-16  Allan McRae  <allan@archlinux.org>
34818         * po/sv.po: Update Swedish translation from translation project.
34820         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34821         in sed expression.
34823 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
34825         [BZ #16917]
34826         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34827         errno if the TIOCGPTN ioctl fails with an error different than
34828         EINVAL.
34829         * login/tst-ptsname.c: New file.
34830         * login/Makefile (tests): Add tst-ptsname.
34832         [BZ #16943]
34833         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34834         and prlimit64.
34836 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34838         [BZ #16849]
34839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34840         herrno to return EAI_AGAIN.
34842 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34844         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34845         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34846         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34847         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34848         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34849         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34850         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34851         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34852         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34853         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34854         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34855         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34856         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34857         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34858         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34859         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34860         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34861         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34862         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34863         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34864         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34865         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34866         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34867         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34868         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34869         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34870         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34871         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34872         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34873         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34875         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34877         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34879         Moved ...
34880         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34882         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34884         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34885         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34886         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34888         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34890         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34892         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34894         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34896         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34898         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34900         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34902         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34904         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34906         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34908         Moved ...
34909         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34911         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34913         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34915         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34917         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34919         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34921         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34923         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34925         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34927         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34929         Moved ...
34930         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34932         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34934         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34935         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34936         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34937         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34938         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34939         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34940         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34941         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34942         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34943         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34944         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34945         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34946         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34947         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34948         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34949         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34950         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34951         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34952         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34953         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34954         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34955         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34956         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34957         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34958         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34959         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34960         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34961         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34962         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34963         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34964         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34966         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34967         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34969         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34970         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34971         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34972         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34973         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34974         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34975         Moved ...
34976         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34977         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34978         Moved ...
34979         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34980         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34981         Moved ...
34982         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34983         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34984         Moved ...
34985         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34986         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34987         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34988         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34989         Moved ...
34990         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34991         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34992         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34993         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34994         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34995         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34996         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34997         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34998         Moved ...
34999         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35000         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35001         Moved ...
35002         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35003         ... here.
35004         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35005         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35006         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35007         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35008         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35009         Moved ...
35010         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35011         ... here.
35012         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35013         Moved ...
35014         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35015         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35016         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35017         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35018         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35019         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35020         Moved ...
35021         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35022         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35023         Moved ...
35024         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35025         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35026         Moved ...
35027         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35028         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35029         Moved ...
35030         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35031         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35032         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35033         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35034         Moved ...
35035         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35036         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35037         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35038         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35039         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35040         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35041         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35042         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35043         Moved ...
35044         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35045         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35046         Moved ...
35047         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35048         ... here.
35049         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35050         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35051         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35052         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35053         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35054         Moved ...
35055         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35056         ... here.
35057         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35058         Moved ...
35059         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35060         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35061         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35062         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35063         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35064         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35065         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35066         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35067         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35068         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35069         Moved ...
35070         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35071         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35072         Moved ...
35073         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35074         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35075         Moved ...
35076         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35077         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35078         Moved ...
35079         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35080         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35081         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35082         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35083         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35084         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35085         Moved ...
35086         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35087         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35088         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35089         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35090         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35091         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35092         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35093         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35094         Moved ...
35095         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35096         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35097         Moved ...
35098         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35099         ... here.
35100         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35101         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35102         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35103         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35104         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35105         Moved ...
35106         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35107         ... here.
35108         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35109         Moved ...
35110         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35111         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35112         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35113         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35114         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35115         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35116         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35117         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35118         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35119         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35120         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35122         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35123         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35125         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35126         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35128         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35129         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35130         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35131         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35132         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35133         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35134         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35135         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35136         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35137         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35138         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35139         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35140         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35141         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35142         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35143         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35144         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35145         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35146         Moved ...
35147         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35148         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35149         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35150         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35151         Moved ...
35152         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35153         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35154         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35155         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35156         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35157         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35158         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35160         Moved ...
35161         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35162         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35163         Moved ...
35164         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35165         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35166         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35167         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35168         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35169         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35170         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35171         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35172         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35173         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35174         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35175         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35176         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35177         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35178         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35179         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35180         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35182         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35183         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35184         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35185         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35186         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35188         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35189         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35190         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35191         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35192         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35193         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35194         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35195         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35196         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35197         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35199         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35200         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35202         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35203         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35204         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35205         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35206         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35207         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35208         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35209         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35210         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35211         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35212         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35213         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35214         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35215         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35217         Update #include.
35218         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35219         Likewise.
35220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35221         Likewise.
35222         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35223         Likewise.
35224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35225         Likewise.
35226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35227         Likewise.
35228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35229         Likewise.
35230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35231         Likewise.
35232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35233         Likewise.
35234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35235         Likewise.
35236         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35237         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35238         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35240         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35241         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35242         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35243         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35244         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35245         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35246         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35247         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35248         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35249         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35250         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35252         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35253         that was previously under [RESET_PID].
35254         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35255         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35256         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35258         * sysdeps/i386/nptl/Implies: New file.
35259         * sysdeps/x86_64/nptl/Implies: New file.
35260         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35261         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35262         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35263         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35265         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35266         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35267         (__libc_vfork): New strong alias.
35268         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35269         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35271         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35273         (__libc_vfork): New strong alias.
35274         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35275         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35277         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35278         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35279         (__libc_vfork): New strong alias.
35280         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35281         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35282         * nptl/pt-vfork.c: New file.
35283         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35284         (libpthread: GLIBC_2.20): New version set (empty).
35286 2014-05-14  Will Newton  <will.newton@linaro.org>
35288         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35289         rather than #if.
35291 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35293         [BZ #16564]
35294         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35295         arguments with exponent 65 or above.
35296         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35297         arguments 0x1p113L or above.
35298         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35299         to arguments 0x1p107L or above.
35300         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35301         positive arguments with exponent 65 or above.
35302         * math/auto-libm-test-in: Add more tests of log1p.
35303         * math/auto-libm-test-out: Regenerated.
35305         [BZ #16928]
35306         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35307         non-finite arguments is +0.
35308         * math/s_cacosf.c (__cacosf): Likewise.
35309         * math/s_cacosl.c (__cacosl): Likewise.
35310         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35311         * sysdeps/i386/fpu/libm-test-ulps: Update.
35312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35314         [BZ #16927]
35315         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35316         value.
35317         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35318         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35319         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35320         for explicit high bit of mantissa when testing for argument equal
35321         to 1.
35322         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35323         * sysdeps/i386/fpu/libm-test-ulps: Update.
35324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35326         [BZ #16516]
35327         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35328         (__erf): Scale by 16 instead of 8 in potentially underflowing
35329         case.  Ensure exception if result actually underflows.
35330         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35331         (__erff): Scale by 16 instead of 8 in potentially underflowing
35332         case.  Ensure exception if result actually underflows.
35333         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35334         (efx8): Remove variable.
35335         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35336         case.  Ensure exception if result actually underflows.
35337         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35338         (efx8): Remove variable.
35339         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35340         case.  Ensure exception if result actually underflows.
35341         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35342         (efx8): Remove variable.
35343         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35344         case.  Ensure exception if result actually underflows.
35345         * math/auto-libm-test-in: Add more tests of erf.
35346         * math/auto-libm-test-out: Regenerated.
35348 2014-05-14  Andreas Schwab  <schwab@suse.de>
35350         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35351         Remove code conditionalized on USE___THREAD.
35353         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35354         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35355         not definedness.
35357 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35359         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35360         Define unconditionally.
35361         (__ASSUME_O_CLOEXEC): Likewise.
35362         (__ASSUME_SOCK_CLOEXEC): Likewise.
35363         (__ASSUME_IN_NONBLOCK): Likewise.
35364         (__ASSUME_PIPE2): Likewise.
35365         (__ASSUME_EVENTFD2): Likewise.
35366         (__ASSUME_SIGNALFD4): Likewise.
35367         (__ASSUME_DUP3): Likewise.
35368         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35369         (__ASSUME_DUP3): Do not define.
35370         (__ASSUME_EVENTFD2): Likewise.
35371         (__ASSUME_IN_NONBLOCK): Likewise.
35372         (__ASSUME_O_CLOEXEC): Likewise.
35373         (__ASSUME_PIPE2): Likewise.
35374         (__ASSUME_SIGNALFD4): Likewise.
35375         (__ASSUME_SOCK_CLOEXEC): Likewise.
35376         (__ASSUME_UTIMES): Undefine.
35377         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35378         (__ASSUME_UTIMES): Do not define.
35379         (__ASSUME_O_CLOEXEC): Likewise.
35380         (__ASSUME_SOCK_CLOEXEC): Likewise.
35381         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35382         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35383         0x020621].
35384         (__ASSUME_PIPE2): Likewise.
35385         (__ASSUME_EVENTFD2): Likewise.
35386         (__ASSUME_SIGNALFD4): Likewise.
35387         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35388         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35389         Do not define.
35390         (__ASSUME_EVENTFD2): Likewise.
35391         (__ASSUME_SIGNALFD4): Likewise.
35392         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35393         (__ASSUME_32BITUIDS): Likewise.
35394         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35395         (__ASSUME_IPC64): Likewise.
35396         (__ASSUME_ST_INO_64_BIT): Likewise.
35397         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35398         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35399         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35400         (__ASSUME_UTIMES): Do not define.
35401         (__ASSUME_PSELECT): Likewise.
35402         (__ASSUME_PPOLL): Likewise.
35403         (__ASSUME_O_CLOEXEC): Likewise.
35404         (__ASSUME_SOCK_CLOEXEC): Likewise.
35405         (__ASSUME_IN_NONBLOCK): Likewise.
35406         (__ASSUME_PIPE2): Likewise.
35407         (__ASSUME_EVENTFD2): Likewise.
35408         (__ASSUME_SIGNALFD4): Likewise.
35409         (__ASSUME_DUP3): Likewise.
35410         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35411         (__ASSUME_UTIMES): Likewise.
35412         (__ASSUME_O_CLOEXEC): Likewise.
35413         (__ASSUME_SOCK_CLOEXEC): Likewise.
35414         (__ASSUME_IN_NONBLOCK): Likewise.
35415         (__ASSUME_PIPE2): Likewise.
35416         (__ASSUME_EVENTFD2): Likewise.
35417         (__ASSUME_SIGNALFD4): Likewise.
35418         (__ASSUME_DUP3): Likewise.
35419         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35420         (__ASSUME_UTIMES): Likewise.
35421         (__ASSUME_O_CLOEXEC): Likewise.
35422         (__ASSUME_SOCK_CLOEXEC): Likewise.
35423         (__ASSUME_IN_NONBLOCK): Likewise.
35424         (__ASSUME_PIPE2): Likewise.
35425         (__ASSUME_EVENTFD2): Likewise.
35426         (__ASSUME_SIGNALFD4): Likewise.
35427         (__ASSUME_DUP3): Likewise.
35428         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35429         Likewise.
35430         (__ASSUME_UTIMES): Likewise.
35431         (__ASSUME_EVENTFD2): Likewise.
35432         (__ASSUME_SIGNALFD4): Likewise.
35433         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35434         (__ASSUME_O_CLOEXEC): Likewise.
35435         (__ASSUME_SOCK_CLOEXEC): Likewise.
35436         (__ASSUME_IN_NONBLOCK): Likewise.
35437         (__ASSUME_PIPE2): Likewise.
35438         (__ASSUME_EVENTFD2): Likewise.
35439         (__ASSUME_SIGNALFD4): Likewise.
35440         (__ASSUME_DUP3): Likewise.
35441         (__ASSUME_UTIMES): Undefine.
35443         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35444         feclearexcept.  Remove symbol versioning code.
35445         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35446         symbol versioning code.
35447         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35448         symbol versioning code.
35449         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35450         feupdateenv.  Remove symbol versioning code.
35451         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35452         fegetexceptflag.  Remove symbol versioning code.
35453         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35454         fesetexceptflag.  Remove symbol versioning code.
35455         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35456         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35457         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35458         (__posix_fadvise64_l32): Remove prototype.
35459         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35460         code.
35462 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35464         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35465         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35466         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35467         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35469 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35471         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35472         current working directory
35474 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35476         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35477         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35478         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35479         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35480         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35481         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35482         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35483         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35484         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35485         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35486         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35487         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35488         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35489         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35490         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35491         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35492         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35493         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35494         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35495         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35496         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35497         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35498         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35499         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35500         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35501         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35502         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35503         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35504         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35505         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35506         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35507         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35508         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35509         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35510         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35511         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35512         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35513         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35514         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35515         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35516         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35517         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35519         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35520         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35522         * sysdeps/unix/sysv/linux/arm/Makefile
35523         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35524         Add rt-aeabi_unwind_cpp_pr1.
35525         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35526         Add nptl-aeabi_unwind_cpp_pr1.
35527         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35528         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35529         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35530         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35531         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35532         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35534         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35535         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35536         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35537         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35539         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35540         Deconditionalize the code that was previously under [RESET_PID].
35541         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35543         * sysdeps/generic/exit-thread.h: New file.
35544         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35545         * include/unistd.h (__exit_thread): Remove declaration.
35546         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35547         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35548         * csu/libc-start.c: Include <exit-thread.h>.
35549         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35550         * nptl/pthread_create.c: Include <exit-thread.h>.
35551         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35552         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35553         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35554         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35555         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35556         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35557         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35558         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35559         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35560         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35561         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35562         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35563         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35564         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35565         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35566         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35567         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35569 2014-05-13  Andreas Schwab  <schwab@suse.de>
35571         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35573 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35575         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35576         (__ASSUME_UTIMES): Do not condition on kernel version.
35577         (__ASSUME_PSELECT): Define unconditionally.
35578         (__ASSUME_PPOLL): Likewise.
35579         (__ASSUME_ATFCTS): Likewise.
35580         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35581         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35582         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35583         (__ASSUME_UTIMENSAT): Define unconditionally.
35584         (__ASSUME_PRIVATE_FUTEX): Likewise.
35585         (__ASSUME_FALLOCATE): Likewise.
35586         (__ASSUME_O_CLOEXEC): Likewise.
35587         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35588         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35589         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35590         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35591         (__ASSUME_IN_NONBLOCK): Likewise.
35592         (__ASSUME_PIPE2): Likewise.
35593         (__ASSUME_EVENTFD2): Likewise.
35594         (__ASSUME_SIGNALFD4): Likewise.
35595         (__ASSUME_DUP3): Likewise.
35596         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35597         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35598         (__ASSUME_AT_RANDOM): Likewise.
35599         (__ASSUME_PREADV): Likewise.
35600         (__ASSUME_PWRITEV): Likewise.
35601         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35602         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35603         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35604         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35605         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35606         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35607         (__ASSUME_O_CLOEXEC): Define unconditionally.
35608         (__ASSUME_PSELECT): Do not undefine conditionally.
35609         (__ASSUME_PPOLL): Likewise.
35610         (__ASSUME_ATFCTS): Likewise.
35611         (__ASSUME_SET_ROBUST_LIST): Likewise.
35612         (__ASSUME_UTIMENSAT): Likewise.
35613         (__ASSUME_FDATASYNC): Define unconditionally.
35614         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35615         (__ASSUME_SIGFRAME_V2): Likewise.
35616         )__ASSUME_EVENTFD2): Likewise.
35617         (__ASSUME_SIGNALFD4): Likewise.
35618         (__ASSUME_PSELECT): Do not undefine conditionally.
35619         (__ASSUME_PPOLL): Likewise.
35620         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35621         (__ASSUME_PSELECT): Define unconditionally.
35622         (__ASSUME_PPOLL): Likewise.
35623         (__ASSUME_O_CLOEXEC): Likewise.
35624         (__ASSUME_SOCK_CLOEXEC): Likewise.
35625         (__ASSUME_IN_NONBLOCK): Likewise.
35626         (__ASSUME_PIPE2): Likewise.
35627         (__ASSUME_EVENTFD2): Likewise.
35628         (__ASSUME_SIGNALFD4): Likewise.
35629         (__ASSUME_DUP3): Likewise.
35630         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35631         (__ASSUME_O_CLOEXEC): Likewise.
35632         (__ASSUME_SOCK_CLOEXEC): Likewise.
35633         (__ASSUME_IN_NONBLOCK): Likewise.
35634         (__ASSUME_PIPE2): Likewise.
35635         (__ASSUME_EVENTFD2): Likewise.
35636         (__ASSUME_SIGNALFD4): Likewise.
35637         (__ASSUME_DUP3): Likewise.
35638         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35639         (__ASSUME_EVENTFD2): Likewise.
35640         (__ASSUME_SIGNALFD4): Likewise.
35641         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35643 2014-05-12  Andreas Schwab  <schwab@suse.de>
35645         [BZ #16932]
35646         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35647         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35648         than maximum RPC packet size.
35649         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35650         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35651         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35652         (_nss_nis_getservbyport_r): Likewise.
35654 2014-05-12  Will Newton  <will.newton@linaro.org>
35656         * malloc/Makefile (tests): Add tst-mallopt.
35657         * malloc/tst-mallopt.c: New file.
35659 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35661         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35662         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35664 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35666         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35667         (tst-tlsmod6.so): Likewise.
35669 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35671         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35673 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35675         [BZ #16064]
35676         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35677         and <dl-procinfo.h>.
35678         (__fegetenv): Save SSE state in envp->__eip if supported.
35679         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35680         envp->__eip if supported.
35681         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35682         and <dl-procinfo.h>.
35683         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35684         __data_offset and __data_selector in environment to 0.  Set SSE
35685         state if supported.
35686         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35687         test-fenv-sse.
35688         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35689         -mfpmath=sse.
35690         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35692 2014-05-09  Will Newton  <will.newton@linaro.org>
35694         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35695         and libc_relro_required for ARM.
35696         * sysdeps/arm/preconfigure: Regenerate.
35698 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35699             Stefan Liebler  <stli@linux.vnet.ibm.com>
35701         * config.make.in (enable-lock-elision): New Makefile variable.
35702         * configure.ac: Likewise.
35703         * configure: Regenerate.
35704         * sysdeps/s390/configure.ac:
35705         Add check for gcc transactions support.
35706         * sysdeps/s390/configure: Regenerate.
35707         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35708         Build elision files if enabled.
35709         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35710         Add lock elision support for s390.
35711         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35712         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35713         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35714         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35715         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35716         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35717         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35718         Likewise.
35719         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35720         Likewise.
35721         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35722         Likewise.
35723         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35724         Likewise.
35725         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35726         (__lll_timedlock_elision, __lll_lock_elision)
35727         (__lll_unlock_elision, __lll_trylock_elision)
35728         (lll_timedlock_elision, lll_lock_elision)
35729         (lll_unlock_elision, lll_trylock_elision): Add.
35730         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35731         (pthread_mutex_t): Add lock elision support for s390.
35733 2014-05-14  Wilco  <wdijkstr@arm.com>
35735         * sysdeps/arm/fclrexcpt.c: Cleanup.
35736         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35737         * sysdeps/arm/feenablxcpt.c: Cleanup.
35738         * sysdeps/arm/fegetenv.c: Cleanup.
35739         * sysdeps/arm/fegetexcept.c: Cleanup.
35740         * sysdeps/arm/fegetround.c: Cleanup.
35741         * sysdeps/arm/feholdexcpt.c: Cleanup.
35742         * sysdeps/arm/fesetenv.c: Cleanup.
35743         * sysdeps/arm/fesetround.c: Cleanup.
35744         * sysdeps/arm/feupdateenv.c: Cleanup.
35745         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35746         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35747         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35748         * sysdeps/arm/ftestexcept.c: Cleanup.
35749         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35750         * sysdeps/arm/setfpucw.c: Cleanup.
35752 2014-05-09  Will Newton  <will.newton@linaro.org>
35754         * sysdeps/arm/armv7/strcmp.S: New file.
35755         * NEWS: Mention addition of ARMv7 optimized strcmp.
35757 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35759         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35760         look for %.ac rather than %.in.
35762         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35763         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35764         * sysdeps/mach/hurd/configure: Regenerated.
35765         * sysdeps/unix/sysv/linux/configure: Regenerated.
35767         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35769 2014-05-07  Steve Ellcey  <sellcey@mips.com>
35771         [BZ# 16922]
35772         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35773         (LONG_SUB): Ditto.
35774         (PTR_SUB): Ditto.
35776 2014-05-07  Andreas Schwab  <schwab@suse.de>
35778         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35779         when skipping over non-matching result from nscd.
35781 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
35783         [BZ #16876]
35784         * nptl/sockperf.c (client): Check socket return value.
35786         [BZ #16877]
35787         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35788         nscd security class.
35790 2014-05-06  Roland McGrath  <roland@hack.frob.com>
35792         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35793         * sysdeps/arm/unwind.h: ... here.
35795 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
35797         [BZ# 16916]
35798         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35799         Define.
35801 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35803         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35804         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35805         multiarch strncpy for PPC64.
35806         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35807         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35809         multiarch optimizations.
35810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35811         (__libc_ifunc_impl_list): Likewise.
35812         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35813         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35814         multiarch stpncpy for PPC64.
35815         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35816         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35818 2014-05-06  Andreas Schwab  <schwab@suse.de>
35820         [BZ #16912]
35821         * gmon/mcount.c (_MCOUNT_DECL): Use
35822         atomic_compare_and_exchange_bool_acq instead of
35823         catomic_compare_and_exchange_bool_acq.
35825 2014-05-05  Roland McGrath  <roland@hack.frob.com>
35827         * elf/Makefile (others, install-bin): Remove pldd.
35828         (pldd-modules): Variable removed.
35829         ($(objpfx)pldd): Target removed.
35830         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35831         (others, install-bin): Append pldd here.
35832         ($(objpfx)pldd): New target.
35834         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35835         to 0, so the first #if test emitted later doesn't see it undefined.
35836         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35837         * sysdeps/gnu/errlist.c: Regenerated.
35839 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35841         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35842         [libc_hidden_builtin_def]: Define to empty value.
35843         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35844         [libc_hidden_builtin_def]: Likewise.
35845         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35846         [libc_hidden_builtin_def]: Likewise.
35847         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35848         [libc_hidden_builtin_def]: Likewise.
35849         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35850         __redirect_memcpy and define ifunc as default hidden symbol.
35851         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35852         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35854 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35856         * locale/iso-4217.def: Reintroduce XDR currency.
35858 2014-05-04  Allan McRae  <allan@archlinux.org>
35860         * po/eo.po: Update Esperanto translation from translation project.
35862 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35864         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35865         and FEATURE_INDEX_MAX to 1.
35866         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35868 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35870         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35871         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35872         * iconvdata/big5.c (ONE_DIRECTION): Define.
35873         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35874         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35875         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35876         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35877         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35878         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35879         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35880         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35881         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35882         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35883         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35884         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35885         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35886         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35887         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35888         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35889         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35890         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35891         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35892         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35893         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35894         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35895         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35896         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35897         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35898         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35899         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35900         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35901         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35902         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35903         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35904         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35905         * iconvdata/johab.c (ONE_DIRECTION): Define.
35906         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35907         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35908         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35909         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35910         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35911         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35912         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35913         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35914         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35915         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35917 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35919         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35920         (_IO_JUMPS_OFFSET): Define to 0.
35922         * nptl/sysdeps/pthread/bits/libc-lock.h
35923         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35924         (__libc_lock_define_initialized_recursive): Always define using
35925         initializer.  Modern compilers treat uninitialized (implicit zero) and
35926         explicit zero initializers the same (i.e. put the datum in bss).
35928 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35930         * nscd/nscd-client.h: Include <string.h>.
35932 2014-05-01  David S. Miller  <davem@davemloft.net>
35934         [BZ #16885]
35935         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35936         multiple zero bytes exist at the end of a string.
35937         Reported by Aurelien Jarno <aurelien@aurel32.net>
35939         * string/test-strcmp.c (check): Add explicit test for situations where
35940         there are multiple zero bytes after the first.
35942 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35944         [BZ #16890]
35945         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35946         when compiling wprintf.
35947         * stdio-common/tstdiomisc.c (t3): New function.
35948         (main): Call it.
35950 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35952         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35953         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35954         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35955         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35957 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35959         * stdlib/longlong.h: Updated from GCC.
35961 2014-05-01  Will Newton  <will.newton@linaro.org>
35962             Bernard Ogden  <bernie.ogden@linaro.org>
35964         * NEWS: Update fixed bug list.
35966         [BZ #15119]
35967         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35969 2014-04-30  David S. Miller  <davem@davemloft.net>
35971         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35972         (libc_feholdexcept_setround_sparc_ctx): New function.
35973         (libc_fesetenv_sparc_ctx): Likewise.
35974         (libc_feupdateenv_sparc_ctx): Likewise.
35975         (libc_feholdsetround_sparc_ctx): Likewise.
35976         (libc_feholdexcept_setround_ctx): Define.
35977         (libc_feholdexcept_setroundf_ctx): Likewise.
35978         (libc_feholdexcept_setroundl_ctx): Likewise.
35979         (libc_fesetenv_ctx): Likewise.
35980         (libc_fesetenvf_ctx): Likewise.
35981         (libc_fesetenvl_ctx): Likewise.
35982         (libc_feupdateenv_ctx): Likewise.
35983         (libc_feupdateenvf_ctx): Likewise.
35984         (libc_feupdateenvl_ctx): Likewise.
35985         (libc_feresetround_ctx): Likewise.
35986         (libc_feresetroundf_ctx): Likewise.
35987         (libc_feresetroundl_ctx): Likewise.
35988         (libc_feholdsetround_ctx): Likewise.
35989         (libc_feholdsetroundf_ctx): Likewise.
35990         (libc_feholdsetroundl_ctx): Likewise.
35992         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35993         with __USE_GNU instead of XOPEN cpp guards.
35995         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35996         0.
35998         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35999         with XOPEN cpp guards.
36001 2014-04-30  Julian Brown  <julian@codesourcery.com>
36003         [BZ #16888]
36004         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36005         handling.
36007 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36009         [BZ #9894]
36010         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36011         Change to 2.6.32.
36012         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36013         * sysdeps/unix/sysv/linux/configure: Regenerated.
36014         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36015         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36016         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36017         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36018         * README: Update reference to required Linux kernel version.
36019         * manual/install.texi (Linux): Update reference to required Linux
36020         kernel headers version.
36021         * INSTALL: Regenerated.
36023         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36024         header inclusion.
36025         [POSIX] (limits.h): Likewise.
36026         [POSIX] (math.h): Likewise.
36027         [POSIX] (sys/wait.h): Likewise.
36028         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36029         function.
36030         [POSIX] (stddef.h): Do not allow header inclusion.
36032 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36034         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36036 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36038         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36039         Return immediately after lll_futex_wake.
36041 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36043         [BZ #16791]
36044         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36045         structure.
36046         (datahead_init_pos): Call datahead_init_common early.
36047         (datahead_init_neg): Likewise.
36049         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36050         datahead_init_neg): New functions.
36051         * nscd/aicache.c (addhstaiX): Use them.
36052         * nscd/grpcache.c (cache_addgr): Likewise.
36053         * nscd/hstcache.c (cache_addhst): Likewise.
36054         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36055         * nscd/netgroupcache.c (do_notfound): Likewise.
36056         (addgetnetgrentX): Likewise.
36057         (addinnetgrX): Likewise.
36058         * nscd/pwdcache.c (cache_addpw): Likewise.
36059         * nscd/servicescache.c (cache_addserv): Likewise.
36061 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36062             Atsushi Onoe  <atsushi@onoe.org>
36064         [BZ #14308]
36065         [BZ #12994]
36066         [BZ #13651]
36067         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36068         one response is valid.
36069         * resolv/res_send.c (send_dg): Check for validity of other
36070         response if the current response is a referral.
36072 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36074         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36076 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36078         [BZ #16823]
36079         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36080         Always divide by positive zero when computing -Inf result.
36081         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36082         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36084 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36086         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36087         FPSCR if value do not change.
36088         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36089         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36090         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36091         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36092         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36093         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36094         function.
36096 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36098         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36099         * sysdeps/unix/sysv/linux/hppa: Move directory from
36100         ports/systeps/unix/sysv/linux/hppa.
36101         * README: Update listing for hppa-*-linux-gnu.
36103 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36105         [BZ #16754]
36106         * manual/stdio.texi (Hook functions): Fix types of stream hook
36107         functions.
36108         [BZ #16854]
36109         * socket/sys/socket.h: Fix typo in comment.
36111 2014-04-28  Wilco  <wdijkstr@arm.com>
36113         * sysdeps/arm/fenv_private.h: New file.
36114         * sysdeps/arm/math_private.h: New file.
36115         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36117 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36119         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36120         with __int128_t.
36121         (La_x86_64_retval): Likewise.
36123 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36125         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36126         fpsr if value didn't change.
36127         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36128         to fpcr if value didn't change.
36129         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36130         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36131         fpsr or fpcr if value didn't change.
36132         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36133         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36134         fpcr if value didn't change.
36135         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36136         to fpsr if value didn't change.
36138 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36140         * nptl/tst-sem3.c: Use test-skeleton.c
36141         (main): Rename to do_test.  Use return instead of
36142         exit.
36143         * nptl/tst-sem4.c: Use test-skeleton.c
36144         (main): Rename to do_test.
36146 2014-04-22  David S. Miller  <davem@davemloft.net>
36148         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36149         (struct sigaction): New struct member __glibc_reserved0, change
36150         type of sa_flags to int.
36152 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36154         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36155         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36157 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36159         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36160         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36162 2014-04-22  Will Newton  <will.newton@linaro.org>
36163             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36165         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36166         (__longjmp): Add longjmp and longjmp_target SystemTap
36167         probes.
36168         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36169         (__sigsetjmp): Add setjmp SystemTap probe.
36171 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36173         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36174         match manual order.
36176 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36178         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36180         * sysdeps/powerpc/fpu/fenv_private.h
36181         (libc_feholdexcept_setroundl_ctx): Define to
36182         libc_feholdexcept_setround_ppc_ctx.
36183         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36184         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36185         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36186         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36188 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36190         * sysdeps/aarch64/math-tests.h: New file.
36192 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36194         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36195         New.
36196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36197         Check and set bit_AVX2_Usable.
36198         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36199         macro.
36200         (bit_AVX2): Likewise.
36201         (index_AVX2_Usable): Likewise.
36202         (CPUID_AVX2): Likewise.
36203         (HAS_AVX2): Likewise.
36205 2014-04-17  Will Newton  <will.newton@linaro.org>
36207         * manual/setjmp.texi (System V contexts): Add note that
36208         calling setcontext on a context created by a call to a
36209         signal handler is undefined.  Update text to note that
36210         setcontext from a signal handler is possible but not
36211         recommended.
36213         [BZ #16629]
36214         * stdlib/tst-setcontext.c: Include signal.h.
36215         (main): Check that the signal stack before and
36216         after swapcontext is the same.
36218         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36219         Re-implement to restore registers in user code and avoid
36220         rt_sigreturn system call.
36222 2014-04-17  Wilco  <wdijkstr@arm.com>
36224         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36225         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36226         * math/test-fenv.c: Skip exception trap tests on targets which only
36227         support non-stop mode.
36229 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36230             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36232         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36233         (libc_feholdsetround_aarch64_ctx)
36234         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36235         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36236         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36237         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36238         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36239         (libc_feresetround_noexl_ctx): Define.
36241 2014-04-16  Richard Henderson  <rth@redhat.com>
36243         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36245         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36246         unwind tables.
36248         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36249         const from the non-libc, non-ldso copy.
36251         * sysdeps/alpha/libm-test-ulps: Regenerate.
36253 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36254             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36256         * sysdeps/aarch64/fpu/math_private.h: New file.
36258 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36260         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36262 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36264         [BZ #16275]
36265         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36266         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36267         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36268         Intel MPX bound registers before _dl_profile_fixup.
36269         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36270         registers after _dl_profile_fixup.  Save and restore bound
36271         registers bnd0/bnd1 when calling _dl_call_pltexit.
36272         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36273         (LR_BND_OFFSET): Likewise.
36274         (LRV_BND0_OFFSET): Likewise.
36275         (LRV_BND1_OFFSET): Likewise.
36277 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36279         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36280         to...
36281         * sysdeps/mach/hurd/i386/tls.h: ... here.
36282         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36283         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36284         fields.
36286 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36288         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36290 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36292         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36294 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36296         [BZ #14770]
36297         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36298         * sysdeps/s390/configure: Regenerate.
36300         [BZ #16824]
36301         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36302         Set round-to-nearest internally to reduce error accumulation.
36304 2014-04-16  Alan Modra  <amodra@gmail.com>
36306         [BZ #16740]
36307         [BZ #16619]
36308         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36309         * math/libm-test.inc (frexp_test_data): Add tests.
36310         * NEWS: Update fixed bug list.
36312 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36314         * benchtests/Makefile: Depend on libraries in build directory.
36315         (bench-math): Separate out math tests.
36316         (bench-pthread): Separate out pthread tests.
36317         (bench): Include math and pthread tests.
36319 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36321         [BZ #16831]
36322         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36323         _dl_debug_initialize.
36325         * configure.ac: Remove SELinux header check.
36326         * configure: Regenerate.
36327         * nscd/selinux.c (perms): Array of const char* to permission names.
36328         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36329         default policy. Call string_to_security_class and string_to_av_perm to
36330         translate strings. Enforce default policy and call avs_has_perm with
36331         results of translated strings.
36333 2014-04-13  David S. Miller  <davem@davemloft.net>
36335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36337 2014-04-12  Allan McRae  <allan@archlinux.org>
36339         [BZ #16838]
36340         * manual/string.texi (Collation Functions): Fix qsort argument
36341         order in example.
36342         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36344 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36346         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36347         Make the test a no-op if there are no exceptions defined.
36349 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36351         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36352         enable-hardcoded-path-in-tests
36354 2014-04-11  Will Newton  <will.newton@linaro.org>
36356         * benchtests/Makefile (extra-objs): Add json-lib.o.
36357         (bench-func): Tidy up JSON output.
36358         * benchtests/bench-skeleton.c: Include json-lib.h.
36359         (main): Use JSON library functions to do output of
36360         benchmark results.
36361         * benchtests/bench-timing-type.c (main): Output the
36362         timing type simply, leaving formatting to the user.
36363         * benchtests/json-lib.c: New file.
36364         * benchtests/json-lib.h: Likewise.
36366 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36368         [BZ #15215]
36369         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36370         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36371         memory barriers.  Add comments.
36372         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36373         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36374         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36375         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36376         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36377         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36379 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36381         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36382         * sysdeps/s390/s390-64/configure.ac: ... this ...
36383         * sysdeps/s390/configure.ac: ... to here.
36384         * sysdeps/s390/s390-32/configure: Delete file.
36385         * sysdeps/s390/s390-64/configure: Delete file.
36386         * sysdeps/s390/configure: Regenerate.
36388 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36390         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36392 2014-04-11  Will Newton  <will.newton@linaro.org>
36394         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36395         to zero if it is not defined elsewhere.  (mtrim): Test
36396         the value of MALLOC_DEBUG with #if rather than #ifdef.
36398 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36400         * benchtests/pthread_once-inputs: New file.
36401         * benchtests/pthread_once-source.c: New file.
36402         * benchtests/README: Update documentation.
36404 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36405             H.J. Lu  <hongjiu.lu@intel.com>
36407         [BZ #16275]
36408         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36409         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36410         * sysdeps/x86_64/configure: Regenerated.
36411         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36412         macro.
36413         (REGISTER_SAVE_RAX): Likewise.
36414         (REGISTER_SAVE_RCX): Likewise.
36415         (REGISTER_SAVE_RDX): Likewise.
36416         (REGISTER_SAVE_RSI): Likewise.
36417         (REGISTER_SAVE_RDI): Likewise.
36418         (REGISTER_SAVE_R8): Likewise.
36419         (REGISTER_SAVE_R9): Likewise.
36420         (REGISTER_SAVE_BND0): Likewise.
36421         (REGISTER_SAVE_BND1): Likewise.
36422         (REGISTER_SAVE_BND2): Likewise.
36423         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36424         bound registers when calling _dl_fixup.
36426 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36428         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36429         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36430         of its definition.
36431         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36432         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36433         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36434         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36435         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36436         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36437         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36439 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36441         [BZ #15514]
36442         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36443         pathconf(_PC_NAME_MAX).
36445 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36447         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36448         Remove macro usage.
36449         (__PTHREAD_SPINS): Move definition to ...
36450         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36451         (__PTHREAD_SPINS): ... here.
36452         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36453         (__PTHREAD_SPIN): Likewise.
36454         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36455         (__PTHREAD_SPIN): Likewise.
36456         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36457         (__PTHREAD_SPIN): Likewise.
36458         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36459         (__PTHREAD_SPIN): Likewise.
36460         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36461         (__PTHREAD_SPIN): Likewise.
36462         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36463         (__PTHREAD_SPIN): Likewise.
36464         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36465         (__PTHREAD_SPIN): Likewise.
36466         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36467         (__PTHREAD_SPIN): Likewise.
36468         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36469         (__PTHREAD_SPIN): Likewise.
36470         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36471         (__PTHREAD_SPIN): Likewise.
36472         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36473         (__PTHREAD_SPIN): Likewise.
36474         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36475         (__PTHREAD_SPIN): Likewise.
36477         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36478         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36479         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36480         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36481         imply folder.
36482         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36483         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36484         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36485         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36486         correct imply path.
36487         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36488         strlen symbol for non multi-arch builds.
36489         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36490         missing hidden_def and weak_alias.
36492 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36494         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36496 2014-04-07  Will Newton  <will.newton@linaro.org>
36498         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36499         and contents.  [!_LIBC] Remove #ifndef and contents.
36500         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36501         * string/memccpy.c (__memccpy): Use ANSI prototype.
36502         * string/memfrob.c (memfrob): Likewise.
36503         * string/strcoll.c (STRCOLL): Likewise.
36504         * string/strlen.c (strlen): Likewise.
36505         * string/strtok.c (STRTOK): Likewise.
36506         * string/strcat.c: Remove unused #include of memcopy.h.
36507         (strcat): Use ANSI prototype.
36508         * string/strchr.c: Remove unused #include of memcopy.h.
36509         (strchr): Use ANSI prototype.
36510         * string/strcmp.c: Remove unused #include of memcopy.h.
36511         (strcmp): Use ANSI prototype.
36512         * string/strcpy.c: Remove unused #include of memcopy.h.
36513         (strcpy): Use ANSI prototype.
36515 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36517         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36518         * config.make.in (config-extra-cppflags): Set it from
36519         libc_extra_cppflags.
36520         * configure.ac (libc_extra_cflags): Make it accumulate over
36521         configure fragments.
36522         (libc_extra_cppflags): New flag.
36523         * configure. Regenerate.
36524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36525         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36526         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36529         [BZ #16815]
36530         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36531         result for FE_DOWNWARD rounding mode.
36532         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36533         Likewise.
36534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36536 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36538         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36539         in function argument name.
36541 2014-04-03  David Svoboda  <svoboda@cert.org>
36543         [BZ #5666]
36544         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36545         explicitly.
36547 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36549         * elf/dl-unmap-segments.h: New file.
36550         * sysdeps/generic/ldsodefs.h
36551         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36552         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36553         * elf/dl-fptr.c: Likewise.
36554         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36555         * sysdeps/aarch64/tlsdesc.c: Likewise.
36556         * sysdeps/arm/tlsdesc.c: Likewise.
36557         * sysdeps/i386/tlsdesc.c: Likewise.
36558         * sysdeps/tile/dl-runtime.c: Likewise.
36559         * sysdeps/x86_64/tlsdesc.c: Likewise.
36560         * elf/dl-load.h: New file.
36561         * elf/dl-load.c: Include it.
36562         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36563         Macros moved to dl-load.h.
36564         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36565         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36566         Use _dl_unmap_segments in place of __munmap.
36567         Break out segment-mapping loop into ...
36568         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36570 2014-04-03  Will Newton  <will.newton@linaro.org>
36572         * elf/dl-lookup.c (do_lookup_x): Remove comment
36573         referring to nested function and move variable
36574         declarations down to before first use.
36576 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36578         [BZ #16799]
36579         [BZ #16800]
36580         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36581         with 0 numerator.
36582         * math/s_catanf.c (__catanf): Likewise.
36583         * math/s_catanh.c (__catanh): Likewise.
36584         * math/s_catanhf.c (__catanhf): Likewise.
36585         * math/s_catanhl.c (__catanhl): Likewise.
36586         * math/s_catanl.c (__catanl): Likewise.
36587         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36588         by positive zero when computing -Inf result.
36589         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36590         (catanh_test): Likewise.
36591         * sysdeps/i386/fpu/libm-test-ulps: Update.
36592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36594         [BZ #16789]
36595         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36596         instead of using underflowing value in computing result.
36597         * math/s_clog10.c (__clog10): Likewise.
36598         * math/s_clog10f.c (__clog10f): Likewise.
36599         * math/s_clog10l.c (__clog10l): Likewise.
36600         * math/s_clogf.c (__clogf): Likewise.
36601         * math/s_clogl.c (__clogl): Likewise.
36602         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36603         (clog10_test): Likewise.
36604         * sysdeps/i386/fpu/libm-test-ulps: Update.
36605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36607 2014-04-02  Alan Modra  <amodra@gmail.com>
36609         [BZ #16739]
36610         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36611         output when value is near a power of two.  Use int64_t for lx and
36612         remove casts.  Use decimal rather than hex exponent constants.
36613         Don't use long double multiplication when double will suffice.
36614         * math/libm-test.inc (nextafter_test_data): Add tests.
36615         * NEWS: Add 16739 and 16786 to bug list.
36617         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36619         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36621 2014-04-01  Will Newton  <will.newton@linaro.org>
36623         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36624         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36626 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36628         [BZ #13347]
36629         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36630         * nptl/tst-setuid2.c: New file.
36631         * nptl/Makefile (xtests): Add tst-setuid2.
36633 2014-04-01  Alan Modra  <amodra@gmail.com>
36635         [BZ #16786]
36636         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36638 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36640         [BZ #6803]
36641         [BZ #6804]
36642         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36643         set errno as appropriate.
36644         * math/w_scalbf.c (__scalbf): Likewise.
36645         * math/w_scalbl.c (__scalbl): Likewise.
36646         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36647         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36648         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36649         Add more NaN tests.
36651         [BZ #16349]
36652         * math/w_atan2.c: Include <errno.h>.
36653         (__atan2): Set errno for result underflowing to zero.
36654         * math/w_atan2f.c: Include <errno.h>.
36655         (__atan2f): Set errno for result underflowing to zero.
36656         * math/w_atan2l.c: Include <errno.h>.
36657         (__atan2l): Set errno for result underflowing to zero.
36658         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36659         tests.
36660         * math/auto-libm-test-out: Regenerated.
36662 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36664         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36665         Encode instruction correctly in little endian.
36666         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36667         Likewise.
36668         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36669         Likewise.
36670         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36671         Likewise.
36672         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36673         Likewise.
36675 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36677         [BZ #9894]
36678         * sysdeps/unix/sysv/linux/kernel-features.h
36679         [__sparc__ && !__arch64__ && !__sparc_v9__]
36680         (__ASSUME_SET_ROBUST_LIST): Do not define.
36681         [__sparc__ && !__arch64__ && !__sparc_v9__]
36682         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36683         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36684         Likewise.
36685         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36686         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36687         (__ASSUME_REQUEUE_PI): Likewise.
36688         (__ASSUME_SET_ROBUST_LIST): Likewise.
36689         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36690         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36691         Undefine.
36692         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36693         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36694         Likewise.
36695         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36696         Likewise.
36697         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36698         Likewise.
36699         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36700         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36701         Undefine.
36702         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36703         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36704         Likewise.
36706         [BZ #16648]
36707         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36708         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36709         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36711 2014-03-31  Will Newton  <will.newton@linaro.org>
36713         * benchtests/Makefile (bench): Add ffs and ffsll to list
36714         of tests.
36715         * benchtests/ffs-inputs: New file.
36716         * benchtests/ffsll-inputs: Likewise.
36718 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36720         [BZ #16770]
36721         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36722         too large before casting to int.
36723         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36724         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36725         * math/libm-test.inc (scalb_test_data): Add more tests.
36727 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36729         * benchtests/Makefile (DETAILED_OPT): New make option.
36730         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36731         set.
36732         * benchtests/bench-skeleton.c: Include stdbool.h.
36733         (main): Store and print timings per input.
36734         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36735         member to each argument value.
36736         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36737         (_print_arg_data): Initialize per-input timing to 0.
36739         * benchtests/Makefile (timing-type): New binary.
36740         (bench-clean): Also remove bench-timing-type.
36741         (bench): New target for timing-type.
36742         (bench-func): Print output in JSON format.
36743         * benchtests/bench-skeleton.c (main): Print output in JSON
36744         format.
36745         * benchtests/bench-timing-type.c: New file.
36746         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36747         (TIMING_PRINT_STATS): Remove.
36748         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36749         name separately.
36751         * benchtests/bench-modf.c: Remove.
36752         * benchtests/modf-inputs: New inputs file.
36754 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36756         [BZ #16362]
36757         * math/s_clog10.c (M_PI_LOG10E): New macro.
36758         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36759         imaginary parts are 0.
36760         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36761         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36762         imaginary parts are 0.
36763         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36764         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36765         imaginary parts are 0.
36766         * math/libm-test.inc (clog10_test_data): Update expected results
36767         for when real and imaginary parts are 0.
36769 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
36771         * elf/dl-load.c: Finish conversion of __builtin_expect into
36772         __glibc_{un}likely.
36774 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
36776         [BZ #16348]
36777         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36778         1+x for argument with exponent below -67.
36779         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36780         Likewise.
36781         * math/auto-libm-test-in: Add more tests of exp.
36782         * math/auto-libm-test-out: Regenerated.
36784 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36786         [BZ #16759]
36787         * inet/getnetgrent_r.c (get_nonempty_val): New function.
36788         (nscd_getnetgrent): Use it.
36790         [BZ #16760]
36791         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36792         of stpcpy.
36794 2014-03-27  Andi Kleen  <ak@linux.intel.com>
36796         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36797         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36798         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36799         (lll_robust_unlock): Remove out of line section. Use cfi
36800         intrinsics.
36801         (LLL_STUB_UNWIND_INFO*): Remove.
36802         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36803         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36804         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36805         (lll_robust_unlock): Remove out of line section. Use cfi
36806         intrinsics.
36807         (LLL_STUB_UNWIND_INFO*): Remove.
36809 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36811         [BZ #16758]
36812         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36813         blank values.
36815 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
36817         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36819 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
36821         [BZ #16198]
36822         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36823         fnstenv.
36824         * math/test-fenv-preserve.c: New file.
36825         * math/Makefile (tests): Add test-fenv-preserve.
36827 2014-03-26  Will Newton <will.newton@linaro.org>
36829         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36831 2014-03-25  Roland McGrath  <roland@hack.frob.com>
36833         * scripts/versionlist.awk: Partition the version sets and emit all
36834         GLIBC_* (sorted) before all others (sorted).
36836 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36838         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36839         GLIBC_2.2.5 version.
36841 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36843         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36844         calls.
36846         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36847         previous change.
36849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36851 2014-03-25  Andreas Schwab  <schwab@suse.de>
36853         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36854         label to be used after in6ailist is initialized.
36856 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36858         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36859         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36861 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36863         [BZ #16357]
36864         [BZ #16599]
36865         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36866         min_plus_half.
36867         (fp_formats): Update initializers.
36868         (init_fp_formats): Initialize new field.
36869         (output_for_one_input_case): Allow underflow for results up to
36870         min_plus_half.
36871         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36872         * math/auto-libm-test-in: Don't mark some underflows from asin and
36873         atanh as spurious.
36874         * math/auto-libm-test-out: Regenerated.
36875         * sysdeps/i386/fpu/libm-test-ulps: Update.
36876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36878 2014-03-25  Andreas Schwab  <schwab@suse.de>
36880         * libio/Makefile (tst-ftell-partial-wide-ENV)
36881         (tst-ftell-active-handler-ENV): Define.
36883 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36885         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36887 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36889         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36891 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36893         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36894         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36895         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36897 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36899         [BZ #16634]
36900         * elf/dl-load.c (open_verify): Add mode parameter.
36901         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36902         (open_path): Change from boolean 'secure' to complete flag 'mode'
36903         (_dl_map_object): Adjust.
36904         * elf/Makefile (tests): Add tst-dlopen-aout.
36905         * elf/tst-dlopen-aout.c: New test.
36907 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36909         [BZ #16714]
36910         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36911         (struct stat): Rename member pad0 to __glibc_reserved0.
36913         [BZ #16712]
36914         * sysdeps/s390/s390-32/bits/wordsize.h
36915         (__WORDSIZE32_SIZE_ULONG): New define.
36916         * sysdeps/s390/s390-64/bits/wordsize.h
36917         (__WORDSIZE32_SIZE_ULONG): Likewise.
36918         * sysdeps/generic/stdint.h (SIZE_MAX):
36919         Define as UL if __WORDSIZE32_SIZE_ULONG.
36921         [BZ #16713]
36922         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36923         (__glibc_reserved0): New variable.
36924         (sa_flags): Change type to int.
36926         * posix/Makefile (before-compile): Use += before-compile instead
36927         of a :=.
36929         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36930         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36932 2014-03-20  Andreas Schwab  <schwab@suse.de>
36934         [BZ #16743]
36935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36936         non-matching result from nscd.
36938 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36940         * scripts/bench.py: Moved to ...
36941         * benchtests/scripts/bench.py: ... here.
36942         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36944 2014-03-24  Andreas Schwab  <schwab@suse.de>
36946         [BZ #16002]
36947         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36948         alloca_account and account alloca use for struct in6ailist.
36950 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36952         [BZ #16284]
36953         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36954         rounding mode to recompute results that overflow to infinity or
36955         underflow to zero.
36956         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36957         bug 16284.
36958         * math/auto-libm-test-out: Regenerated.
36959         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36960         (ccosh_test): Likewise.
36961         (csin_test_data): Use plus_oflow.
36962         (csin_test): Use ALL_RM_TEST.
36963         (csinh_test_data): Use plus_oflow.
36964         (csinh_test): Use ALL_RM_TEST.
36965         * sysdeps/i386/fpu/libm-test-ulps: Update.
36966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36968 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36970         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36971         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36972         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36974         [BZ #16731]
36975         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36976         when x - 1 is zero.
36977         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36978         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36979         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36980         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36981         argument is 1.
36982         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36983         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36984         zero.
36985         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36986         * sysdeps/i386/fpu/libm-test-ulps: Update.
36987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36989 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36991         * scripts/bench.pl: Remove file.
36992         * scripts/bench.py: New benchmark script.
36993         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36994         * benchtests/README: Mention python dependency.
36995         * scripts/pylintrc: New file.
36996         * scripts/pylint: New file.
36998         * bits/mathdef.h: Use #ifdef instead of #if.
36999         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37000         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37001         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37002         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37003         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37004         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37006 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37007             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37009         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37011         and strpbrk-ppc64 objects.
37012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37013         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37014         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37015         multiarch strpbrk for POWER7.
37016         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37017         multiarch strpbrk for PPC64.
37018         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37019         ifunc selector.
37020         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37021         strpbrk for POWER7.
37023 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37025         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37026         (atan_test): Likewise.
37027         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37028         (atanh_test): Use ALL_RM_TEST.
37029         (atan2_test_data): Likewise.
37030         (cabs_test): Likewise.
37031         (cacosh_test): Likewise.
37032         (carg_test): Likewise.
37033         (casin_test): Likewise.
37034         (casinh_test): Likewise.
37035         (cbrt_test): Likewise.
37036         (csqrt_test): Likewise.
37037         (erf_test): Likewise.
37038         (erfc_test): Likewise.
37039         (pow10_test): Likewise.
37040         (exp2_test): Likewise.
37041         (hypot_test): Likewise.
37042         (j0_test): Likewise.
37043         (j1_test): Likewise.
37044         (lgamma_test): Likewise.
37045         (gamma_test): Likewise.
37046         (sincos_test): Likewise.
37047         (tanh_test): Likewise.
37048         (y0_test): Likewise.
37049         (y1_test): Likewise.
37050         * sysdeps/i386/fpu/libm-test-ulps: Update.
37051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37053 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37055         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37057         and strcspn-ppc64 objects.
37058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37059         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37060         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37061         multiarch strcspn for POWER7.
37062         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37063         multiarch strcspn for PPC64.
37064         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37065         ifunc selector.
37066         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37067         strcspn for POWER7.
37069 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37071         * math/gen-libm-test.pl (generate_testfile): Expect only function
37072         name as argument to AUTO_TESTS_* and pass results for all rounding
37073         modes to parse_args.
37074         (parse_auto_input): Separate inputs of automatic tests from
37075         outputs before storing in %auto_tests.
37076         * math/libm-test.inc (acos_test_data): Update call to
37077         AUTO_TESTS_f_f.
37078         (acos_test): Use ALL_RM_TEST.
37079         (acos_tonearest_test_data): Remove.
37080         (acos_test_tonearest): Likewise.
37081         (acos_towardzero_test_data): Likewise.
37082         (acos_test_towardzero): Likewise.
37083         (acos_downward_test_data): Likewise.
37084         (acos_test_downward): Likewise.
37085         (acos_upward_test_data): Likewise.
37086         (acos_test_upward): Likewise.
37087         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37088         (asin_test_data): Likewise.
37089         (asin_test): Use ALL_RM_TEST.
37090         (asin_tonearest_test_data): Remove.
37091         (asin_test_tonearest): Likewise.
37092         (asin_towardzero_test_data): Likewise.
37093         (asin_test_towardzero): Likewise.
37094         (asin_downward_test_data): Likewise.
37095         (asin_test_downward): Likewise.
37096         (asin_upward_test_data): Likewise.
37097         (asin_test_upward): Likewise.
37098         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37099         (atan_test_data): Likewise.
37100         (atanh_test_data): Likewise.
37101         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37102         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37103         (carg_test_data): Likewise.
37104         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37105         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37106         (ccosh_test_data): Likewise.
37107         (cexp_test_data): Likewise.
37108         (clog_test_data): Likewise.
37109         (clog10_test_data): Likewise.
37110         (cos_test_data): Update call to AUTO_TESTS_f_f.
37111         (cos_test): Use ALL_RM_TEST.
37112         (cos_tonearest_test_data): Remove.
37113         (cos_test_tonearest): Likewise.
37114         (cos_towardzero_test_data): Likewise.
37115         (cos_test_towardzero): Likewise.
37116         (cos_downward_test_data): Likewise.
37117         (cos_test_downward): Likewise.
37118         (cos_upward_test_data): Likewise.
37119         (cos_test_upward): Likewise.
37120         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37121         (cosh_test): Use ALL_RM_TEST.
37122         (cosh_tonearest_test_data): Remove.
37123         (cosh_test_tonearest): Likewise.
37124         (cosh_towardzero_test_data): Likewise.
37125         (cosh_test_towardzero): Likewise.
37126         (cosh_downward_test_data): Likewise.
37127         (cosh_test_downward): Likewise.
37128         (cosh_upward_test_data): Likewise.
37129         (cosh_test_upward): Likewise.
37130         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37131         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37132         (ctan_test_data): Likewise.
37133         (ctan_test): Use ALL_RM_TEST.
37134         (ctan_tonearest_test_data): Remove.
37135         (ctan_test_tonearest): Likewise.
37136         (ctan_towardzero_test_data): Likewise.
37137         (ctan_test_towardzero): Likewise.
37138         (ctan_downward_test_data): Likewise.
37139         (ctan_test_downward): Likewise.
37140         (ctan_upward_test_data): Likewise.
37141         (ctan_test_upward): Likewise.
37142         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37143         (ctanh_test): Use ALL_RM_TEST.
37144         (ctanh_tonearest_test_data): Remove.
37145         (ctanh_test_tonearest): Likewise.
37146         (ctanh_towardzero_test_data): Likewise.
37147         (ctanh_test_towardzero): Likewise.
37148         (ctanh_downward_test_data): Likewise.
37149         (ctanh_test_downward): Likewise.
37150         (ctanh_upward_test_data): Likewise.
37151         (ctanh_test_upward): Likewise.
37152         (erf_test_data): Update call to AUTO_TESTS_f_f.
37153         (erfc_test_data): Likewise.
37154         (exp_test_data): Likewise.
37155         (exp_test): Use ALL_RM_TEST.
37156         (exp_tonearest_test_data): Remove.
37157         (exp_test_tonearest): Likewise.
37158         (exp_towardzero_test_data): Likewise.
37159         (exp_test_towardzero): Likewise.
37160         (exp_downward_test_data): Likewise.
37161         (exp_test_downward): Likewise.
37162         (exp_upward_test_data): Likewise.
37163         (exp_test_upward): Likewise.
37164         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37165         (exp10_test): Use ALL_RM_TEST.
37166         (exp10_tonearest_test_data): Remove.
37167         (exp10_test_tonearest): Likewise.
37168         (exp10_towardzero_test_data): Likewise.
37169         (exp10_test_towardzero): Likewise.
37170         (exp10_downward_test_data): Likewise.
37171         (exp10_test_downward): Likewise.
37172         (exp10_upward_test_data): Likewise.
37173         (exp10_test_upward): Likewise.
37174         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37175         (expm1_test_data): Likewise.
37176         (expm1_test): Use ALL_RM_TEST.
37177         (expm1_tonearest_test_data): Remove.
37178         (expm1_test_tonearest): Likewise.
37179         (expm1_towardzero_test_data): Likewise.
37180         (expm1_test_towardzero): Likewise.
37181         (expm1_downward_test_data): Likewise.
37182         (expm1_test_downward): Likewise.
37183         (expm1_upward_test_data): Likewise.
37184         (expm1_test_upward): Likewise.
37185         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37186         (fma_test): Use ALL_RM_TEST.
37187         (fma_towardzero_test_data): Remove.
37188         (fma_test_towardzero): Likewise.
37189         (fma_downward_test_data): Likewise.
37190         (fma_test_downward): Likewise.
37191         (fma_upward_test_data): Likewise.
37192         (fma_test_upward): Likewise.
37193         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37194         (j0_test_data): Update call to AUTO_TESTS_f_f.
37195         (j1_test_data): Likewise.
37196         (jn_test_data): Update call to AUTO_TESTS_if_f.
37197         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37198         (log_test_data): Update call to AUTO_TESTS_f_f.
37199         (log10_test_data): Likewise.
37200         (log1p_test_data): Likewise.
37201         (log2_test_data): Likewise.
37202         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37203         (pow_tonearest_test_data): Likewise.
37204         (sin_test_data): Update call to AUTO_TESTS_f_f.
37205         (sin_test): Use ALL_RM_TEST.
37206         (sin_tonearest_test_data): Remove.
37207         (sin_test_tonearest): Likewise.
37208         (sin_towardzero_test_data): Likewise.
37209         (sin_test_towardzero): Likewise.
37210         (sin_downward_test_data): Likewise.
37211         (sin_test_downward): Likewise.
37212         (sin_upward_test_data): Likewise.
37213         (sin_test_upward): Likewise.
37214         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37215         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37216         (sinh_test): Use ALL_RM_TEST.
37217         (sinh_tonearest_test_data): Remove.
37218         (sinh_test_tonearest): Likewise.
37219         (sinh_towardzero_test_data): Likewise.
37220         (sinh_test_towardzero): Likewise.
37221         (sinh_downward_test_data): Likewise.
37222         (sinh_test_downward): Likewise.
37223         (sinh_upward_test_data): Likewise.
37224         (sinh_test_upward): Likewise.
37225         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37226         (sqrt_test): Use ALL_RM_TEST.
37227         (sqrt_tonearest_test_data): Remove.
37228         (sqrt_test_tonearest): Likewise.
37229         (sqrt_towardzero_test_data): Likewise.
37230         (sqrt_test_towardzero): Likewise.
37231         (sqrt_downward_test_data): Likewise.
37232         (sqrt_test_downward): Likewise.
37233         (sqrt_upward_test_data): Likewise.
37234         (sqrt_test_upward): Likewise.
37235         (tan_test_data): Update call to AUTO_TESTS_f_f.
37236         (tan_test): Use ALL_RM_TEST.
37237         (tan_tonearest_test_data): Remove.
37238         (tan_test_tonearest): Likewise.
37239         (tan_towardzero_test_data): Likewise.
37240         (tan_test_towardzero): Likewise.
37241         (tan_downward_test_data): Likewise.
37242         (tan_test_downward): Likewise.
37243         (tan_upward_test_data): Likewise.
37244         (tan_test_upward): Likewise.
37245         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37246         (tgamma_test_data): Likewise.
37247         (y0_test_data): Likewise.
37248         (y1_test_data): Likewise.
37249         (yn_test_data): Update call to AUTO_TESTS_if_f.
37250         (main): Do not call removed functions.
37252 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37254         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37255         (ldexp_test_data): Remove.
37256         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37257         scalbn_test_data.
37258         (scalb_test): Use ALL_RM_TEST.
37260 2014-03-19  Andreas Schwab  <schwab@suse.de>
37262         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37264 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37266         [BZ #16649]
37267         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37268         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37269         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37270         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37271         (__ASSUME_PREADV): Undefine.
37272         (__ASSUME_PWRITEV): Likewise.
37274 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37276         * bits/mman-linux.h: Add comment about non-Linux use.
37277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37278         bits/mman-linux.h resting place.
37280         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37281         * bits/mman-linux.h: ... here.
37283 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37285         * conform/conformtest.pl: Add standard definition when calling C
37286         preprocessor on data files.
37287         (checknamespace): Remove unused variable.
37289 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37291         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37292         minus_oflow, plus_uflow and minus_uflow in expected results.
37293         * math/libm-test.inc (scalbn_test_data): Add more tests of
37294         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37295         minus_uflow.
37296         (scalbn_test): Use ALL_RM_TEST.
37297         (scalbln_test_data): Add more tests of negative arguments.  Use
37298         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37299         (scalbln_test): Use ALL_RM_TEST.
37301 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37303         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37305 2014-03-18  Will Newton  <will.newton@linaro.org>
37307         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37308         inaccurate comment.
37310 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37312         * Makerules [!subdir] (check-abi): Exit with error status if a
37313         test failed.
37315 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37317         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37318         for rint.  Include results for all rounding modes.
37319         (nearbyint_test): Use ALL_RM_TEST.
37320         (rint_test_data): Include all tests used for nearbyint.
37322 2014-03-17  Will Newton  <will.newton@linaro.org>
37324         * nptl/sysdeps/pthread/pthread.h: Revert previous
37325         change.
37327         * sysdeps/generic/ldsodefs.h: Revert previous
37328         change.
37330         * libio/genops.c: Revert previous change.
37331         * libio/libioP.h: Likewise.
37332         * stdio-common/vfprintf.c: Likewise.
37334         * sysdeps/generic/math_private.h: Revert previous
37335         change.
37337         * sysdeps/generic/math_private.h: Check whether
37338         HAVE_RM_CTX is defined with #ifdef rather
37339         than #if.
37341         * argp/argp-fmtstream.h: Check whether
37342         __STRICT_ANSI__ is defined with #ifdef rather
37343         than #if.
37344         * argp/argp.h: Likewise.
37346         * libio/genops.c: Check whether
37347         _IO_JUMPS_OFFSET is defined with #ifdef rather
37348         than #if.
37349         * libio/libioP.h: Likewise.
37350         * stdio-common/vfprintf.c: Likewise.
37352         * sysdeps/generic/ldsodefs.h: Check whether
37353         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37354         than #if.
37356         * nptl/sysdeps/pthread/pthread.h: Check
37357         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37358         its value.
37360 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37362         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37363         setting O_APPEND.
37364         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37365         test case.
37367         [BZ #16680]
37368         * libio/fileops.c (_IO_file_open): Seek to end of file but
37369         don't cache the offset.
37370         (get_file_offset): Remove function.
37371         (do_ftell): Use cached offset when available.
37372         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37373         don't cache the offset.
37374         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37375         case.
37376         (do_one_test): Call it.
37377         (do_ftell_test): Fix up expected old offset for a+ mode.
37378         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37379         available.
37381         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37382         up test status with function return status.
37383         (do_write_test): Likewise.
37384         (do_append_test): Likewise.
37386         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37387         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37388         Remove.
37390 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37392         * math/gen-libm-test.pl (parse_args): Handle results specified for
37393         each rounding mode separately.
37394         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37395         tests and results from lrint_tonearest_test_data,
37396         lrint_towardzero_test_data, lrint_downward_test_data and
37397         lrint_upward_test_data.
37398         (lrint_test): Use ALL_RM_TEST.
37399         (lrint_tonearest_test_data): Remove.
37400         (lrint_test_tonearest): Likewise.
37401         (lrint_towardzero_test_data): Likewise.
37402         (lrint_test_towardzero): Likewise.
37403         (lrint_downward_test_data): Likewise.
37404         (lrint_test_downward): Likewise.
37405         (lrint_upward_test_data): Likewise.
37406         (lrint_test_upward): Likewise.
37407         (llrint_test_data): Merge in per-rounding-mode tests and results
37408         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37409         llrint_downward_test_data and llrint_upward_test_data.
37410         (llrint_test): Use ALL_RM_TEST.
37411         (llrint_tonearest_test_data): Remove.
37412         (llrint_test_tonearest): Likewise.
37413         (llrint_towardzero_test_data): Likewise.
37414         (llrint_test_towardzero): Likewise.
37415         (llrint_downward_test_data): Likewise.
37416         (llrint_test_downward): Likewise.
37417         (llrint_upward_test_data): Likewise.
37418         (llrint_test_upward): Likewise.
37419         (rint_test_data): Merge in per-rounding-mode tests and results
37420         from rint_tonearest_test_data, rint_towardzero_test_data,
37421         rint_downward_test_data and rint_upward_test_data.  Add
37422         per-rounding-mode results for tests not in those arrays.
37423         (rint_test): Use ALL_RM_TEST.
37424         (rint_tonearest_test_data): Remove.
37425         (rint_test_tonearest): Likewise.
37426         (rint_towardzero_test_data): Likewise.
37427         (rint_test_towardzero): Likewise.
37428         (rint_downward_test_data): Likewise.
37429         (rint_test_downward): Likewise.
37430         (rint_upward_test_data): Likewise.
37431         (rint_test_upward): Likewise.
37432         (main): Don't call removed functions.
37434 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37436         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37437         "Compiled on ..." crapola.  It is anti-useful.
37439 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37441         * scripts/evaluate-test.sh: Handle fourth argument to determine
37442         whether test run should stop on failure.
37443         * Makeconfig (stop-on-test-failure): New variable.
37444         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37445         $(stop-on-test-failure).
37446         * Makefile (tests): Give a summary of results from testing and
37447         exit with failure status if they include an ERROR or FAIL.
37448         (xtests): Likewise.
37449         * manual/install.texi (Configuring and compiling): Mention
37450         stop-on-test-failure=y.
37451         * INSTALL: Regenerated.
37453 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37455         * scripts/versionlist.awk: New file.
37456         * Makerules [$(build-shared) = yes]
37457         (postclean-generated): Add Versions.def, not Versions.def.v and
37458         Versions.def.v.i.
37459         ($(common-objpfx)Versions.def.v.i): Target removed.
37460         ($(common-objpfx)Versions.def): New target.
37461         ($(common-objpfx)Versions.all): Depend on that rather that
37462         $(common-objpfx)Versions.def.v.
37463         * Versions.def: File removed.
37465         * Makeconfig (+gccwarn): Add -Wundef.
37466         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37467         a dl-sysdep.h breaking its contract.
37468         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37469         * include/stackinfo.h: New file.
37470         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37471         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37472         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37473         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37474         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37475         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37476         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37477         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37478         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37479         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37480         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37481         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37482         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37483         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37484         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37486 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37488         [BZ #16707]
37489         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37490         implementation.
37491         * math/libm-test.inc (round_test_data): Add more tests.
37493         [BZ #16706]
37494         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37495         implementation.
37496         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37498         [BZ #16701]
37499         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37500         implementation.
37501         * math/libm-test.inc (ceil_test_data): Add more tests.
37503         * math/libm-test.inc (trunc_test_data): Add more tests related to
37504         BZ#16414.
37506 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37508         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37509         with #if rather than #ifdef.
37510         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37512 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37514         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37515         first.  Disable AVX-512 GCC support if assembler doesn't support
37516         it.
37517         * sysdeps/x86_64/configure: Regenerated.
37519 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37521         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37522         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37523         (__old_pthread_attr_setstack): Likewise.
37524         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37525         [!_STACK_GROWS_DOWN]: Likewise.
37527 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37529         * config.make.in (have-bash2): Delete.
37530         * configure.ac (libc_cv_have_bash2): Delete.
37531         * configure: Regenerate.
37532         * elf/Makefile (common-ldd-rewrite): Rename to ...
37533         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37534         (sh-ldd-rewrite): Delete.
37535         (bash-ldd-rewrite): Delete.
37536         (have-bash2): Delete checks.
37537         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37538         ldd-rewrite.
37540         * config.make.in (have-ksh): Delete.
37541         (KSH): Delete.
37542         * configure.ac (libc_cv_have_ksh): Delete.
37543         * configure: Regenerate.
37545         * elf/Makefile: Delete $(have-ksh) check.
37546         ($(objpfx)sotruss): Change KSH to BASH.
37547         * elf/sotruss.ksh: Rename to ...
37548         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37549         function style to match POSIX.  Drop ksh vim mode setting.
37551         * manual/time.texi (Specifying the Time Zone with TZ): Change
37552         Tuesday to Thursday.
37554         * debug/tst-longjmp_chk2.c: Update header comment.
37555         (stackoverflow_handler): Add comment.  Call assert on pass value.
37557 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37559         [BZ #16194]
37560         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37561         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37562         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37563         (La_x86_64_vector): Add zmm.
37564         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37565         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37566         ($(objpfx)tst-audit10): New target.
37567         ($(objpfx)tst-audit10.out): Likewise.
37568         (tst-audit10-ENV): New.
37569         (AVX512-CFLAGS): Likewise.
37570         (CFLAGS-tst-audit10.c): Likewise.
37571         (CFLAGS-tst-auditmod10a.c): Likewise.
37572         (CFLAGS-tst-auditmod10b.c): Likewise.
37573         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37574         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37575         * sysdeps/x86_64/configure: Regenerated.
37576         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37577         AVX-512 zmm register support.
37578         (_dl_x86_64_save_sse): Likewise.
37579         (_dl_x86_64_restore_sse): Likewise.
37580         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37581         size vector registers.
37582         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37583         (ZMM_SIZE): Likewise.
37584         * sysdeps/x86_64/tst-audit10.c: New file.
37585         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37586         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37588 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37590         * configure.ac (HAVE_EHDR_START): New check.
37591         * configure: Regenerated.
37592         * config.h.in (HAVE_EHDR_START): New #undef.
37593         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37594         assuming the lowest-addressed segment maps the start of the file.
37596 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37598         * INSTALL: Regenerated.
37600 2014-03-13  Will Newton  <will.newton@linaro.org>
37602         * manual/setjmp.texi (System V contexts): Improve
37603         clarity and grammar of documentation.
37605 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37607         [BZ #16381]
37608         * elf/Makefile (tests): Add tst-pie2.
37609         (tests-pie): Add tst-pie2.
37610         * elf/tst-pie2.c: New file.
37611         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37612         for ET_EXEC.
37613         * elf/rtld.c (map_doit): Load executable as lt_executable.
37614         (dl_main): Likewise.
37616 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37618         [BZ #16642]
37619         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37620         (__ASSUME_PSELECT): Undefine.
37622 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37624         [BZ #16689]
37625         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37626         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37627         static build.
37628         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37629         selector for static builds.
37631 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37633         [BZ #16695]
37634         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37635         key in the buffer.
37637 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37639         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37640         IFUNC selector for static builds.
37642 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37644         * sysdeps/mips/math_private.h [__mips_hard_float]
37645         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37646         libc_feresetround_mips_ctx.
37647         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37648         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37649         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37651         [BZ #16677]
37652         * math/s_nextafter.c (__nextafter): Do not return value from
37653         overflowing computation.
37654         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37655         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37656         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37657         Likewise.
37658         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37659         Likewise.
37660         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37661         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37663 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37665         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37666         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37667         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37668         the new mov targetting sp.
37670 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37672         [BZ #16683]
37673         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37674         Define it for static builds as well.
37675         (NO_BZERO_IMPL): Likewise.
37677 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37679         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37680         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37681         multiarch strspn for PPC64.
37682         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37683         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37685         (__libc_ifunc_impl_list): Likewise.
37686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37687         multiarch optimizations
37688         * string/strspn.c (strspn): Using macro to redefine symbol name.
37690 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37691             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37693         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37694         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37695         multiarch strncat for PPC64.
37696         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37697         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37699         (__libc_ifunc_impl_list): Likewise.
37700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37701         multiarch optimizations
37703 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37705         [BZ #16639]
37706         * nscd/nscd.service: Make service type forking.
37708 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37710         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37711         sign in non default rounding modes.
37712         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37714 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37716         * math/libm-test.inc (ALL_RM_TEST): New macro.
37717         (ceil_test): Use ALL_RM_TEST.
37718         (cimag_test): Likewise.
37719         (conj_test): Likewise.
37720         (copysign_test): Likewise.
37721         (cproj_test): Likewise.
37722         (creal_test): Likewise.
37723         (fabs_test): Likewise.
37724         (floor_test): Likewise.
37725         (fmax_test): Likewise.
37726         (fmin_test): Likewise.
37727         (fmod_test): Likewise.
37728         (fpclassify_test): Likewise.
37729         (frexp_test): Likewise.
37730         (ilogb_test): Likewise.
37731         (isfinite_test): Likewise.
37732         (finite_test): Likewise.
37733         (isgreater_test): Likewise.
37734         (isgreaterequal_test): Likewise.
37735         (isinf_test): Likewise.
37736         (isless_test): Likewise.
37737         (islessequal_test): Likewise.
37738         (islessgreater_test): Likewise.
37739         (isnan_test): Likewise.
37740         (isnormal_test): Likewise.
37741         (issignaling_test): Likewise.
37742         (isunordered_test): Likewise.
37743         (logb_test): Likewise.
37744         (logb_downward_test_data): Remove.
37745         (logb_test_downward): Likewise.
37746         (lround_test): Use ALL_RM_TEST.
37747         (llround_test): Likewise.
37748         (modf_test): Likewise.
37749         (nexttoward_test): Likewise.
37750         (remainder_test): Likewise.
37751         (drem_test): Likewise.
37752         (remainder_tonearest_test_data): Likewise.
37753         (remainder_test_tonearest): Likewise.
37754         (drem_test_tonearest): Likewise.
37755         (remainder_towardzero_test_data): Likewise.
37756         (remainder_test_towardzero): Likewise.
37757         (drem_test_towardzero): Likewise.
37758         (remainder_downward_test_data): Likewise.
37759         (remainder_test_downward): Likewise.
37760         (drem_test_downward): Likewise.
37761         (remainder_upward_test_data): Likewise.
37762         (remainder_test_upward): Likewise.
37763         (drem_test_upward): Likewise.
37764         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37765         (round_test): Use ALL_RM_TEST.
37766         (signbit_test): Likewise.
37767         (trunc_test): Likewise.
37768         (significand_test): Likewise.
37769         (main): Don't call removed functions.
37771 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37773         [BZ #16674]
37774         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37775         || __USE_XOPEN2K8].
37776         (ILL_ILLOPN): Likewise.
37777         (ILL_ILLADR): Likewise.
37778         (ILL_ILLTRP): Likewise.
37779         (ILL_PRVOPC): Likewise.
37780         (ILL_PRVREG): Likewise.
37781         (ILL_COPROC): Likewise.
37782         (ILL_BADSTK): Likewise.
37783         (FPE_INTDIV): Likewise.
37784         (FPE_INTOVF): Likewise.
37785         (FPE_FLTDIV): Likewise.
37786         (FPE_FLTOVF): Likewise.
37787         (FPE_FLTUND): Likewise.
37788         (FPE_FLTRES): Likewise.
37789         (FPE_FLTINV): Likewise.
37790         (FPE_FLTSUB): Likewise.
37791         (SEGV_MAPERR): Likewise.
37792         (SEGV_ACCERR): Likewise.
37793         (BUS_ADRALN): Likewise.
37794         (BUS_ADRERR): Likewise.
37795         (BUS_OBJERR): Likewise.
37796         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37797         (TRAP_TRACE): Likewise.
37798         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37799         __USE_XOPEN2K8].
37800         (CLD_KILLED): Likewise.
37801         (CLD_DUMPED): Likewise.
37802         (CLD_TRAPPED): Likewise.
37803         (CLD_STOPPED): Likewise.
37804         (CLD_CONTINUED): Likewise.
37805         (POLL_IN): Likewise.
37806         (POLL_OUT): Likewise.
37807         (POLL_MSG): Likewise.
37808         (POLL_ERR): Likewise.
37809         (POLL_PRI): Likewise.
37810         (POLL_HUP): Likewise.
37811         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37812         Likewise.
37813         (ILL_ILLOPN): Likewise.
37814         (ILL_ILLADR): Likewise.
37815         (ILL_ILLTRP): Likewise.
37816         (ILL_PRVOPC): Likewise.
37817         (ILL_PRVREG): Likewise.
37818         (ILL_COPROC): Likewise.
37819         (ILL_BADSTK): Likewise.
37820         (FPE_INTDIV): Likewise.
37821         (FPE_INTOVF): Likewise.
37822         (FPE_FLTDIV): Likewise.
37823         (FPE_FLTOVF): Likewise.
37824         (FPE_FLTUND): Likewise.
37825         (FPE_FLTRES): Likewise.
37826         (FPE_FLTINV): Likewise.
37827         (FPE_FLTSUB): Likewise.
37828         (SEGV_MAPERR): Likewise.
37829         (SEGV_ACCERR): Likewise.
37830         (BUS_ADRALN): Likewise.
37831         (BUS_ADRERR): Likewise.
37832         (BUS_OBJERR): Likewise.
37833         (BUS_MCEERR_AR): Likewise.
37834         (BUS_MCEERR_AO): Likewise.
37835         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37836         (TRAP_TRACE): Likewise.
37837         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37838         __USE_XOPEN2K8].
37839         (CLD_KILLED): Likewise.
37840         (CLD_DUMPED): Likewise.
37841         (CLD_TRAPPED): Likewise.
37842         (CLD_STOPPED): Likewise.
37843         (CLD_CONTINUED): Likewise.
37844         (POLL_IN): Likewise.
37845         (POLL_OUT): Likewise.
37846         (POLL_MSG): Likewise.
37847         (POLL_ERR): Likewise.
37848         (POLL_PRI): Likewise.
37849         (POLL_HUP): Likewise.
37850         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37851         (ILL_ILLOPN): Likewise.
37852         (ILL_ILLADR): Likewise.
37853         (ILL_ILLTRP): Likewise.
37854         (ILL_PRVOPC): Likewise.
37855         (ILL_PRVREG): Likewise.
37856         (ILL_COPROC): Likewise.
37857         (ILL_BADSTK): Likewise.
37858         (FPE_INTDIV): Likewise.
37859         (FPE_INTOVF): Likewise.
37860         (FPE_FLTDIV): Likewise.
37861         (FPE_FLTOVF): Likewise.
37862         (FPE_FLTUND): Likewise.
37863         (FPE_FLTRES): Likewise.
37864         (FPE_FLTINV): Likewise.
37865         (FPE_FLTSUB): Likewise.
37866         (SEGV_MAPERR): Likewise.
37867         (SEGV_ACCERR): Likewise.
37868         (BUS_ADRALN): Likewise.
37869         (BUS_ADRERR): Likewise.
37870         (BUS_OBJERR): Likewise.
37871         (BUS_MCEERR_AR): Likewise.
37872         (BUS_MCEERR_AO): Likewise.
37873         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37874         (TRAP_TRACE): Likewise.
37875         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37876         __USE_XOPEN2K8].
37877         (CLD_KILLED): Likewise.
37878         (CLD_DUMPED): Likewise.
37879         (CLD_TRAPPED): Likewise.
37880         (CLD_STOPPED): Likewise.
37881         (CLD_CONTINUED): Likewise.
37882         (POLL_IN): Likewise.
37883         (POLL_OUT): Likewise.
37884         (POLL_MSG): Likewise.
37885         (POLL_ERR): Likewise.
37886         (POLL_PRI): Likewise.
37887         (POLL_HUP): Likewise.
37888         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37889         Likewise.
37890         (ILL_ILLOPN): Likewise.
37891         (ILL_ILLADR): Likewise.
37892         (ILL_ILLTRP): Likewise.
37893         (ILL_PRVOPC): Likewise.
37894         (ILL_PRVREG): Likewise.
37895         (ILL_COPROC): Likewise.
37896         (ILL_BADSTK): Likewise.
37897         (ILL_BADIADDR): Likewise.
37898         (ILL_BREAK): Likewise.
37899         (FPE_INTDIV): Likewise.
37900         (FPE_INTOVF): Likewise.
37901         (FPE_FLTDIV): Likewise.
37902         (FPE_FLTOVF): Likewise.
37903         (FPE_FLTUND): Likewise.
37904         (FPE_FLTRES): Likewise.
37905         (FPE_FLTINV): Likewise.
37906         (FPE_FLTSUB): Likewise.
37907         (FPE_DECOVF): Likewise.
37908         (FPE_DECDIV): Likewise.
37909         (FPE_DECERR): Likewise.
37910         (FPE_INVASC): Likewise.
37911         (FPE_INVDEC): Likewise.
37912         (SEGV_MAPERR): Likewise.
37913         (SEGV_ACCERR): Likewise.
37914         (SEGV_PSTKOVF): Likewise.
37915         (BUS_ADRALN): Likewise.
37916         (BUS_ADRERR): Likewise.
37917         (BUS_OBJERR): Likewise.
37918         (BUS_MCEERR_AR): Likewise.
37919         (BUS_MCEERR_AO): Likewise.
37920         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37921         (TRAP_TRACE): Likewise.
37922         (TRAP_BRANCH): Likewise.
37923         (TRAP_HWBKPT): Likewise.
37924         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37925         __USE_XOPEN2K8].
37926         (CLD_KILLED): Likewise.
37927         (CLD_DUMPED): Likewise.
37928         (CLD_TRAPPED): Likewise.
37929         (CLD_STOPPED): Likewise.
37930         (CLD_CONTINUED): Likewise.
37931         (POLL_IN): Likewise.
37932         (POLL_OUT): Likewise.
37933         (POLL_MSG): Likewise.
37934         (POLL_ERR): Likewise.
37935         (POLL_PRI): Likewise.
37936         (POLL_HUP): Likewise.
37937         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37938         (ILL_ILLOPN): Likewise.
37939         (ILL_ILLADR): Likewise.
37940         (ILL_ILLTRP): Likewise.
37941         (ILL_PRVOPC): Likewise.
37942         (ILL_PRVREG): Likewise.
37943         (ILL_COPROC): Likewise.
37944         (ILL_BADSTK): Likewise.
37945         (FPE_INTDIV): Likewise.
37946         (FPE_INTOVF): Likewise.
37947         (FPE_FLTDIV): Likewise.
37948         (FPE_FLTOVF): Likewise.
37949         (FPE_FLTUND): Likewise.
37950         (FPE_FLTRES): Likewise.
37951         (FPE_FLTINV): Likewise.
37952         (FPE_FLTSUB): Likewise.
37953         (SEGV_MAPERR): Likewise.
37954         (SEGV_ACCERR): Likewise.
37955         (BUS_ADRALN): Likewise.
37956         (BUS_ADRERR): Likewise.
37957         (BUS_OBJERR): Likewise.
37958         (BUS_MCEERR_AR): Likewise.
37959         (BUS_MCEERR_AO): Likewise.
37960         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37961         (TRAP_TRACE): Likewise.
37962         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37963         __USE_XOPEN2K8].
37964         (CLD_KILLED): Likewise.
37965         (CLD_DUMPED): Likewise.
37966         (CLD_TRAPPED): Likewise.
37967         (CLD_STOPPED): Likewise.
37968         (CLD_CONTINUED): Likewise.
37969         (POLL_IN): Likewise.
37970         (POLL_OUT): Likewise.
37971         (POLL_MSG): Likewise.
37972         (POLL_ERR): Likewise.
37973         (POLL_PRI): Likewise.
37974         (POLL_HUP): Likewise.
37975         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37976         (ILL_ILLOPN): Likewise.
37977         (ILL_ILLADR): Likewise.
37978         (ILL_ILLTRP): Likewise.
37979         (ILL_PRVOPC): Likewise.
37980         (ILL_PRVREG): Likewise.
37981         (ILL_COPROC): Likewise.
37982         (ILL_BADSTK): Likewise.
37983         (FPE_INTDIV): Likewise.
37984         (FPE_INTOVF): Likewise.
37985         (FPE_FLTDIV): Likewise.
37986         (FPE_FLTOVF): Likewise.
37987         (FPE_FLTUND): Likewise.
37988         (FPE_FLTRES): Likewise.
37989         (FPE_FLTINV): Likewise.
37990         (FPE_FLTSUB): Likewise.
37991         (SEGV_MAPERR): Likewise.
37992         (SEGV_ACCERR): Likewise.
37993         (BUS_ADRALN): Likewise.
37994         (BUS_ADRERR): Likewise.
37995         (BUS_OBJERR): Likewise.
37996         (BUS_MCEERR_AR): Likewise.
37997         (BUS_MCEERR_AO): Likewise.
37998         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37999         (TRAP_TRACE): Likewise.
38000         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38001         __USE_XOPEN2K8].
38002         (CLD_KILLED): Likewise.
38003         (CLD_DUMPED): Likewise.
38004         (CLD_TRAPPED): Likewise.
38005         (CLD_STOPPED): Likewise.
38006         (CLD_CONTINUED): Likewise.
38007         (POLL_IN): Likewise.
38008         (POLL_OUT): Likewise.
38009         (POLL_MSG): Likewise.
38010         (POLL_ERR): Likewise.
38011         (POLL_PRI): Likewise.
38012         (POLL_HUP): Likewise.
38013         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38014         (ILL_ILLOPN): Likewise.
38015         (ILL_ILLADR): Likewise.
38016         (ILL_ILLTRP): Likewise.
38017         (ILL_PRVOPC): Likewise.
38018         (ILL_PRVREG): Likewise.
38019         (ILL_COPROC): Likewise.
38020         (ILL_BADSTK): Likewise.
38021         (FPE_INTDIV): Likewise.
38022         (FPE_INTOVF): Likewise.
38023         (FPE_FLTDIV): Likewise.
38024         (FPE_FLTOVF): Likewise.
38025         (FPE_FLTUND): Likewise.
38026         (FPE_FLTRES): Likewise.
38027         (FPE_FLTINV): Likewise.
38028         (FPE_FLTSUB): Likewise.
38029         (SEGV_MAPERR): Likewise.
38030         (SEGV_ACCERR): Likewise.
38031         (BUS_ADRALN): Likewise.
38032         (BUS_ADRERR): Likewise.
38033         (BUS_OBJERR): Likewise.
38034         (BUS_MCEERR_AR): Likewise.
38035         (BUS_MCEERR_AO): Likewise.
38036         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38037         (TRAP_TRACE): Likewise.
38038         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38039         __USE_XOPEN2K8].
38040         (CLD_KILLED): Likewise.
38041         (CLD_DUMPED): Likewise.
38042         (CLD_TRAPPED): Likewise.
38043         (CLD_STOPPED): Likewise.
38044         (CLD_CONTINUED): Likewise.
38045         (POLL_IN): Likewise.
38046         (POLL_OUT): Likewise.
38047         (POLL_MSG): Likewise.
38048         (POLL_ERR): Likewise.
38049         (POLL_PRI): Likewise.
38050         (POLL_HUP): Likewise.
38051         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38052         (ILL_ILLOPN): Likewise.
38053         (ILL_ILLADR): Likewise.
38054         (ILL_ILLTRP): Likewise.
38055         (ILL_PRVOPC): Likewise.
38056         (ILL_PRVREG): Likewise.
38057         (ILL_COPROC): Likewise.
38058         (ILL_BADSTK): Likewise.
38059         (ILL_DBLFLT): Likewise.
38060         (ILL_HARDWALL): Likewise.
38061         (FPE_INTDIV): Likewise.
38062         (FPE_INTOVF): Likewise.
38063         (FPE_FLTDIV): Likewise.
38064         (FPE_FLTOVF): Likewise.
38065         (FPE_FLTUND): Likewise.
38066         (FPE_FLTRES): Likewise.
38067         (FPE_FLTINV): Likewise.
38068         (FPE_FLTSUB): Likewise.
38069         (SEGV_MAPERR): Likewise.
38070         (SEGV_ACCERR): Likewise.
38071         (BUS_ADRALN): Likewise.
38072         (BUS_ADRERR): Likewise.
38073         (BUS_OBJERR): Likewise.
38074         (BUS_MCEERR_AR): Likewise.
38075         (BUS_MCEERR_AO): Likewise.
38076         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38077         (TRAP_TRACE): Likewise.
38078         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38079         __USE_XOPEN2K8].
38080         (CLD_KILLED): Likewise.
38081         (CLD_DUMPED): Likewise.
38082         (CLD_TRAPPED): Likewise.
38083         (CLD_STOPPED): Likewise.
38084         (CLD_CONTINUED): Likewise.
38085         (POLL_IN): Likewise.
38086         (POLL_OUT): Likewise.
38087         (POLL_MSG): Likewise.
38088         (POLL_ERR): Likewise.
38089         (POLL_PRI): Likewise.
38090         (POLL_HUP): Likewise.
38091         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38092         (ILL_ILLOPN): Likewise.
38093         (ILL_ILLADR): Likewise.
38094         (ILL_ILLTRP): Likewise.
38095         (ILL_PRVOPC): Likewise.
38096         (ILL_PRVREG): Likewise.
38097         (ILL_COPROC): Likewise.
38098         (ILL_BADSTK): Likewise.
38099         (FPE_INTDIV): Likewise.
38100         (FPE_INTOVF): Likewise.
38101         (FPE_FLTDIV): Likewise.
38102         (FPE_FLTOVF): Likewise.
38103         (FPE_FLTUND): Likewise.
38104         (FPE_FLTRES): Likewise.
38105         (FPE_FLTINV): Likewise.
38106         (FPE_FLTSUB): Likewise.
38107         (SEGV_MAPERR): Likewise.
38108         (SEGV_ACCERR): Likewise.
38109         (BUS_ADRALN): Likewise.
38110         (BUS_ADRERR): Likewise.
38111         (BUS_OBJERR): Likewise.
38112         (BUS_MCEERR_AR): Likewise.
38113         (BUS_MCEERR_AO): Likewise.
38114         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38115         (TRAP_TRACE): Likewise.
38116         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38117         __USE_XOPEN2K8].
38118         (CLD_KILLED): Likewise.
38119         (CLD_DUMPED): Likewise.
38120         (CLD_TRAPPED): Likewise.
38121         (CLD_STOPPED): Likewise.
38122         (CLD_CONTINUED): Likewise.
38123         (POLL_IN): Likewise.
38124         (POLL_OUT): Likewise.
38125         (POLL_MSG): Likewise.
38126         (POLL_ERR): Likewise.
38127         (POLL_PRI): Likewise.
38128         (POLL_HUP): Likewise.
38129         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38130         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38132         [BZ #16670]
38133         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38134         before #include of <time.h>.
38135         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38136         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38137         (test-xfail-UNIX98/sched.h/conform): Likewise.
38139 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38141         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38142         error absence of trapping exception support.
38143         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38145 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38147         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38148         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38149         * timezone/Makefile (testdata): Move definition above include of
38150         Rules.
38151         (test-zones): New variable.
38152         (tests-special): Add zone files.
38153         (build-testdata): Use $(evaluate-test).
38155         * elf/Makefile (tests-special): Rename tests to end with .out.
38156         ($(objpfx)noload-mem): Likewise.
38157         ($(objpfx)tst-leaks1-mem): Likewise.
38158         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38159         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38160         $(objpfx)test-iconvconfig.out.
38161         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38162         set -e inside subshell and redirect output to file.
38163         * iconvdata/Makefile (generated): Rename tests to end with .out.
38164         Correct type.
38165         (tests-special): Rename tests to end with .out.
38166         ($(objpfx)mtrace-tst-loading): Likewise.
38167         * intl/Makefile (generated): Likewise.
38168         (tests-special): Likewise.
38169         ($(objpfx)mtrace-tst-gettext): Likewise.
38170         * misc/Makefile (generated): Likewise.
38171         (tests-special): Likewise.
38172         ($(objpfx)tst-error1-mem): Likewise.
38173         * nptl/Makefile (tests-special): Likewise.
38174         ($(objpfx)tst-stack3-mem): Likewise.
38175         (generated): Likewise.
38176         * posix/Makefile (generated): Likewise.
38177         (tests-special): Likewise.
38178         (xtests-special): Likewise.
38179         ($(objpfx)tst-fnmatch-mem): Likewise.
38180         ($(objpfx)bug-regex2-mem): Likewise.
38181         ($(objpfx)bug-regex14-mem): Likewise.
38182         ($(objpfx)bug-regex21-mem): Likewise.
38183         ($(objpfx)bug-regex31-mem): Likewise.
38184         ($(objpfx)tst-vfork3-mem): Likewise.
38185         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38186         ($(objpfx)tst-pcre-mem): Likewise.
38187         ($(objpfx)tst-boost-mem): Likewise.
38188         ($(objpfx)bug-ga2-mem): Likewise.
38189         ($(objpfx)bug-glob2-mem): Likewise.
38190         * resolv/Makefile (generate): Likewise.
38191         (tests-special): Likewise.
38192         (xtests-special): Likewise.
38193         (generated): Likewise.
38194         ($(objpfx)mtrace-tst-leaks): Likewise.
38195         ($(objpfx)mtrace-tst-leaks2): Likewise.
38197         * scripts/merge-test-results.sh: New file.
38198         * Makefile (tests-special-notdir): New variable.
38199         (tests): Run merge-test-results.sh.
38200         (xtests): Likewise.
38201         * Rules (tests-special-notdir): New variable.
38202         (xtests-special-notdir): Likewise.
38203         (tests): Run merge-test-results.sh
38204         (xtests): Likewise.
38206         * Makeconfig (test-xfail-name): New variable.
38207         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38208         compute variable name for expected failures.
38209         * conform/Makefile (conformtest-headers-data): New variable.
38210         (conformtest-standards): Likewise.
38211         (conformtest-headers-ISO): Likewise.
38212         (conformtest-headers-ISO99): Likewise.
38213         (conformtest-headers-ISO11): Likewise.
38214         (conformtest-headers-POSIX): Likewise.
38215         (conformtest-headers-XPG3): Likewise.
38216         (conformtest-headers-XPG4): Likewise.
38217         (conformtest-headers-UNIX98): Likewise.
38218         (conformtest-headers-XOPEN2K): Likewise.
38219         (conformtest-headers-POSIX2008): Likewise.
38220         (conformtest-headers-XOPEN2K8): Likewise.
38221         (conformtest-header-list-base): Likewise.
38222         (conformtest-header-list-tests): Likewise.
38223         (conformtest-header-base): Likewise.
38224         (conformtest-header-tests): Likewise.
38225         (tests-special): Add $(conformtest-header-list-tests).  If
38226         [$(fast-check) && !$(cross-compiling)], add
38227         $(conformtest-header-tests) instead of
38228         $(objpfx)run-conformtest.out.
38229         (generated): Add $(conformtest-header-list-base).  If
38230         [$(fast-check) && !$(cross-compiling)], add
38231         $(conformtest-header-base).  Remove previous setting.
38232         ($(conformtest-header-list-tests)): New target.
38233         (test-xfail-run-conformtest): Remove variable.
38234         ($(objpfx)run-conformtest.out): Remove target.
38235         (test-xfail-ISO11/complex.h/conform): New variable.
38236         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38237         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38238         (test-xfail-XPG3/varargs.h/conform): Likewise.
38239         (test-xfail-XPG4/varargs.h/conform): Likewise.
38240         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38241         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38242         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38243         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38244         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38245         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38246         (test-xfail-XPG3/ftw.h/conform): Likewise.
38247         (test-xfail-XPG3/grp.h/conform): Likewise.
38248         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38249         (test-xfail-XPG3/limits.h/conform): Likewise.
38250         (test-xfail-XPG3/pwd.h/conform): Likewise.
38251         (test-xfail-XPG3/search.h/conform): Likewise.
38252         (test-xfail-XPG3/signal.h/conform): Likewise.
38253         (test-xfail-XPG3/stdio.h/conform): Likewise.
38254         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38255         (test-xfail-XPG3/string.h/conform): Likewise.
38256         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38257         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38258         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38259         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38260         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38261         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38262         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38263         (test-xfail-XPG3/termios.h/conform): Likewise.
38264         (test-xfail-XPG3/time.h/conform): Likewise.
38265         (test-xfail-XPG3/unistd.h/conform): Likewise.
38266         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38267         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38268         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38269         (test-xfail-XPG4/netdb.h/conform): Likewise.
38270         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38271         (test-xfail-XPG4/signal.h/conform): Likewise.
38272         (test-xfail-XPG4/stdio.h/conform): Likewise.
38273         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38274         (test-xfail-XPG4/stropts.h/conform): Likewise.
38275         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38276         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38277         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38278         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38279         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38280         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38281         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38282         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38283         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38284         (test-xfail-XPG4/termios.h/conform): Likewise.
38285         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38286         (test-xfail-XPG4/unistd.h/conform): Likewise.
38287         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38288         (test-xfail-POSIX/sched.h/conform): Likewise.
38289         (test-xfail-POSIX/signal.h/conform): Likewise.
38290         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38291         (test-xfail-POSIX/tar.h/conform): Likewise.
38292         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38293         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38294         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38295         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38296         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38297         (test-xfail-UNIX98/sched.h/conform): Likewise.
38298         (test-xfail-UNIX98/signal.h/conform): Likewise.
38299         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38300         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38301         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38302         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38303         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38304         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38305         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38306         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38307         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38308         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38309         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38310         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38311         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38312         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38313         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38314         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38315         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38316         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38317         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38318         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38319         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38320         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38321         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38322         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38323         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38324         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38325         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38326         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38327         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38328         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38329         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38330         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38331         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38332         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38333         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38334         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38335         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38336         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38337         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38338         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38339         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38340         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38341         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38342         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38343         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38344         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38345         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38346         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38347         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38348         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38349         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38350         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38351         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38352         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38353         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38354         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38355         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38356         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38357         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38358         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38359         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38360         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38361         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38362         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38363         (conformtest-cc-flags): Likewise.
38364         ($(conformtest-header-tests): New target.
38365         * conform/check-header-lists.sh: New file.
38366         * conform/run-conformtest.sh: Remove.
38368         * conform/conformtest.pl: Allow ' and \ in values given for
38369         constants.
38370         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38371         inclusion.
38372         [POSIX] (sys/types.h): Likewise.
38373         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38374         inclusion.
38375         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38376         inclusion.
38377         * conform/data/signal.h-data (SIGIO): Remove expectation.
38378         [XPG3] (SIGBUS): Do not expect.
38379         [POSIX || XPG3] (SIGPOLL): Likewise.
38380         [POSIX || XPG3] (SIGPROF): Likewise.
38381         [POSIX || XPG3] (SIGSYS): Likewise.
38382         [XPG3] (SIGTRAP): Likewise.
38383         [POSIX || XPG3] (SIGURG): Likewise.
38384         [POSIX || XPG3] (SIGVTALRM): Likewise.
38385         [POSIX || XPG3] (SIGXCPU): Likewise.
38386         [POSIX || XPG3] (SIGXFSZ): Likewise.
38387         [POSIX] (SA_SIGINFO): Expect.
38388         [XPG3] (siginfo_t): Do not expect type or contents.
38389         [POSIX] (si_pid): Do not expect element.
38390         [POSIX] (si_uid): Likewise.
38391         [POSIX] (si_addr): Likewise.
38392         [POSIX] (si_status): Likewise.
38393         [POSIX] (si_band): Likewise.
38394         [XPG4] (si_value): Likewise.
38395         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38396         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38397         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38398         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38399         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38400         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38401         [POSIX || XPG3] (ILL_COPROC): Likewise.
38402         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38403         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38404         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38405         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38406         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38407         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38408         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38409         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38410         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38411         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38412         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38413         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38414         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38415         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38416         [POSIX || XPG3] (CLD_EXITED): Likewise.
38417         [POSIX || XPG3] (CLD_KILLED): Likewise.
38418         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38419         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38420         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38421         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38422         [POSIX || XPG3] (POLL_IN): Likewise.
38423         [POSIX || XPG3] (POLL_OUT): Likewise.
38424         [POSIX || XPG3] (POLL_MSG): Likewise.
38425         [POSIX || XPG3] (POLL_ERR): Likewise.
38426         [POSIX || XPG3] (POLL_PRI): Likewise.
38427         [POSIX || XPG3] (POLL_HUP): Likewise.
38428         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38429         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38430         (SIG*): Do not allow.
38431         [XPG3] (si_*): Likewise.
38432         [XPG3] (SI_*): Likewise.
38433         [XPG3 || XPG4] (sigev_*): Likewise.
38434         [XPG3 || XPG4] (SIGEV_*): Likewise.
38435         [XPG3 || XPG4] (sival_*): Likewise.
38436         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38437         [POSIX || XPG3] (BUS_*): Likewise.
38438         [POSIX || XPG3] (CLD_*): Likewise.
38439         [POSIX || XPG3] (FPE_*): Likewise.
38440         [POSIX || XPG3] (ILL_*): Likewise.
38441         [POSIX || XPG3] (POLL_*): Likewise.
38442         [POSIX || XPG3] (SEGV_*): Likewise.
38443         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38444         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38445         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38446         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38447         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38448         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38449         Specify type and value.
38450         (TVERSLEN): Likewise.
38451         (REGTYPE): Likewise.
38452         (AREGTYPE): Likewise.
38453         (LNKTYPE): Likewise.
38454         (SYMTYPE): Likewise.
38455         (CHRTYPE): Likewise.
38456         (BLKTYPE): Likewise.
38457         (DIRTYPE): Likewise.
38458         (FIFOTYPE): Likewise.
38459         (CONTTYPE): Likewise.
38460         (TSUID): Likewise.
38461         (TSGID): Likewise.
38462         (TSVTX): Likewise.
38463         (TUREAD): Likewise.
38464         (TUWRITE): Likewise.
38465         (TUEXEC): Likewise.
38466         (TGREAD): Likewise.
38467         (TGWRITE): Likewise.
38468         (TGEXEC): Likewise.
38469         (TOREAD): Likewise.
38470         (TOWRITE): Likewise.
38471         (TOEXEC): Likewise.
38472         [POSIX] (TSVTX): Expect constant.
38474 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38476         * Makefile (tests): Change dependencies to ....
38477         (tests-special): ... additions to this variable.
38478         (tests): Depend on $(tests-special).
38479         * Makerules (check-abi-list): New variable.
38480         (check-abi): Depend on $(check-abi-list).
38481         [$(subdir) = elf] (tests-special): Add
38482         $(objpfx)check-abi-libc.out.
38483         [$(build-shared) = yes && subdir] (tests-special): Add
38484         $(check-abi-list).
38485         [$(build-shared) = yes && subdir] (tests): Do not depend on
38486         check-abi.
38487         * Rules (tests): Depend on $(tests-special).
38488         (xtests): Depend on $(xtests-special).
38489         * catgets/Makefile (tests): Change dependencies to ....
38490         (tests-special): ... additions to this variable.
38491         * conform/Makefile (tests): Change dependencies to ....
38492         (tests-special): ... additions to this variable.
38493         * elf/Makefile (tests): Change dependencies to ....
38494         (tests-special): ... additions to this variable.
38495         * grp/Makefile (tests): Change dependencies to ....
38496         (tests-special): ... additions to this variable.
38497         * iconv/Makefile (xtests): Change dependencies to ....
38498         (xtests-special): ... additions to this variable.
38499         * iconvdata/Makefile (tests): Change dependencies to ....
38500         (tests-special): ... additions to this variable.
38501         * intl/Makefile (tests): Change dependencies to ....
38502         (tests-special): ... additions to this variable.  Also add
38503         $(objpfx)tst-gettext.out.
38504         * io/Makefile (tests): Change dependencies to ....
38505         (tests-special): ... additions to this variable.
38506         * libio/Makefile (tests): Change dependencies to ....
38507         (tests-special): ... additions to this variable.
38508         * malloc/Makefile (tests): Change dependencies to ....
38509         (tests-special): ... additions to this variable.
38510         * misc/Makefile (tests): Change dependencies to ....
38511         (tests-special): ... additions to this variable.
38512         * nptl/Makefile (tests): Change dependencies to ....
38513         (tests-special): ... additions to this variable.
38514         * nptl_db/Makefile (tests): Change dependencies to ....
38515         (tests-special): ... additions to this variable.
38516         * posix/Makefile (tests): Change dependencies to ....
38517         (tests-special): ... additions to this variable.
38518         (xtests): Change dependencies to ....
38519         (xtests-special): ... additions to this variable.
38520         * resolv/Makefile (tests): Change dependencies to ....
38521         (tests-special): ... additions to this variable.
38522         (xtests): Change dependencies to ....
38523         (xtests-special): ... additions to this variable.
38524         * stdio-common/Makefile (tests): Change dependencies to ....
38525         (tests-special): ... additions to this variable.
38526         (do-tst-unbputc): Remove target.
38527         (do-tst-printf): Likewise.
38528         * stdlib/Makefile (tests): Change dependencies to ....
38529         (tests-special): ... additions to this variable.
38530         * string/Makefile (tests): Change dependencies to ....
38531         (tests-special): ... additions to this variable.
38532         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38533         (tests-special): ... additions to this variable.
38535         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38536         whole file.
38537         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38538         whole file.
38539         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38540         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38542         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38543         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38544         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38545         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38546         * conform/data/libgen.h-data [XPG3]: Likewise.
38547         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38548         * conform/data/ndbm.h-data [XPG3]: Likewise.
38549         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38550         * conform/data/netdb.h-data [XPG3]: Likewise.
38551         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38552         * conform/data/poll.h-data [XPG3]: Likewise.
38553         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38554         * conform/data/strings.h-data [XPG3]: Likewise.
38555         * conform/data/stropts.h-data [XPG3]: Likewise.
38556         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38557         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38558         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38559         Likewise.
38560         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38561         * conform/data/sys/time.h-data [XPG3]: Likewise.
38562         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38563         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38564         * conform/data/sys/un.h-data [XPG3]: Likewise.
38565         * conform/data/syslog.h-data [XPG3]: Likewise.
38566         * conform/data/ucontext.h-data [XPG3]: Likewise.
38567         * conform/data/utmpx.h-data [XPG3]: Likewise.
38568         * conform/data/varargs.h-data [UNIX98]: Enable file.
38570         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38572         * math/libm-test.inc (struct test_f_f_data): Move expected results
38573         into structure for each rounding mode.
38574         (struct test_ff_f_data): Likewise.
38575         (struct test_ff_f_data_nexttoward): Likewise.
38576         (struct test_fi_f_data): Likewise.
38577         (struct test_fl_f_data): Likewise.
38578         (struct test_if_f_data): Likewise.
38579         (struct test_fff_f_data): Likewise.
38580         (struct test_c_f_data): Likewise.
38581         (struct test_f_f1_data): Likewise.
38582         (struct test_fF_f1_data): Likewise.
38583         (struct test_ffI_f1_data): Likewise.
38584         (struct test_c_c_data): Likewise.
38585         (struct test_cc_c_data): Likewise.
38586         (struct test_f_i_data): Likewise.
38587         (struct test_ff_i_data): Likewise.
38588         (struct test_f_l_data): Likewise.
38589         (struct test_f_L_data): Likewise.
38590         (struct test_fFF_11_data): Likewise.
38591         (RM_): New macro.
38592         (RM_FE_DOWNWARD): Likewise.
38593         (RM_FE_TONEAREST): Likewise.
38594         (RM_FE_TOWARDZERO): Likewise.
38595         (RM_FE_UPWARD): Likewise.
38596         (RUN_TEST_LOOP_f_f): Update references to expected results.
38597         (RUN_TEST_LOOP_2_f): Likewise.
38598         (RUN_TEST_LOOP_fff_f): Likewise.
38599         (RUN_TEST_LOOP_c_f): Likewise.
38600         (RUN_TEST_LOOP_f_f1): Likewise.
38601         (RUN_TEST_LOOP_fF_f1): Likewise.
38602         (RUN_TEST_LOOP_fI_f1): Likewise.
38603         (RUN_TEST_LOOP_ffI_f1): Likewise.
38604         (RUN_TEST_LOOP_c_c): Likewise.
38605         (RUN_TEST_LOOP_cc_c): Likewise.
38606         (RUN_TEST_LOOP_f_i): Likewise.
38607         (RUN_TEST_LOOP_f_i_tg): Likewise.
38608         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38609         (RUN_TEST_LOOP_f_b): Likewise.
38610         (RUN_TEST_LOOP_f_b_tg): Likewise.
38611         (RUN_TEST_LOOP_f_l): Likewise.
38612         (RUN_TEST_LOOP_f_L): Likewise.
38613         (RUN_TEST_LOOP_fFF_11): Likewise.
38614         * math/gen-libm-test.pl (parse_args): Output four copies of
38615         expected results for each test.
38617         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38618         (__ASSUME_UTIMES): Remove.
38619         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38620         (__ASSUME_UTIMES): Likewise.
38622         * math/gen-auto-libm-tests.c: Update comment on output format.
38623         (output_for_one_input_case): Generate before-rounding and
38624         after-rounding information as conditions on output flags not
38625         floating-point format.
38626         * math/auto-libm-test-out: Regenerated.
38627         * math/gen-libm-test.pl (cond_value): New function.
38628         (or_cond_value): Use cond_value.
38629         (generate_testfile): Handle conditional exceptions.
38631 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38633         * math/libm-test.inc (max_valid_error): New variable.
38634         (init_max_error): Take new argument specifying whether function
38635         results are exactly determined.  Set max_valid_error and bound
38636         other variables for errors based on this argument.
38637         (set_max_error): Do not record results above max_valid_error.
38638         (check_float_internal): Only accept errors of up to 0.5ulps if
38639         also at most max_valid_error.
38640         (START): Take new argument EXACT and pass it to init_max_error.
38641         (acos_test): Update call to START.
38642         (acos_test_tonearest): Likewise.
38643         (acos_test_towardzero): Likewise.
38644         (acos_test_downward): Likewise.
38645         (acos_test_upward): Likewise.
38646         (acosh_test): Likewise.
38647         (asin_test): Likewise.
38648         (asin_test_tonearest): Likewise.
38649         (asin_test_towardzero): Likewise.
38650         (asin_test_downward): Likewise.
38651         (asin_test_upward): Likewise.
38652         (asinh_test): Likewise.
38653         (atan_test): Likewise.
38654         (atanh_test): Likewise.
38655         (atan2_test): Likewise.
38656         (cabs_test): Likewise.
38657         (cacos_test): Likewise.
38658         (cacosh_test): Likewise.
38659         (carg_test): Likewise.
38660         (casin_test): Likewise.
38661         (casinh_test): Likewise.
38662         (catan_test): Likewise.
38663         (catanh_test): Likewise.
38664         (cbrt_test): Likewise.
38665         (ccos_test): Likewise.
38666         (ccosh_test): Likewise.
38667         (ceil_test): Likewise.
38668         (cexp_test): Likewise.
38669         (cimag_test): Likewise.
38670         (clog_test): Likewise.
38671         (clog10_test): Likewise.
38672         (conj_test): Likewise.
38673         (copysign_test): Likewise.
38674         (cos_test): Likewise.
38675         (cos_test_tonearest): Likewise.
38676         (cos_test_towardzero): Likewise.
38677         (cos_test_downward): Likewise.
38678         (cos_test_upward): Likewise.
38679         (cosh_test): Likewise.
38680         (cosh_test_tonearest): Likewise.
38681         (cosh_test_towardzero): Likewise.
38682         (cosh_test_downward): Likewise.
38683         (cosh_test_upward): Likewise.
38684         (cpow_test): Likewise.
38685         (cproj_test): Likewise.
38686         (creal_test): Likewise.
38687         (csin_test): Likewise.
38688         (csinh_test): Likewise.
38689         (csqrt_test): Likewise.
38690         (ctan_test): Likewise.
38691         (ctan_test_tonearest): Likewise.
38692         (ctan_test_towardzero): Likewise.
38693         (ctan_test_downward): Likewise.
38694         (ctan_test_upward): Likewise.
38695         (ctanh_test): Likewise.
38696         (ctanh_test_tonearest): Likewise.
38697         (ctanh_test_towardzero): Likewise.
38698         (ctanh_test_downward): Likewise.
38699         (ctanh_test_upward): Likewise.
38700         (erf_test): Likewise.
38701         (erfc_test): Likewise.
38702         (exp_test): Likewise.
38703         (exp_test_tonearest): Likewise.
38704         (exp_test_towardzero): Likewise.
38705         (exp_test_downward): Likewise.
38706         (exp_test_upward): Likewise.
38707         (exp10_test): Likewise.
38708         (exp10_test_tonearest): Likewise.
38709         (exp10_test_towardzero): Likewise.
38710         (exp10_test_downward): Likewise.
38711         (exp10_test_upward): Likewise.
38712         (pow10_test): Likewise.
38713         (exp2_test): Likewise.
38714         (expm1_test): Likewise.
38715         (expm1_test_tonearest): Likewise.
38716         (expm1_test_towardzero): Likewise.
38717         (expm1_test_downward): Likewise.
38718         (expm1_test_upward): Likewise.
38719         (fabs_test): Likewise.
38720         (fdim_test): Likewise.
38721         (floor_test): Likewise.
38722         (fma_test): Likewise.
38723         (fma_test_towardzero): Likewise.
38724         (fma_test_downward): Likewise.
38725         (fma_test_upward): Likewise.
38726         (fmax_test): Likewise.
38727         (fmin_test): Likewise.
38728         (fmod_test): Likewise.
38729         (fpclassify_test): Likewise.
38730         (frexp_test): Likewise.
38731         (hypot_test): Likewise.
38732         (ilogb_test): Likewise.
38733         (isfinite_test): Likewise.
38734         (finite_test): Likewise.
38735         (isgreater_test): Likewise.
38736         (isgreaterequal_test): Likewise.
38737         (isinf_test): Likewise.
38738         (isless_test): Likewise.
38739         (islessequal_test): Likewise.
38740         (islessgreater_test): Likewise.
38741         (isnan_test): Likewise.
38742         (isnormal_test): Likewise.
38743         (issignaling_test): Likewise.
38744         (isunordered_test): Likewise.
38745         (j0_test): Likewise.
38746         (j1_test): Likewise.
38747         (jn_test): Likewise.
38748         (ldexp_test): Likewise.
38749         (lgamma_test): Likewise.
38750         (gamma_test): Likewise.
38751         (lrint_test): Likewise.
38752         (lrint_test_tonearest): Likewise.
38753         (lrint_test_towardzero): Likewise.
38754         (lrint_test_downward): Likewise.
38755         (lrint_test_upward): Likewise.
38756         (llrint_test): Likewise.
38757         (llrint_test_tonearest): Likewise.
38758         (llrint_test_towardzero): Likewise.
38759         (llrint_test_downward): Likewise.
38760         (llrint_test_upward): Likewise.
38761         (log_test): Likewise.
38762         (log10_test): Likewise.
38763         (log1p_test): Likewise.
38764         (log2_test): Likewise.
38765         (logb_test): Likewise.
38766         (logb_test_downward): Likewise.
38767         (lround_test): Likewise.
38768         (llround_test): Likewise.
38769         (modf_test): Likewise.
38770         (nearbyint_test): Likewise.
38771         (nextafter_test): Likewise.
38772         (nexttoward_test): Likewise.
38773         (pow_test): Likewise.
38774         (pow_test_tonearest): Likewise.
38775         (pow_test_towardzero): Likewise.
38776         (pow_test_downward): Likewise.
38777         (pow_test_upward): Likewise.
38778         (remainder_test): Likewise.
38779         (drem_test): Likewise.
38780         (remainder_test_tonearest): Likewise.
38781         (drem_test_tonearest): Likewise.
38782         (remainder_test_towardzero): Likewise.
38783         (drem_test_towardzero): Likewise.
38784         (remainder_test_downward): Likewise.
38785         (drem_test_downward): Likewise.
38786         (remainder_test_upward): Likewise.
38787         (drem_test_upward): Likewise.
38788         (remquo_test): Likewise.
38789         (rint_test): Likewise.
38790         (rint_test_tonearest): Likewise.
38791         (rint_test_towardzero): Likewise.
38792         (rint_test_downward): Likewise.
38793         (rint_test_upward): Likewise.
38794         (round_test): Likewise.
38795         (scalb_test): Likewise.
38796         (scalbn_test): Likewise.
38797         (scalbln_test): Likewise.
38798         (signbit_test): Likewise.
38799         (sin_test): Likewise.
38800         (sin_test_tonearest): Likewise.
38801         (sin_test_towardzero): Likewise.
38802         (sin_test_downward): Likewise.
38803         (sin_test_upward): Likewise.
38804         (sincos_test): Likewise.
38805         (sinh_test): Likewise.
38806         (sinh_test_tonearest): Likewise.
38807         (sinh_test_towardzero): Likewise.
38808         (sinh_test_downward): Likewise.
38809         (sinh_test_upward): Likewise.
38810         (sqrt_test): Likewise.
38811         (sqrt_test_tonearest): Likewise.
38812         (sqrt_test_towardzero): Likewise.
38813         (sqrt_test_downward): Likewise.
38814         (sqrt_test_upward): Likewise.
38815         (tan_test): Likewise.
38816         (tan_test_tonearest): Likewise.
38817         (tan_test_towardzero): Likewise.
38818         (tan_test_downward): Likewise.
38819         (tan_test_upward): Likewise.
38820         (tanh_test): Likewise.
38821         (tgamma_test): Likewise.
38822         (trunc_test): Likewise.
38823         (y0_test): Likewise.
38824         (y1_test): Likewise.
38825         (yn_test): Likewise.
38826         (significand_test): Likewise.
38828         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38829         individual tests in comment.
38830         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38831         (prev_max_error): New variable.
38832         (prev_real_max_error): Likewise.
38833         (prev_imag_max_error): Likewise.
38834         (compare_ulp_data): Don't refer to test names in comment.
38835         (find_test_ulps): Remove function.
38836         (find_function_ulps): Likewise.
38837         (find_complex_function_ulps): Likewise.
38838         (init_max_error): Take function name as argument.  Look up ulps
38839         for that function.
38840         (print_ulps): Remove function.
38841         (print_max_error): Use prev_max_error instead of calling
38842         find_function_ulps.
38843         (print_complex_max_error): Use prev_real_max_error and
38844         prev_imag_max_error instead of calling find_complex_function_ulps.
38845         (check_float_internal): Take max_ulp parameter instead of calling
38846         find_test_ulps.  Don't call print_ulps.
38847         (check_float): Update call to check_float_internal.
38848         (check_complex): Update calls to check_float_internal.
38849         (START): Pass argument to init_max_error.
38850         * math/gen-libm-test.pl (%results): Don't include "kind"
38851         information.
38852         (parse_ulps): Don't handle ulps of individual tests.
38853         (print_ulps_file): Likewise.
38854         (output_ulps): Likewise.
38855         * math/README.libm-test: Update.
38856         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38857         individual tests.
38858         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38859         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38860         * sysdeps/arm/libm-test-ulps: Likewise.
38861         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38862         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38863         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38864         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38865         * sysdeps/microblaze/libm-test-ulps: Likewise.
38866         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38867         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38868         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38869         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38870         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38871         * sysdeps/sh/libm-test-ulps: Likewise.
38872         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38873         * sysdeps/tile/libm-test-ulps: Likewise.
38874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38876 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38878         * math/libm-test.inc (print_complex_max_error): Check separately
38879         whether real and imaginary errors are within allowed range and
38880         pass 0 to print_complex_function_ulps instead of value within
38881         allowed range.
38883 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38885         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38886         formatting.
38887         (get_handles_fopen): Likewise.
38888         (do_write_test): Likewise.
38890         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38892         * libio/fileops.c (do_ftell): Use cached offset when
38893         available.
38894         * libio/iofwide.c (do_ftell_wide): Likewise.
38895         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38896         _IO_file_attach.
38897         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38899         [BZ #16532]
38900         * libio/libioP.h (get_file_offset): New function.
38901         * libio/fileops.c (get_file_offset): Likewise.
38902         (do_ftell): Likewise.
38903         (_IO_new_file_seekoff): Split out ftell logic.
38904         * libio/wfileops.c (do_ftell_wide): Likewise.
38905         (_IO_wfile_seekoff): Split out ftell logic.
38906         * libio/tst-ftell-active-handler.c: New test case.
38907         * libio/Makefile (tests): Add it.
38909 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38911         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38912         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38914 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38916         [BZ #16639]
38917         * nscd/connections.c (nscd_init): Call do_exit.
38918         (start_threads): Call do_exit and notify_parent.
38919         (begin_drop_privileges): Call do_exit.
38920         (finish_drop_privileges): Likewise.
38921         * nscd/selinux.c (preserve_capabilities): Likewise.
38922         (install_real_capabilities): Likewise.
38923         (nscd_selinux_enabled): Likewise.
38924         (avc_create_thread): Likewise.
38925         (avc_alloc_lock): Likewise.
38926         (nscd_avc_init): Likewise.
38927         * nscd/nscd.c (parent_fd): New static variable.
38928         (main): Create a pipe between parent and child processes.
38929         Skip closing parent_fd.
38930         (monitor_child): New function.
38931         (do_exit): Likewise.
38932         (notify_parent): Likewise.
38933         * nscd/nscd.h (notify_parent): Likewise.
38934         (do_exit): Likewise.
38936 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38938         * malloc/malloc.c (__libc_calloc): Revert last change.
38940 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38944 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38946         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38948         implementation.
38949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38950         (__libc_ifunc_impl_list): Likewise.
38951         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38952         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38953         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38954         * string/strrchr.c: Define STRRCHR.
38956 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38958         * benchtest/bench-strtok.c (simple_strtok): Delete.
38959         (strtok_string): Use as benchmark.
38960         * string/strtok (STRTOK): New macro.
38962 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38964         * manual/threads.texi: Add header and standard comments to all
38965         functions.
38967         * elf/dl-lookup.c (check_match): New function.
38968         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38969         (do_lookup_x): Remove nested function check_match. Use non-nested
38970         function check_match.
38972 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38974         * csu/Makefile (generated, before-compile): Use += rather than =.
38975         * catgets/Makefile (generated, generated-dirs): Likewise.
38976         * debug/Makefile (generated): Likewise.
38977         * dlfcn/Makefile (generated): Likewise.
38978         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38979         * iconvdata/Makefile (before-compile, generated): Likewise.
38980         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38981         * libio/Makefile (generated): Likewise.
38982         * malloc/Makefile (generated): Likewise.
38983         * manual/Makefile (generated, generated-dirs): Likewise.
38984         * misc/Makefile (generated): Likewise.
38985         * posix/Makefile (generated): Likewise.
38986         * resolv/Makefile (generated): Likewise.
38987         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38988         * timezone/Makefile (generated, generated-dirs): Likewise.
38990         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38992 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38994         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38995         power8 implementation.
38996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38997         file: POWER8 llround ifunc implementation.
38998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38999         (__lllround): Add POWER8 implementation.
39000         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39001         POWER8 llround implementation.
39003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39004         power8 implementation.
39005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39006         file: POWER8 llrint ifunc implementation.
39007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39008         Add POWER8 implementation.
39009         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39010         POWER8 llrint implementation.
39012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39013         power8 implementation.
39014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39015         file: POWER8 finite ifunc implementation.
39016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39017         Add POWER8 implementation.
39018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39019         Likewise.
39020         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39021         POWER8 finite implementation.
39022         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39025         power8 implementation.
39026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39027         file: POWER8 isinf ifunc implementation.
39028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39029         POWER8 implementation.
39030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39031         Likewise.
39032         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39033         isinf implementation.
39034         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39036         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39037         (INIT_ARCH): Add hwcap2 initialization.
39038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39039         power8 implementation.
39040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39041         file: POWER8 isnan ifunc implementation.
39042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39043         POWER8 implementation.
39044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39045         Likewise.
39046         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39047         isnan implementation.
39048         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39050 2014-02-27  Joey Ye  <joey.ye@arm.com>
39052         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39053         (_FP_NANFRAC_Q): Set to zero.
39055 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39057         [BZ #16623]
39058         * math/auto-libm-test-in: New test inputs.
39059         * math/auto-libm-test-out: Regenerate.
39060         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39061         and DA.
39062         (__cos): Likewise.
39063         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39065 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39067         * scripts/evaluate-test.sh: Take new argument indicating whether
39068         failure is expected.
39069         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39070         indicating whether failure is expected.
39071         * conform/Makefile (test-xfail-run-conformtest): New variable.
39072         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39073         level.
39074         * posix/Makefile (test-xfail-annexc): New variable.
39075         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39077 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39079         * argp/Makefile: Include Makeconfig immediately after defining
39080         subdir.
39081         * assert/Makefile: Likewise.
39082         * benchtests/Makefile: Likewise.
39083         * catgets/Makefile: Likewise.
39084         * conform/Makefile: Likewise.
39085         * crypt/Makefile: Likewise.
39086         * csu/Makefile: Likewise.
39087         (all): Remove target.
39088         * ctype/Makefile: Include Makeconfig immediately after defining
39089         subdir.
39090         * debug/Makefile: Likewise.
39091         * dirent/Makefile: Likewise.
39092         * dlfcn/Makefile: Likewise.
39093         * gmon/Makefile: Likewise.
39094         * gnulib/Makefile: Likewise.
39095         * grp/Makefile: Likewise.
39096         * gshadow/Makefile: Likewise.
39097         * hesiod/Makefile: Likewise.
39098         * hurd/Makefile: Likewise.
39099         (all): Remove target.
39100         * iconvdata/Makefile: Include Makeconfig immediately after
39101         defining subdir.
39102         * inet/Makefile: Likewise.
39103         * intl/Makefile: Likewise.
39104         * io/Makefile: Likewise.
39105         * libio/Makefile: Likewise.
39106         (all): Remove target.
39107         * locale/Makefile: Include Makeconfig immediately after defining
39108         subdir.
39109         * login/Makefile: Likewise.
39110         * mach/Makefile: Likewise.
39111         (all): Remove target.
39112         * malloc/Makefile: Include Makeconfig immediately after defining
39113         subdir.
39114         (all): Remove target.
39115         * manual/Makefile: Include Makeconfig immediately after defining
39116         subdir.
39117         * math/Makefile: Likewise.
39118         * misc/Makefile: Likewise.
39119         * nis/Makefile: Likewise.
39120         * nss/Makefile: Likewise.
39121         * po/Makefile: Likewise.
39122         (all): Remove target.
39123         * posix/Makefile: Include Makeconfig immediately after defining
39124         subdir.
39125         * pwd/Makefile: Likewise.
39126         * resolv/Makefile: Likewise.
39127         * resource/Makefile: Likewise.
39128         * rt/Makefile: Likewise.
39129         * setjmp/Makefile: Likewise.
39130         * shadow/Makefile: Likewise.
39131         * signal/Makefile: Likewise.
39132         * socket/Makefile: Likewise.
39133         * soft-fp/Makefile: Likewise.
39134         * stdio-common/Makefile: Likewise.
39135         * stdlib/Makefile: Likewise.
39136         * streams/Makefile: Likewise.
39137         * string/Makefile: Likewise.
39138         * sunrpc/Makefile: Likewise.
39139         (all): Remove target.
39140         * sysvipc/Makefile: Include Makeconfig immediately after defining
39141         subdir.
39142         * termios/Makefile: Likewise.
39143         * time/Makefile: Likewise.
39144         * timezone/Makefile: Likewise.
39145         (all): Remove target.
39146         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39147         subdir.
39148         * wctype/Makefile: Likewise.
39150 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39152         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39153         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39154         (libc_feholdexcept_setround_mips): Ditto.
39155         (libc_feholdsetround): New.
39156         (libc_feholdsetroundf): New.
39157         (libc_feholdsetroundl): New.
39158         (libc_feupdateenv_test_mips): New.
39159         (libc_feupdateenv_test): New.
39160         (libc_feupdateenv_testf): New.
39161         (libc_feupdateenv_testl): New.
39162         (libc_feresetround): New.
39163         (libc_feresetroundf): New.
39164         (libc_feresetroundl): New.
39165         (libc_fetestexcept_mips): New.
39166         (libc_fetestexcept): New.
39167         (libc_fetestexceptf): New.
39168         (libc_fetestexceptl): New.
39169         (HAVE_RM_CTX): New.
39170         (libc_feholdexcept_setround_mips_ctx): New.
39171         (libc_feholdexcept_setround_ctx): New.
39172         (libc_feholdexcept_setroundf_ctx): New.
39173         (libc_feholdexcept_setroundl_ctx): New.
39174         (libc_fesetenv_mips_ctx): New.
39175         (libc_fesetenv_ctx): New.
39176         (libc_fesetenv_ctxf): New.
39177         (libc_fesetenv_ctxl): New.
39178         (libc_feupdateenv_mips_ctx): New.
39179         (libc_feupdateenv_ctx): New.
39180         (libc_feupdateenvf_ctx): New.
39181         (libc_feupdateenvl_ctx): New.
39182         (libc_feholdsetround_mips_ctx): New.
39183         (libc_feholdsetround_ctx): New.
39184         (libc_feholdsetroundf_ctx): New.
39185         (libc_feholdsetroundl_ctx): New.
39186         (libc_feresetround_mips_ctx): New.
39187         (libc_feresetround_ctx): New.
39188         (libc_feresetroundf_ctx): New.
39189         (libc_feresetroundl_ctx): New.
39191 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39193         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39195         * manual/ipc.texi: New file.
39196         * manual/Makefile (chapters): Add ipc.
39197         * manual/job.texi: Add "Inter-Process Communication" to next.
39198         * manual/process.texi: Add "Inter-Process Communication" to prev.
39200 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39204 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39206         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39208         * manual/arith.texi: Fix spaces after sentences.
39209         * manual/charset.texi: Likewise.
39210         * manual/errno.texi: Likewise.
39211         * manual/install.texi: Likewise.
39212         * manual/llio.texi: Likewise.
39213         * manual/locale.texi: Likewise.
39214         * manual/maint.texi: Likewise.
39215         * manual/math.texi: Likewise.
39216         * manual/memory.texi: Likewise.
39217         * manual/message.texi: Likewise.
39218         * manual/probes.texi: Likewise.
39219         * manual/resource.texi: Likewise.
39220         * manual/signal.texi: Likewise.
39221         * manual/socket.texi: Likewise.
39222         * manual/stdio.texi: Likewise.
39223         * manual/string.texi: Likewise.
39224         * manual/time.texi: Likewise.
39225         * manual/users.texi: Likewise.
39227 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39229         [BZ #16632]
39230         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39231         _DEFAULT_SOURCE is defined.
39233 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39234             Carlos O'Donell  <carlos@redhat.com>
39236         [BZ #16613]
39237         * elf/dl-tls.c (_dl_count_modids): New function.
39238         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39239         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39240         audit library and increment generation counter.
39241         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39242         * elf/tst-audit9.c: New file.
39243         * elf/tst-auditmod9a.c: New file.
39244         * elf/tst-auditmod9b.c: New file.
39245         * elf/Makefile: Add rules to build and run tst-audit9.
39247 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39249         [BZ #15347]
39250         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39252 2014-02-25  Will Newton  <will.newton@linaro.org>
39254         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39255         (__longjmp): Restore sp and lr before restoring callee
39256         saved registers.  Add longjmp and longjmp_target
39257         SystemTap probe point.
39258         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39259         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39260         Define to zero to match jmpbuf layout.
39261         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39262         (__sigsetjmp): Save sp and lr before saving callee
39263         saved registers.  Add setjmp SystemTap probe point.
39265 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39267         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39269 2014-02-24  Andreas Schwab  <schwab@suse.de>
39271         [BZ #15804]
39272         * elf/pldd.c (wait_for_ptrace_stop): New function.
39273         (main): Call it after attaching.
39275 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39277         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39278         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39279         Versions files is now verboten.
39280         * hurd/Versions (libc: GLIBC_2.0):
39281         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39282         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39283         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39284         * mach/Versions: Likewise.
39286         * csu/Versions: Remove unused %include.
39287         * resolv/Versions: Likewise.
39289 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39291         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39292         ($(objpfx)check-local-headers.out): Likewise.
39293         ($(objpfx)begin-end-check.out): Likewise.
39294         * Makerules (check-abi-%.out): Likewise.
39295         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39296         ($(objpfx)test2.cat): Likewise.
39297         ($(objpfx)de/libc.cat): Likewise.
39298         ($(objpfx)test-gencat.out): Likewise.
39299         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39300         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39301         ($(objpfx)noload-mem): Likewise.
39302         ($(objpfx)tst-pathopt.out): Likewise.
39303         ($(objpfx)tst-rtld-load-self.out): Likewise.
39304         ($(objpfx)tst-array1-cmp.out): Likewise.
39305         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39306         ($(objpfx)tst-array2-cmp.out): Likewise.
39307         ($(objpfx)tst-array3-cmp.out): Likewise.
39308         ($(objpfx)tst-array4-cmp.out): Likewise.
39309         ($(objpfx)tst-array5-cmp.out): Likewise.
39310         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39311         ($(objpfx)check-textrel.out): Likewise.
39312         ($(objpfx)check-execstack.out): Likewise.
39313         ($(objpfx)check-localplt.out): Likewise.
39314         ($(objpfx)order2-cmp.out): Likewise.
39315         ($(objpfx)tst-leaks1-mem): Likewise.
39316         ($(objpfx)tst-leaks1-static-mem): Likewise.
39317         ($(objpfx)tst-initorder-cmp.out): Likewise.
39318         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39319         ($(objpfx)tst-unused-dep.out): Likewise.
39320         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39321         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39322         * iconv/Makefile (test-iconvconfig): Likewise.
39323         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39324         ($(objpfx)iconv-test.out): Likewise.
39325         ($(objpfx)tst-tables.out): Likewise.
39326         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39327         ($(objpfx)tst-gettext.out): Likewise.
39328         ($(objpfx)tst-translit.out): Likewise.
39329         ($(objpfx)tst-gettext2.out): Likewise.
39330         ($(objpfx)tst-gettext4.out): Likewise.
39331         ($(objpfx)tst-gettext6.out): Likewise.
39332         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39333         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39334         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39335         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39336         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39337         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39338         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39339         ($(objpfx)wordexp-tst.out): Likewise.
39340         ($(objpfx)annexc.out): Likewise.
39341         ($(objpfx)tst-fnmatch-mem): Likewise.
39342         ($(objpfx)bug-regex2-mem): Likewise.
39343         ($(objpfx)bug-regex14-mem): Likewise.
39344         ($(objpfx)bug-regex21-mem): Likewise.
39345         ($(objpfx)bug-regex31-mem): Likewise.
39346         ($(objpfx)tst-vfork3-mem): Likewise.
39347         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39348         ($(objpfx)tst-pcre-mem): Likewise.
39349         ($(objpfx)tst-boost-mem): Likewise.
39350         ($(objpfx)tst-getconf.out): Likewise.
39351         ($(objpfx)bug-ga2-mem): Likewise.
39352         ($(objpfx)bug-glob2-mem): Likewise.
39353         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39354         ($(objpfx)mtrace-tst-leaks2): Likewise.
39355         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39356         ($(objpfx)tst-printf.out): Likewise.
39357         ($(objpfx)tst-setvbuf1.out): Likewise.
39358         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39359         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39360         ($(objpfx)tst-fmtmsg.out): Likewise.
39361         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39362         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39364         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39365         * bits/sigaction.h [__USE_MISC]: Likewise.
39366         * bits/waitstatus.h: Update #endif comments.
39367         * ctype/ctype.h: Likewise.
39368         * dirent/dirent.h: Likewise.
39369         [__USE_MISC]: Remove redundant conditionals.
39370         * grp/grp.h: Update #endif comments.
39371         [__USE_GNU]: Remove redundant conditionals.
39372         [__USE_MISC]: Likewise.
39373         * inet/netinet/in.h [__USE_GNU]: Likewise.
39374         * io/sys/stat.h [__USE_MISC]: Likewise.
39375         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39376         * libio/bits/stdio.h: Update #endif comments.
39377         [__USE_MISC]: Remove redundant conditionals.
39378         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39379         * libio/stdio.h: Update #endif comments.
39380         [__USE_MISC]: Remove redundant conditionals.
39381         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39382         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39383         * math/math.h: Update #else and #endif comments.
39384         [__USE_MISC]: Remove redundant conditionals.
39385         * misc/sys/uio.h: Update #endif comments.
39386         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39387         * posix/glob.h [__USE_MISC]: Likewise.
39388         * posix/sys/types.h: Update #endif comments.
39389         [__USE_MISC]: Remove redundant conditionals.
39390         * posix/sys/wait.h: Update #endif comments.
39391         [__USE_MISC]: Remove redundant conditionals.
39392         * posix/unistd.h: Update #endif comments.
39393         [__USE_MISC]: Remove redundant conditionals.
39394         * pwd/pwd.h [__USE_GNU]: Likewise.
39395         [__USE_MISC]: Likewise.
39396         * resolv/netdb.h [__USE_GNU]: Likewise.
39397         * signal/signal.h: Update #endif comments.
39398         [__USE_MISC]: Remove redundant conditionals.
39399         * stdlib/stdlib.h: Update #else and #endif comments.
39400         [__USE_MISC]: Remove redundant conditionals.
39401         [__USE_GNU]: Likewise.
39402         * string/bits/string2.h [__USE_MISC]: Likewise.
39403         * string/string.h: Update #endif comments.
39404         [__USE_MISC]: Remove redundant conditionals.
39405         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39406         Likewise.
39407         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39408         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39409         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39410         Likewise.
39411         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39412         Likewise.
39413         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39414         comments.
39415         [__USE_MISC]: Remove redundant conditionals.
39416         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39417         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39418         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39419         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39420         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39421         Likewise.
39422         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39423         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39424         Likewise.
39425         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39426         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39427         Likewise.
39428         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39429         Likewise.
39430         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39431         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39432         Likewise.
39433         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39434         Likewise.
39435         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39436         * sysdeps/x86/bits/string.h: Update #endif comments.
39437         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39438         conditionals.
39439         * time/sys/time.h: Update #endif comments.
39440         * time/time.h: Likewise.
39441         [__USE_MISC]: Remove redundant conditionals.
39443 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39445         [BZ #16600]
39446         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39448 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39450         * Versions.def (librt): Add GLIBC_2.17.
39452 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39454         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39455         synonym for _SYS_AUXV_H to allow direct inclusion.
39456         * sysdeps/sparc/bits/hwcap.h: Likewise.
39457         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39458         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39459         * sysdeps/sparc/sysdep.h: Likewise.
39461 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39463         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39465 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39467         * benchtests/bench-strrchr.c: Print length instead of position.
39469 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39471         [BZ #16611]
39472         * sysdeps/unix/sysv/linux/kernel-features.h
39473         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39474         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39475         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39476         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39477         Likewise.
39478         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39479         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39480         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39481         (__ASSUME_SENDMMSG): Define instead of using previous
39482         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39483         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39484         (__ASSUME_SENDMMSG_SYSCALL): Define.
39485         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39486         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39487         Likewise.
39488         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39489         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39490         Likewise.
39491         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39492         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39493         Likewise.
39494         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39495         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39496         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39497         [__ASSUME_SENDMMSG]: Change conditionals to
39498         [__ASSUME_SENDMMSG_SOCKETCALL].
39499         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39500         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39501         Define.
39502         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39503         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39504         Likewise.
39505         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39506         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39507         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39508         [!__ASSUME_SENDMMSG]: Change conditional to
39509         [!__ASSUME_SENDMMSG_SOCKETCALL].
39510         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39511         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39512         Define.
39514         [BZ #16610]
39515         * sysdeps/unix/sysv/linux/kernel-features.h
39516         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39517         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39518         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39519         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39520         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39521         [__i386__ || __sparc__]
39522         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39523         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39524         (__ASSUME_RECVMMSG): Define instead of using previous
39525         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39526         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39527         (__ASSUME_RECVMMSG_SYSCALL): Define.
39528         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39529         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39530         Likewise.
39531         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39532         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39533         Likewise.
39534         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39535         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39536         Likewise.
39537         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39538         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39539         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39540         [__ASSUME_RECVMMSG]: Change condition to
39541         [__ASSUME_RECVMMSG_SOCKETCALL].
39542         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39543         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39544         Define.
39545         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39546         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39547         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39548         Likewise.
39549         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39550         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39551         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39552         [!__ASSUME_RECVMMSG]: Change condition to
39553         [!__ASSUME_RECVMMSG_SOCKETCALL].
39554         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39555         (__ASSUME_RECVMMSG_SYSCALL): Define.
39557         [BZ #16609]
39558         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39559         __powerpc__ || __s390__ || __sh__ || __sparc__]
39560         (__ASSUME_SOCKETCALL): Define.
39561         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39562         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39563         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39564         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39565         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39566         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39567         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39568         (__ASSUME_ACCEPT4): Define instead of using previous
39569         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39570         __powerpc__ || __sparc__ || __s390__)] condition.
39571         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39572         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39573         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39574         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39575         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39576         [!__ASSUME_ACCEPT4]: Change condition to
39577         [!__ASSUME_ACCEPT4_SOCKETCALL].
39578         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39579         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39580         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39581         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39582         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39583         __ASSUME_ACCEPT4_SYSCALL.
39584         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39585         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39586         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39587         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39588         __ASSUME_ACCEPT4_SYSCALL.
39589         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39590         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39591         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39592         [__ASSUME_ACCEPT4]: Change condition to
39593         [__ASSUME_ACCEPT4_SOCKETCALL].
39594         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39595         (__ASSUME_SOCKETCALL): Define.
39596         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39597         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39598         (__ASSUME_SOCKETCALL): Define.
39599         (__ASSUME_ACCEPT4): Remove.
39600         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39601         Define.
39602         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39603         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39604         Likewise.
39605         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39606         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39608         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39609         macro.
39610         (HWCAP_ARM_LPAE): Likewise.
39611         (HWCAP_ARM_EVTSTRM): Likewise.
39612         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39613         Add vpfd32, lpae and evtstrm.
39614         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39615         Increase to 22.
39617 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39619         * math/auto-libm-test-in: Add tests of clog10.
39620         * math/auto-libm-test-out: Regenerated.
39621         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39622         * sysdeps/i386/fpu/libm-test-ulps: Update.
39623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39625 2014-02-18  Andreas Schwab  <schwab@suse.de>
39627         [BZ #16574]
39628         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39629         Store non-zero if the second buffer was newly allocated.
39630         (send_dg): Likewise.
39631         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39632         to send_vc and send_dg.
39633         (res_nsend): Pass NULL for ansp2_malloced.
39634         * resolv/res_query.c (__libc_res_nquery): Add parameter
39635         answerp2_malloced and pass it down to __libc_res_nsend.
39636         (res_nquery): Pass additional NULL to __libc_res_nquery.
39637         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39638         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39639         second answer buffer if answerp2_malloced was set.
39640         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39641         (__libc_res_nquerydomain): Add parameter
39642         answerp2_malloced and pass it down to __libc_res_nquery.
39643         (res_nquerydomain): Pass additional NULL to
39644         __libc_res_nquerydomain.
39645         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39646         additional NULL to __libc_res_nsend and __libc_res_nquery.
39647         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39648         additional NULL to __libc_res_nsearch.
39649         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39650         parameter of __libc_res_nsearch to check for separately allocated
39651         second buffer.
39652         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39653         __libc_res_nquery.
39654         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39655         additional NULL to __libc_res_nquery.
39656         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39657         __libc_res_nsearch.
39658         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39659         * include/resolv.h: Update prototypes of __libc_res_nquery,
39660         __libc_res_nsearch, __libc_res_nsend.
39662 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39664         * math/auto-libm-test-in: Add tests of fma.
39665         * math/auto-libm-test-out: Regenerated.
39666         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39667         (fma_towardzero_test_data): Likewise.
39668         (fma_downward_test_data): Likewise.
39669         (fma_upward_test_data): Likewise.
39670         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39671         mpc_mode.
39672         (rounding_modes): Add values for new field.
39673         (func_calc_method): Add value mpfr_fff_f.
39674         (func_calc_desc): Add mpfr_fff_f union field.
39675         (test_function): Add field exact_args.
39676         (FUNC): Add macro argument EXACT_ARGS.
39677         (FUNC_mpfr_f_f): Update call to FUNC.
39678         (FUNC_mpfr_f_f): Likewise.
39679         (FUNC_mpfr_ff_f): Likewise.
39680         (FUNC_mpfr_if_f): Likewise.
39681         (FUNC_mpc_c_f): Likewise.
39682         (FUNC_mpc_c_c): Likewise.
39683         (test_functions): Add fma.  Update calls to FUNC.
39684         (handle_input_arg): Add argument exact_args.
39685         (add_test): Update call to handle_input_arg.
39686         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39687         (output_for_one_input_case): Update call to calc_generic_results.
39688         Recalculate exact zero results in each rounding mode.
39690         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39691         non-negative before setting low bit.
39692         * math/auto-libm-test-in: Mark one asin test possibly having
39693         spurious underflow.
39694         * math/auto-libm-test-out: Regenerated.
39695         * sysdeps/i386/fpu/libm-test-ulps: Update.
39696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39698 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39700         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39701         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39702         ports/sysdeps/unix/sysv/linux/microblaze.
39703         * README: Add missing listing for microblaze*-*-linux-gnu.
39705 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39707         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39708         duplicate code
39710 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39712         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39713         * sysdeps/unix/sysv/linux/ia64: Move directory from
39714         ports/sysdeps/unix/sysv/linux/ia64.
39715         * README: Update listing for ia64-*-linux-gnu.
39717 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39718             Joseph Myers  <joseph@codesourcery.com>
39720         * Makeconfig (test-name): New variable.
39721         (evaluate-test): Likewise.
39722         * Makerules (do-test-clean): Remove .test-result files.
39723         (common-mostlyclean): Likewise.
39724         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39725         * scripts/evaluate-test.sh: New file.
39727 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39729         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39730         separate $(objpfx)tst-fopenloc-cmp.out and
39731         $(objpfx)tst-fopenloc-mem.out targets.
39732         (tests): Update dependencies.
39733         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39734         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39735         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39736         (tst-rxspencer-no-utf8-ARGS): New variable.
39737         (tst-rxspencer-no-utf8-ENV): Likewise.
39738         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39739         instead of $(objpfx)tst-rxspencer-mem.
39740         ($(objpfx)tst-rxspencer-mem): Change target to
39741         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39742         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39743         * posix/tst-rxspencer-no-utf8.c: New file.
39745         * elf/Makefile ($(objpfx)order.out): Remove rule.
39746         [$(run-built-tests) = yes] (tests): Depend on
39747         $(objpfx)order-cmp.out.
39748         ($(objpfx)order-cmp.out): New rule.
39749         [$(run-built-tests) = yes] (tests): Depend on
39750         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39751         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39752         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39753         $(objpfx)tst-array5-static-cmp.out.
39754         ($(objpfx)tst-array1.out): Remove rule.
39755         ($(objpfx)tst-array1-cmp.out): New rule.
39756         ($(objpfx)tst-array1-static.out): Remove rule.
39757         ($(objpfx)tst-array1-static-cmp.out): New rule.
39758         ($(objpfx)tst-array2.out): Remove rule.
39759         ($(objpfx)tst-array2-cmp.out): New rule.
39760         ($(objpfx)tst-array3.out): Remove rule.
39761         ($(objpfx)tst-array3-cmp.out): New rule.
39762         ($(objpfx)tst-array4.out): Remove rule.
39763         ($(objpfx)tst-array4-cmp.out): New rule.
39764         ($(objpfx)tst-array5.out): Remove rule.
39765         ($(objpfx)tst-array5-cmp.out): New rule.
39766         ($(objpfx)tst-array5-static.out): Remove rule.
39767         ($(objpfx)tst-array5-static-cmp.out): New rule.
39768         [$(run-built-tests) = yes] (tests): Depend on
39769         $(objpfx)order2-cmp.out.
39770         ($(objpfx)order2.out): Remove rule.
39771         ($(objpfx)order2-cmp.out): New rule.
39772         ($(objpfx)tst-initorder.out): Remove rule.
39773         [$(run-built-tests) = yes] (tests): Depend on
39774         $(objpfx)tst-initorder-cmp.out.
39775         ($(objpfx)tst-initorder-cmp.out): New rule.
39776         ($(objpfx)tst-initorder2.out): Remove rule.
39777         [$(run-built-tests) = yes] (tests): Depend on
39778         $(objpfx)tst-initorder2-cmp.out.
39779         ($(objpfx)tst-initorder2-cmp.out): New rule.
39780         [$(run-built-tests) = yes] (tests): Depend on
39781         $(objpfx)tst-unused-dep-cmp.out.
39782         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39783         ($(objpfx)tst-unused-dep-cmp.out): New rule.
39784         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39785         on $(objpfx)tst-setvbuf1-cmp.out.
39786         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39787         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39788         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39789         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39790         ($(objpfx)tst-svc.out): Remove rule.
39791         ($(objpfx)tst-svc-cmp.out): New rule.
39793 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
39795         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39796         * ctype/ctype.h [__USE_MISC]: Likewise.
39797         * dirent/dirent.h [__USE_MISC]: Likewise.
39798         * grp/grp.h [__USE_MISC]: Likewise.
39799         * io/fcntl.h [__USE_MISC]: Likewise.
39800         * io/sys/stat.h [__USE_MISC]: Likewise.
39801         * libio/stdio.h [__USE_MISC]: Likewise.
39802         * posix/unistd.h [__USE_MISC]: Likewise.
39803         * pwd/pwd.h [__USE_MISC]: Likewise.
39804         * stdlib.h [__USE_MISC]: Likewise.
39805         * string/bits/string2.h [__USE_MISC]: Likewise.
39806         * string/string.h [__USE_MISC]: Likewise.
39807         * time/time.h [__USE_MISC]: Likewise.
39809 2014-02-13  Andreas Schwab  <schwab@suse.de>
39811         [BZ #16574]
39812         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39813         second answer buffer if it was separately allocated.
39815 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
39817         * sysdeps/mips/math-tests.h: Include <features.h>.
39818         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39819         (ROUNDING_TESTS_long_double): Do not define.
39820         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39821         (EXCEPTION_TESTS_long_double): Likewise.
39822         * sysdeps/mips/mips64/libm-test-ulps: Update.
39824         * include/features.h (__USE_BSD): Remove macro definitions.
39825         (__USE_SVID): Likewise.
39826         (_BSD_SOURCE): Likewise.
39827         (_SVID_SOURCE): Likewise.
39828         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39829         from definition of _DEFAULT_SOURCE.
39830         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39831         [_DEFAULT_SOURCE].
39832         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39833         * bits/mman.h [__USE_BSD]: Likewise.
39834         * bits/termios.h [__USE_BSD]: Likewise.
39835         * bits/waitstatus.h [__USE_BSD]: Likewise.
39836         * ctype/ctype.h [__USE_SVID]: Likewise.
39837         * dirent/dirent.h [__USE_BSD]: Likewise.
39838         * grp/grp.h [__USE_SVID]: Likewise.
39839         [__USE_BSD]: Likewise.
39840         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39841         * io/fcntl.h [__USE_BSD]: Likewise.
39842         * io/ftw.h [__USE_BSD]: Likewise.
39843         * io/sys/stat.h [__USE_BSD]: Likewise.
39844         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39845         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39846         * libio/stdio.h [__USE_SVID]: Likewise.
39847         [__USE_BSD]: Likewise.
39848         * math/math.h [__USE_SVID]: Likewise.
39849         [__USE_BSD]: Likewise.
39850         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39851         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39852         * misc/search.h [__USE_SVID]: Likewise.
39853         * misc/sys/mman.h [__USE_BSD]: Likewise.
39854         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39855         * misc/sys/uio.h [__USE_BSD]: Likewise.
39856         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39857         * posix/glob.h [__USE_BSD]: Likewise.
39858         * posix/regex.h [__USE_BSD]: Likewise.
39859         * posix/sys/types.h [__USE_BSD]: Likewise.
39860         [__USE_SVID]: Likewise.
39861         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39862         * posix/sys/wait.h [__USE_BSD]: Likewise.
39863         [__USE_SVID]: Likewise.
39864         * posix/unistd.h [__USE_BSD]: Likewise.
39865         [__USE_SVID]: Likewise.
39866         * pwd/pwd.h [__USE_SVID]: Likewise.
39867         * resolv/netdb.h [__USE_BSD]: Likewise.
39868         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39869         * signal/signal.h [__USE_BSD]: Likewise.
39870         [__USE_SVID]: Likewise.
39871         * socket/sys/socket.h [__USE_BSD]: Likewise.
39872         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39873         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39874         [__USE_SVID]: Likewise.
39875         * string/bits/string2.h [__USE_BSD]: Likewise.
39876         [__USE_SVID]: Likewise.
39877         * string/bits/string3.h [__USE_BSD]: Likewise.
39878         * string/endian.h [__USE_BSD]: Likewise.
39879         * string/string.h [__USE_SVID]: Likewise.
39880         [__USE_BSD]: Likewise.
39881         * string/strings.h [__USE_BSD]: Likewise.
39882         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39883         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39884         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39885         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39886         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39887         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39888         Likewise.
39889         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39890         Likewise.
39891         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39892         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39893         Likewise.
39894         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39895         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39896         Likewise.
39897         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39898         Likewise.
39899         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39900         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39901         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39902         Likewise.
39903         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39904         Likewise.
39905         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39906         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39907         * termios/termios.h [__USE_BSD]: Likewise.
39908         * time/sys/time.h [__USE_BSD]: Likewise.
39909         * time/time.h [__USE_BSD]: Likewise.
39910         [__USE_SVID]: Likewise.
39912         * Makefile (subdir_targets): Remove subdir_lint.out.
39914         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39915         (do-tst-printf): Likewise.
39916         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39917         $(objpfx)tst-printf.out.
39919         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39921         * Makerules (check-abi-%): Change target to
39922         $(objpfx)check-abi-%.out.
39923         (check-abi target): Update dependencies.
39924         (check-abi-pattern variable): Redirect output of diff to $@.
39925         (check-abi variable): Likewise.
39926         * elf/Makefile (check-abi): Update dependencies.
39928         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39929         unused.
39930         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39931         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39932         subnormal range.
39933         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39934         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39935         value has largest subnormal exponent.
39936         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39937         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39938         * sysdeps/aarch64/soft-fp/sfp-machine.h
39939         (_FP_TININESS_AFTER_ROUNDING): New macro.
39940         * sysdeps/alpha/soft-fp/sfp-machine.h
39941         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39942         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39943         Likewise.
39944         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39945         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39946         * sysdeps/mips/soft-fp/sfp-machine.h
39947         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39948         * sysdeps/powerpc/soft-fp/sfp-machine.h
39949         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39950         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39951         Likewise.
39952         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39953         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39954         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39955         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39956         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39957         Likewise.
39959 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39961         [BZ #16545]
39962         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39963         model 1.
39965 2014-02-12  Richard Henderson  <rth@redhat.com>
39967         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39968         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39969         * sysdeps/unix/sysv/linux/alpha: Move directory from
39970         ports/sysdeps/unix/sysv/linux/alpha.
39971         * README: Update listing for alpha-*-linux-gnu.
39973 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39975         * include/features.h: Update comment documenting feature test
39976         macros.
39977         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39978         _DEFAULT_SOURCE.
39979         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39980         (_SVID_SOURCE): Likewise.
39981         (_DEFAULT_SOURCE): Update description of default features.
39982         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39983         with _GNU_SOURCE.
39984         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39985         (S_ISVTX): Likewise.
39986         * manual/math.texi (Mathematical Constants): Likewise.
39987         * manual/signal.texi (Interrupted Primitives): Likewise.
39988         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39989         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39990         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39991         Don't refer to _SVID_SOURCE in warning text.
39993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39995         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39996         already defined.
39997         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39998         * sysdeps/mips/dl-lookup.c: Remove.
39999         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40001 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40003         [BZ #16447]
40004         * math/auto-libm-test-in: Add testcase for expl.
40005         * math/auto-libm-test-out: Regenerate.
40006         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40007         calculation of unsafe.
40008         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40010 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40012         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40013         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40014         ports/sysdeps/unix/sysv/linux/aarch64.
40015         * README: Update listing for aarch64*-*-linux-gnu.
40017 2014-02-11  Will Newton  <will.newton@linaro.org>
40019         * manual/probes.texi (Mathematical Function Probes): Use
40020         "triggered" instead of "hit".
40022         * manual/probes.texi (Internal Probes): Add documentation
40023         of setjmp, longjmp and longjmp_target probes.
40025         * include/stap-probe.h: Add comment about probe argument
40026         format.
40028         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40029         definition.  (tr_where, tr_freehook, tr_mallochook,
40030         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40032 2014-02-11  David S. Miller  <davem@davemloft.net>
40034         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40035         processing int_tests.
40037 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40039         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40040         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40041         * sysdeps/unix/sysv/linux/mips: Move directory from
40042         ports/sysdeps/unix/sysv/linux/mips.
40043         * README: Update listing for mips-*-linux-gnu and
40044         mips64-*-linux-gnu.
40046 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40048         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40049         * sysdeps/unix/sysv/linux/m68k: Move directory from
40050         ports/sysdeps/unix/sysv/linux/m68k.
40051         * README: Update listing for m68k-*-linux-gnu.
40053 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40055         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40056         * sysdeps/unix/sysv/linux/generic: Move directory from
40057         ports/sysdeps/unix/sysv/linux/generic.
40058         * sysdeps/unix/sysv/linux/tile: Move directory from
40059         ports/sysdeps/unix/sysv/linux/tile.
40060         * README: Update listing for tile*-*-linux-gnu.
40062 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40064         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40065         __builtin_expect.
40066         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40067         * catgets/open_catalog.c (__open_catalog): Likewise.
40068         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40069         * debug/confstr_chk.c: Likewise.
40070         * debug/fread_chk.c (__fread_chk): Likewise.
40071         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40072         * debug/getgroups_chk.c: Likewise.
40073         * debug/mbsnrtowcs_chk.c: Likewise.
40074         * debug/mbsrtowcs_chk.c: Likewise.
40075         * debug/mbstowcs_chk.c: Likewise.
40076         * debug/memcpy_chk.c: Likewise.
40077         * debug/memmove_chk.c: Likewise.
40078         * debug/mempcpy_chk.c: Likewise.
40079         * debug/memset_chk.c: Likewise.
40080         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40081         * debug/strcat_chk.c (__strcat_chk): Likewise.
40082         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40083         * debug/strncat_chk.c (__strncat_chk): Likewise.
40084         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40085         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40086         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40087         * debug/wcpncpy_chk.c: Likewise.
40088         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40089         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40090         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40091         * debug/wcsncpy_chk.c: Likewise.
40092         * debug/wcsnrtombs_chk.c: Likewise.
40093         * debug/wcsrtombs_chk.c: Likewise.
40094         * debug/wcstombs_chk.c: Likewise.
40095         * debug/wmemcpy_chk.c: Likewise.
40096         * debug/wmemmove_chk.c: Likewise.
40097         * debug/wmempcpy_chk.c: Likewise.
40098         * debug/wmemset_chk.c: Likewise.
40099         * dirent/scandirat.c (SCANDIRAT): Likewise.
40100         * dlfcn/dladdr1.c (dladdr1): Likewise.
40101         * dlfcn/dladdr.c (dladdr): Likewise.
40102         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40103         * dlfcn/dlerror.c (__dlerror): Likewise.
40104         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40105         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40106         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40107         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40108         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40109         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40110         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40111         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40112         Likewise.
40113         * elf/dl-conflict.c: Likewise.
40114         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40115         * elf/dl-dst.h: Likewise.
40116         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40117         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40118         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40119         * elf/dl-init.c (call_init, _dl_init): Likewise.
40120         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40121         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40122         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40123         Likewise.
40124         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40125         Likewise.
40126         * elf/dl-minimal.c (__libc_memalign): Likewise.
40127         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40128         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40129         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40130         * elf/dl-sym.c (do_sym): Likewise.
40131         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40132         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40133         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40134         * elf/dl-writev.h (_dl_writev): Likewise.
40135         * elf/ldconfig.c (search_dir): Likewise.
40136         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40137         (dl_main): Likewise.
40138         * elf/setup-vdso.h (setup_vdso): Likewise.
40139         * grp/compat-initgroups.c (compat_call): Likewise.
40140         * grp/fgetgrent.c (fgetgrent): Likewise.
40141         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40142         * grp/putgrent.c (putgrent): Likewise.
40143         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40144         Likewise.
40145         * hurd/hurdinit.c: Likewise.
40146         * iconvdata/8bit-gap.c (struct): Likewise.
40147         * iconvdata/ansi_x3.110.c : Likewise.
40148         * iconvdata/big5.c : Likewise.
40149         * iconvdata/big5hkscs.c : Likewise.
40150         * iconvdata/cp1255.c: Likewise.
40151         * iconvdata/cp1258.c : Likewise.
40152         * iconvdata/cp932.c : Likewise.
40153         * iconvdata/euc-cn.c: Likewise.
40154         * iconvdata/euc-jisx0213.c : Likewise.
40155         * iconvdata/euc-jp.c: Likewise.
40156         * iconvdata/euc-jp-ms.c : Likewise.
40157         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40158         * iconvdata/gb18030.c : Likewise.
40159         * iconvdata/gbbig5.c (const): Likewise.
40160         * iconvdata/gbgbk.c: Likewise.
40161         * iconvdata/gbk.c : Likewise.
40162         * iconvdata/ibm1364.c : Likewise.
40163         * iconvdata/ibm930.c : Likewise.
40164         * iconvdata/ibm932.c: Likewise.
40165         * iconvdata/ibm933.c : Likewise.
40166         * iconvdata/ibm935.c : Likewise.
40167         * iconvdata/ibm937.c : Likewise.
40168         * iconvdata/ibm939.c : Likewise.
40169         * iconvdata/ibm943.c: Likewise.
40170         * iconvdata/iso_11548-1.c: Likewise.
40171         * iconvdata/iso-2022-cn.c : Likewise.
40172         * iconvdata/iso-2022-cn-ext.c : Likewise.
40173         * iconvdata/iso-2022-jp-3.c: Likewise.
40174         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40175         * iconvdata/iso-2022-kr.c : Likewise.
40176         * iconvdata/iso646.c (gconv_end): Likewise.
40177         * iconvdata/iso_6937-2.c : Likewise.
40178         * iconvdata/iso_6937.c : Likewise.
40179         * iconvdata/iso8859-1.c: Likewise.
40180         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40181         * iconvdata/shift_jisx0213.c : Likewise.
40182         * iconvdata/sjis.c : Likewise.
40183         * iconvdata/t.61.c : Likewise.
40184         * iconvdata/tcvn5712-1.c : Likewise.
40185         * iconvdata/tscii.c: Likewise.
40186         * iconvdata/uhc.c : Likewise.
40187         * iconvdata/unicode.c (gconv_end): Likewise.
40188         * iconvdata/utf-16.c (gconv_end): Likewise.
40189         * iconvdata/utf-32.c (gconv_end): Likewise.
40190         * iconvdata/utf-7.c (base64): Likewise.
40191         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40192         * iconv/gconv_close.c (__gconv_close): Likewise.
40193         * iconv/gconv_open.c (__gconv_open): Likewise.
40194         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40195         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40196         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40197         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40198         (ucs4le_internal_loop_single): Likewise.
40199         * iconv/iconv.c (iconv): Likewise.
40200         * iconv/iconv_close.c: Likewise.
40201         * iconv/loop.c (SINGLE): Likewise.
40202         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40203         * include/atomic.h: Likewise.
40204         * inet/inet6_option.c (option_alloc): Likewise.
40205         * intl/bindtextdom.c (set_binding_values): Likewise.
40206         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40207         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40208         * intl/localealias.c (read_alias_file): Likewise.
40209         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40210         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40211         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40212         * libio/fmemopen.c (fmemopen): Likewise.
40213         * libio/iofgets.c (_IO_fgets): Likewise.
40214         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40215         * libio/iofgetws.c (fgetws): Likewise.
40216         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40217         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40218         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40219         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40220         * locale/findlocale.c (_nl_find_locale): Likewise.
40221         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40222         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40223         Likewise.
40224         * locale/setlocale.c (setlocale): Likewise.
40225         * login/programs/pt_chown.c (main): Likewise.
40226         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40227         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40228         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40229         (mmap, mmap64, mremap, munmap): Likewise.
40230         * math/e_exp2l.c: Likewise.
40231         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40232         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40233         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40234         * math/s_catan.c (__catan): Likewise.
40235         * math/s_catanf.c (__catanf): Likewise.
40236         * math/s_catanh.c (__catanh): Likewise.
40237         * math/s_catanhf.c (__catanhf): Likewise.
40238         * math/s_catanhl.c (__catanhl): Likewise.
40239         * math/s_catanl.c (__catanl): Likewise.
40240         * math/s_ccosh.c (__ccosh): Likewise.
40241         * math/s_ccoshf.c (__ccoshf): Likewise.
40242         * math/s_ccoshl.c (__ccoshl): Likewise.
40243         * math/s_cexp.c (__cexp): Likewise.
40244         * math/s_cexpf.c (__cexpf): Likewise.
40245         * math/s_cexpl.c (__cexpl): Likewise.
40246         * math/s_clog10.c (__clog10): Likewise.
40247         * math/s_clog10f.c (__clog10f): Likewise.
40248         * math/s_clog10l.c (__clog10l): Likewise.
40249         * math/s_clog.c (__clog): Likewise.
40250         * math/s_clogf.c (__clogf): Likewise.
40251         * math/s_clogl.c (__clogl): Likewise.
40252         * math/s_csin.c (__csin): Likewise.
40253         * math/s_csinf.c (__csinf): Likewise.
40254         * math/s_csinh.c (__csinh): Likewise.
40255         * math/s_csinhf.c (__csinhf): Likewise.
40256         * math/s_csinhl.c (__csinhl): Likewise.
40257         * math/s_csinl.c (__csinl): Likewise.
40258         * math/s_csqrt.c (__csqrt): Likewise.
40259         * math/s_csqrtf.c (__csqrtf): Likewise.
40260         * math/s_csqrtl.c (__csqrtl): Likewise.
40261         * math/s_ctan.c (__ctan): Likewise.
40262         * math/s_ctanf.c (__ctanf): Likewise.
40263         * math/s_ctanh.c (__ctanh): Likewise.
40264         * math/s_ctanhf.c (__ctanhf): Likewise.
40265         * math/s_ctanhl.c (__ctanhl): Likewise.
40266         * math/s_ctanl.c (__ctanl): Likewise.
40267         * math/w_pow.c: Likewise.
40268         * math/w_powf.c: Likewise.
40269         * math/w_powl.c: Likewise.
40270         * math/w_scalb.c (sysv_scalb): Likewise.
40271         * math/w_scalbf.c (sysv_scalbf): Likewise.
40272         * math/w_scalbl.c (sysv_scalbl): Likewise.
40273         * misc/error.c (error_tail): Likewise.
40274         * misc/pselect.c (__pselect): Likewise.
40275         * nis/nis_callback.c (__nis_create_callback): Likewise.
40276         * nis/nis_call.c (__nisfind_server): Likewise.
40277         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40278         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40279         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40280         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40281         * nis/nis_lookup.c (nis_lookup): Likewise.
40282         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40283         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40284         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40285         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40286         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40287         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40288         * nis/nss_compat/compat-initgroups.c (add_group)
40289         (internal_getgrent_r): Likewise.
40290         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40291         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40292         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40293         (internal_getspnam_r): Likewise.
40294         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40295         (_nss_nis_getaliasbyname_r): Likewise.
40296         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40297         (_nss_nis_getntohost_r): Likewise.
40298         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40299         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40300         (_nss_nis_getgrgid_r): Likewise.
40301         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40302         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40303         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40304         (_nss_nis_gethostbyname4_r): Likewise.
40305         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40306         (initgroups_netid): Likewise.
40307         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40308         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40309         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40310         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40311         (_nss_nis_getprotobynumber_r): Likewise.
40312         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40313         (_nss_nis_getsecretkey): Likewise.
40314         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40315         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40316         (_nss_nis_getpwuid_r): Likewise.
40317         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40318         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40319         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40320         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40321         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40322         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40323         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40324         Likewise.
40325         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40326         (_nss_nisplus_getntohost_r): Likewise.
40327         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40328         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40329         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40330         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40331         Likewise.
40332         * nis/nss_nisplus/nisplus-initgroups.c
40333         (_nss_nisplus_initgroups_dyn): Likewise.
40334         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40335         (_nss_nisplus_getnetbyaddr_r): Likewise.
40336         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40337         (_nss_nisplus_getprotobynumber_r): Likewise.
40338         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40339         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40340         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40341         Likewise.
40342         * nis/nss_nisplus/nisplus-service.c
40343         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40344         (_nss_nisplus_getservbyport_r): Likewise.
40345         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40346         (_nss_nisplus_getspnam_r): Likewise.
40347         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40348         Likewise.
40349         * nscd/aicache.c (addhstaiX): Likewise.
40350         * nscd/cache.c (cache_search, prune_cache): Likewise.
40351         * nscd/connections.c (register_traced_file, send_ro_fd)
40352         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40353         (main_loop_epoll): Likewise.
40354         * nscd/grpcache.c (addgrbyX): Likewise.
40355         * nscd/hstcache.c (addhstbyX): Likewise.
40356         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40357         * nscd/mem.c (gc, mempool_alloc): Likewise.
40358         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40359         (addinnetgrX): Likewise.
40360         * nscd/nscd-client.h (__nscd_acquire_maplock)
40361         (__nscd_drop_map_ref): Likewise.
40362         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40363         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40364         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40365         Likewise.
40366         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40367         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40368         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40369         (__nscd_get_map_ref): Likewise.
40370         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40371         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40372         Likewise.
40373         * nscd/pwdcache.c (addpwbyX): Likewise.
40374         * nscd/selinux.c (preserve_capabilities): Likewise.
40375         * nscd/servicescache.c (addservbyX): Likewise.
40376         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40377         * posix/fnmatch.c (fnmatch): Likewise.
40378         * posix/getopt.c (_getopt_internal_r): Likewise.
40379         * posix/glob.c (glob, glob_in_dir): Likewise.
40380         * posix/wordexp.c (exec_comm_child): Likewise.
40381         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40382         (getanswer_r, gaih_getanswer_slice): Likewise.
40383         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40384         * resolv/res_init.c: Likewise.
40385         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40386         * resolv/res_query.c (__libc_res_nquery): Likewise.
40387         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40388         Likewise.
40389         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40390         * stdio-common/perror.c (perror): Likewise.
40391         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40392         * stdio-common/tmpnam.c (tmpnam): Likewise.
40393         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40394         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40395         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40396         Likewise.
40397         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40398         * stdlib/putenv.c (putenv): Likewise.
40399         * stdlib/setenv.c (__add_to_environ): Likewise.
40400         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40401         * stdlib/strtol_l.c (INTERNAL): Likewise.
40402         * string/memmem.c (memmem): Likewise.
40403         * string/strerror.c (strerror): Likewise.
40404         * string/strnlen.c (__strnlen): Likewise.
40405         * string/test-memmem.c (simple_memmem): Likewise.
40406         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40407         * sunrpc/pm_getport.c (__get_socket): Likewise.
40408         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40409         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40410         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40411         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40412         Likewise.
40413         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40414         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40415         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40416         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40417         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40418         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40419         Likewise.
40420         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40421         Likewise.
40422         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40423         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40424         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40425         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40426         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40428         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40429         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40430         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40431         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40432         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40433         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40434         Likewise.
40435         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40436         Likewise.
40437         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40438         Likewise.
40439         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40440         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40441         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40442         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40443         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40444         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40445         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40446         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40447         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40448         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40449         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40450         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40451         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40452         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40453         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40454         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40455         Likewise.
40456         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40457         Likewise.
40458         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40459         Likewise.
40460         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40461         Likewise.
40462         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40463         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40464         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40465         Likewise.
40466         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40467         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40468         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40469         * sysdeps/posix/sleep.c: Likewise.
40470         * sysdeps/posix/tempname.c: Likewise.
40471         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40472         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40473         Likewise.
40474         * sysdeps/powerpc/powerpc32/dl-machine.h
40475         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40476         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40478         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40479         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40480         Likewise.
40481         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40482         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40483         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40484         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40485         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40486         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40487         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40488         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40489         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40490         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40491         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40492         (elf_machine_lazy_rel): Likewise.
40493         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40494         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40495         (elf_machine_lazy_rel): Likewise.
40496         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40497         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40498         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40499         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40500         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40501         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40502         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40503         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40504         Likewise.
40505         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40506         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40507         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40508         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40509         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40510         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40511         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40512         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40513         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40514         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40515         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40516         Likewise.
40517         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40518         (__posix_fallocate64_l64): Likewise.
40519         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40520         (posix_fallocate): Likewise.
40521         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40522         Likewise.
40523         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40524         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40525         (getifaddrs_internal): Likewise.
40526         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40527         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40528         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40529         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40530         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40531         (__posix_fallocate64_l64): Likewise.
40532         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40533         Likewise.
40534         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40535         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40536         (__get_clockfreq): Likewise.
40537         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40538         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40539         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40541         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40542         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40543         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40544         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40545         Likewise.
40546         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40547         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40548         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40549         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40550         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40551         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40552         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40553         Likewise.
40554         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40555         (posix_fallocate): Likewise.
40556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40557         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40558         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40559         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40560         (elf_machine_rela, elf_machine_rela_relative)
40561         (elf_machine_lazy_rel): Likewise.
40562         * time/asctime.c (asctime_internal): Likewise.
40563         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40564         * time/tzset.c (__tzset_parse_tz): Likewise.
40565         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40566         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40567         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40568         * wcsmbs/wcsmbsload.h: Likewise.
40570         [BZ #15894]
40571         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40573         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40574         (arena_get2): Remove THREAD_STATS conditionals.
40575         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40576         (__malloc_stats, int): Likewise.
40578 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40580         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40581         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40583         * manual/setjmp.texi: Fix typos/grammar errors.
40585         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40586         Only return early when n is <= 0.  Delete unused return statement.
40588         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40589         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40590         * debug/tst-longjmp_chk3.c: New file.
40592         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40593         (test_main): Replace code with set_fortify_handler call.
40594         * debug/test-strcpy_chk.c: Likewise.
40595         * debug/tst-chk1.c: Likewise.
40596         * debug/tst-longjmp_chk.c: Likewise.
40597         * test-skeleton.c: Include fcntl.h & paths.h
40598         (set_fortify_handler): Define.
40600         * debug/tst-longjmp_chk.c: Add header comment and include
40601         ../test-skeleton.c.
40602         (do_test): Mark static.
40603         (TEST_FUNCTION): Define.
40605         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40606         (IP_PMTUDISC_INTERFACE): Likewise.
40607         (IP_MULTICAST_IF): Likewise.
40608         (IP_MULTICAST_TTL): Likewise.
40609         (IP_MULTICAST_LOOP): Likewise.
40610         (IP_ADD_MEMBERSHIP): Likewise.
40611         (IP_DROP_MEMBERSHIP): Likewise.
40612         (IP_UNBLOCK_SOURCE): Likewise.
40613         (IP_BLOCK_SOURCE): Likewise.
40614         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40615         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40616         (IP_MSFILTER): Likewise.
40617         (MCAST_JOIN_GROUP): Likewise.
40618         (MCAST_BLOCK_SOURCE): Likewise.
40619         (MCAST_UNBLOCK_SOURCE): Likewise.
40620         (MCAST_LEAVE_GROUP): Likewise.
40621         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40622         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40623         (MCAST_MSFILTER): Likewise.
40624         (IP_MULTICAST_ALL): Likewise.
40625         (IP_UNICAST_IF): Likewise.
40627         * timezone/Makefile: Delete $(have-ksh) check.
40628         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40629         * timezone/tzselect.ksh: Add +x mode bits.
40631         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40632         (ANON_INODE_FS_MAGIC): Likewise.
40633         (BDEVFS_MAGIC): Likewise.
40634         (BINFMTFS_MAGIC): Likewise.
40635         (BTRFS_TEST_MAGIC): Likewise.
40636         (CRAMFS_MAGIC_WEND): Likewise.
40637         (DEBUGFS_MAGIC): Likewise.
40638         (ECRYPTFS_SUPER_MAGIC): Likewise.
40639         (EXT3_SUPER_MAGIC): Likewise.
40640         (EXT4_SUPER_MAGIC): Likewise.
40641         (FUTEXFS_SUPER_MAGIC): Likewise.
40642         (HOSTFS_SUPER_MAGIC): Likewise.
40643         (HUGETLBFS_MAGIC): Likewise.
40644         (MINIX3_SUPER_MAGIC): Likewise.
40645         (MTD_INODE_FS_MAGIC): Likewise.
40646         (NILFS_SUPER_MAGIC): Likewise.
40647         (OPENPROM_SUPER_MAGIC): Likewise.
40648         (PIPEFS_MAGIC): Likewise.
40649         (PSTOREFS_MAGIC): Likewise.
40650         (QNX6_SUPER_MAGIC): Likewise.
40651         (RAMFS_MAGIC): Likewise.
40652         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40653         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40654         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40655         (SECURITYFS_MAGIC): Likewise.
40656         (SELINUX_MAGIC): Likewise.
40657         (SMACK_MAGIC): Likewise.
40658         (SOCKFS_MAGIC): Likewise.
40659         (SQUASHFS_MAGIC): Likewise.
40660         (STACK_END_MAGIC): Likewise.
40661         (TMPFS_MAGIC): Likewise.
40662         (USBDEVICE_SUPER_MAGIC): Likewise.
40663         (V9FS_MAGIC): Likewise.
40664         (XENFS_SUPER_MAGIC): Likewise.
40665         (CRAMFS_MAGIC): Fix typo in comment.
40666         (EXT2_SUPER_MAGIC): Update comment.
40667         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40669 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40671         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40672         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40673         * sysdeps/unix/sysv/linux/arm: Move directory from
40674         ports/sysdeps/unix/sysv/linux/arm.
40675         * README: Update listing for arm-*-linux-gnueabi.
40677         * README: Remove mention of am33.
40679 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40681         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40682         than the comma operator, to avoid "rhs of comma has no effect"
40683         compiler warnings.
40684         (__sigfillset, __sigandset, __sigorset): Likewise.
40685         * include/signal.h (__sigemptyset): Likewise.
40686         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40688 2014-02-07  Allan McRae  <allan@archlinux.org>
40690         * version.h (RELEASE): Set to "development".
40691         (VERSION): Set to "2.19.90"
40692         * NEWS: Add 2.20 section.
40694 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40696         [BZ #16529]
40697         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40699 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40701         * manual/contrib.texi: Update entry for Carlos O'Donell,
40702         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40704 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40706         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40708         * sysdeps/unix/sysv/linux/kernel-features.h
40709         [__LINUX_KERNEL_VERSION >= 0x020621]
40710         (__ASSUME_PROC_PID_TASK_COMM): Define.
40712 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40714         [BZ #16398]
40715         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40716         conversion when destination buffer does not have enough space.
40717         * libio/tst-ftell-partial-wide.c: New test case.
40718         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40720         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40721         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40722         Leonard and Allan McRae.
40724 2014-02-04  David S. Miller  <davem@davemloft.net>
40726         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40727         32-bit.
40729 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40732         New file
40733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40734         New file
40735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40736         New file.
40737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40738         New file.
40739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40740         New file.
40741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40742         New file.
40743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40744         New file.
40745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40746         New file.
40747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40748         New file.
40749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40750         New file.
40751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40752         New file.
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40754         New file.
40755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40756         New file.
40758 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40760         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40761         * shlib-versions: Likewise.
40763 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40764             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40766         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40767         (abilist-pattern): New variable, set to %-le.abilist.
40769         * Makerules (abilist-pattern): New variable.
40770         (vpath): Use $(abilist-pattern) in place of %.abilist.
40771         (check-abi-% pattern rule): Likewise.
40772         (check-abi, update-abi): Likewise.
40774 2014-02-04  Eric Wong  <normalperson@yhbt.net>
40776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40778 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
40780         * manual/startup.texi: Add next, previous, and top entries for
40781         the `Program Arguments' and `Environment Variables' nodes.
40783 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
40785         * manual/macros.texi: Add comments before MTASC-safety macros.
40787         * manual/users.texi: Document MTASC-safety properties.
40789         * manual/threads.texi (pthread_key_create, pthread_key_delete)
40790         (pthread_getspecific, pthread_setspecific): Format with
40791         @deftypefun, and add @safety note.
40792         * manual/signal.texi: Move comments that analyze the above
40793         functions to their home place.
40795 2014-02-03  Allan McRae  <allan@archlinux.org>
40797         * po/sl.po: Update Slovenian translation from translation project.
40799 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
40801         * manual/time.texi (timegm): Add missing blank after @c.
40802         Reported by Joseph Myers <joseph@codesourcery.com>.
40804 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
40806         * manual/check-safety.sh: New.
40807         * manual/Makefile ($(objpfx)stamp-summary): Run it.
40809         * manual/terminal.texi: Document MTASC-safety properties.
40811         * manual/filesys.texi: Document MTASC-safety properties.
40813         * manual/errno.texi: Document MTASC-safety properties.
40815         * manual/intro.texi: Document safety identifiers and
40816         conditionals.
40818         * manual/string.texi (wcstok): Fix prototype.
40819         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40821         * manual/time.texi: Document MTASC-safety properties.
40823         * manual/string.texi: Document MTASC-safety properties.
40825         * manual/threads.texi: Document MTASC-safety properties.
40827         * manual/stdio.texi: Document MTASC-safety properties.
40829         * manual/syslog.texi: Document MTASC-safety properties.
40831         * manual/sysinfo.texi: Document MTASC-safety properties.
40833         * manual/startup.texi: Document MTASC-safety properties.
40835         * manual/socket.texi: Document MTASC-safety properties.
40837         * manual/signal.texi: Document MTASC-safety properties.
40839 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
40841         * manual/setjmp.texi: Document MTASC-safety properties.
40843         * manual/search.texi: Document MTASC-safety properties.
40845         * manual/resource.texi: Document MTASC-safety properties.
40847         * manual/process.texi: Document MTASC-safety properties.
40849         * manual/platform.texi: Document MTASC-safety properties.
40851         * manual/pipe.texi: Document MTASC-safety properties.
40853         * manual/pattern.texi: Document MTASC-safety properties.
40855         * manual/message.texi: Document MTASC-safety properties.
40857         [BZ #12751]
40858         * manual/memory.texi: Document MTASC-safety properties.
40860         * manual/math.texi: Document MTASC-safety properties.
40862         * manual/locale.texi: Document MTASC-safety properties.
40864         * manual/llio.texi: Document MTASC-safety properties.
40866         * manual/libdl.texi: New.
40868         * manual/lang.texi: Document MTASC-safety properties.
40870         * manual/job.texi: Document MTASC-safety properties.
40872         * manual/getopt.texi: Document MTASC-safety properties.
40874         * manual/ctype.texi: Document MTASC-safety properties.
40876 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40878         [BZ #16046]
40879         * csu/libc-tls.c (static_map): Remove variable.
40880         (__libc_setup_tls): Use main executable's link map for TLS data.
40881         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40882         casing for LM_ID_BASE and GL(dl_nns).
40883         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40884         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40885         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40886         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40887         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40888         member.
40889         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40890         l_phnum members.
40892 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40894         * manual/debug.texi: Document MTASC-safety properties.
40896 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40898         [BZ #16510]
40899         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40900         of __x86_64__ when disabling x87 inline functions.
40902 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40904         * manual/charset.texi: Document MTASC-safety properties.
40906         * manual/crypt.texi: Document MTASC-safety properties.
40908         * manual/conf.texi: Document MTASC-safety properties.
40910         * manual/arith.texi: Document MTASC-safety properties.
40912         * manual/argp.texi: Document MTASC-safety properties.
40914         * manual/macros.texi: Introduce macros to document multi
40915         thread, asynchronous signal and asynchronous cancellation
40916         safety properties.
40917         * manual/intro.texi: Introduce the properties themselves.
40919 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40921         * sysdeps/sh/sh4/Makefile: New file.
40923 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40925         * math/gen-libm-test.pl ($srcdir): New variable.
40926         ($auto_input): Use it.
40928 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40930         [BZ #16506]
40931         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40932         access beyond array bounds when parsing netgroups file.
40934         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40935         the old buffer before realloc.
40937 2014-01-27  Allan McRae  <allan@archlinux.org>
40939         * po/fr.po: Update French translation from translation project.
40941 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40943         * sysdeps/sh/libm-test-ulps: Regenerate.
40945 2014-01-24  David S. Miller  <davem@davemloft.net>
40947         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40949 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40951         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40952         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40954 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40956         [BZ #16474]
40957         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40958         string pointers after reallocation.
40960 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40962         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40963         __SH4A__ instead of __SH_FPU_ANY__.
40965 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40967         * sysdeps/sh/fpu_control.h: New file.
40968         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40969         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40970         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40971         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40972         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40973         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40974         * sysdeps/sh/sys/ucontext.h: Remove.
40975         * sysdeps/sh/sys: Remove directory.
40977 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40979         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40980         s390/sys/ucontext.h.
40981         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40982         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40984 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40986         [BZ #15605]
40987         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40989 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40991         [BZ#16431]
40992         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40993         Adjust the vDSO correctly for internal calls.
40994         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40996 2014-01-20  Allan McRae  <allan@archlinux.org>
40998         * po/ca.po: Update Catalan translation from translation project.
41000 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41002         * sysdeps/s390/sotruss-lib.c: New file.
41004 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41006         [BZ#16430]
41007         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41008         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41009         local calls issues by not having a PLT stub required for IFUNC calls.
41010         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41012 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41014         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41015         * math/test-fpucw-static.c: Likewise.
41017 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41019         [BZ #16453]
41020         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41022 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41024         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41025         implementation for powerpc.
41027 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41029         [BZ #14782]
41030         * sysdeps/posix/system.c (__libc_system): Do not enable
41031         asynchronous cancellation.
41033 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41035         [BZ #16427]
41036         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41037         handling only for numbers special also in the IEEE case.
41039 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41041         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41043 2014-01-11  Allan McRae  <allan@archlinux.org>
41045         * po/bg.po: Update Bulgarian translation from translation project.
41047         * po/de.po: Update German translation from translation project.
41049 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41051         * sysdeps/generic/gcc-compat.h: New file.
41053 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41055         * benchtests/asin-inputs: Correct slow inputs.
41056         * benchtests/acos-inputs: Likewise.
41058 2014-01-10  Allan McRae  <allan@archlinux.org>
41060         * po:sv.po: Update Swedish translation from translation project.
41062         * po/vi.po: Update Vietnamese translation from translation project.
41064         * po/eo.po: Update Esperanto translation from translation project.
41066         * po/cs.po: Update Czech translation from translation project.
41068         * po/nl.po: Update Dutch translation from translation project.
41070         * po/pl.po: Update Polish translation from translation project.
41072         * po/ru.po: Update Russian translation from translation project.
41074         * po/uk.po: Update Ukrainian translation from translation project.
41076 2014-01-08  Brooks Moses  <bmoses@google.com>
41078         * elf/dl-load.c: Fix comment typo.
41080 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41082         * po/header.pot: Rename to...
41083         * po/pot.header: ... this.
41084         * po/Makefile: Use pot.header.
41086 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41087             Maxim Kuvyrkov  <maxim@kugelworks.com>
41089         [BZ #16394]
41090         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41091         SRC and DEST against LEN.
41093 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41095         [BZ #16414]
41096         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41097         implementation.
41098         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41100 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41104 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41106         [BZ #16408]
41107         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41108         for large positive arguments.
41110 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41112         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41114         * math/auto-libm-test-in: Mark various tests with
41115         xfail-rounding:ldbl-128ibm.
41116         * math/auto-libm-test-out: Regenerated.
41118         [BZ #16407]
41119         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41120         Increase overflow threshold.
41122 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41124         [BZ #14286]
41125         * stdio-common/vfprintf.c: Check for integer overflow.
41127 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41129         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41130         the first argument and return value of __tls_get_addr_internal.
41132 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41134         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41135         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41137 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41139         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41140         * sysdeps/s390/rtld-global-offsets.sym: New file.
41141         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41142         GLIBC_2.19 symbol.
41143         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41144         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41145         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41146         ... this.
41147         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41148         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41149         ... this.
41150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41151         Regenerate.
41152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41153         Regenerate.
41154         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41155         halfs of GPRs for high_gprs contexts.
41156         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41157         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41158         field.
41159         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41160         uc_flags field.
41161         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41162         64 bit versions:
41163         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41164         for high GPRs (uc_high_gprs) and for future extensions
41165         (__reserved).
41166         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41167         for future extensions (__reserved).
41168         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41169         64 bit versions:
41170         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41171         SC_HIGHGPRS offset definition.
41172         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41173         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41175         * Versions.def: Add GLIBC_2.19 for libpthread.
41176         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41177         siglongjmp for libpthread with GLIBC_2.19 symver.
41178         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41179         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41180         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41181         * sysdeps/s390/__longjmp.c: New file.
41182         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41183         * sysdeps/s390/longjmp.c: New file.
41184         * sysdeps/s390/setjmp.S: New file.
41185         * sysdeps/s390/sigjmp.S: New file.
41186         * sysdeps/s390/v1-longjmp.c: New file.
41187         * sysdeps/s390/v1-setjmp.h: New file.
41188         * sysdeps/s390/v1-sigjmp.c: New file.
41189         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41190         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41191         GLIBC_2.19 version.
41192         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41193         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41194         versioned symbols for ____longjmp_chk.
41195         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41196         Likewise.
41197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41198         Regenerate.
41199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41200         Regenerate.
41201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41202         Regenerate.
41203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41204         Regenerate.
41205         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41206         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41207         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41208         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41209         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41210         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41211         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41212         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41213         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41214         * sysdeps/s390/rtld-__longjmp.c: New file.
41215         * sysdeps/s390/rtld-setjmp.S: New file.
41217 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41219         [BZ #16400]
41220         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41221         Return -__logl (x) for small positive arguments without evaluating
41222         a polynomial.
41224 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41226         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41227         Rename to ...
41228         (__ptrace_peeksiginfo_args): ... this.
41229         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41230         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41231         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41233 2014-01-06  Allan McRae  <allan@archlinux.org>
41235         * inet/netinet/in.h: Fix typo in comment.
41237 2014-01-05  Andreas Jaeger  <aj@suse.de>
41239         * sysdeps/i386/fpu/libm-test-ulps: Update.
41241 2014-01-05  Allan McRae  <allan@archlinux.org>
41243         * po/libc.pot: Regenerated.
41245         * malloc/memusagestat.c: Fix gettext call formatting.
41247 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41249         * nscd/nscd.c: Improve usage() output.
41251 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41253         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41254         * sysdeps/unix/sysv/linux/configure: Regenerated.
41255         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41256         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41258 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41260         [BZ #16390]
41261         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41262         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41264 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41266         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41267         extra tokens at end of #undef directive.
41268         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41269         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41270         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41272 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41274         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41276         * math/auto-libm-test-in: Mark various tests with
41277         xfail-rounding:ldbl-128ibm.
41278         * math/auto-libm-test-out: Regenerated.
41280 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41282         [BZ #16386]
41283         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41284         numbers with subnormal high part when calculating exponent.
41286         [BZ #16385]
41287         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41288         fabs.
41290         [BZ #16384]
41291         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41292         M_LN2l.
41293         (__ieee754_acoshl): Use __log1pl not __log1p.
41295 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41297         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41298         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41299         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41300         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41301         (reused_arena, arena_get2): Convert to GNU style.
41302         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41303         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41304         (memalign_check, __malloc_set_state): Likewise.
41305         * malloc/mallocbug.c (main): Likewise.
41306         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41307         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41308         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41309         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41310         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41311         (__posix_memalign, malloc_info): Likewise.
41312         * malloc/malloc.h: Likewise.
41313         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41314         (mallochook, memalignhook, reallochook, mabort): Likewise.
41315         * malloc/mcheck.h: Likewise.
41316         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41317         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41318         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41319         * malloc/morecore.c (__default_morecore): Likewise.
41320         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41321         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41322         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41323         (print_and_abort): Likewise.
41324         * malloc/obstack.h: Likewise.
41325         * malloc/set-freeres.c (__libc_freeres): Likewise.
41326         * malloc/tst-mallocstate.c (main): Likewise.
41327         * malloc/tst-mtrace.c (main): Likewise.
41328         * malloc/tst-realloc.c (do_test): Likewise.
41330 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41332         [BZ #16366]
41333         * nscd/netgroupcache.c (do_notfound): New function.
41334         (addgetnetgrentX): Use it.
41336         [BZ # 16365]
41337         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41338         NSS_STATUS_NOTFOUND.
41340 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41342         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41345 2014-01-01  Allan McRae  <allan@archlinux.org>
41347         * scripts/update-copyrights: Update configure input file suffix.
41349         * NEWS: Update copyright year.
41350         * catgets/gencat.c: Likewise.
41351         * csu/version.c: Likewise.
41352         * debug/catchsegv.sh: Likewise.
41353         * debug/pcprofiledump.c: Likewise.
41354         * debug/xtrace.sh: Likewise.
41355         * elf/ldconfig.c: Likewise.
41356         * elf/ldd.bash.in: Likewise.
41357         * elf/pldd.c: Likewise.
41358         * elf/sotruss.ksh: Likewise.
41359         * elf/sprof.c: Likewise.
41360         * iconv/iconv_prog.c: Likewise.
41361         * iconv/iconvconfig.c: Likewise.
41362         * locale/programs/locale.c: Likewise.
41363         * locale/programs/localedef.c: Likewise.
41364         * login/programs/pt_chown.c: Likewise.
41365         * malloc/memusage.sh: Likewise.
41366         * malloc/memusagestat.c: Likewise.
41367         * malloc/mtrace.pl: Likewise.
41368         * manual/libc.texinfo: Likewise.
41369         * nscd/nscd.c: Likewise.
41370         * nss/getent.c: Likewise.
41371         * nss/makedb.c: Likewise.
41372         * posix/getconf.c: Likewise.
41373         * scripts/test-installation.pl: Likewise.
41375         * All files with FSF copyright notices: Update copyright dates
41376         using scripts/update-copyrights.
41377         * intl/plural.c: Regenerated.
41378         * locale/programs/charmap-kw.h: Likewise.
41379         * locale/programs/locfile-kw.h: Likewise.
41381 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41383         * sysdeps/unix/sysv/linux/configure: Regenerated.
41384         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41385         the linux/fanotify.h header.
41386         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41387         HAVE_LINUX_FANOTIFY_H is defined.
41389 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41391         * benchtests/cos-inputs: New inputs.
41392         * benchtests/sin-inputs: Likewise.
41394         * benchtests/atan-inputs: New inputs. Fix name of multiple
41395         precision fallback inputs.
41397         * benchtests/atanh-inputs: New inputs.
41398         * benchtests/tanh-inputs: Likewise.
41400         * benchtests/acosh-inputs: New inputs.
41401         * benchtests/asinh-inputs: Likewise.
41403         * benchtests/cosh-inputs: New inputs.
41404         * benchtests/sinh-inputs: Likewise.
41406         * benchtests/acos-inputs: Add more inputs.
41407         * benchtests/asin-inputs: Likewise.
41409 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41411         [BZ #16375]
41412         * manual/arith.texi: Fix spelling.
41413         * manual/charset.texi: Likewise.
41414         * manual/errno.texi: Likewise.
41415         * manual/filesys.texi: Likewise.
41416         * manual/lang.texi: Likewise.
41417         * manual/llio.texi: Likewise.
41418         * manual/locale.texi: Likewise.
41419         * manual/message.texi: Likewise.
41420         * manual/resource.texi: Likewise.
41421         * manual/search.texi: Likewise.
41422         * manual/setjmp.texi: Likewise.
41423         * manual/stdio.texi: Likewise.
41424         * manual/string.texi: Likewise.
41425         * manual/sysinfo.texi: Likewise.
41426         * manual/time.texi: Likewise.
41428 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41430         * po/sl.po: New file.
41432 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41434         * .gitignore: Add core/.gdbinit/.gdb_history.
41436 2013-12-27  Allan McRae  <allan@archlinux.org>
41438         [BZ #16369]
41439         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41440         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41442 2013-12-24  Brooks Moses  <bmoses@google.com>
41444         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41445         all compilers that claim C++98 compliance, not just GCC.
41446         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41447         Likewise.
41449 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41451         * NEWS: Restore accidentally deleted bug-fix entries.
41453 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41454             Ondřej Bílka  <neleai@seznam.cz>
41456         [BZ #15073]
41457         * malloc/malloc.c (_int_free): Perform sanity check only if we
41458         have_lock.
41460 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41462         [BZ #12986]
41463         * manual/stdio.texi (String Input Conversions): Clarify that character
41464         classes are not supported.
41466 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41470 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41472         [BZ #16337]
41473         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41474         Calculate results for small negative arguments directly rather
41475         than using reflection formula with special underflow handling.
41477         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41478         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41479         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41480         (fchflags): Likewise.
41481         (revoke): Likewise.
41482         (setlogin): Likewise.
41483         (sigaltstack): Likewise.
41484         (wait4): Likewise.
41485         (sigblock): Remove.
41486         (sigsetmask): Likewise.
41487         (wait3): Likewise.
41488         (waitpid): Likewise.
41489         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41490         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41491         file.
41492         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41493         * sysdeps/unix/bsd/Makefile: ... here.
41494         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41495         * sysdeps/unix/bsd/Versions: ... here.
41496         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41497         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41498         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41499         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41500         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41501         * sysdeps/unix/bsd/sigblock.c: ... here.
41502         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41503         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41504         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41505         * sysdeps/unix/bsd/sigvec.c: ... here.
41506         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41507         * sysdeps/unix/bsd/tcdrain.c: ... here.
41508         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41509         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41510         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41511         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41512         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41513         * sysdeps/unix/bsd/wait.c: ... here.
41514         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41515         * sysdeps/unix/bsd/wait3.c: ... here.
41516         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41517         * sysdeps/unix/bsd/waitpid.c: ... here.
41519 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41521         [BZ #16356]
41522         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41523         round-to-nearest for [!USE_AS_EXPM1L].
41524         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41525         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41526         more tests of exp and exp10.  Expect some exp10 tests to miss
41527         exceptions or fail in directed rounding modes.
41528         * math/auto-libm-test-out: Regenerated.
41529         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41530         (exp10_test_tonearest): New function.
41531         (exp10_towardzero_test_data): New array.
41532         (exp10_test_towardzero): New function.
41533         (exp10_downward_test_data): New array.
41534         (exp10_test_downward): New function.
41535         (exp10_upward_test_data): New array.
41536         (exp10_test_upward): New function.
41537         (main): Call the new functions.
41538         * sysdeps/i386/fpu/libm-test-ulps: Update.
41539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41541 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41543         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41544         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41545         * math/auto-libm-test-out: Regenerated.
41546         * math/libm-test.inc (acosh_test_data): Add more tests.
41547         (atanh_test_data): Likewise.
41548         (ceil_test_data): Likewise.
41549         (copysign_test_data): Likewise.
41550         * sysdeps/i386/fpu/libm-test-ulps: Update.
41551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41553         * timezone/checktab.awk: Update from tzcode 2013i.
41554         * timezone/private.h: Likewise.
41555         * timezone/scheck.c: Likewise.
41556         * timezone/tzfile.h: Likewise.
41557         * timezone/tzselect.ksh: Likewise.
41558         * timezone/zdump.c: Likewise.
41559         * timezone/zic.c: Likewise.
41561         * math/auto-libm-test-in: Add tests of cpow.
41562         * math/auto-libm-test-out: Regenerated.
41563         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41564         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41565         mpc_cc_c.
41566         (func_calc_desc): Add mpc_cc_c union field.
41567         (test_functions): Add cpow.
41568         (special_fill_2pi): New function.
41569         (special_real_inputs): Add 2pi.
41570         (calc_generic_results): Handle mpc_cc_c.
41571         * sysdeps/i386/fpu/libm-test-ulps: Update.
41572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41574         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41575         csqrt, ctan and ctanh.
41576         * math/auto-libm-test-out: Regenerated.
41577         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41578         (TEST_COND_x86): Likewise.
41579         (ccos_test_data): Use AUTO_TESTS_c_c.
41580         (ccosh_test_data): Likewise.
41581         (cexp_test_data): Likewise.
41582         (clog_test_data): Likewise.
41583         (csqrt_test_data): Likewise.
41584         (ctan_test_data): Likewise.
41585         (ctan_tonearest_test_data): Likewise.
41586         (ctan_towardzero_test_data): Likewise.
41587         (ctan_downward_test_data): Likewise.
41588         (ctan_upward_test_data): Likewise.
41589         (ctanh_test_data): Likewise.
41590         (ctanh_tonearest_test_data): Likewise.
41591         (ctanh_towardzero_test_data): Likewise.
41592         (ctanh_downward_test_data): Likewise.
41593         (ctanh_upward_test_data): Likewise.
41594         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41595         mpc_c_c.
41596         (func_calc_desc): Add mpc_c_c union field.
41597         (FUNC_mpc_c_c): New macro.
41598         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41599         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41600         ctanh.
41601         (special_fill_min_subnorm_p120): New function.
41602         (special_real_inputs): Add min_subnorm_p120.
41603         (calc_generic_results): Handle mpc_c_c.
41604         * sysdeps/i386/fpu/libm-test-ulps: Update.
41605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41607 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41609         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41610         (do_sin_slow): New functions.
41611         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41612         (cslow2, csloww1, csloww2): Use the new functions.
41614         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41615         Use M to change sign of result instead of X.  Assume X is
41616         positive.
41617         (csloww1): Likewise.
41618         (__sin): Adjust.
41619         (__cos): Adjust.
41621         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41622         arguments A and DA.
41623         (__sin): Adjust.
41624         (__cos): Likewise.
41626         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41627         (__cos): Likewise.
41628         (sloww1): Don't adjust sign of DX.
41629         (csloww1): Likewise.
41630         (sloww2): Use X directly and don't adjust sign of DX.
41631         (csloww2): Likewise.
41633 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41635         * math/auto-libm-test-in: Add tests of cabs and carg.
41636         * math/auto-libm-test-out: Regenerated.
41637         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41638         (carg_test_data): Likewise.
41639         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41640         mpc_c_f.
41641         (func_calc_desc): Add mpc_c_f union field.
41642         (test_functions): Add cabs and carg.
41643         (calc_generic_results): Handle mpc_c_f.
41645         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41646         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41647         as a macro and a compat symbol.
41648         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41649         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41650         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41651         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41652         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41653         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41654         not use .hidden.
41655         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41656         Likewise.
41657         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41658         Likewise.
41659         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41660         Likewise.
41661         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41662         Likewise.
41663         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41664         Likewise.
41665         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41666         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41667         from GLIBC_2.3.2.
41669 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41673 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41675         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41676         trailing whitespace removed.
41677         * scripts/config.guess: Update to version 2013-11-29.
41678         * scripts/config.sub: Update to version 2013-10-01.
41680         * math/auto-libm-test-in: Add tests of sincos.
41681         * math/auto-libm-test-out: Regenerated.
41682         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41683         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41684         mpfr_f_11.
41685         (func_calc_desc): Add mpfr_f_11 union field.
41686         (test_functions): Add sincos.
41687         (calc_generic_results): Handle mpfr_f_11.
41688         * sysdeps/i386/fpu/libm-test-ulps: Update.
41689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41691 2013-12-19  Andreas Schwab  <schwab@suse.de>
41693         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41694         CALL_MCOUNT.
41695         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41696         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41697         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41699 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41701         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41702         * sysdeps/i386/fpu/libm-test-ulps: Update.
41703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41705         [BZ #16293]
41706         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41707         round-to-nearest mode when using frndint.
41708         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41709         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41710         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41711         Likewise.
41712         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41713         sinh test to fail.
41714         * math/auto-libm-test-out: Regenerated.
41715         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41716         (TEST_COND_x86): Likewise.
41717         (expm1_tonearest_test_data): New array.
41718         (expm1_test_tonearest): New function.
41719         (expm1_towardzero_test_data): New array.
41720         (expm1_test_towardzero): New function.
41721         (expm1_downward_test_data): New array.
41722         (expm1_test_downward): New function.
41723         (expm1_upward_test_data): New array.
41724         (expm1_test_upward): New function.
41725         (main): Run the new test functions.
41726         * sysdeps/i386/fpu/libm-test-ulps: Update.
41727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41729         * include/features.h: Update comment documenting feature test
41730         macros.  Mention _DEFAULT_SOURCE in comment.
41731         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41732         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41733         _BSD_SOURCE and _SVID_SOURCE.
41734         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41735         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41736         !_SVID_SOURCE]: Likewise.
41737         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41738         (__USE_POSIX_IMPLICITLY): Define.
41739         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41740         (_POSIX_SOURCE): Undefine and redefine.
41741         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41742         (_POSIX_C_SOURCE): Likewise.
41743         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41744         (Feature Test Macros): Update documentation of default features.
41746 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41748         * benchtests/Makefile: Add bench-strtok.
41749         * benchtests/bench-strtok.c: New file: strtok benchtest.
41751 2013-12-19  Allan McRae  <allan@archlinux.org>
41753         * manual/install.texi: Suppress menu for plain text output.
41754         * INSTALL: Regenerated.
41756 2013-12-18  Brooks Moses  <bmoses@google.com>
41758         [BZ #15846]
41759         * misc/getauxval.c: Include errno.h.
41760         (__getauxval): Set errno to ENOENT if the requested type is not
41761         found.
41762         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41763         don't declare with __attribute_const__.
41764         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41765         * manual/startup.texi: Document that getauxval sets errno.
41767 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41769         * math/auto-libm-test-in: Add tests of jn and yn.
41770         * math/auto-libm-test-out: Regenerated.
41771         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41772         (yn_test_data): Likewise.
41773         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41774         mpfr_if_f.
41775         (func_calc_desc): Add mpfr_if_f union field.
41776         (FUNC_mpfr_if_f): New macro.
41777         (test_functions): Add jn and yn.
41778         (calc_generic_results): Assert type of second input for
41779         mpfr_ff_f.  Handle mpfr_if_f.
41780         (output_for_one_input_case): Disable all checking for arguments
41781         fitting floating-point types in case of an integer argument.
41782         * sysdeps/i386/fpu/libm-test-ulps: Update.
41783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41786         Don't expect fegetround reference in libm.so.
41788 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41790         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41791         $(config-cflags-nofma).
41793 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41795         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41796         * math/auto-libm-test-out: Regenerated.
41798         [BZ #16338]
41799         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41800         to determine exponent and adjust argument to have exponent of -1.
41801         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41802         log2.
41803         * math/auto-libm-test-out: Regenerated.
41804         * sysdeps/i386/fpu/libm-test-ulps: Update.
41805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41807 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
41809         * manual/probes.texi: Remove cases when per-thread arenas are
41810         disabled.
41812 2013-12-18  Andreas Schwab  <schwab@suse.de>
41814         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41815         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41816         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41817         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41818         * sysdeps/i386/i686/multiarch/Makefile: Update.
41819         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41821 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41823         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41824         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41826 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
41828         [BZ #15968]
41829         Support TZ transition times < 00:00:00.
41830         This is needed for version-3 tz-format files; it supports time
41831         stamps past 2037 for America/Godthab (the only entry in the tz
41832         database for which this change is relevant).
41833         * manual/time.texi (TZ Variable): Document transition times
41834         from -167:59:59 through -00:00:01.
41835         * time/tzset.c (tz_rule): Time of day is now signed.
41836         (__tzset_parse_tz): Parse negative time of day.
41838         Document TZ transition times >= 25:00:00.
41839         * manual/time.texi (TZ Variable): Document transition times from
41840         25:00:00 through 167:59:59.  These are already supported, and this
41841         support will help with version-3 tz-format files.
41843         * manual/time.texi (TZ Variable): Modernize North America example
41844         to reflect current (i.e., 2007-and-later) daylight saving rules.
41846         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41848 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41850         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41851         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41852         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41853         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41854         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41855         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41856         * sysdeps/unix/bsd/clock.c: Likewise.
41857         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41858         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41859         * sysdeps/unix/bsd/init-posix.c: Likewise.
41860         * sysdeps/unix/bsd/poll.c: Likewise.
41861         * sysdeps/unix/bsd/ptsname.c: Likewise.
41862         * sysdeps/unix/bsd/seekdir.c: Likewise.
41863         * sysdeps/unix/bsd/setegid.c: Likewise.
41864         * sysdeps/unix/bsd/seteuid.c: Likewise.
41865         * sysdeps/unix/bsd/setgid.c: Likewise.
41866         * sysdeps/unix/bsd/setrgid.c: Likewise.
41867         * sysdeps/unix/bsd/setruid.c: Likewise.
41868         * sysdeps/unix/bsd/setsid.c: Likewise.
41869         * sysdeps/unix/bsd/setuid.c: Likewise.
41870         * sysdeps/unix/bsd/sigaction.c: Likewise.
41871         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41872         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41873         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41874         * sysdeps/unix/bsd/telldir.c: Likewise.
41875         * sysdeps/unix/bsd/times.c: Likewise.
41876         * sysdeps/unix/bsd/usleep.c: Likewise.
41878         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41879         ($(objpfx)libbsd-compat.a): Remove rule.
41881         * include/features.h (__FAVOR_BSD): Do not define.
41882         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41883         features conflicting with POSIX.
41884         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41885         (_BSD_SOURCE): Remove description of not being a subset of other
41886         feature test macros.
41887         * manual/job.texi (getpgrp): Do not document BSD version.
41888         (getpgid): Do not document by reference to BSD getpgrp.
41889         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41890         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41891         * signal/signal.h [__FAVOR_BSD]: Likewise.
41892         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41893         instead of making contents conditional on [__FAVOR_BSD].
41894         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41896 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41900 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41902         [BZ #16314]
41903         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41904         values below 2**-450, not 2**-500.
41905         * math/auto-libm-test-in: Don't allow spurious underflow from
41906         hypot.
41907         * math/auto-libm-test-out: Regenerated.
41909         [BZ #16316]
41910         [BZ #16330]
41911         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41912         values of ha and hb and sort them after adjusting subnormal
41913         arguments.
41914         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41915         Likewise.
41916         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41917         values of ea and eb and sort them after adjusting subnormal
41918         arguments.
41919         * math/auto-libm-test-in: Do not expect some hypot tests of
41920         subnormals to fail.  Add more hypot tests.
41921         * math/auto-libm-test-out: Regenerated.
41923 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41925         [BZ #13304]
41926         * sysdeps/sh/s_fma.c: New file.
41927         * sysdeps/sh/s_fmaf.c: New file.
41928         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41929         version.
41930         * sysdeps/sh/Implies: Add sh/soft-fp.
41932 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41934         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41935         level of indirection to members `objname', `errstring', `malloced'.
41936         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41937         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41938         it as the __longjmp argument (just pass 1 instead).
41939         (_dl_catch_error): Initialize C with argument pointers and address of
41940         volatile local ERRCODE rather than copying values out of C at return.
41942 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41944         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41945         * math/auto-libm-test-out: Regenerated.
41946         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41947         (hypot_test_data): Likewise.
41948         (pow_test_data): Likewise.
41949         (pow_tonearest_test_data): Likewise.
41950         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41951         mpfr_ff_f.
41952         (func_calc_desc): Add mpfr_ff_f union field.
41953         (FUNC_mpfr_ff_f): New macro.
41954         (test_functions): Add atan2, hypot and pow.
41955         (special_fill_min): New function.
41956         (special_fill_minus_min): Likewise.
41957         (special_fill_min_subnorm): Likewise.
41958         (special_fill_minus_min_subnorm): Likewise.
41959         (special_real_inputs): Add min, -min, min_subnorm and
41960         -min_subnorm.
41961         (calc_generic_results): Handle mpfr_ff_f.
41962         * sysdeps/i386/fpu/libm-test-ulps: Update.
41963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41965 2013-12-16  Will Newton  <will.newton@linaro.org>
41967         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41968         (Aligned Memory Blocks): Add documentation for aligned_alloc
41969         and suggest it as an alternative to posix_memalign.
41970         (Hooks for Malloc): Document __memalign_hook is also called
41971         for aligned_alloc.  (Summary of Malloc): Add summary for
41972         aligned alloc.  Document __memalign_hook is also called
41973         for aligned_alloc.
41975 2013-12-16  Will Newton  <will.newton@linaro.org>
41977         * manual/memory.texi (Malloc Examples): Clarify default
41978         alignment documentation.  Suggest posix_memalign rather
41979         than memalign or valloc.
41980         (Aligned Memory Blocks): Remove suggestion to use memalign
41981         or valloc.  Remove obsolete comment about BSD.
41982         Document memalign errno values and mark the function obsolete.
41983         Document posix_memalign returned error codes.  Mark valloc
41984         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41985         called for posix_memalign and valloc.
41986         (Summary of Malloc): Add posix_memalign to function summary.
41987         __memalign_hook is also called for posix_memalign and valloc.
41989 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41991         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41992         TAYLOR_SIN.
41993         (__sin): Adjust.
41994         (__cos): Likewise.
41995         (sloww): Use mynumber union.  Expand ternary operator into
41996         if-else statements.
41997         (cslow): use mynumber union.
41999 2013-12-16  Allan McRae  <allan@archlinux.org>
42001         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42002         * configure: Regenerated.
42004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42006         [BZ #14120]
42007         * configure.ac: Added --enable-maintainer-mode. Check for
42008         autoconf when enabled.
42009         * configure: Regenerated.
42011         * nscd/nscd.service: New file.
42012         * nscd/nscd.tmpfiles: New file.
42014 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42016         [BZ #12100]
42017         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42018         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42019         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42020         (strstr): Add __strstr_sse2_unaligned ifunc.
42021         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42022         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42023         (strcasestr): Remove __strcasestr_sse42 ifunc.
42024         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42025         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42026         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42028 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42030         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42031         * sysdeps/sh/bits/fenv.h: ... here.
42032         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42034 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42036         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42039         hypotf multiarch implementations.
42040         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42041         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42042         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42043         multiarch hypot for PPC64.
42044         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42045         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42046         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42047         multiarch hypotf for PPC64.
42049         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42050         modff multiarch implementations.
42051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42054         multiarch modf for PPC64.
42055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42058         multiarch modff for PPC64.
42060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42061         and logl multiarch implementations.
42062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42065         multiarch logb for PPC64.
42066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42069         multiarch logb for PPC64.
42070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42073         multiarch logb for PPC64.
42075         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42076         isinff multiarch implementation.
42077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42078         file.
42079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42081         multiarch isinf for PPC64.
42082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42083         file.
42084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42085         multiarch isinff for PPC64.
42087         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42088         finitef multiarch implementation.
42089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42090         file.
42091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42093         multiarch finite for PPC64.
42094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42095         file.
42096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42097         multiarch finitef for PPC64.
42099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42100         lrint multiarch implementation.
42101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42102         file.
42103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42105         multiarch llrint for PPC64.
42106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42107         multiarch lrint for PPC64.
42109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42110         copysignf multiarch implementation.
42111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42112         file.
42113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42114         file.
42115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42116         multiarch copysign for PPC64.
42117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42118         multiarch copysignf for PPC64.
42120         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42121         multiarch implementation.
42122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42123         file.
42124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42125         file.
42126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42127         file.
42128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42129         file.
42130         multiarch llround for PPC64.
42131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42132         multiarch trunc for PPC64.
42133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42134         multiarch truncf for PPC64.
42136         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42137         multiarch implementation.
42138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42139         file.
42140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42141         file.
42142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42143         file.
42144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42145         file.
42146         multiarch llround for PPC64.
42147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42148         multiarch round for PPC64.
42149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42150         multiarch roundf for PPC64.
42152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42153         multiarch implementation.
42154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42155         file.
42156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42157         file.
42158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42159         file.
42160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42161         file.
42162         multiarch llround for PPC64.
42163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42164         multiarch floor for PPC64.
42165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42166         multiarch floorf for PPC64.
42168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42169         multiarch implementation.
42170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42171         file.
42172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42173         file.
42174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42175         file.
42176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42177         file.
42178         multiarch llround for PPC64.
42179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42180         multiarch ceil for PPC64.
42181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42182         multiarch ceilf for PPC64.
42184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42185         multiarch implementation.
42186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42187         file.
42188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42189         file.
42190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42191         file.
42192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42193         multiarch llround for PPC64.
42194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42195         multiarch lround for PPC64.
42197         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42198         multiarch implementation.
42199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42202         file.
42203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42206         multiarch isnan for PPC64.
42207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42208         multiarch isnanf for PPC64.
42210         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42211         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42212         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42213         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42214         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42217         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42218         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42219         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42220         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42223         multiarch implementations.
42224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42225         (__libc_ifunc_impl_list): Likewise.
42226         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42227         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42228         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42229         multiarch stpcpy for PPC64.
42231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42232         multiarch implementations.
42233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42234         (__libc_ifunc_impl_list): Likewise.
42235         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42236         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42237         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42238         multiarch strcpy for PPC64.
42240         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42241         redefine function name.
42242         (_wordcopy_fwd_dest_aligned): Likewise.
42243         (_wordcopy_bwd_aligned): Likewise.
42244         (_wordcopy_bwd_dest_aligned): Likewise.
42245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42246         multiarch implementations.
42247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42248         (__libc_ifunc_impl_list): Likewise.
42249         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42250         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42251         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42252         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42253         multiarch wcscpy for PPC64.
42255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42256         multiarch implementations.
42257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42258         (__libc_ifunc_impl_list): Likewise.
42259         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42260         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42261         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42262         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42263         multiarch wcscpy for PPC64.
42265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42266         multiarch implementations.
42267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42268         (__libc_ifunc_impl_list): Likewise.
42269         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42270         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42271         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42272         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42273         multiarch wcsrchr for PPC64.
42275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42276         multiarch implementations.
42277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42278         (__libc_ifunc_impl_list): Likewise.
42279         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42280         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42281         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42282         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42283         multiarch wcschr for PPC64.
42285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42286         multiarch implementations.
42287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42288         (__libc_ifunc_impl_list): Likewise.
42289         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42290         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42291         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42292         multiarch strchrnul for PPC64.
42294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42295         implementations.
42296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42297         (__libc_ifunc_impl_list): Likewise.
42298         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42299         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42300         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42301         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42302         strchr for PPC64.
42304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42305         implementations.
42306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42307         (__libc_ifunc_impl_list): Likewise.
42308         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42309         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42310         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42311         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42312         strncmp for PPC64.
42314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42315         multiarch implementations.
42316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42317         (__libc_ifunc_impl_list): Likewise.
42318         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42319         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42320         strncasecmp for PPC64.
42321         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42322         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42323         multiarch strncasecmp_l for PPC64.
42325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42326         multiarch implementations.
42327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42328         (__libc_ifunc_impl_list): Likewise.
42329         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42330         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42331         multiarch strcasecmp for PPC64.
42332         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42333         file.
42334         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42335         multiarch strcasecmp_l for PPC64.
42337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42338         implementations.
42339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42340         (__libc_ifunc_impl_list): Likewise.
42341         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42342         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42343         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42344         strnlen for PPC64.
42346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42347         implementations.
42348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42349         (__libc_ifunc_impl_list): Likewise.
42350         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42351         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42352         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42353         strlen for PPC64.
42355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42356         implementations.
42357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42358         (__libc_ifunc_impl_list): Likewise.
42359         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42360         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42361         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42362         rawmemrchr for PPC64.
42364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42365         implementation.
42366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42367         (__libc_ifunc_impl_list): Likewise.
42368         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42369         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42370         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42371         memrchr for PPC64.
42373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42374         implementation.
42375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42376         (__libc_ifunc_impl_list): Likewise.
42377         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42378         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42379         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42380         memchr for PPC64.
42382         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42383         implementation.
42384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42385         (__libc_ifunc_impl_list): Likewise.
42386         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42387         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42388         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42389         mempcpy for PPC64.
42391         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42392         avoid cretion of __bzero symbol.
42393         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42394         Likewise.
42395         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42396         Likewise.
42397         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42398         Likewise.
42399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42400         multiarch implementations.
42401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42402         (__libc_ifunc_impl_list): Likewise.
42403         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42404         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42405         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42406         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42407         bzero for PPC32.
42408         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42409         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42410         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42411         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42412         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42413         memset for PPC64.
42414         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42416         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42418         implementations.
42419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42420         (__libc_ifunc_impl_list): Likewise.
42421         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42422         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42423         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42424         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42425         memcmp for PPC64.
42427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42428         multiarch for POWER/PPC64.
42429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42430         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42431         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42432         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42433         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42434         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42435         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42436         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42437         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42438         memcpy for PPC64.
42440         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42441         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42442         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42443         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42444         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42445         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42446         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42447         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42448         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42449         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42450         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42451         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42452         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42453         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42454         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42463 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42465         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42467 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42469         * benchtests/Makefile (bench): Add exp2 and log2.
42470         (LDLIBS-bench-exp2): Add -lm.
42471         (LDLIBS-bench-log2): Likewise.
42472         * benchtests/exp2-inputs: New inputs file.
42473         * benchtests/log2-inputs: New inputs file.
42474         * benchtests/log-inputs: Add new inputs.
42475         * benchtests/tan-inputs: Likewise.
42477 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42479         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42480         definition...
42481         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42482         (csloww2): ... from here.
42484         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42485         instead of structures.
42486         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42487         (POLYNOMIAL): Likewise.
42488         (TAYLOR_SLOW): Likewise.
42489         (__sin): Likewise.
42490         (__cos): Likewise.
42491         (slow1): Likewise.
42492         (slow2): Likewise.
42493         (sloww): Likewise.
42494         (sloww1); Likewise.
42495         (sloww2): Likewise.
42496         (bsloww1): Likewise.
42497         (bsloww2): Likewise.
42498         (cslow2): Likewise.
42499         (csloww): Likewise.
42500         (csloww1): Likewise.
42501         (csloww2): Likewise.
42503 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42505         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42506         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42507         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42508         * malloc/hooks.c (realloc_check): Likewise.
42510         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42511         * malloc/arena.c: Remove PER_THREAD conditional.
42512         [!PER_THREAD]: Remove code.
42513         (ptmalloc_unlock_all2): Likewise.
42514         (ptmalloc_init): Likewise.
42515         (_int_new_arena): Likewise.
42516         (arena_get2): Likewise.
42517         * malloc/hooks.c (__malloc_get_state): Likewise.
42518         (__malloc_set_state): Likewise.
42519         * malloc/malloc.c: Likewise.
42520         (struct malloc_state): Likewise.
42521         (struct malloc_par): Likewise.
42522         (__libc_realloc): Likewise.
42523         (__libc_mallopt): Likewise.
42525 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42527         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42529 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42531         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42532         macro to a function.  Check for zero perturb_byte.
42533         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42535         * malloc/malloc.c: (force_reg): Remove.
42536         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42537         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42538         force_reg by atomic_forced_read.
42539         * malloc/arena.c (ptmalloc_init): Likewise.
42540         * malloc/hooks.c (top_check): Likewise.
42542 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42546 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42550 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42552         * math/auto-libm-test-in: Add tests of lgamma.
42553         * math/auto-libm-test-out: Regenerated.
42554         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42555         (M_LOG_2_SQRT_PIl): Likewise.
42556         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42557         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42558         mpfr_f_f1.
42559         (func_calc_desc): Add mpfr_f_f1 union field.
42560         (ARGS1): New macro.
42561         (ARGS2): Likewise.
42562         (ARGS3): Likewise.
42563         (ARGS4): Likewise.
42564         (RET1): Likewise.
42565         (RET2): Likewise.
42566         (CALC): Likewise.
42567         (FUNC): Likewise.
42568         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42569         (test_functions): Add lgamma.
42570         (calc_generic_results): Handle mpfr_f_f1.
42571         * sysdeps/i386/fpu/libm-test-ulps: Update.
42572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42574 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42576         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42577         __mpn_add_n for PowerPC64/POWER7.
42578         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42579         __mpn_sub_n for PowerPC64/POWER7.
42581         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42582         __mpn_addmul_1 for PowerPC64.
42583         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42584         __mpn_submul_1 for PowerPC64.
42585         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42586         for PowerPC64.
42587         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42588         for PowerPC64.
42590 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42592         [BZ #15089]
42593         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42595 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42597         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42599         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42600         add multiarch folders.
42601         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42602         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42603         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42604         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42605         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42606         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42607         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42608         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42609         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42610         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42611         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42620         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42622         New file.
42623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42624         New file.
42625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42626         multiarch __ieee754_hypot for PowerPC32.
42627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42628         New file.
42629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42630         New file.
42631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42632         multiarch __ieee754_hypotf for PowerPC32.
42634         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42635         long_double_symbol only if __logbl is defined.
42636         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42637         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42638         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42639         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42640         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42641         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42642         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42643         path for implementation.
42644         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42645         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42647         logb, and logbl multiarch implementations for PowerPC32.
42648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42649         file.
42650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42651         file.
42652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42653         multiarch logb for PowerPC32.
42654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42655         file.
42656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42657         file.
42658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42659         multiarch logbf for PowerPC32.
42660         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42662         file.
42663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42664         multiarch logbl implementation for PowerPC32.
42666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42667         and modff multiarch implementations.
42668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42669         New file.
42670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42671         New file.
42672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42673         multiarch modf for PowerPC32.
42674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42675         New file.
42676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42677         New file.
42678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42679         multiarch modff for PowerPC32.
42681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42682         and lrintf multiarch implementations.
42683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42684         New file.
42685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42686         New file.
42687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42688         multiarch lrint for PowerPC32.
42689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42690         file: multiarch lrintf for PowerPC32.
42692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42693         and lroundf multiarch implementations.
42694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42695         New file.
42696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42697         New file.
42698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42699         New file.
42700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42701         multiarch lround for PowerPC32.
42702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42703         file: multiarch lroundf for PowerPC32.
42705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42706         copysign and copysignf multiarch implementations.
42707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42708         New file.
42709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42710         New file.
42711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42712         file: multiarch copysign for PowerPC32.
42713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42714         file: multiarch copysignf for PowerPC32.
42716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42717         and truncf multiarch implementations.
42718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42719         New file.
42720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42721         file.
42722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42723         multiarch trunc for PowerPC32.
42724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42725         New file.
42726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42727         New file.
42728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42729         multiarch truncf for PowerPC32.
42731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42732         and roundf multiarch implementations.
42733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42734         New file.
42735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42736         file.
42737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42738         multiarch round for PowerPC32.
42739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42740         New file.
42741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42742         New file.
42743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42744         multiarch roundf for PowerPC32.
42746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42747         and floorf multiarch implementations.
42748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42749         New file.
42750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42751         file.
42752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42753         multiarch floor for PowerPC32.
42754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42755         New file.
42756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42757         New file.
42758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42759         multiarch floorf for PowerPC32.
42761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42762         and ceilf multiarch implementations.
42763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42764         New file.
42765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42766         file.
42767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42768         multiarch ceil for PowerPC32.
42769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42770         New file.
42771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42772         file.
42773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42774         multiarch ceilf for PowerPC32.
42776         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42777         is defined.
42778         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42779         FINITEF is defined.
42780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42781         and finitef multiarch implementations.
42782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42783         New file.
42784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42785         file.
42786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42787         multiarch finite for PowerPC32.
42788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42789         New file.
42790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42791         file: multiarch finitef for PowerPC32.
42793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42794         and isinff multiarch implementations.
42795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42796         file.
42797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42798         file.
42799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42800         multiarch isinf for PowerPC32.
42801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42802         New file.
42803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42804         multiarch isinff for PowerPC32.
42806         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42807         alias when __isnan is defined.
42808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42809         and isnanf multiarch implementations.
42810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42811         file.
42812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42813         file.
42814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42815         file.
42816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42817         file.
42818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42819         multiarch isnan for PowerPC32.
42820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42821         New file.
42822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42823         New file.
42824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42825         multiarch isnanf for PowerPC32.
42827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42828         and sqrtf multiarch implementations.
42829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42830         file.
42831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42832         file.
42833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42834         multiarch sqrt for PowerPC32.
42835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42836         file.
42837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42838         file.
42839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42840         multiarch sqrtf for PowerPC32.
42842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42843         and llroundf multiarch implementations.
42844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42845         New file.
42846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42847         New file.
42848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42849         New file.
42850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42851         file: multiarch llround for PowerPC32.
42852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42853         file: multiarch llroundf for PowerPC32.
42855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42856         multiarch PowerPC32 fpu implementations.
42857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42858         New file.
42859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42860         New file.
42861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42862         multiarch llrint for PowerPC32.
42863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42864         New file.
42865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42866         New file.
42867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42868         file.
42870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42872         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42873         file.
42874         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42875         file.
42876         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42877         file.
42878         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42879         multiarch wordcopy for PPC32.
42880         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42881         wordcopy objects.
42882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42883         (__libc_ifunc_impl_list): Likewise.
42884         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42885         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42886         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42887         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42888         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42889         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42891         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42892         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42893         file.
42894         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42895         file.
42896         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42897         file.
42898         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42899         multiarch wcscpy for PPC32.
42900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42901         multiarch objects.
42902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42903         (__libc_ifunc_impl_list): Likewise.
42904         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42905         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42906         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42907         sysdeps/powerpc/power6/wcscpy.c.
42909         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42911         file.
42912         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42913         file.
42914         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42915         file.
42916         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42917         multiarch wcsrchr for PPC32.
42918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42919         multiarch objects.
42920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42921         (__libc_ifunc_impl_list): Likewise.
42922         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42923         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42924         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42925         sysdeps/powerpc/power6/wcsrchr.c.
42927         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42928         file.
42929         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42930         file.
42931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42933         multiarch wcschr for PPc32.
42934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42935         multiarch objects.
42936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42937         (__libc_ifunc_impl_list): Likewise.
42938         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42939         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42940         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42941         sysdeps/powerpc/power6/wcschr.c.
42943         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42944         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42945         file.
42946         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42947         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42948         file: multiarch strchr for PPC32.
42949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42950         multiarch objects.
42951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42952         (__libc_ifunc_impl_list): Likewise.
42954         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42955         name.
42956         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42957         file.
42958         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42959         file.
42960         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42961         multiarch strchrnul for PPC32.
42962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42963         multiarch objects.
42964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42965         (__libc_ifunc_impl_list): Likewise.
42967         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42968         file.
42969         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42970         multiarch strncasecmp for PPC32.
42971         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42972         file.
42973         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42974         multiarch strncasecmp_l for PPC32.
42975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42976         strncasecmp multiarch objects.
42977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42978         (__libc_ifunc_impl_list): Likewise.
42980         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42981         file.
42982         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42983         multiarch strncasecmp for PPC32.
42984         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42985         New file.
42986         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42987         multiarch strcasecmp_l for PPC32.
42988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42989         multiarch objects.
42990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42991         (__libc_ifunc_impl_list): Likewise.
42993         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42994         file.
42995         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42996         file.
42997         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42998         multiarch strncmp for PPC32.
42999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43000         multiarch objects.
43001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43002         (__libc_ifunc_impl_list): Likewise.
43004         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43005         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43006         file.
43007         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43008         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43010         multiarch objects.
43011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43012         (__libc_ifunc_impl_list): Likewise.
43014         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43015         file.
43016         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43017         file.
43018         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43020         multiarch objects.
43021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43022         (__libc_ifunc_impl_list): Likewise.
43024         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43025         file.
43026         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43027         file.
43028         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43029         multiarch rawmemchr for PPC32.
43030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43031         multiarch objects.
43032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43033         (__libc_ifunc_impl_list): Likewise.
43035         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43036         file.
43037         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43038         file.
43039         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43040         file: memrchr multiarch for PPC32.
43041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43042         multiarch objects.
43043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43044         (__libc_ifunc_impl_list): Likewise.
43046         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43047         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43048         file.
43049         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43050         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43051         multiarch memchr for PPC32.
43052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43053         multiarch objects.
43054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43055         (__libc_ifunc_impl_list): Likewise.
43057         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43058         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43059         file.
43060         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43061         file.
43062         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43063         file: multiarch mempcpy for PPC32.
43064         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43065         multiarch objects.
43066         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43067         (__libc_ifunc_impl_list): Likewise.
43069         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43070         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43071         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43072         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43073         multiarch bzero for PPC32.
43074         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43075         file.
43076         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43077         file.
43078         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43079         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43080         file: multiarch memset for PPC32.
43081         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43082         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43083         memset multiarch objects.
43084         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43085         (__libc_ifunc_impl_list): Likewise.
43087         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43088         file.
43089         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43090         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43091         memcmp for PPC32.
43092         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43094         multiarch objects.
43095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43096         (__libc_ifunc_impl_list): Likewise.
43098         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43099         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43100         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43101         file.
43102         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43103         file.
43104         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43105         file.
43106         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43107         multiarch memcpy for PPC32.
43108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43109         multiarch objects.
43110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43111         (__libc_ifunc_impl_list): Likewise.
43113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43114         support multiarch for POWER/PPC32.
43115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43116         Likewise.
43117         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43119         Implies file to make multiarch folder appers before the fpu and
43120         default folder for power4 configuration.
43122 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43124         * scripts/bench.pl: Append volatile keyword to type.
43126 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43128         * sysdeps/sh/sotruss-lib.c: New file.
43129         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43131 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43135 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43137         [BZ #6810]
43138         * math/w_tgamma.c: Include <errno.h>.
43139         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43140         * math/w_tgammaf.c: Include <errno.h>.
43141         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43142         * math/w_tgammal.c: Include <errno.h>.
43143         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43144         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43145         underflow.  Add more tgamma tests.
43146         * math/auto-libm-test-out: Regenerated.
43147         * sysdeps/i386/fpu/libm-test-ulps: Update.
43148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43150         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43151         sin, sinh, tan, tanh, tgamma, y0 and y1.
43152         * math/auto-libm-test-out: Regenerated.
43153         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43154         (TEST_COND_x86): Likewise.
43155         (M_E2l): Remove macro.
43156         (M_E3l): Likewise.
43157         (M_2_SQRT_PIl): Likewise.
43158         (M_SQRT_PIl): Likewise.
43159         (M_1_DIV_El): Likewise.
43160         (log_test_data): Use AUTO_TESTS_f_f.
43161         (log10_test_data): Likewise.
43162         (log1p_test_data): Likewise.
43163         (log2_test_data): Likewise.
43164         (sin_test_data): Likewise.
43165         (sin_tonearest_test_data): Likewise.
43166         (sin_towardzero_test_data): Likewise.
43167         (sin_downward_test_data): Likewise.
43168         (sin_upward_test_data): Likewise.
43169         (sinh_test_data): Likewise.
43170         (sinh_tonearest_test_data): Likewise.
43171         (sinh_towardzero_test_data): Likewise.
43172         (sinh_downward_test_data): Likewise.
43173         (sinh_upward_test_data): Likewise.
43174         (tan_test_data): Likewise.
43175         (tan_tonearest_test_data): Likewise.
43176         (tan_towardzero_test_data): Likewise.
43177         (tan_downward_test_data): Likewise.
43178         (tan_upward_test_data): Likewise.
43179         (tanh_test_data): Likewise.
43180         (tgamma_test_data): Likewise.
43181         (y0_test_data): Likewise.
43182         (y1_test_data): Likewise.
43183         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43184         (special_real_inputs): Add pi/4.
43185         * sysdeps/i386/fpu/libm-test-ulps: Update.
43186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43188 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43190         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43191         "longjmp_target" static probes.
43192         (__longjmp): Rename to __longjmp_symbol.
43193         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43194         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43195         on which longjmp to generate.
43196         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43197         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43198         probe.
43199         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43200         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43201         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43202         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43203         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43204         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43206         __longjmp_symbol based on which __longjmp to generate.
43207         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43208         probe.
43209         (setjmp): Rename to setjmp_symbol.
43210         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43211         (_setjmp): Rename to _setjmp_symbol.
43212         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43213         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43214         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43215         which setjmp to generate.
43216         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43217         "longjmp_target" static probes.
43219 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43221         * benchtests/README: Add note about output arguments.
43222         * benchtests/bench-sincos.c: Remove file.
43223         * benchtests/sincos-inputs: New file.
43224         * scripts/bench.pl: Identify output arguments and define
43225         static variables for them.
43227         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43229         [BZ #15941]
43230         * Makefile (INSTALL): Add install-plain.texi as the primary
43231         dependency.
43232         * manual/install-plain.texi: New file.
43233         * manual/install.texi: Include node directive only for
43234         non-plaintext output.
43236 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43238         * stdlib/longlong.h: Update from GCC.
43240         [BZ #6807]
43241         [BZ #15901]
43242         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43243         * math/w_j0f.c (y0f): Likewise.
43244         * math/w_j0l.c (__y0l): Likewise.
43245         * math/w_j1.c (y1): Likewise.
43246         * math/w_j1f.c (y1f): Likewise.
43247         * math/w_j1l.c (__y1l): Likewise.
43248         * math/w_jn.c (yn): Likewise.
43249         * math/w_jnf.c (ynf): Likewise.
43250         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43251         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43252         value for Bessel function domain errors outside _SVID_ mode.
43253         Adjust sign of return value for yn (negative integer, 0).
43254         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43255         by zero in return for negative x and set sign appropriately for
43256         negative n.
43257         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43258         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43259         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43260         expectations in error cases.
43261         (y1_test_data): Likewise.
43262         (yn_test_data): Likewise.
43263         * sysdeps/i386/fpu/libm-test-ulps: Update.
43264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43266 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43268         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43269         "64" to "64-v1".  Add "64-v2".
43270         (abi-64-options): Rename to ...
43271         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43272         (abi-64-condition): Rename to ...
43273         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43274         (abi-64-ld-soname): Rename to ...
43275         (abi-64-v1-ld-soname): ... this.
43276         (abi-64-v2-options): Define.
43277         (abi-64-v2-condition): Likewise.
43278         (abi-64-v2-ld-soname): Likewise.
43279         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43280         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43285 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43286             Alan Modra  <amodra@gmail.com>
43288         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43289         New versions for use with the ELFv2 ABI.
43290         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43291         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43292         declaration.
43293         (struct La_ppc64v2_retval): Likewise.
43294         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43295         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43296         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43297         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43298         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43299         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43300         Do not save or restore CR.
43301         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43302         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43303         return values for ELFv2 ABI.  Fix location of FPR return registers.
43304         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43305         updated values for _CALL_ELF == 2.
43306         (La_regs, La_retval, int_retval): Likewise.
43308 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43310         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43311         (FRAME_MIN_SIZE_PARM): Likewise.
43312         (FRAME_BACKCHAIN): Likewise.
43313         (FRAME_CR_SAVE): Likewise.
43314         (FRAME_LR_SAVE): Likewise.
43315         (FRAME_TOC_SAVE): Likewise.
43316         (FRAME_PARM_SAVE): Likewise.
43317         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43318         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43319         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43320         (call_mcount_parm_offset): New macro.
43321         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43322         (PROF): Use symbolic stack frame offsets.
43323         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43324         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43325         Redefine in terms of FRAME_MIN_SIZE.
43326         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43327         (_dl_profile_resolve): Likewise.  Update comment.
43328         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43329         symbols stack frame offsets.
43330         (__sigsetjmp): Likewise.
43331         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43332         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43333         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43334         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43337         (FRAME_BACKCHAIN): Remove.
43338         (FRAME_CR_SAVE): Likewise.
43339         (FRAME_LR_SAVE): Likewise.
43340         (FRAME_COMPILER_DW): Likewise.
43341         (FRAME_LINKER_DW): Likewise.
43342         (FRAME_TOC_SAVE): Likewise.
43343         (FRAME_PARM_SAVE): Likewise.
43344         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43345         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43346         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43348         (CHECK_SP): Use symbolic stack frame offsets.
43349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43350         zone" instead of caller's parameter save area for temp storage.
43351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43352         Likewise.  Also, use symbolic stack frame offsets.
43353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43354         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43355         our own stack frame instead of the caller's.
43356         (__socket): Use symbolic stack frame offsets.
43358 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43359             Alan Modra  <amodra@gmail.com>
43361         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43362         Define.
43363         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43364         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43365         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43366         New function.
43367         (elf_machine_fixup_plt): Call it.
43368         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43369         reloc arguments.
43370         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43371         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43372         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43373         r2 before calling target.
43375 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43376             Alan Modra  <amodra@gmail.com>
43378         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43379         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43380         versions of macros to support ELFv2 ABI.
43381         (LOCALENTRY): New macro.
43382         (ENTRY, EALIGN): Use it.
43383         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43384         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43385         fall through into ENTRY entry point.
43386         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43387         Only define if _CALL_ELF != 2.
43389         (elf_machine_matches_host): Verify ABI version matches.
43390         (RTLD_START): Use LOCALENTRY.
43391         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43392         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43393         (PLT_ENTRY_WORDS): New macro.
43394         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43395         (elf_machine_runtime_setup): Support ELFv2 ABI.
43396         (elf_machine_fixup_plt): Likewise.
43397         (elf_machine_plt_conflict): Likewise.
43398         (resolve_ifunc): Likewise.
43399         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43400         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43401         Likewise.
43402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43403         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43405         (makecontext): Support ELFv2 ABI.
43406         * elf/elf.h (EF_PPC64_ABI): Define.
43408 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43410         * sysdeps/powerpc/powerpc64/sysdep.h
43411         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43412         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43413         (ENTRY) [ASSEMBLER]: ... but instead here ...
43414         (EALIGN) [ASSEMBLER]: ... and here.
43415         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43416         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43417         (ENTRY_2) [!ASSEMBLER]: Use it.
43418         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43419         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43420         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43421         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43422         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43424         Use PPC64_LOAD_FUNCPTR.
43426         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43428 2013-12-04  Alan Modra  <amodra@gmail.com>
43430         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43431         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43432         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43433         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43435         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43436         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43437         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43438         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43439         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43440         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43442 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43445         (__makecontext): Fix incorrect CFI when backtracing out of
43446         context created via makecontext.
43447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43448         (__setcontext): Fix incorrect CFI during switch to new context.
43449         (__novec_setcontext): Likewise.
43451 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43453         [BZ #4772]
43454         * time/strptime_l.c (__strptime_internal): Allow modifiers
43455         in strptime.
43456         * time/tst-strptime.c (day_tests): Add testcase.
43458 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43460         * scripts/bench.pl: Skip over blank lines.
43462 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43464         [BZ #926]
43465         * manual/time.texi (Calendar Time): Clarify what timezone functions
43466         use.
43468 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43472 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43474         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43475         implementation.
43476         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43477         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43478         * debug/memset_chk.c (__memset_chk): Likewise.
43479         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43480         * debug/strncpy_chk.c: Likewise.
43482 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43484         [BZ #15268]
43485         [BZ #15425]
43486         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43487         (__ieee754_exp): For possibly underflowing results, check size of
43488         result and force underflow exception if required.
43489         * math/auto-libm-test-in: Add more tests of exp.
43490         * math/auto-libm-test-out: Regenerated.
43491         * sysdeps/i386/fpu/libm-test-ulps: Update.
43492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43494         [BZ #16283]
43495         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43496         * math/w_exp2f.c (__exp2f): Likewise.
43497         * math/w_exp2l.c (__exp2l): Likewise.
43498         * math/auto-libm-test-in: Do not allow missing errno on exp2
43499         underflow.
43500         * math/auto-libm-test-out: Regenerated.
43502 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43504         [BZ #16274]
43505         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43506         handle filename validation.
43507         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43508         (do_open): Delete.
43510 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43512         [BZ #6786]
43513         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43514         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43515         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43516         <float.h>.
43517         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43518         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43519         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43520         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43521         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43522         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43523         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43524         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43525         Add more erfc tests.
43526         * math/auto-libm-test-out: Regenerated.
43527         * sysdeps/i386/fpu/libm-test-ulps: Update.
43528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43530         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43531         exp2, expm1, j0 and j1.
43532         * math/auto-libm-test-out: Regenerated.
43533         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43534         (erfc_test_data): Likewise.
43535         (exp_test_data): Likewise.
43536         (exp_tonearest_test_data): Likewise.
43537         (exp_towardzero_test_data): Likewise.
43538         (exp_downward_test_data): Likewise.
43539         (exp_upward_test_data): Likewise.
43540         (exp10_test_data): Likewise.
43541         (exp2_test_data): Likewise.
43542         (expm1_test_data): Likewise.
43543         (j0_test_data): Likewise.
43544         (j1_test_data): Likewise.
43545         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43546         (input_flag_type): Add flag_xfail_rounding.
43547         (input_flags): Add xfail-rounding.
43548         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43549         (output_for_one_input_case): Handle flag_xfail_rounding.
43550         * sysdeps/i386/fpu/libm-test-ulps: Update.
43551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43553 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43555         [BZ #16289]
43556         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43557         division by 0.
43559 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43561         [BZ #16195]
43562         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43563         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43564         (STAP_PROBE0): New macro.
43565         (STAP_PROBE1): Likewise.
43566         (STAP_PROBE2): Likewise.
43567         (STAP_PROBE3): Likewise.
43568         (STAP_PROBE4): Likewise.
43570 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43572         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43574 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43576         * benchtests/Makefile (bench): Add sqrt.
43577         (LDLIBS-bench-sqrt): New.
43578         * benchtests/sqrt-input: New.
43580 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43582         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43583         (GAIH_EAI): Likewise.
43584         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43585         (gaih_inet): Likewise.
43586         (getaddrinfo): Don't use GAIH_EAI.
43588         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43589         (struct gaih): Remove definition.
43591 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43593         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43594         Use HERRNOP directly.
43596 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43600 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43602         * math/gen-auto-libm-tests.c (test_functions): Add more
43603         single-argument functions.
43604         (special_fill_pi_2): New function.
43605         (special_fill_minus_pi_2): Likewise.
43606         (special_fill_pi_6): Likewise.
43607         (special_fill_minus_pi_6): Likewise.
43608         (special_fill_pi_3): Likewise.
43609         (special_fill_2pi_3): Likewise.
43610         (special_fill_e): Likewise.
43611         (special_fill_1_e): Likewise.
43612         (special_fill_e_minus_1): Likewise.
43613         (special_real_inputs): Add more special inputs.
43614         (output_for_one_input_case): Do not require ERANGE on underflow to
43615         zero if round-to-nearest result does not underflow to zero, unless
43616         exact results required.
43617         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43618         atan, atanh, cbrt, cos and cosh.
43619         * math/auto-libm-test-out: Regenerated.
43620         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43621         (acos_tonearest_test_data): Likewise.
43622         (acos_towardzero_test_data): Likewise.
43623         (acos_downward_test_data): Likewise.
43624         (acos_upward_test_data): Likewise.
43625         (acosh_test_data): Likewise.
43626         (asin_test_data): Likewise.
43627         (asin_tonearest_test_data): Likewise.
43628         (asin_towardzero_test_data): Likewise.
43629         (asin_upward_test_data): Likewise.
43630         (asinh_test_data): Likewise.
43631         (atan_test_data): Likewise.
43632         (atanh_test_data): Likewise.
43633         (cbrt_test_data): Likewise.
43634         (cos_test_data): Likewise.
43635         (cos_tonearest_test_data): Likewise.
43636         (cos_towardzero_test_data): Likewise.
43637         (cos_downward_test_data): Likewise.
43638         (cos_upward_test_data): Likewise.
43639         (cosh_test_data): Likewise.
43640         (cosh_tonearest_test_data): Likewise.
43641         (cosh_towardzero_test_data): Likewise.
43642         (cosh_downward_test_data): Likewise.
43643         (cosh_upward_test_data): Likewise.
43644         * sysdeps/i386/fpu/libm-test-ulps: Update.
43645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43647 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43649         [BZ #6787]
43650         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43651         * math/w_exp10f.c (__exp10f): Likewise.
43652         * math/w_exp10l.c (__exp10l): Likewise.
43653         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43654         errno settings in existing tests.
43656         [BZ #14032]
43657         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43658         precision control set to double precision.
43659         * sysdeps/i386/fpu/w_sqrt.c: New file.
43660         * math/auto-libm-test-in: Add more tests.
43661         * math/auto-libm-test-out: Update.
43663         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43664         (sqrt_test_tonearest): New function.
43665         (sqrt_towardzero_test_data): New variable.
43666         (sqrt_test_towardzero): New function.
43667         (sqrt_downward_test_data): New variable.
43668         (sqrt_test_downward): New function.
43669         (sqrt_upward_test_data): New variable.
43670         (sqrt_test_upward): New function.
43671         (main): Call the new functions.
43673         * math/gen-auto-libm-tests.c: New file.
43674         * math/auto-libm-test-in: Likewise.
43675         * math/auto-libm-test-out: New generated file.
43676         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43677         variables.
43678         (%beautify): Add generated representations of zero.
43679         (top level): Set $auto_input and call parse_auto_input.
43680         (beautify): Remove trailing "f" from hex float constants.
43681         (parse_args): Handle XFAIL_TEST.
43682         (convert_condition): New function.
43683         (or_value): Likewise.
43684         (or_cond_value): Likewise.
43685         (generate_testfile): Handle AUTO_TESTS_* lines.
43686         (parse_auto_input): New function.
43687         * math/libm-test.inc (XFAIL_TEST): New macro.
43688         (ERRNO_UNCHANGED): Update value.
43689         (ERRNO_EDOM): Likewise.
43690         (ERRNO_ERANGE): Likewise.
43691         (IGNORE_RESULT): Likewise.
43692         (TEST_COND_flt_32): New macro.
43693         (TEST_COND_dbl_64): Likewise.
43694         (TEST_COND_ldbl_96_intel): Likewise.
43695         (TEST_COND_ldbl_96_m68k): Likewise.
43696         (TEST_COND_ldbl_128): Likewise.
43697         (TEST_COND_ldbl_128ibm): Likewise.
43698         (TEST_COND_long32): Likewise.
43699         (TEST_COND_long64): Likewise.
43700         (TEST_COND_before_rounding): Likewise.
43701         (TEST_COND_after_rounding): Likewise.
43702         (enable_test): Handle XFAIL_TEST flag.
43703         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43704         with finite results.
43705         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43706         auto-libm-test-out.
43708 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43709             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43711         [BZ #16214]
43712         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43713         __tls_get_addr_internal instead of __tls_get_offset in order to
43714         avoid GOT pointer dependency.  Make rtld export
43715         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43716         __tls_get_addr since we are a __tls_get_offset platform.
43717         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43718         GOT pointer being set up before.
43719         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43721 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43723         * manual/math.texi (Errors in Math Functions): Document accuracy
43724         goals.
43726         [BZ #15004]
43727         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43728         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43729         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43730         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43731         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43732         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43733         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43734         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43735         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43736         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43737         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43738         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43739         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43740         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43741         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43742         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43744         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43745         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43746         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43747         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43748         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43749         Likewise.
43750         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43751         Likewise.
43752         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43753         Likewise.
43754         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43755         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43756         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43757         atomic-feupdateenv and flt-rounds.
43758         * sysdeps/powerpc/nofpu/Versions (libc): Add
43759         __atomic_feholdexcept, __atomic_feclearexcept,
43760         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43761         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43762         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43763         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43764         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43765         here.
43766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43767         Update.
43769         * manual/arith.texi (FP Exceptions): Document that exceptions may
43770         not be raised when matherr is used.
43771         (Math Error Reporting): Document overflow in directed rounding
43772         modes.  Document that errno may not be set when finite values are
43773         returned on overflow.  Document intent to set errno on underflow
43774         only for underflow to zero.
43776         [BZ #16271]
43777         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43778         round-to-nearest then adjust result for other rounding modes.
43779         * include/fenv.h (fegetround): Use libm_hidden_proto.
43780         * math/fegetround.c (fegetround): Use libm_hidden_def.
43781         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43782         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43783         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43784         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43785         Likewise.
43786         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43787         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43788         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43789         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43791 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43793         [BZ #16077]
43794         * nss/Versions (libnss_files): Add
43795         _nss_files_gethostbyname3_r.
43796         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43797         New function.
43798         (HOST_DB_LOOKUP): Remove macro.
43799         (_nss_files_gethostbyname_r): Implement function without the
43800         HOST_DB_LOOKUP macro.
43801         (_nss_files_gethostbyname2_r): Likewise.
43803 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
43805         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43807 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
43809         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43810         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43811         warning.
43813 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43815         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43816         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43817         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43818         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43819         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43820         __fe_nomask_env_priv and attribute_hidden.
43821         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43822         (libc_feupdateenv_test_ppc): Likewise.
43823         (libc_feresetround_ppc): Likewise.
43824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43825         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43826         compat_symbol macro.
43827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43828         (__fe_nomask_env): Likewise.
43829         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43831 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43833         * string/Makefile: Remove ifunc tests.
43834         * string/test-string.h: Define TEST_IFUNC.
43835         * string/test-bcopy-ifunc.c: Remove.
43836         * string/test-bzero-ifunc.c: Likewise.
43837         * string/test-memccpy-ifunc.c: Likewise.
43838         * string/test-memchr-ifunc.c: Likewise.
43839         * string/test-memcmp-ifunc.c: Likewise.
43840         * string/test-memcpy-ifunc.c: Likewise.
43841         * string/test-memmem-ifunc.c: Likewise.
43842         * string/test-memmove-ifunc.c: Likewise.
43843         * string/test-mempcpy-ifunc.c: Likewise.
43844         * string/test-memrchr-ifunc.c: Likewise.
43845         * string/test-memset-ifunc.c: Likewise.
43846         * string/test-rawmemchr-ifunc.c: Likewise.
43847         * string/test-stpcpy-ifunc.c: Likewise.
43848         * string/test-stpncpy-ifunc.c: Likewise.
43849         * string/test-strcasecmp-ifunc.c: Likewise.
43850         * string/test-strcasestr-ifunc.c: Likewise.
43851         * string/test-strcat-ifunc.c: Likewise.
43852         * string/test-strchr-ifunc.c: Likewise.
43853         * string/test-strchrnul-ifunc.c: Likewise.
43854         * string/test-strcmp-ifunc.c: Likewise.
43855         * string/test-strcpy-ifunc.c: Likewise.
43856         * string/test-strcspn-ifunc.c: Likewise.
43857         * string/test-strlen-ifunc.c: Likewise.
43858         * string/test-strncasecmp-ifunc.c: Likewise.
43859         * string/test-strncat-ifunc.c: Likewise.
43860         * string/test-strncmp-ifunc.c: Likewise.
43861         * string/test-strncpy-ifunc.c: Likewise.
43862         * string/test-strnlen-ifunc.c: Likewise.
43863         * string/test-strpbrk-ifunc.c: Likewise.
43864         * string/test-strrchr-ifunc.c: Likewise.
43865         * string/test-strspn-ifunc.c: Likewise.
43866         * string/test-strstr-ifunc.c: Likewise.
43868 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43870         * benchtests/Makefile: Remove ifunc tests.
43871         * benchtests/bench-string.h: Define TEST_IFUNC.
43872         * benchtests/bench-bcopy-ifunc.c: Remove.
43873         * benchtests/bench-bzero-ifunc.c: Likewise.
43874         * benchtests/bench-memccpy-ifunc.c: Likewise.
43875         * benchtests/bench-memchr-ifunc.c: Likewise.
43876         * benchtests/bench-memcmp-ifunc.c: Likewise.
43877         * benchtests/bench-memcpy-ifunc.c: Likewise.
43878         * benchtests/bench-memmem-ifunc.c: Likewise.
43879         * benchtests/bench-memmove-ifunc.c: Likewise.
43880         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43881         * benchtests/bench-memrchr-ifunc.c: Likewise.
43882         * benchtests/bench-memset-ifunc.c: Likewise.
43883         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43884         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43885         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43886         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43887         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43888         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43889         * benchtests/bench-strcat-ifunc.c: Likewise.
43890         * benchtests/bench-strchr-ifunc.c: Likewise.
43891         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43892         * benchtests/bench-strcmp-ifunc.c: Likewise.
43893         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43894         * benchtests/bench-strcpy-ifunc.c: Likewise.
43895         * benchtests/bench-strcspn-ifunc.c: Likewise.
43896         * benchtests/bench-strlen-ifunc.c: Likewise.
43897         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43898         * benchtests/bench-strncat-ifunc.c: Likewise.
43899         * benchtests/bench-strncmp-ifunc.c: Likewise.
43900         * benchtests/bench-strncpy-ifunc.c: Likewise.
43901         * benchtests/bench-strnlen-ifunc.c: Likewise.
43902         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43903         * benchtests/bench-strrchr-ifunc.c: Likewise.
43904         * benchtests/bench-strsep-ifunc.c: Likewise.
43905         * benchtests/bench-strspn-ifunc.c: Likewise.
43906         * benchtests/bench-strstr-ifunc.c: Likewise.
43908 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43910         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43912 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43914         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43915         * rt/aio.h: Likewise.
43916         * sysdeps/gnu/bits/utmp.h: Likewise.
43917         * sysdeps/gnu/bits/utmpx.h: Likewise.
43918         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43919         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43920         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43921         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43922         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43923         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43924         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43925         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43926         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43927         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43928         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43929         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43930         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43932         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43933         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43934         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43935         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43936         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43937         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43938         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43939         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43940         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43941         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43942         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43943         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43944         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43945         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43946         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43947         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43948         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43949         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43950         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43951         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43952         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43953         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43954         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43955         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43956         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43957         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43958         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43959         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43961 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43963         [BZ #16245]
43964         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43965         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43967 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43969         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43970         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43971         Likewise.
43973 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43976         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43977         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43978         (__fesetround): Remove define.
43979         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43980         rounding and exceptions handling.
43981         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43982         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43983         (__fe_nomask_env): Likewise.
43984         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43985         __fegetround instead of fegetround.
43986         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43987         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43989 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43991         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43992         it's there.
43994         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43996 2013-11-21  Meador Inge  <meadori@codesourcery.com>
43998         [BZ #11157]
43999         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44000         (encrypt_r): Likewise.
44001         * malloc/obstack.h (obstack_free): Likewise.
44002         * posix/unistd.h (encrypt): Likewise.
44004 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44006         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44007         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44008         DL_CALL_DT_FINI() that call the functions directly.
44009         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44010         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44011         * elf/dl-fini.c: Likewise.
44013 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44015         * malloc/hooks.c (memalign_check): Add alignment rounding.
44016         * malloc/malloc.c (_mid_memalign): New function.
44017         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44018         Implement by calling _mid_memalign.
44019         * manual/probes.texi (Memory Allocation Probes): Remove
44020         memory_valloc_retry and memory_pvalloc_retry.
44022 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44024         * locale/programs/locarchive.c (open_archive): Add const
44025         qualifier to ARCHIVEFNAME and copy default fname to
44026         DEFAULT_FNAME.
44028         [BZ #15601]
44029         * libio/tst-widetext.input: Rename Oriya to Odia.
44030         * locale/iso-639.def: Likewise.
44032         * manual/probes.texi (Mathematical Function Probes): Add
44033         documentation for sin, cos, asin and acos probes.
44034         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44035         (__sin32): Add slowasin probe.
44036         (__cos32): Add slowacos probe.
44037         (__mpsin): Add slowsin probe.
44038         (__mpcos): Add slowcos probe.
44040 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44042         [BZ #15483]
44043         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44044         thread-local __sim_exceptions_thread and global
44045         __sim_exceptions_global.
44046         (__sim_disabled_exceptions): Change to thread-local
44047         __sim_disabled_exceptions_thread and global
44048         __sim_disabled_exceptions_global.
44049         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44050         and global __sim_round_mode_global.
44051         (__simulate_exceptions): Use thread-local floating-point state and
44052         set global state from it as needed.
44053         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44054         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44055         __sim_round_mode_thread.
44056         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44057         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44058         and global __sim_exceptions_global.
44059         (__sim_disabled_exceptions): Change to thread-local
44060         __sim_disabled_exceptions_thread and global
44061         __sim_disabled_exceptions_global.
44062         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44063         and global __sim_round_mode_global.
44064         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44065         (SIM_SET_GLOBAL): Likewise.
44066         * sysdeps/powerpc/soft-fp/sfp-machine.h
44067         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44068         __sim_round_mode_thread.
44069         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44070         __sim_disabled_exceptions_thread.
44071         (__sim_exceptions): Change to __sim_exceptions_thread.
44072         (__sim_disabled_exceptions): Change to
44073         __sim_disabled_exceptions_thread.
44074         (__sim_round_mode): Change to __sim_round_mode_thread.
44075         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44076         thread-local floating-point state and set global state from it as
44077         needed.
44078         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44079         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44080         (__sim_disabled_exceptions): Remove extern declaration.
44081         (feenableexcept): Use thread-local floating-point state and set
44082         global state from it as needed.
44083         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44084         extern declaration.
44085         (__sim_disabled_exceptions): Likewise.
44086         (__sim_round_mode): Likewise.
44087         (__fegetenv): Use thread-local floating-point state.
44088         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44089         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44090         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44091         floating-point state and set global state from it as needed.
44092         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44093         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44094         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44095         Likewise.
44096         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44097         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44098         Likewise.
44099         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44100         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44101         Use __sim_round_mode_thread.
44102         * math/test-fenv-tls.c: New file.
44103         * math/Makefile (tests): Add test-fenv-tls.
44104         ($(objpfx)test-fenv-tls): Depend on
44105         $(common-objpfx)nptl/libpthread.so.
44107 2013-11-19  Andreas Schwab  <schwab@suse.de>
44109         * locale/programs/locale.c (show_info): Decode wordarray elements.
44110         * locale/categories.def (LC_MONETARY): Add element for
44111         _NL_MONETARY_CRNCYSTR.
44112         * locale/C-monetary.c (conversion_rate): New variable.
44113         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44114         element.
44116 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44118         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44119         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44121 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44123         * elf/Makefile (tst-auxv): New test.
44124         * elf/tst-auxv.c: New
44125         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44127 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44129         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44130         (hidden_proto): Caller changed.
44131         (hidden_tls_proto): New macro.
44132         (libc_hidden_tls_proto): Likewise.
44133         (rtld_hidden_tls_proto): Likewise.
44134         (libm_hidden_tls_proto): Likewise.
44135         (libresolv_hidden_tls_proto): Likewise.
44136         (librt_hidden_tls_proto): Likewise.
44137         (libdl_hidden_tls_proto): Likewise.
44138         (libnss_files_hidden_tls_proto): Likewise.
44139         (libnsl_hidden_tls_proto): Likewise.
44140         (libnss_nisplus_hidden_tls_proto): Likewise.
44141         (libutil_hidden_tls_proto): Likewise.
44143 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44145         [BZ #10253]
44146         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44147         (decompose_rpath): Defer expansion to fillin_rpath.
44148         (_dl_init_paths): Pass linkmap to fillin_rpath.
44150 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44152         * benchtests/Makefile: Add strsep.
44153         * benchtests/bench-strsep.c: New file: strsep benchtest.
44154         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44156 2013-11-18  Andreas Schwab  <schwab@suse.de>
44158         * locale/programs/locale.c (show_info) [case byte]: Check for
44159         '\377' instead of '\177'.
44160         * locale/C-monetary.c (not_available): Always use "\377".
44161         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44162         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44163         detect unavailable sign_posn locale elements.
44164         * locale/localeconv.c (__localeconv): For grouping and
44165         mon_grouping handle "\177" and "\377" like no grouping.
44166         (INT_ELEM): New macro.  Use it to set all numeric members.
44167         * locale/programs/ld-monetary.c (monetary_read)
44168         <tok_mon_grouping>: Normalize single -1 to the empty string.
44169         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44170         Likewise.
44172 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44174         [BZ #16055]
44175         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44176         when we match (nil).
44177         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44179 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44181         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44182         (NO_TEST_INLINE): Update value.
44183         (ERRNO_UNCHANGED): Likewise.
44184         (ERRNO_EDOM): Likewise.
44185         (ERRNO_ERANGE): Likewise.
44186         (IGNORE_RESULT): Likewise.
44187         (check_float_internal): Check signs of NaN results if
44188         TEST_NAN_SIGN used.
44189         (check_complex): Pass TEST_NAN_SIGN flag through to second
44190         check_float_internal call.
44191         (copysign_test_data): Add tests with quiet NaNs as second
44192         argument.  Use TEST_NAN_SIGN.
44193         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44194         TEST_NAN_SIGN.
44195         (signbit_test_data): Add tests of quiet NaN argument.
44196         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44198         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44199         $ignore_result.
44200         (parse_args): Handle function results specified as IGNORE.
44201         * math/libm-test.inc (IGNORE_RESULT): New macro.
44202         (check_float_internal): Do not check numerical result if flag
44203         IGNORE_RESULT set.
44204         (check_complex): Pass through IGNORE_RESULT to second
44205         check_float_internal call.
44206         (check_int): Do not check numerical result if flag IGNORE_RESULT
44207         set.
44208         (check_long): Likewise.
44209         (check_bool): Likewise.
44210         (check_longlong): Likewise.
44211         (lrint_test_data): Add tests of infinite and NaN arguments.
44212         (lrint_tonearest_test_data): Likewise.
44213         (lrint_towardzero_test_data): Likewise.
44214         (lrint_downward_test_data): Likewise.
44215         (lrint_upward_test_data): Likewise.
44216         (llrint_test_data): Likewise.
44217         (llrint_tonearest_test_data): Likewise.
44218         (llrint_towardzero_test_data): Likewise.
44219         (llrint_downward_test_data): Likewise.
44220         (llrint_upward_test_data): Likewise.
44221         (lround_test_data): Likewise.
44222         (llround_test_data): Likewise.
44224         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44225         (ERRNO_UNCHANGED): Update value.
44226         (ERRNO_EDOM): Likewise.
44227         (ERRNO_ERANGE): Likewise.
44228         (NO_TEST_INLINE_FLOAT): New macro.
44229         (NO_TEST_INLINE_DOUBLE): Likewise.
44230         (enable_test): New function.
44231         (RUN_TEST_f_f): Check enable_test before running test.
44232         (RUN_TEST_2_f): Likewise.
44233         (RUN_TEST_fff_f): Likewise.
44234         (RUN_TEST_c_f): Likewise.
44235         (RUN_TEST_f_f1): Likewise.
44236         (RUN_TEST_fF_f1): Likewise.
44237         (RUN_TEST_fI_f1): Likewise.
44238         (RUN_TEST_ffI_f1): Likewise.
44239         (RUN_TEST_c_c): Likewise.
44240         (RUN_TEST_cc_c): Likewise.
44241         (RUN_TEST_f_i): Likewise.
44242         (RUN_TEST_f_i_tg): Likewise.
44243         (RUN_TEST_ff_i_tg): Likewise.
44244         (RUN_TEST_f_b): Likewise.
44245         (RUN_TEST_f_b_tg): Likewise.
44246         (RUN_TEST_f_l): Likewise.
44247         (RUN_TEST_f_L): Likewise.
44248         (RUN_TEST_fFF_11): Likewise.
44249         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44250         conditionals.
44251         (cosh_test_data): Likewise.
44252         (exp_test_data): Likewise.
44253         (expm1_test_data): Likewise.
44254         (hypot_test_data): Likewise.
44255         (pow_test_data): Likewise.
44256         (sinh_test_data): Likewise.
44257         (tanh_test_data): Likewise.
44258         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44259         flags argument.
44261         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44262         tests with quiet NaN input and output.
44263         (acosh_test_data): Likewise.
44264         (asin_test_data): Likewise.
44265         (asinh_test_data): Likewise.
44266         (atan_test_data): Likewise.
44267         (atanh_test_data): Likewise.
44268         (atan2_test_data): Likewise.
44269         (cbrt_test_data): Likewise.
44270         (cos_test_data): Likewise.
44271         (cosh_test_data): Likewise.
44272         (erf_test_data): Likewise.
44273         (erfc_test_data): Likewise.
44274         (exp_test_data): Likewise.
44275         (exp10_test_data): Likewise.
44276         (exp2_test_data): Likewise.
44277         (expm1_test_data): Likewise.
44278         (hypot_test_data): Likewise.
44279         (j0_test_data): Likewise.
44280         (j1_test_data): Likewise.
44281         (jn_test_data): Likewise.
44282         (lgamma_test_data): Likewise.
44283         (log_test_data): Likewise.
44284         (log10_test_data): Likewise.
44285         (log1p_test_data): Likewise.
44286         (log2_test_data): Likewise.
44287         (pow_test_data): Likewise.
44288         (scalb_test_data): Likewise.
44289         (sin_test_data): Likewise.
44290         (sincos_test_data): Likewise.
44291         (sinh_test_data): Likewise.
44292         (tan_test_data): Likewise.
44293         (tanh_test_data): Likewise.
44294         (tgamma_test_data): Likewise.
44295         (y0_test_data): Likewise.
44296         (y1_test_data): Likewise.
44297         (yn_test_data): Likewise.
44299         [BZ #16167]
44300         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44301         argument being NaN and avoid computations with second argument in
44302         that case.
44303         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44304         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44305         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44307 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44309         * locale/iso-639.def: Add Chitwani Tharu (the).
44311 2013-11-14  Andreas Schwab  <schwab@suse.de>
44313         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44314         word instead of empty string.
44316 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44319         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44321         (__fe_nomask_env): Likewise.
44323 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44325         * benchtests/bench-timing.h: Include time.h.
44327 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44329         [BZ #15997]
44330         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44331         to 3.4.0 for x32.
44332         * sysdeps/unix/sysv/linux/configure: Regenerated.
44334 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44336         [BZ #16151]
44337         * stdlib/strtod_l.c (round_and_return): Do not consider
44338         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44339         exponent one less than half the least subnormal exponent.
44340         * stdlib/test-strtod-round-data: Add more tests.
44341         * stdlib/tst-strtod-round.c (tests): Regenerated.
44343 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44345         [BZ #14143]
44346         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44347         (__fe_mask_env): Likewise.
44348         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44349         libm_hidden_proto and add function prototype.
44350         (__fe_mask_env): Add function prototype.
44351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44352         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44354         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44356         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44358 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44360         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44361         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44363 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44365         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44366         of htab_find_slot().
44368 2013-11-11  David S. Miller  <davem@davemloft.net>
44370         [BZ #16150]
44371         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44372         symbol in the non-vis3 case in static builds.
44373         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44374         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44375         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44376         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44378 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44380         [BZ #387]
44381         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44382         it is empty.
44384 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44386         * benchtests/Makefile: Add bench-strtod.
44387         * benchtests/bench-strtod.c: New file: strtod benchtest
44389 2013-11-11  Andreas Schwab  <schwab@suse.de>
44391         [BZ #16153]
44392         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44393         terminating NUL in key length.
44395 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44397         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44398         Add artificial ODP entry for vDSO symbol for PPC64.
44399         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44400         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44402 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44404         [BZ #15374]
44405         * nss/getent.c (services_keys): Recognize services starting with digit.
44407 2013-11-06  David S. Miller  <davem@davemloft.net>
44409         [BZ #15985]
44410         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44411         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44413 2013-11-06  Will Newton  <will.newton@linaro.org>
44415         * manual/memory.texi (Malloc Examples): Remove register
44416         keyword from examples.
44418 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44420         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44422 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44424         [BZ #6981]
44425         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44426         depending on [__GCC_IEC_559 > 0].
44427         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44428         depending on [__GCC_IEC_559_COMPLEX > 0].
44430 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44432         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44433         to iso-639.def.
44435 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44437         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44439 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44441         [BZ #16112]
44442         * malloc/malloc (malloc_info): Do not handle first bin as
44443         special case.
44445 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44447         * locale/iso-639.def: Add Central Nahuatl (nhn).
44449 2013-11-01  Bruno Haible  <bruno@clisp.org>
44451         [BZ #7003]
44452         * manual/math.texi (BSD Random): Specify range upper bound as
44453         in POSIX.
44455 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44457         * locale/iso-639.def: Add Meadow Mari (mhr).
44459 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44461         [BZ #14752], [BZ #15763]
44462         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44463         Validate name.
44464         * rt/tst_shm.c: Add test for escaping directory.
44466 2013-10-31  Andreas Schwab  <schwab@suse.de>
44468         [BZ #15917]
44469         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44470         followed by 'x' as part of digit sequence.
44471         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44473 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44475         [BZ #16037]
44476         * configure.ac: allow GNU Make 4.0 and greater.
44477         * configure: Regenerated.
44479 2013-10-30  Will Newton  <will.newton@linaro.org>
44481         [BZ #16038]
44482         * malloc/hooks.c (memalign_check): Limit alignment to the
44483         maximum representable power of two.
44484         * malloc/malloc.c (__libc_memalign): Likewise.
44485         * malloc/tst-memalign.c (do_test): Add test for very
44486         large alignment values.
44487         * malloc/tst-posix_memalign.c (do_test): Likewise.
44489 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44491         [BZ #11087]
44492         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44493         (munmap_chunk): Likewise.
44494         (mremap_chunk): Likewise.
44496 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44498         [BZ #15799]
44499         * stdlib/div.c (div): Remove obsolete code.
44500         * stdlib/ldiv.c (ldiv): Likewise.
44501         * stdlib/lldiv.c (lldiv): Likewise.
44503 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44505         [BZ #16071]
44506         * nss/nss_files/files-XXX.c (get_contents_ret): New
44507         enumerator.
44508         (get_contents): New function.
44509         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44511 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44513         * configure.in: Moved to ...
44514         * configure.ac: ... here. Change reference to configure.in
44515         to configure.ac.
44516         * sysdeps/arm/preconfigure.ac: ... here.
44517         configure.in to configure.ac.
44518         * sysdeps/gnu/configure.in: Moved to ...
44519         * sysdeps/gnu/configure.ac: ... here.
44520         * sysdeps/i386/configure.in: Moved to ...
44521         * sysdeps/i386/configure.ac: ... here.
44522         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44523         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44524         * sysdeps/mach/configure.in: Moved to ...
44525         * sysdeps/mach/configure.ac: ... here.
44526         * sysdeps/mach/hurd/configure.in: Moved to ...
44527         * sysdeps/mach/hurd/configure.ac: ... here.
44528         * sysdeps/powerpc/configure.in: Moved to ...
44529         * sysdeps/powerpc/configure.ac: ... here.
44530         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44531         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44532         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44533         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44534         * sysdeps/s390/s390-32/configure.in: Moved to ...
44535         * sysdeps/s390/s390-32/configure.ac: ... here.
44536         * sysdeps/s390/s390-64/configure.in: Moved to ...
44537         * sysdeps/s390/s390-64/configure.ac: ... here.
44538         * sysdeps/sh/configure.in: Moved to ...
44539         * sysdeps/sh/configure.ac: ... here.
44540         * sysdeps/sparc/configure.in: Moved to ...
44541         * sysdeps/sparc/configure.ac: ... here.
44542         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44543         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44544         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44545         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44546         * sysdeps/x86_64/configure.in: Moved to ...
44547         * sysdeps/x86_64/configure.ac: ... here.
44548         * sysdeps/x86_64/preconfigure.in: Moved to ...
44549         * sysdeps/x86_64/preconfigure.ac: ... here.
44550         * aclocal.m4: Change reference to configure.in to configure.ac.
44551         * config.h.in: Likewise.
44552         * manual/install.texi: Likewise.
44553         * manual/maint.texi: Likewise.
44554         * Makefile: Likewise.
44555         * malloc/Makefile: Likewise.
44556         * nscd/Makefile: Likewise.
44557         * Makeconfig: Change reference to configure.in and
44558         preconfigure.in to configure.ac and preconfigure.ac
44559         respectively.
44560         * INSTALL: Regenerated.
44561         * configure: Likewise.
44562         * sysdeps/gnu/configure: Likewise.
44563         * sysdeps/i386/configure: Likewise.
44564         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44565         * sysdeps/mach/configure: Likewise.
44566         * sysdeps/mach/hurd/configure: Likewise.
44567         * sysdeps/powerpc/configure: Likewise.
44568         * sysdeps/powerpc/powerpc32/configure: Likewise.
44569         * sysdeps/powerpc/powerpc64/configure: Likewise.
44570         * sysdeps/s390/s390-32/configure: Likewise.
44571         * sysdeps/s390/s390-64/configure: Likewise.
44572         * sysdeps/sh/configure: Likewise.
44573         * sysdeps/sparc/configure: Likewise.
44574         * sysdeps/unix/sysv/linux/configure: Likewise.
44575         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44576         * sysdeps/x86_64/configure: Likewise.
44577         * sysdeps/x86_64/preconfigure: Likewise.
44579 2013-10-29  Andreas Schwab  <schwab@suse.de>
44581         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44583 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44585         * benchtests/pow-inputs: Add new inputs.
44587         * benchtests/exp-inputs: Add new inputs.
44589         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44590         conditional check for return value.
44591         (__cos32): Likewise.
44593 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44595         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44596         to provide a boost for large inputs with word alignment.
44597         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44598         implementation based on optimized PPC64 strcpy.
44599         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44600         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44601         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44602         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44604 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44606         [BZ #2801]
44607         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44609 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44611         [BZ #14876]
44612         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44613         * time/tst-strptime.c (day_tests): Add testcase.
44615 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44617         [BZ #14029]
44618         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44620 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44622         [BZ #16074]
44623         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44624         MAP_FAILED on error.
44626 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44628         [BZ #16072]
44629         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44630         heap for large requests.
44632 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44634         [BZ #9954]
44635         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44636         result if the result has no associated interface.
44637         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44638         interface for all 127.X.Y.Z addresses.
44640 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44642         * locale/iso-639.def: Add Ligurian (lij)
44644 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44646         [BZ #15825]
44647         * sunrpc/rpc_main.c: Document rpcgen -5.
44649 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44651         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44653 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44655         [BZ #10278]
44656         * posix/glob.c: Match only directories when trailing slash is present.
44657         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44658         (main): Add testcase.
44660 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44662         [BZ #15670]
44663         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44665 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44667         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44668         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44669         AUTH_DES and cindex for FIPS 140-2.
44670         (DES Encryption): Add cindex FIPS 46-3.
44672         * locale/locarchive.h (struct locarhandle): Add fname.
44673         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44674         if an optional argument was specified to --list-archive,
44675         otherwise NULL.
44676         * locale/programs/locarchive.c (show_archive_content): Take new
44677         argument fname and pass it via ah.fname to open_archive.
44678         * locale/programs/localedef.h: Update decl.
44679         (open_archive): If AH->fname is non-null, open that file
44680         rather than the default file name, and don't ignore ENOENT.
44681         (create_archive): Set AH.fname to NULL.
44682         (delete_locales_from_archive): Likewise.
44683         (add_locales_to_archive): Likewise.
44684         * locale/programs/locfile.c (write_all_categories): Likewise.
44686 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44687             Aldy Hernandez  <aldyh@redhat.com>
44689         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44690         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44691         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44692         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44693         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44694         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44695         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44696         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44697         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44698         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44699         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44700         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44701         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44702         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44703         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44704         Likewise.
44705         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44706         Likewise.
44707         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44708         Likewise.
44709         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44710         Likewise.
44711         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44712         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44713         Likewise.
44714         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44715         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44716         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44717         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44718         Likewise.
44719         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44720         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44721         * sysdeps/powerpc/preconfigure: Likewise.
44722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44723         Likewise.
44724         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44725         Replace contents of file by #include of <fenv_libc.h>.
44726         * sysdeps/powerpc/soft-fp/sfp-machine.h
44727         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44728         and <sys/prctl.h>.
44729         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44730         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44731         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44732         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44733         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44734         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44736         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44737         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44738         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44739         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44740         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44742         Allow copysignl PLT reference to be missing.
44744 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44745             Joseph Myers  <joseph@codesourcery.com
44747         [BZ #15948]
44748         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44749         single character.
44750         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44752 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44754         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44755         * elf/tst-tls1.c: Likewise.
44756         * elf/tst-tls10.h: Likewise.
44757         * elf/tst-tls14.c: Likewise.
44758         * elf/tst-tls2.c: Likewise.
44759         * elf/tst-tls3.c: Likewise.
44760         * elf/tst-tls4.c: Likewise.
44761         * elf/tst-tls5.c: Likewise.
44762         * elf/tst-tls6.c: Likewise.
44763         * elf/tst-tls7.c: Likewise.
44764         * elf/tst-tls8.c: Likewise.
44765         * elf/tst-tls9.c: Likewise.
44766         * elf/tst-tlsmod1.c: Likewise.
44767         * elf/tst-tlsmod13.c: Likewise.
44768         * elf/tst-tlsmod13a.c: Likewise.
44769         * elf/tst-tlsmod14a.c: Likewise.
44770         * elf/tst-tlsmod16a.c: Likewise.
44771         * elf/tst-tlsmod16b.c: Likewise.
44772         * elf/tst-tlsmod2.c: Likewise.
44773         * elf/tst-tlsmod3.c: Likewise.
44774         * elf/tst-tlsmod4.c: Likewise.
44775         * elf/tst-tlsmod5.c: Likewise.
44776         * elf/tst-tlsmod6.c: Likewise.
44778 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
44780         [BZ #12486]
44781         * malloc/malloc.c: remove checks for statistics.
44783 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44785         [BZ #15277]
44786         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44787         * inet/tst-network.c: Add testcase.
44789 2013-10-17  Andreas Schwab  <schwab@suse.de>
44791         [BZ #15218]
44792         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44793         to determine canonical name.
44795 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44797         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44798         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44799         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44800         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44801         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44802         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44803         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44804         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44805         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44806         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44807         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44808         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44809         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44810         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44811         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44812         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44813         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44814         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44815         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44816         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44817         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44818         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44819         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44820         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44821         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44822         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44823         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44824         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44825         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44826         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44827         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44828         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44834         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44835         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44836         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44837         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44838         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44839         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44840         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44841         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44842         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44843         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44845         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44846         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44847         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44848         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44849         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44850         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44851         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44852         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44853         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44854         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44856 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44858         [BZ #16041]
44859         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44860         make result into a quiet NaN.
44862 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44864         * soft-fp/adddf3.c: Fix horizontal whitespace.
44865         * soft-fp/addsf3.c: Likewise.
44866         * soft-fp/addtf3.c: Likewise.
44867         * soft-fp/divdf3.c: Likewise.
44868         * soft-fp/divsf3.c: Likewise.
44869         * soft-fp/divtf3.c: Likewise.
44870         * soft-fp/double.h: Likewise.
44871         * soft-fp/eqdf2.c: Likewise.
44872         * soft-fp/eqsf2.c: Likewise.
44873         * soft-fp/eqtf2.c: Likewise.
44874         * soft-fp/extenddftf2.c: Likewise.
44875         * soft-fp/extended.h: Likewise.
44876         * soft-fp/extendsfdf2.c: Likewise.
44877         * soft-fp/extendsftf2.c: Likewise.
44878         * soft-fp/extendxftf2.c: Likewise.
44879         * soft-fp/fixdfdi.c: Likewise.
44880         * soft-fp/fixdfsi.c: Likewise.
44881         * soft-fp/fixdfti.c: Likewise.
44882         * soft-fp/fixsfdi.c: Likewise.
44883         * soft-fp/fixsfsi.c: Likewise.
44884         * soft-fp/fixsfti.c: Likewise.
44885         * soft-fp/fixtfdi.c: Likewise.
44886         * soft-fp/fixtfsi.c: Likewise.
44887         * soft-fp/fixtfti.c: Likewise.
44888         * soft-fp/fixunsdfdi.c: Likewise.
44889         * soft-fp/fixunsdfsi.c: Likewise.
44890         * soft-fp/fixunsdfti.c: Likewise.
44891         * soft-fp/fixunssfdi.c: Likewise.
44892         * soft-fp/fixunssfsi.c: Likewise.
44893         * soft-fp/fixunssfti.c: Likewise.
44894         * soft-fp/fixunstfdi.c: Likewise.
44895         * soft-fp/fixunstfsi.c: Likewise.
44896         * soft-fp/fixunstfti.c: Likewise.
44897         * soft-fp/floatdidf.c: Likewise.
44898         * soft-fp/floatdisf.c: Likewise.
44899         * soft-fp/floatditf.c: Likewise.
44900         * soft-fp/floatsidf.c: Likewise.
44901         * soft-fp/floatsisf.c: Likewise.
44902         * soft-fp/floatsitf.c: Likewise.
44903         * soft-fp/floattidf.c: Likewise.
44904         * soft-fp/floattisf.c: Likewise.
44905         * soft-fp/floattitf.c: Likewise.
44906         * soft-fp/floatundidf.c: Likewise.
44907         * soft-fp/floatundisf.c: Likewise.
44908         * soft-fp/floatunditf.c: Likewise.
44909         * soft-fp/floatunsidf.c: Likewise.
44910         * soft-fp/floatunsisf.c: Likewise.
44911         * soft-fp/floatunsitf.c: Likewise.
44912         * soft-fp/floatuntidf.c: Likewise.
44913         * soft-fp/floatuntisf.c: Likewise.
44914         * soft-fp/floatuntitf.c: Likewise.
44915         * soft-fp/fmadf4.c: Likewise.
44916         * soft-fp/fmasf4.c: Likewise.
44917         * soft-fp/fmatf4.c: Likewise.
44918         * soft-fp/gedf2.c: Likewise.
44919         * soft-fp/gesf2.c: Likewise.
44920         * soft-fp/getf2.c: Likewise.
44921         * soft-fp/ledf2.c: Likewise.
44922         * soft-fp/lesf2.c: Likewise.
44923         * soft-fp/letf2.c: Likewise.
44924         * soft-fp/muldf3.c: Likewise.
44925         * soft-fp/mulsf3.c: Likewise.
44926         * soft-fp/multf3.c: Likewise.
44927         * soft-fp/negdf2.c: Likewise.
44928         * soft-fp/negsf2.c: Likewise.
44929         * soft-fp/negtf2.c: Likewise.
44930         * soft-fp/op-1.h: Likewise.
44931         * soft-fp/op-2.h: Likewise.
44932         * soft-fp/op-4.h: Likewise.
44933         * soft-fp/op-8.h: Likewise.
44934         * soft-fp/op-common.h: Likewise.
44935         * soft-fp/quad.h: Likewise.
44936         * soft-fp/single.h: Likewise.
44937         * soft-fp/soft-fp.h: Likewise.
44938         * soft-fp/sqrtdf2.c: Likewise.
44939         * soft-fp/sqrtsf2.c: Likewise.
44940         * soft-fp/sqrttf2.c: Likewise.
44941         * soft-fp/subdf3.c: Likewise.
44942         * soft-fp/subsf3.c: Likewise.
44943         * soft-fp/subtf3.c: Likewise.
44944         * soft-fp/truncdfsf2.c: Likewise.
44945         * soft-fp/trunctfdf2.c: Likewise.
44946         * soft-fp/trunctfsf2.c: Likewise.
44947         * soft-fp/trunctfxf2.c: Likewise.
44948         * soft-fp/unorddf2.c: Likewise.
44949         * soft-fp/unordsf2.c: Likewise.
44950         * soft-fp/unordtf2.c: Likewise.
44952 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44954         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44955         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44957 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44959         * elf/dl-libc.c: Clear initfini list after freeing.
44961 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44963         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44964         * soft-fp/addsf3.c: Likewise.
44965         * soft-fp/addtf3.c: Likewise.
44966         * soft-fp/divdf3.c: Likewise.
44967         * soft-fp/divsf3.c: Likewise.
44968         * soft-fp/divtf3.c: Likewise.
44969         * soft-fp/double.h: Likewise.
44970         * soft-fp/eqdf2.c: Likewise.
44971         * soft-fp/eqsf2.c: Likewise.
44972         * soft-fp/eqtf2.c: Likewise.
44973         * soft-fp/extenddftf2.c: Likewise.
44974         * soft-fp/extended.h: Likewise.
44975         * soft-fp/extendsfdf2.c: Likewise.
44976         * soft-fp/extendsftf2.c: Likewise.
44977         * soft-fp/extendxftf2.c: Likewise.
44978         * soft-fp/fixdfdi.c: Likewise.
44979         * soft-fp/fixdfsi.c: Likewise.
44980         * soft-fp/fixdfti.c: Likewise.
44981         * soft-fp/fixsfdi.c: Likewise.
44982         * soft-fp/fixsfsi.c: Likewise.
44983         * soft-fp/fixsfti.c: Likewise.
44984         * soft-fp/fixtfdi.c: Likewise.
44985         * soft-fp/fixtfsi.c: Likewise.
44986         * soft-fp/fixtfti.c: Likewise.
44987         * soft-fp/fixunsdfdi.c: Likewise.
44988         * soft-fp/fixunsdfsi.c: Likewise.
44989         * soft-fp/fixunsdfti.c: Likewise.
44990         * soft-fp/fixunssfdi.c: Likewise.
44991         * soft-fp/fixunssfsi.c: Likewise.
44992         * soft-fp/fixunssfti.c: Likewise.
44993         * soft-fp/fixunstfdi.c: Likewise.
44994         * soft-fp/fixunstfsi.c: Likewise.
44995         * soft-fp/fixunstfti.c: Likewise.
44996         * soft-fp/floatdidf.c: Likewise.
44997         * soft-fp/floatdisf.c: Likewise.
44998         * soft-fp/floatditf.c: Likewise.
44999         * soft-fp/floatsidf.c: Likewise.
45000         * soft-fp/floatsisf.c: Likewise.
45001         * soft-fp/floatsitf.c: Likewise.
45002         * soft-fp/floattidf.c: Likewise.
45003         * soft-fp/floattisf.c: Likewise.
45004         * soft-fp/floattitf.c: Likewise.
45005         * soft-fp/floatundidf.c: Likewise.
45006         * soft-fp/floatundisf.c: Likewise.
45007         * soft-fp/floatunsidf.c: Likewise.
45008         * soft-fp/floatunsisf.c: Likewise.
45009         * soft-fp/floatuntidf.c: Likewise.
45010         * soft-fp/floatuntisf.c: Likewise.
45011         * soft-fp/floatuntitf.c: Likewise.
45012         * soft-fp/fmadf4.c: Likewise.
45013         * soft-fp/fmasf4.c: Likewise.
45014         * soft-fp/fmatf4.c: Likewise.
45015         * soft-fp/gedf2.c: Likewise.
45016         * soft-fp/gesf2.c: Likewise.
45017         * soft-fp/getf2.c: Likewise.
45018         * soft-fp/ledf2.c: Likewise.
45019         * soft-fp/lesf2.c: Likewise.
45020         * soft-fp/letf2.c: Likewise.
45021         * soft-fp/muldf3.c: Likewise.
45022         * soft-fp/mulsf3.c: Likewise.
45023         * soft-fp/multf3.c: Likewise.
45024         * soft-fp/negdf2.c: Likewise.
45025         * soft-fp/negsf2.c: Likewise.
45026         * soft-fp/negtf2.c: Likewise.
45027         * soft-fp/op-1.h: Likewise.
45028         * soft-fp/op-2.h: Likewise.
45029         * soft-fp/op-4.h: Likewise.
45030         * soft-fp/op-8.h: Likewise.
45031         * soft-fp/op-common.h: Likewise.
45032         * soft-fp/quad.h: Likewise.
45033         * soft-fp/single.h: Likewise.
45034         * soft-fp/soft-fp.h: Likewise.
45035         * soft-fp/sqrtdf2.c: Likewise.
45036         * soft-fp/sqrtsf2.c: Likewise.
45037         * soft-fp/sqrttf2.c: Likewise.
45038         * soft-fp/subdf3.c: Likewise.
45039         * soft-fp/subsf3.c: Likewise.
45040         * soft-fp/subtf3.c: Likewise.
45041         * soft-fp/truncdfsf2.c: Likewise.
45042         * soft-fp/trunctfdf2.c: Likewise.
45043         * soft-fp/trunctfsf2.c: Likewise.
45044         * soft-fp/trunctfxf2.c: Likewise.
45045         * soft-fp/unorddf2.c: Likewise.
45046         * soft-fp/unordsf2.c: Likewise.
45047         * soft-fp/unordtf2.c: Likewise.
45049 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45051         [BZ #15672]
45052         * misc/error.c (error_tail): Fix possible buffer overflow.
45054 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45056         [BZ #13028]
45057         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45058         address.
45060 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45062         [BZ #832]
45063         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45064         testing pipefail option.
45066 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45068         * soft-fp/double.h: Indent preprocessor directives inside #if.
45069         * soft-fp/extended.h: Likewise.
45070         * soft-fp/op-2.h: Likewise.
45071         * soft-fp/op-4.h: Likewise.
45072         * soft-fp/op-common.h: Likewise.
45073         * soft-fp/quad.h: Likewise.
45074         * soft-fp/single.h: Likewise.
45075         * soft-fp/soft-fp.h: Likewise.
45077 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45079         * iconv/iconv_prog.c: Fix typos.
45080         * stdio-common/psiginfo-data.h: Likewise.
45082 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45084         [BZ #15764]
45085         * locale/setlocale.c: Fix typo.
45087 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45089         [BZ #16036]
45090         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45091         signaling NaN arguments.
45092         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45093         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45095         [BZ #14910]
45096         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45097         unordered operands.
45098         * soft-fp/gesf2.c (__gesf2): Likewise.
45099         * soft-fp/getf2.c (__getf2): Likewise.
45100         * soft-fp/ledf2.c (__ledf2): Likewise.
45101         * soft-fp/lesf2.c (__lesf2): Likewise.
45102         * soft-fp/letf2.c (__letf2): Likewise.
45104         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45105         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45106         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45107         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45108         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45109         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45110         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45111         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45112         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45113         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45114         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45115         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45116         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45117         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45118         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45119         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45120         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45121         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45122         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45123         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45124         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45125         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45126         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45127         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45128         * soft-fp/floattidf.c (__floattidf): Likewise.
45129         * soft-fp/floattisf.c (__floattisf): Likewise.
45130         * soft-fp/floattitf.c (__floattitf): Likewise.
45131         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45132         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45133         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45134         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45135         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45136         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45137         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45138         * soft-fp/gesf2.c (__gesf2): Likewise.
45139         * soft-fp/getf2.c (__getf2): Likewise.
45140         * soft-fp/ledf2.c (__ledf2): Likewise.
45141         * soft-fp/lesf2.c (__lesf2): Likewise.
45142         * soft-fp/letf2.c (__letf2): Likewise.
45144         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45145         Undefine and redefine.
45146         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45147         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45148         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45149         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45150         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45151         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45152         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45153         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45154         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45155         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45156         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45157         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45158         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45159         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45160         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45162         [BZ #16032]
45163         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45164         without decrementing exponent if mantissa >= that for the
45165         denominator, not >.
45166         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45167         denominator, not >.  Decrement exponent in < case instead of
45168         incrementing in >= case.
45169         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45170         without decrementing exponent if mantissa >= that for the
45171         denominator, not >.
45173         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45174         computing saturated result for unsigned overflow.
45176 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45177             Jeff Law  <law@redhat.com>
45179         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45180         (atan2Mp): Add systemtap probe marker.
45181         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45182         (__ieee754_log): Add systemtap probe marker.
45183         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45184         (atanMp): Add systemtap probe marker.
45185         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45186         (tanMp): Add systemtap probe marker.
45187         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45188         (__slowexp): Add systemtap probe marker.
45189         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45190         (__slowpow): Add systemtap probe marker.
45191         * manual/probes.texi: Document probes.
45193 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45195         [BZ #15362]
45196         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45197         written.
45198         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45199         written.
45200         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45201         written to buffer but not flushed.
45202         * libio/iofwrite_u.c:  Likewise.
45203         * libio/iopadn.c:  Return bytes returned even if EOF was
45204         encountered.
45205         * libio/iowpadn.c:  Likewise.
45206         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45207         if _IO_padn does not write the whole buffer.
45208         [!COMPILE_WPRINTF] (PAD): Likewise.
45210 2013-10-10  David S. Miller  <davem@davemloft.net>
45212         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45213         directory block.
45215 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45217         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45218         instead of FSF address.
45219         * soft-fp/fixdfti.c: Likewise.
45220         * soft-fp/fixsfti.c: Likewise.
45221         * soft-fp/fixtfti.c: Likewise.
45222         * soft-fp/fixunsdfti.c: Likewise.
45223         * soft-fp/fixunssfti.c: Likewise.
45224         * soft-fp/fixunstfti.c: Likewise.
45225         * soft-fp/floattidf.c: Likewise.
45226         * soft-fp/floattisf.c: Likewise.
45227         * soft-fp/floattitf.c: Likewise.
45228         * soft-fp/floatuntidf.c: Likewise.
45229         * soft-fp/floatuntisf.c: Likewise.
45230         * soft-fp/floatuntitf.c: Likewise.
45231         * soft-fp/trunctfxf2.c: Likewise.
45233         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45234         * soft-fp/fixdfti.c: Likewise.
45235         * soft-fp/fixsfti.c: Likewise.
45236         * soft-fp/fixtfti.c: Likewise.
45237         * soft-fp/fixunsdfti.c: Likewise.
45238         * soft-fp/fixunssfti.c: Likewise.
45239         * soft-fp/fixunstfti.c: Likewise.
45240         * soft-fp/floattidf.c: Likewise.
45241         * soft-fp/floattisf.c: Likewise.
45242         * soft-fp/floattitf.c: Likewise.
45243         * soft-fp/floatuntidf.c: Likewise.
45244         * soft-fp/floatuntisf.c: Likewise.
45245         * soft-fp/floatuntitf.c: Likewise.
45246         * soft-fp/trunctfxf2.c: Likewise.
45248 2013-10-10  David S. Miller  <davem@davemloft.net>
45250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45252 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45254         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45255         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45256         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45257         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45258         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45259         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45260         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45262         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45263         for NaNs before doing comparisons on argument.
45264         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45265         Likewise.
45267 2013-10-10  Will Newton  <will.newton@linaro.org>
45269         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45270         passed to _int_memalign does not overflow.
45272 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45274         * scripts/bench.pl: Add include-sources directive.
45275         * benchtests/README: Update documentation.
45277 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45279         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45280         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45281         instead of FP_INIT_ROUNDMODE.
45282         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45283         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45285         [BZ #16034]
45286         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45287         copy class of input value.
45288         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45289         not handle exceptions.
45290         * soft-fp/negsf2.c (__negsf2): Likewise.
45291         * soft-fp/negtf2.c (__negtf2): Likewise.
45292         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45294 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45296         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45297         semicolon.  From Linux kernel.
45299 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45301         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45303 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45305         [BZ #156]
45306         * manual/socket.texi: Added statement about buffer
45307         for gethostbyname2_r.
45309 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45311         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45312         Use .p2align directive instead, throughout.
45313         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45314         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45315         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45316         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45317         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45318         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45319         * sysdeps/x86_64/strchr.S: Likewise.
45320         * sysdeps/x86_64/strrchr.S: Likewise.
45322 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45324         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45326         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45328         * sysdeps/generic/math_private.h (__mpsin1): Remove
45329         declaration.
45330         (__mpcos1): Likewise.
45331         (__mpsin): New argument __range_reduce.
45332         (__mpcos): Likewise.
45333         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45334         (slow): Use __mpsin and __mpcos.
45335         (slow1): Likewise.
45336         (slow2): Likewise.
45337         (sloww): Likewise.
45338         (sloww1): Likewise.
45339         (sloww2): Likewise.
45340         (bsloww): Likewise.
45341         (bsloww1): Likewise.
45342         (bsloww2): Likewise.
45343         (cslow2): Likewise.
45344         (csloww): Likewise.
45345         (csloww1): Likewise.
45346         (csloww2): Likewise.
45347         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45348         range_reduce.  Merge in __mpsin1.
45349         (__mpcos): Likewise.
45350         (__mpsin1): Remove.
45351         (__mpcos1): Likewise.
45353 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45355         * locale/loadlocale.c (_nl_intern_locale_data): Use
45356         LOCFILE_ALIGNED_P.
45357         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45358         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45359         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45360         obstack data is appropriately aligned.
45361         (obstack_int32_grow_fast): Likewise.
45362         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45363         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45364         (add_locale_uint32_array): Likewise.
45366 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45368         * benchtests/Makefile: Remove ARGLIST and RET variables.
45369         ($(objpfx)bench-%.c): Pass only function name to the script.
45370         * benchtests/README: Update documentation.
45371         * benchtests/acos-inputs: Add new directives.
45372         * benchtests/acosh-inputs: Likewise.
45373         * benchtests/asin-inputs: Likewise.
45374         * benchtests/asinh-inputs: Likewise.
45375         * benchtests/atan-inputs: Likewise.
45376         * benchtests/atanh-inputs: Likewise.
45377         * benchtests/cos-inputs: Likewise.
45378         * benchtests/cosh-inputs: Likewise.
45379         * benchtests/exp-inputs: Likewise.
45380         * benchtests/log-inputs: Likewise.
45381         * benchtests/pow-inputs: Likewise.
45382         * benchtests/rint-inputs: Likewise.
45383         * benchtests/sin-inputs: Likewise.
45384         * benchtests/sinh-inputs: Likewise.
45385         * benchtests/tan-inputs: Likewise.
45386         * benchtests/tanh-inputs: Likewise.
45387         * scripts/bench.pl: Add support for new directives.
45389 2013-10-07  Alan Modra  <amodra@gmail.com>
45391         * README: Fix careless merge.
45393 2013-10-05  Alan Modra  <amodra@gmail.com>
45395         * NEWS: Mention powerpc64le support and bugs fixed.
45396         * README: Both big-endian and little-endian powerpc64 supported.
45398 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45400         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45401         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45402         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45403         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45405 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45407         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45408         match prototype.
45410 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45412         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45413         Move -mhard-float appending from
45414         ports/sysdeps/powerpc/powerpc32/Makefile.
45415         [$(with-fp) = yes] (ASFLAGS): Likewise.
45416         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45417         * sysdeps/powerpc/nofpu: Move directory from
45418         ports/sysdeps/powerpc/nofpu.
45419         * sysdeps/powerpc/soft-fp: Move directory from
45420         ports/sysdeps/powerpc/soft-fp.
45421         * sysdeps/powerpc/powerpc32/405: Move directory from
45422         ports/sysdeps/powerpc/powerpc32/405.
45423         * sysdeps/powerpc/powerpc32/440: Move directory from
45424         ports/sysdeps/powerpc/powerpc32/440.
45425         * sysdeps/powerpc/powerpc32/464: Move directory from
45426         ports/sysdeps/powerpc/powerpc32/464.
45427         * sysdeps/powerpc/powerpc32/476: Move directory from
45428         ports/sysdeps/powerpc/powerpc32/476.
45429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45430         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45432         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45434         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45436         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45438         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45439         * README: Update for powerpc-*-linux-gnu software floating point
45440         support in libc.
45442         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45443         case to powerpc/powerpc32*.
45444         * sysdeps/unix/sysv/linux/configure: Regenerated.
45446         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45447         (_FPU_MASK_OM): Define as 0x04.
45448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45450         0x00c10080.
45451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45452         0x0000003c.
45453         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45456         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45457         getcontext_e500.
45458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45459         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45460         setcontext_e500.
45461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45462         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45463         and setcontext_e500.
45465 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45467         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45469 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45471         * manual/threads.texi (Default Thread Attributes): Fix typo.
45473 2013-10-04  Will Newton  <will.newton@linaro.org>
45475         * malloc/Makefile: Add tst-memalign.
45476         * malloc/tst-memalign.c: New file.
45478         * malloc/tst-posix_memalign.c: Add comments.
45479         (do_test): Add comments and call free on all potentially
45480         allocated pointers. Add space after cast.
45482         * malloc/tst-pvalloc.c: Add comments.
45483         (do_test): Add comments and call free on all potentially
45484         allocated pointers. Remove duplicate check for NULL pointer.
45485         Add space after cast.
45487         * malloc/tst-valloc.c: Add comments.
45488         (do_test): Add comments and call free on all potentially
45489         allocated pointers. Remove duplicate check for NULL pointer.
45490         Add space after cast.
45492 2013-10-04  Alan Modra  <amodra@gmail.com>
45494         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45495         Use stdint types in rather than __attribute__((mode())).
45496         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45498 2013-10-04  Alan Modra  <amodra@gmail.com>
45500         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45501         Correct handling of unaligned relocs for little-endian.
45502         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45504 2013-10-04  Alan Modra  <amodra@gmail.com>
45506         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45507         * configure: Regenerate.
45508         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45509         * shlib-versions: Likewise.
45511 2013-10-04  Alan Modra  <amodra@gmail.com>
45513         * string/tester.c (test_memrchr): Increment reported test cycle.
45515 2013-10-04  Alan Modra  <amodra@gmail.com>
45517         * string/test-memcpy.c (do_one_test): When reporting errors, print
45518         string address and don't overrun end of string.
45520 2013-10-04  Alan Modra  <amodra@gmail.com>
45522         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45523         insrdi.  Make better use of reg selection to speed exit slightly.
45524         Schedule entry path a little better.  Remove useless "are we done"
45525         checks on entry to main loop.  Handle wrapping around zero address.
45526         Correct main loop count.  Handle single left-over word from main
45527         loop inline rather than by using loop_small.  Remove extra word
45528         case in loop_small caused by wrong loop count.  Add little-endian
45529         support.
45530         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45531         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45532         cache hint.
45533         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45534         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45535         support.  Avoid rlwimi.
45536         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45538 2013-10-04  Alan Modra  <amodra@gmail.com>
45540         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45541         insrdi.  Formatting.
45542         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45543         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45544         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45545         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45546         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45547         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45549 2013-10-04  Alan Modra  <amodra@gmail.com>
45551         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45552         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45553         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45554         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45555         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45556         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45557         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45558         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45559         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45560         use of regs.  Use power7 mtocrf.  Tidy function tails.
45562 2013-10-04  Alan Modra  <amodra@gmail.com>
45564         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45565         Formatting.  Consistently use rXXX register defines or rN defines.
45566         Use early exit labels that avoid restoring unused non-volatile regs.
45567         Make cr field use more consistent with rWORDn compares.  Rename
45568         regs used as shift registers for unaligned loop, using rN defines
45569         for short lifetime/multiple use regs.
45570         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45571         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45572         addi 1,1,64 to pop stack frame.  Simplify return value code.
45573         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45575 2013-10-04  Alan Modra  <amodra@gmail.com>
45577         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45578         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45579         rather than rlwimi.
45580         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45581         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45582         little-endian support.  Correct typos.
45583         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45584         rather than rlwimi.
45585         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45586         in loop and entry code to keep "and." results.
45587         (strchr): Add little-endian support.  Comment.  Move cntlzd
45588         earlier in tail.
45589         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45591 2013-10-04  Alan Modra  <amodra@gmail.com>
45593         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45594         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45595         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45596         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45598 2013-10-04  Alan Modra  <amodra@gmail.com>
45600         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45601         (rTMP): Define as r11.
45602         (strcmp): Add little-endian support.  Optimise tail.
45603         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45604         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45605         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45606         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45607         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45608         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45609         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45611 2013-10-04  Alan Modra  <amodra@gmail.com>
45613         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45614         little-endian support.  Remove unnecessary "are we done" tests.
45615         Handle "s" wrapping around zero and extremely large "size".
45616         Correct main loop count.  Handle single left-over word from main
45617         loop inline rather than by using small_loop.  Correct comments.
45618         Delete "zero" tail, use "end_max" instead.
45619         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45621 2013-10-04  Alan Modra  <amodra@gmail.com>
45623         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45624         support.  Don't branch over align.
45625         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45626         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45627         support.  Rearrange tmp reg use to suit.  Comment.
45628         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45630 2013-10-04  Alan Modra  <amodra@gmail.com>
45632         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45634 2013-10-04  Alan Modra  <amodra@gmail.com>
45636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45637         conditional form of branch and link when obtaining pc.
45638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45640 2013-10-04  Alan Modra  <amodra@gmail.com>
45642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45643         HIWORD/LOWORD.
45644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45647 2013-10-04  Alan Modra  <amodra@gmail.com>
45649         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45650         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45651         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45652         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45653         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45654         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45655         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45656         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45657         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45658         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45660 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45661             Alistair Popple <alistair@ozlabs.au.ibm.com>
45662             Alan Modra <amodra@gmail.com>
45664         [BZ #15723]
45665         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45666         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45667         _dl_hwcap access for little-endian.
45668         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45669         destroy vmx regs when saving unaligned.
45670         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45671         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45672         destroy vmx regs when saving unaligned.
45674 2013-10-04  Alan Modra  <amodra@gmail.com>
45676         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45677         Don't use a union to pack hi/low value.
45679 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45681         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45682         for little-endian.
45683         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45684         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45685         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45686         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45687         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45689 2013-10-04  Alan Modra  <amodra@gmail.com>
45691         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45692         constants to usual value for .cst8 section, and remove redundant
45693         high address load.
45694         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45695         constant for 0x1p52.  Load little-endian words of double from
45696         correct stack offsets.
45698 2013-10-04  Alan Modra  <amodra@gmail.com>
45700         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45701         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45702         words of double from correct stack offsets.
45703         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45704         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45705         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45706         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45707         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45708         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45709         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45710         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45711         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45712         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45713         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45714         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45715         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45716         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45717         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45718         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45719         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45721 2013-10-04  Alan Modra  <amodra@gmail.com>
45723         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45724         64-bit int/double union.
45725         (_FPU_SETCW): Likewise.
45726         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45727         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45729 2013-10-04  Alan Modra  <amodra@gmail.com>
45731         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45732         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45734 2013-10-04  Alan Modra  <amodra@gmail.com>
45736         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45737         use vector int constants.
45738         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45740 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45742         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45743         array with long long.
45744         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45745         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45746         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45747         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45748         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45749         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45750         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45751         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45752         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45753         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45754         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45755         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45756         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45758 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45760         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45761         (__signbit): Likewise.  Correct for little-endian.
45762         (__signbitl): Call __signbit.
45763         (lrint): Correct for little-endian.
45764         (lrintf): Call lrint.
45766 2013-10-04  Alan Modra  <amodra@gmail.com>
45768         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45769         union 32-bit int array member with 64-bit int array.
45770         (t515, tm256): Double rather than long double.
45771         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45773 2013-10-04  Alan Modra  <amodra@gmail.com>
45775         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45776         Delete.
45777         (IEEE854_LONG_DOUBLE_BIAS): Delete.
45778         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45779         version of math_ldbl.h.
45781 2013-10-04  Alan Modra  <amodra@gmail.com>
45783         [BZ #15734], [BZ #15735]
45784         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45785         all uses of ieee875 long double macros and unions.  Simplify test
45786         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
45787         ldbl_extract_mantissa value for ix,iy exponents.  Properly
45788         normalize after ldbl_extract_mantissa, and don't add hidden bit
45789         already handled.  Don't treat low word of ieee854 mantissa like
45790         low word of IBM long double and mask off bit when testing for
45791         zero.
45792         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45793         all uses of ieee875 long double macros and unions.  Simplify tests
45794         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
45795         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
45796         two1022, instead use their values.  Recognise that tests for large
45797         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
45798         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45799         Rewrite all uses of ieee875 long double macros and unions.  Simplify
45800         test for 0.0L and nan.  Correct negation.
45801         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45802         ieee875 long double macros and unions.  Correct output for large
45803         magnitude x.  Correct absolute value calculation.
45804         (__erfcl): Likewise.
45805         * math/libm-test.inc: Add tests for errors discovered in IBM long
45806         double versions of fmodl, remainderl, erfl and erfcl.
45808 2013-10-04  Alan Modra  <amodra@gmail.com>
45810         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45811         all uses of ieee854 long double macros and unions.  Simplify tests
45812         for long doubles that are fully specified by the high double.
45813         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45814         Likewise.
45815         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45816         Remove dead code too.
45817         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45818         (__ieee754_ynl): Likewise.
45819         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45820         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45821         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45822         Remove dead code too.
45823         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45824         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45825         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45826         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45827         Simplify.
45828         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45829         Simplify.
45830         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45831         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45832         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45833         Comment on variable precision.
45834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45835         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45836         Likewise.
45837         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45838         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45839         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45840         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45841         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45843 2013-10-04  Alan Modra  <amodra@gmail.com>
45845         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45846         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45847         all uses of ieee854 long double macros and unions.
45848         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45849         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45850         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45851         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45852         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45853         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45854         Likewise.
45855         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45856         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45857         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45858         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45859         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45860         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45861         Simplify sign and nan test too.
45862         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45863         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45864         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45865         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45866         Likewise.
45867         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45868         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45869         Likewise.
45870         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45871         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45872         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45873         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45874         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45875         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45877 2013-10-04  Alan Modra  <amodra@gmail.com>
45879         * stdio-common/printf_size.c (__printf_size): Don't use
45880         union ieee854_long_double in fpnum union.
45881         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45882         signbit macro to retrieve sign from long double.
45883         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45884         retrieve sign from long double.
45885         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45886         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45887         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45888         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45889         * math/test-misc.c (main): Don't use union ieee854_long_double.
45891 2013-10-04  Alan Modra  <amodra@gmail.com>
45893         [BZ #15680]
45894         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45895         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45896         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45897         calculation.  Remove unnecessary test for denormal exponent.
45898         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45899         Correct handling of denormals.  Avoid undefined shift behaviour.
45900         Correct normalisation of low mantissa when low double is denormal.
45901         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45902         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45903         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45904         Correct normalisation of low mantissa.  Test for overflow of high
45905         mantissa and normalise.
45906         (ldbl_nearbyint): Use more readable constant for two52.
45907         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45908         (__mpn_construct_long_double): Fix test for overflow of high
45909         mantissa and correct normalisation.  Avoid undefined shift.
45911 2013-10-04  Alan Modra  <amodra@gmail.com>
45913         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45914         (union ibm_extended_long_double): Define as an array of ieee754_double.
45915         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45916         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45917         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45918         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45919         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45920         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45921         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45922         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45923         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45924         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45925         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45927 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45929         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45930         page size instead of calling getpagesize.
45932         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45933         (LOCFILE_ALIGN_MASK): Likewise.
45934         (LOCFILE_ALIGN_UP): Likewise.
45935         (LOCFILE_ALIGNED_P): Likewise.
45936         * locale/programs/ld-collate.c (collate_output): Use the new
45937         macros instead of __alignof__ (int32_t).
45938         * locale/weight.h (findidx): Likewise.
45940 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45942         [BZ #431]
45943         * manual/string.texi: Fix strncat and wcsncat.
45945 2013-10-03  Brooks Moses  <bmoses@google.com>
45947         [BZ #15915]
45948         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45949         * Makerules: ...here, and adjust associated comments.
45951 2013-10-02  Will Newton  <will.newton@linaro.org>
45953         * malloc/Makefile: Add tst-pvalloc.
45954         * malloc/tst-pvalloc.c: New file.
45956 2013-10-02  Will Newton  <will.newton@linaro.org>
45958         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45959         improve test coverage.
45961 2013-10-02  Will Newton  <will.newton@linaro.org>
45963         * malloc/Makefile: Add tst-posix_memalign.
45964         * malloc/tst-posix_memalign.c: New file.
45966 2013-10-01  Eric Blake  <eblake@redhat.com>
45968         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45969         Use __THROWNL rather than __THROW on static functions.
45971 2013-09-30  Petr Machata  <pmachata@redhat.com>
45973         * elf/elf.h (R_AARCH64_ABS16): New macro.
45974         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45975         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45976         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45977         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45978         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45979         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45980         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45981         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45982         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45983         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45984         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45985         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45986         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45987         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45988         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45989         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45990         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45991         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45992         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45993         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45994         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45995         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45996         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45997         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45998         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45999         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46000         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46001         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46002         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46003         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46004         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46005         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46006         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46007         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46008         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46009         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46010         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46011         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46012         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46013         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46014         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46015         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46016         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46017         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46018         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46019         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46020         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46021         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46022         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46023         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46024         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46025         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46026         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46027         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46028         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46029         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46030         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46031         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46032         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46033         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46034         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46035         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46036         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46037         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46038         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46039         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46040         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46041         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46042         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46043         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46044         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46045         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46046         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46047         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46048         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46049         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46050         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46051         (R_AARCH64_TLSDESC_LDR): Likewise.
46052         (R_AARCH64_TLSDESC_ADD): Likewise.
46053         (R_AARCH64_TLSDESC_CALL): Likewise.
46055 2013-09-30  Andreas Schwab  <schwab@suse.de>
46057         [BZ #15048]
46058         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46059         the nss database lookup.
46060         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46063 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46065         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46067 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46069         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46070         ${Bash-specific parameter/pattern/string} parameter expansion.
46071         * sysdeps/unix/make-syscalls.sh: Likewise.
46073 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46075         * sysdeps/sh/stackguard-macros.h: New file.
46077 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46080         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46081         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46082         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46083         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46084         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46086 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46088         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46089         Fix thread ID register.
46091 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46093         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46094         [POSIX || UNIX98]: Require rather than permitting all symbols from
46095         <time.h>.
46096         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46097         element of struct sched_param.
46098         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46099         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46100         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46101         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46102         constant.
46104 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46106         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46107         argument calculation.
46109 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46111         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46112         Expect macro.
46113         [POSIX] (pthread_attr_t): Do not require type.
46114         [POSIX] (pthread_cond_t): Likewise.
46115         [POSIX] (pthread_condattr_t): Likewise.
46116         [POSIX] (pthread_key_t): Likewise.
46117         [POSIX] (pthread_mutex_t): Likewise.
46118         [POSIX] (pthread_mutexattr_t): Likewise.
46119         [POSIX] (pthread_once_t): Likewise.
46120         [POSIX] (pthread_t): Likewise.
46121         [POSIX-based standards] (pthread_atfork): Expect function.
46123 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46124             Richard Sandiford  <richard@codesourcery.com>
46126         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46127         (swap_endianness_p): New extern variable.
46128         (set_big_endian): New inline function.
46129         (maybe_swap_uint32): Likewise.
46130         (maybe_swap_uint32_array): Likewise.
46131         (maybe_swap_uint32_obstack): Likewise.
46132         * locale/programs/locfile.c: Include <stdbool.h>.
46133         (swap_endianness_p): New variable.
46134         (add_locale_uint32): Call maybe_swap_uint32.
46135         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46136         (write_locale_data): Call maybe_swap_uint32_array.
46137         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46138         maybe_swap_uint32.
46139         (obstack_int32_grow_fast): Likewise.
46140         (output_weightwc): Call maybe_swap_uint32_obstack.
46141         (collate_output): Likewise.
46142         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46143         (OPT_LITTLE_ENDIAN): Likewise.
46144         (options): Add --little-endian and --big-endian options.
46145         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46146         * locale/programs/locarchive.c: Include "locfile.h".
46147         (GET): New macro.
46148         (SET): Likewise.
46149         (INC): Likewise.
46150         (create_archive): Use the new macros to access fields of
46151         structures directly mapped from or written to locale archives.
46152         (oldlocrecentcmp): Likewise.
46153         (enlarge_archive): Likewise.
46154         (insert_name): Likewise.
46155         (add_alias): Likewise.
46156         (add_locale): Likewise.
46157         (delete_locales_from_archive): Likewise.
46158         (show_archive_content): Likewise.
46159         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46160         locale data.
46162 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46164         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46165         http://www.gnu.org/doc/freemanuals.texi.
46166         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46168 2013-09-24  Will Newton  <will.newton@linaro.org>
46170         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46171         macro.
46173 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46175         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46176         unsigned char.
46178 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46180         * manual/threads.texi (POSIX Threads): Fix a typo.
46182 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46184         [BZ #14547]
46185         * string/tst-strcoll-overflow.c: New test case.
46186         * string/Makefile (xtests): Add tst-strcoll-overflow.
46187         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46188         cache if string sizes may cause integer overflow.
46190         [BZ #14547]
46191         * string/strcoll_l.c (coll_seq): New members rule, idx,
46192         save_idx and back_us.
46193         (get_next_seq_nocache): New function.
46194         (do_compare_nocache): New function.
46195         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46196         when malloc fails.
46198 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46200         [BZ #15754]
46201         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46202         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46203         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46205         [BZ #15754]
46206         * elf/Makefile (tests): Add tst-ptrguard1.
46207         (tests-static): Add tst-ptrguard1-static.
46208         (tst-ptrguard1-ARGS): Define.
46209         (tst-ptrguard1-static-ARGS): Define.
46210         * elf/tst-ptrguard1.c: New file.
46211         * elf/tst-ptrguard1-static.c: New file.
46212         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46213         * sysdeps/i386/stackguard-macros.h: Likewise.
46214         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46215         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46216         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46217         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46218         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46219         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46221 2013-09-23  Hector Marco  <hecmargi@upv.es>
46222             Ismael Ripoll  <iripoll@disca.upv.es>
46223             Carlos O'Donell  <carlos@redhat.com>
46225         [BZ #15754]
46226         * sysdeps/generic/stackguard-macros.h: Define
46227         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46228         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46229         Define __pointer_chk_guard_local.
46230         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46231         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46233 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46235         [BZ #15859]
46236         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46238 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46240         * include/string.h (__ffs): Declare as hidden.
46241         * string/ffs.c (__ffs): Define as hidden.
46242         * sysdeps/i386/ffs.c (__ffs): Likewise.
46243         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46244         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46245         * sysdeps/s390/ffs.c (__ffs): Likewise.
46246         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46248 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46250         * NEWS: Mention malloc probes.
46252         * malloc/arena.c (new_heap): New memory_heap_new probe.
46253         (grow_heap): New memory_heap_more probe.
46254         (shrink_heap): New memory_heap_less probe.
46255         (heap_trim): New memory_heap_free probe.
46256         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46257         (systrim): New memory_sbrk_less probe.
46258         * manual/probes.texi: Document them.
46260         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46261         * manual/probes.texi: Document it.
46263         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46264         (__libc_realloc): Add memory_realloc_retry probe.
46265         (__libc_memalign): Add memory_memalign_retry probe.
46266         (__libc_valloc): Add memory_valloc_retry probe.
46267         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46268         (__libc_calloc): Add memory_calloc_retry probe.
46269         * manual/probes.texi: Document them.
46271         * malloc/arena.c (get_free_list): Add probe
46272         memory_arena_reuse_free_list.
46273         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46274         and memory_arena_reuse.
46275         (arena_get2) [!PER_THREAD]: Likewise.
46276         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46277         memory_arena_reuse_realloc.
46278         * manual/probes.texi: Document them.
46280         * malloc/malloc.c (__libc_free): Add
46281         memory_mallopt_free_dyn_thresholds probe.
46282         (__libc_mallopt): Add multiple memory_mallopt probes.
46283         * manual/probes.texi: Document them.
46285         * malloc/malloc.c: Include stap-probe.h.
46286         (__libc_mallopt): Add memory_mallopt probe.
46287         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46288         * manual/probes.texi: New.
46289         * manual/Makefile (chapters): Add probes.
46290         * manual/threads.texi: Set next node.
46292 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46294         [BZ #15963, #13985]
46295         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46296         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46297         Add `Chinese' to `nan' entry name.
46299 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46301         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46302         (POLYNOMIAL): Likewise.
46303         (TAYLOR_SINCOS): Likewise.
46304         (TAYLOR_SLOW): Likewise.
46305         (__sin): Use TAYLOR_SINCOS.
46306         (__cos): Likewise.
46307         (slow): Use TAYLOR_SLOW.
46308         (sloww): Likewise.
46309         (bsloww): Likewise.
46310         (csloww): Likewise.
46312 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46314         * stdlib/strtod_l.c: Fix buffer overrun.
46316 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46318         * benchtests/Makefile (bench): Add sincos.
46319         * benchtests/bench-sincos.c: New file.
46321         * math/libm-test.inc (cos_test_data): New test inputs.
46322         (sin_test_data): Likewise.
46324         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46325         macro.
46326         (__sin): Use it.
46327         (__cos): Likewise.
46328         (slow1): Likewise.
46329         (slow2): Likewise.
46330         (sloww1): Likewise.
46331         (sloww2): Likewise.
46332         (bsloww1): Likewise.
46333         (bsloww2): Likewise.
46334         (cslow2): Likewise.
46335         (csloww1): Likewise.
46336         (csloww2): Likewise.
46338         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46339         function.
46340         (__sin): Use it.
46341         (__cos): Likewise.
46343         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46344         gotos.
46345         (__cos): Likewise.
46347 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46349         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46350         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46351         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46352         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46353         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46354         * elf/cache.c (print_entry): Handle the new cache flags.
46356 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46357             Aldy Hernandez  <aldyh@redhat.com>
46359         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46360         Change condition to [_SOFT_FLOAT].
46361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46373         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46376         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46377         declaration.
46379 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46381         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46382         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46383         (__longjmp): Use LOAD_GP to load saved GPRs.
46384         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46385         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46386         (__sigsetjmp): Use SAVE_GP to save GPRs.
46388         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46389         Do not append -msoft-float.
46390         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46392 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46394         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46396 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46398         [BZ #15966]
46399         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46400         (_FPU_GETCW): Use initial "__" on variable and field names but not
46401         on macro parameter name.
46402         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46403         parentheses around reference to macro parameter.
46405 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46407         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46408         prototype.
46409         (ctype_startup): Use uint32_t in cast and sizeof for
46410         ctype->charnames.
46412 2013-09-11  Jia Liu  <proljc@gmail.com>
46414         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46415         __daddr_t_defined.
46416         [__FreeBSD__]: Likewise.
46418 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46420         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46421         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46422         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46423         (strchr): Remove __strchr_sse42 ifunc selection.
46424         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46425         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46427 2013-09-11  Will Newton  <will.newton@linaro.org>
46429         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46430         parameter to RES. Remove hardcoded 1000 value.
46431         * benchtests/bench-skeleton.c (main): Pass RES parameter
46432         to TIMING_INIT and multiply result by 1000.
46434 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46438 2013-09-11  Andreas Schwab  <schwab@suse.de>
46440         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46441         if not defined.
46442         (O_TMPFILE) [__USE_GNU]: Define.
46443         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46444         Define.
46446 2013-09-11  Will Newton  <will.newton@linaro.org>
46448         [BZ #15857]
46449         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46450         does not overflow.
46452 2013-09-11  Will Newton  <will.newton@linaro.org>
46454         [BZ #15856]
46455         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46456         does not overflow.
46458 2013-09-11  Will Newton  <will.newton@linaro.org>
46460         [BZ #15855]
46461         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46462         does not overflow.
46464 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46466         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46467         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46468         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46469         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46470         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46472 2013-09-10  Allan McRae  <allan@archlinux.org>
46474         [BZ #15748]
46475         * manual/arith.texi (Parsing of Floats): Clarify
46476         cross-reference.
46478         [BZ #15849]
46479         * manual/install.texi (Running make install): Mention
46480         --enable-pt-chown.
46481         * INSTALL: Regenerated.
46483 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46485         * csu/init-first.c (_init): Remove the !SHARED condition around
46486         FPU control word initialization.
46487         * elf/dl-support.c (_dl_fpu_control): New variable.
46488         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46489         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46490         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46491         * math/test-fpucw-static.c: New file.
46492         * math/test-fpucw-ieee.c: New file.
46493         * math/test-fpucw-ieee-static.c: New file.
46494         * math/Makefile (tests): Add `test-fpucw-ieee' and
46495         `$(tests-static)'.
46496         (tests-static): New variable.
46497         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46498         dependency to...
46499         [($(build-shared),yes)]
46500         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46501         ... this.
46502         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46503         New dependency.
46505 2013-09-09  Allan McRae  <allan@archlinux.org>
46507         [BZ #15939]
46508         * manual/string.texi (Collation Functions): Fix typo in
46509         strcoll example.
46510         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46512         [BZ #15893]
46513         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46515         [BZ #15892]
46516         * libio/memstream.c (open_memstream): Fix memory leak.
46517         * libio/wmemstream.c (open_wmemstream): Likewise.
46519         [BZ #15895]
46520         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46522 2013-09-09  Will Newton  <will.newton@linaro.org>
46524         * malloc/Makefile: Add tst-realloc to tests.
46525         * malloc/tst-realloc.c: New file.
46527 2013-09-09  Allan McRae  <allan@archlinux.org>
46529         [BZ #15844]
46530         * COPYING: Update from GNU website to fix FSF address.
46531         * COPYING.LIB: Likewise.
46533 2013-09-06  David S. Miller  <davem@davemloft.net>
46535         * po/zh_TW.po: Update Chinese (traditional) translation from
46536         translation project.
46538 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46539             Joseph Myers  <joseph@codesourcery.com>
46541         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46542         "localeinfo.h".
46543         (obstack_chunk_alloc): New macro.
46544         (obstack_chunk_free): Likewise.
46545         (record_offset): New function.
46546         (init_locale_data): Likewise.
46547         (align_locale_data): Likewise.
46548         (add_locale_empty): Likewise.
46549         (add_locale_raw_data): Likewise.
46550         (add_locale_raw_obstack): Likewise.
46551         (add_locale_string): Likewise.
46552         (add_locale_wstring): Likewise.
46553         (add_locale_uint32): Likewise.
46554         (add_locale_uint32_array): Likewise.
46555         (add_locale_char): Likewise.
46556         (start_locale_structure): Likewise.
46557         (end_locale_structure): Likewise.
46558         (start_locale_prelude): Likewise.
46559         (end_locale_prelude): Likewise.
46560         (write_locale_data): Take locale_file structure rather than an
46561         iovec.
46562         * locale/programs/locfile.h: Include "obstack.h".
46563         (struct locale_file): Change to store locale file contents instead
46564         of header.
46565         (init_locale_data): New prototype.
46566         (align_locale_data): Likewise.
46567         (add_locale_empty): Likewise.
46568         (add_locale_raw_data): Likewise.
46569         (add_locale_raw_obstack): Likewise.
46570         (add_locale_string): Likewise.
46571         (add_locale_wstring): Likewise.
46572         (add_locale_uint32): Likewise.
46573         (add_locale_uint32_array): Likewise.
46574         (add_locale_char): Likewise.
46575         (start_locale_structure): Likewise.
46576         (end_locale_structure): Likewise.
46577         (start_locale_prelude): Likewise.
46578         (end_locale_prelude): Likewise.
46579         (write_locale_data): Update prototype.
46580         * locale/programs/3level.h (struct TABLE): Remove result field.
46581         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46582         Use new locale_file interface.
46583         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46584         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46585         * locale/programs/ld-address.c (address_output): Use new
46586         locale_file interface.
46587         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46588         NO_ADD_LOCALE.
46589         (collate_finish): Don't call collseq_table_finalize.
46590         (collate_output): Use new locale_file interface.
46591         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46592         in file.
46593         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46594         (TABLE): Move defines earlier in file.
46595         (ELEMENT): Likewise.
46596         (DEFAULT): Likewise.
46597         (wctrans_table_add): Move macro and inline function earlier in
46598         file.
46599         (struct wctype_table): Move type earlier in file.
46600         (add_locale_wctype_table): New static prototype.
46601         (struct locale_ctype_t): Use logical types instead of struct iovec
46602         pointers for members.
46603         (ctype_output): Use new locale_file interface.
46604         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46605         new locale_file interface.
46606         (allocate_arrays): Update for use of new locale_file interface.
46607         * locale/programs/ld-identification.c (identification_output): Use
46608         new locale_file interface.
46609         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46610         * locale/programs/ld-messages.c (messages_output): Likewise.
46611         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46612         * locale/programs/ld-name.c (name_output): Likewise.
46613         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46614         * locale/programs/ld-paper.c (paper_output): Likewise.
46615         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46616         * locale/programs/ld-time.c (time_output): Likewise.
46618 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46620         * benchtests/Makefile: Add memrchr benchmark.
46621         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46622         benchmark as memrchr.
46623         * benchtests/bench-memrchr-ifunc.c: New file.
46624         * benchtests/bench-memrchr.c: New file.
46626 2013-09-06   Will Newton  <will.newton@linaro.org>
46628         * benchtests/Makefile (string-bench): Add memcpy.
46630 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46631             Cong Wang  <amwang@redhat.com>
46633         [BZ #15850]
46634         * sysdeps/unix/sysv/linux/bits/in.h
46635         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46636         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46637         before __USE_KERNEL_IPV6_DEFS uses.
46638         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46639         IPPROTO_BEETPH.
46640         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46641         sockaddr_in6, or ipv6_mreq.
46643 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46645         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46646         memory access for final bytes in some large inputs.
46647         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46649 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46651         * string/test-memrchr.c: New file.
46652         * string/test-memrchr-ifunc.c: New file.
46653         * string/Makefile: Add new memrchr testcase.
46655 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46657         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46658         fanotify_init returns EPERM.
46660 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46662         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46663         errors.
46664         (top level): Treat second token from macro or constant entries for
46665         allowed headers as allowed.
46666         * include/complex.h: Condition internal declarations on
46667         [!_ISOMAC].
46668         * include/fenv.h: Condition include of <stdbool.h> and internal
46669         declarations on [!_ISOMAC].
46671 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46673         [BZ #15923]
46674         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46676 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46678         * configure.in (--enable-versioning): Remove configure option.
46679         (libc_cv_asm_symver_directive): Remove configure test.
46680         (libc_cv_ld_version_script_option): Likewise.
46681         (VERSIONING): Remove variable and AC_SUBST.
46682         (DO_VERSIONING): Remove AC_DEFINE.
46683         * configure: Regenerated.
46684         * config.h.in (DO_VERSIONING): Remove macro.
46685         * Makerules [$(versioning) = yes]: Change conditionals to
46686         [$(build-shared) = yes].
46687         * config.make.in (versioning): Remove variable.
46688         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46689         [$(build-shared) = yes].
46690         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46691         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46692         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46693         [$(build-shared) = yes].
46694         * extra-lib.mk [$(versioning) = yes]: Likewise.
46695         * hurd/Makefile [$(versioning) = yes]: Likewise.
46696         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46697         [SHARED].
46698         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46699         [SHARED].
46700         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46701         [SHARED && !NO_HIDDEN].
46702         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46703         [SHARED].
46704         [SHARED && DO_VERSIONING]: Likewise..
46705         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46706         [$(build-shared) = yes].
46707         * manual/install.texi (--disable-versioning): Remove
46708         documentation.
46709         * INSTALL: Regenerated.
46710         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46711         to [SHARED].
46712         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46713         [$(build-shared) = yes].
46714         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46715         * sysdeps/i386/i686/multiarch/strstr-c.c
46716         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46717         [SHARED && !NO_HIDDEN].
46718         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46719         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46720         * sysdeps/powerpc/powerpc32/dl-machine.c
46721         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46722         * sysdeps/powerpc/powerpc32/sysdep.h
46723         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46724         to [SHARED && PIC && !NO_HIDDEN].
46725         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46726         conditional to [SHARED].
46728 2013-09-04   Will Newton  <will.newton@linaro.org>
46730         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46731         * benchtests/bench-string.h: Include bench-timing.h instead
46732         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46733         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46734         call to HP_TIMING_DIFF_INIT.
46735         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46736         instead of hp-timing.h macros.
46737         * benchtests/bench-memchr.c: Likewise.
46738         * benchtests/bench-memcmp.c: Likewise.
46739         * benchtests/bench-memcpy.c: Likewise.
46740         * benchtests/bench-memmem.c: Likewise.
46741         * benchtests/bench-memmove.c: Likewise.
46742         * benchtests/bench-memset.c: Likewise.
46743         * benchtests/bench-rawmemchr.c: Likewise.
46744         * benchtests/bench-strcasecmp.c: Likewise.
46745         * benchtests/bench-strcasestr.c: Likewise.
46746         * benchtests/bench-strcat.c: Likewise.
46747         * benchtests/bench-strchr.c: Likewise.
46748         * benchtests/bench-strcmp.c: Likewise.
46749         * benchtests/bench-strcpy.c: Likewise.
46750         * benchtests/bench-strcpy_chk.c: Likewise.
46751         * benchtests/bench-strlen.c: Likewise.
46752         * benchtests/bench-strncasecmp.c: Likewise.
46753         * benchtests/bench-strncat.c: Likewise.
46754         * benchtests/bench-strncmp.c: Likewise.
46755         * benchtests/bench-strncpy.c: Likewise.
46756         * benchtests/bench-strnlen.c: Likewise.
46757         * benchtests/bench-strpbrk.c: Likewise.
46758         * benchtests/bench-strrchr.c: Likewise.
46759         * benchtests/bench-strspn.c: Likewise.
46760         * benchtests/bench-strstr.c: Likewise.
46762 2013-09-04  Will Newton  <will.newton@linaro.org>
46764         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46766 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46768         [BZ #15427]
46769         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46770         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46771         * math/libm-test.inc (lgamma_test_data): Add more tests.
46772         * sysdeps/i386/fpu/libm-test-ulps: Update.
46773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46775 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
46777         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46778         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46779         Add ifunc.
46780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46781         Add strcmp-sse2-unaligned
46782         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46784 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46786         * Versions.def (libc): Add GLIBC_2.19.
46788 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46790         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46791         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46793 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
46795         [BZ #14155]
46796         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46797         intermediate calculations in recurrence.
46798         (__ieee754_ynf): Likewise.
46799         * math/libm-test.inc (jn_test_data): Do not allow spurious
46800         underflow exception.  Add more tests.
46801         (yn_test_data): Add more tests.
46802         * sysdeps/i386/fpu/libm-test-ulps: Update.
46803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46805 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
46807         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46809 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46811         * csu/init-first.c: Fix then/than typos.
46812         * locale/programs/ld-collate.c: Likewise.
46813         * locale/programs/linereader.h: Likewise.
46814         * manual/charset.texi: Likewise.
46815         * manual/filesys.texi: Likewise.
46816         * manual/stdio.texi: Likewise.
46817         * manual/string.texi: Likewise.
46818         * stdlib/fmtmsg.c: Likewise.
46819         * sysdeps/i386/stpncpy.S: Likewise.
46820         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46821         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46822         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46823         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46825 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46827         * elf/dl-open.c: Fix typos.
46828         * iconvdata/gbbig5.c: Likewise.
46829         * iconvdata/iso-2022-jp.c: Likewise.
46830         * iconv/gconv_int.h: Likewise.
46831         * iconv/loop.c: Likewise.
46832         * nis/rpcsvc/nis.h: Likewise.
46833         * resolv/ns_name.c: Likewise.
46834         * stdio-common/vfscanf.c: Likewise.
46835         * streams/stropts.h: Likewise.
46836         * sunrpc/rpc_thread.c: Likewise.
46837         * sysdeps/i386/strpbrk.S: Likewise.
46838         * sysdeps/ieee754/k_standard.c: Likewise.
46839         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46840         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46841         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46842         * sysdeps/mach/hurd/profil.c: Likewise.
46843         * sysdeps/s390/dl-procinfo.h: Likewise.
46844         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46845         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46846         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46847         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46848         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46850 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46852         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46855 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46857         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46858         aix specific files.
46859         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46860         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46861         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46862         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46863         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46864         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46865         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46866         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46868 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46869             Roland McGrath  <roland@hack.frob.com>
46871         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46872         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46874 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46876         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46877         __executable_start symbol instead of _start.
46879 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46881         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46882         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46883         Move macros to...
46884         * sysdeps/gnu/ldsodefs.h: ... this new file.
46886         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46887         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46888         instead of ELFOSABI_LINUX.
46890         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46891         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46892         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46893         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46894         Likewise.
46895         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46896         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46897         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46898         Likewise.
46899         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46900         (ibm_extended_long_double): Add ieee_nan member.
46901         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46902         (do_test): New function.
46904         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46905         TEST_TRUNC.
46906         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46907         functions, renamed from truncdfsf_test, trunctfsf_test,
46908         trunctfdf_test.
46909         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46910         functions.
46911         (do_test): Run all these.
46913 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46915         * argp/argp-help.c: Fix typos.
46916         * argp/argp-parse.c: Likewise.
46917         * debug/backtracesyms.c: Likewise.
46918         * elf/elf.h: Likewise.
46919         * malloc/malloc.c: Likewise.
46920         * nis/nis_print.c: Likewise.
46921         * resolv/res_comp.c: Likewise.
46922         * stdlib/stdlib.h: Likewise.
46923         * sunrpc/clnt_tcp.c: Likewise.
46924         * sunrpc/clnt_udp.c: Likewise.
46925         * sunrpc/clnt_unix.c: Likewise.
46926         * sysdeps/unix/bsd/ptsname.c: Likewise.
46927         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46928         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46930         Likewise.
46931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46932         Likewise.
46933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46934         Likewise.
46935         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46937 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46939         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46940         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46942 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46944         [BZ #15897]
46945         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46946         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46947         ($(objpfx)bug-dl-leaf): New rule.
46948         ($(objpfx)bug-dl-leaf.so): Likewise.
46949         ($(objpfx)bug-dl-leaf.out): Likewise.
46950         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46951         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46952         * dlfcn/bug-dl-leaf.c: New test.
46953         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46954         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46955         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46956         (dlclose): Likewise.
46957         (dlmopen): Likewise.
46959 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46961         * include/netdb.h [!_ISOMAC]:
46962         Don't include <tls.h>.
46963         (h_errno, __libc_h_errno): Move declaration and macros out of
46964         [_LIBC_REENTRANT].
46966         * include/resolv.h [_RESOLV_H_]:
46967         Don't include <tls.h>.
46968         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46969         * resolv/res_libc.c: Don't include <tls.h>.
46970         (_res): Use __attribute__ ((nocommon)) in place of
46971         __attribute__ ((section (".bss"))).
46973         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46974         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46976         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46978         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46979         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46981         * resolv/res_mkquery.c: Include <sys/time.h>.
46983         * inet/ifreq.c: Moved to ...
46984         * sysdeps/unix/ifreq.c: ... here.
46985         * inet/ifreq.c: New file, true stub version.
46987         * socket/sa_len.c: New file.
46988         * socket/Makefile (aux): Add it.
46989         * sysdeps/unix/sysv/linux/Makefile
46990         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46991         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46992         and #include <socket/sa_len.c>.
46993         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46994         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46996         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46997         * bits/socket.h: ... here.
46999         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47000         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47001         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47003 2013-08-27  Andreas Schwab  <schwab@suse.de>
47005         [BZ #15736]
47006         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47007         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47008         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47009         * string/test-strcasecmp.c (test_main): Run tests in several
47010         locales.
47011         * string/test-strncasecmp.c (test_main): Likewise.
47013         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47014         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47015         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47016         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47017         (__strncasecmp_ssse3) [PIC]: Likewise.
47019 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47021         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47023         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47024         instead of explicitly declaring xdecrypt.
47025         * nis/nss_nis/nis-publickey.c: Likewise.
47027 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47029         [BZ #15890]
47030         * nscd/aicache.c: Include res_hconf.h.
47031         (addhstaiX): Initialize res_hconf.
47033 2013-08-26  Andreas Schwab  <schwab@suse.de>
47035         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47036         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47038 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47040         * nscd/aicache.c (addhstaiX): Fix indentation.
47042 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47044         * configure.ac: Quote $build_pt_chown test.
47045         * configure: Regenerated.
47047 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47049         [BZ #15532]
47050         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47051         * math/s_cexpf.c (__cexpf): Likewise.
47052         * math/s_cexpl.c (__cexpl): Likewise.
47053         * math/libm-test.inc (cexp_test_data): Correct expected return
47054         value for NaN + i0.  Add another test.
47056 2013-08-22  David S. Miller  <davem@davemloft.net>
47058         * po/ca.po: Update Catalan translation from translation project.
47059         * po/uk.po: Add Ukrainian translations from translation project.
47061 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47063         [BZ #15797]
47064         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47065         is infinite, not alongside NaN test.
47066         * math/s_fdimf.c (__fdimf): Likewise.
47067         * math/s_fdiml.c (__fdiml): Likewise.
47068         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47069         errno is unchanged.
47071 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47073         * argp/argp-help.c: Fix typos.
47074         * crypt/speeds.c: Likewise.
47075         * csu/check_fds.c: Likewise.
47076         * elf/dl-load.c: Likewise.
47077         * elf/dl-open.c: Likewise.
47078         * elf/reldep3.c: Likewise.
47079         * elf/reldep.c: Likewise.
47080         * elf/sprof.c: Likewise.
47081         * iconv/iconv_charmap.c: Likewise.
47082         * iconv/skeleton.c: Likewise.
47083         * iconv/strtab.c: Likewise.
47084         * io/lockf64.c: Likewise.
47085         * libio/libioP.h: Likewise.
47086         * resolv/gai_notify.c: Likewise.
47087         * resolv/ns_name.c: Likewise.
47088         * resolv/ns_samedomain.c: Likewise.
47089         * resolv/res_send.c: Likewise.
47090         * stdlib/random.c: Likewise.
47091         * sunrpc/rpc/xdr.h: Likewise.
47092         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47093         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47094         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47095         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47096         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47097         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47098         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47099         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47100         * sysdeps/mach/hurd/check_fds.c: Likewise.
47101         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47102         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47103         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47104         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47105         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47106         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47107         * sysdeps/pthread/aio_notify.c: Likewise.
47108         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47109         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47110         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47111         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47112         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47114 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47116         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47117         version if bit_Slow_SSE4_2 is set.
47118         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47119         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47121 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47123         [BZ #15867]
47124         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47125         trampoline stack frame information.
47126         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47127         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47128         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47129         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47130         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47131         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47132         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47133         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47134         sa_flags value.
47135         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47136         interrupting a syscall and set with option SA_SIGINFO.
47138 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47140         [BZ #15531]
47141         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47142         argument is infinite.
47143         * math/s_cprojf.c (__cprojf): Likewise.
47144         * math/s_cprojl.c (__cprojl): Likewise.
47145         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47146         * math/libm-test.inc (cproj_test_data): Add more tests.
47148         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47150         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47151         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47152         size.  Use __ffs to determine corresponding shift.
47154 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47155             Roland McGrath  <roland@hack.frob.com>
47157         * Makefile (INSTALL): Remove trailing blank lines from output of
47158         makeinfo.
47160 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47162         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47163         Align 32 bit compat elf_greg to 8 bytes.
47165 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47167         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47169 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47171         * string/strcoll_l.c (coll_seq): New structure.
47172         (get_next_seq_cached): New function.
47173         (get_next_seq): New function.
47174         (do_compare): New function.
47175         (STRCOLL): Use GNU style definition.  Simplify implementation
47176         by using get_next_seq, get_next_seq_cached and do_compare.
47178 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47180         [BZ #14699]
47181         CVE-2013-4237
47182         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47183         member.
47184         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47185         member.
47186         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47187         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47188         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47189         conditional.
47190         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47191         GETDENTS_64BIT_ALIGNED.
47192         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47193         * manual/filesys.texi (Reading/Closing Directory): Document
47194         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47195         strongly.
47196         * manual/conf.texi (Limits for Files): Add portability note to
47197         NAME_MAX, PATH_MAX.
47198         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47200 2013-08-13  Andreas Schwab  <schwab@suse.de>
47202         [BZ #15749]
47203         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47204         of fabs.
47205         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47206         LDBL_MAX_EXP >= 16384]: Add tests for it.
47208 2013-08-12  David S. Miller  <davem@davemloft.net>
47210         * version.h (RELEASE): Set to "development".
47211         (VERSION): Set to "2.18.90".
47212         * NEWS: Add 2.19 section.
47214 2013-08-03  David S. Miller  <davem@davemloft.net>
47216         * po/ko.po: Update Korean translation from translation project.
47218 2013-08-01  David S. Miller  <davem@davemloft.net>
47220         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47221         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47222         Bilka.
47224 2013-07-30  David S. Miller  <davem@davemloft.net>
47226         * po/fr.po: Update French translation from translation project.
47228 2013-07-28  David S. Miller  <davem@davemloft.net>
47230         * po/cs.po: Update Czech translation from translation project.
47232         * po/sv.po: Update Swedish translation from translation project.
47234 2013-07-27  David S. Miller  <davem@davemloft.net>
47236         * po/eo.po: Update Esperanto translation from translation project.
47238         * po/vi.po: Update Vietnamese translation from translation project.
47240         * po/de.po: Update German translation from translation project.
47242 2013-07-26  David S. Miller  <davem@davemloft.net>
47244         * po/bg.po: Update Bulgarian translation from translation project.
47246         * po/nl.po: Update Dutch translation from translation project.
47247         * po/pl.po: Update Polish translation from translation project.
47248         * po/ru.po: Update Russian translation from translation project.
47250 2013-07-24  David S. Miller  <davem@davemloft.net>
47252         * po/libc.pot: Update.
47254 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47256         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47257         variable page size.
47258         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47259         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47260         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47262 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47264         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47266 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47267             Andreas Schwab  <schwab@suse.de>
47268             Roland McGrath  <roland@hack.frob.com>
47269             Joseph Myers  <joseph@codesourcery.com>
47270             Carlos O'Donell  <carlos@redhat.com>
47272         [BZ #15755]
47273         * config.h.in: Define HAVE_PT_CHOWN.
47274         * config.make.in (build-pt-chown): New variable.
47275         * configure.in (--enable-pt_chown): New configure option.
47276         * configure: Regenerate.
47277         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47278         build-pt-chown is enabled.
47279         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47280         pt_chown to fix pty ownership.
47281         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47282         CLOSE_ALL_FDS.
47283         * manual/install.texi (Configuring and compiling): Mention
47284         --enable-pt_chown. Add @findex for grantpt.
47285         * INSTALL: Regenerate.
47287 2013-07-20  David S. Miller  <davem@davemloft.net>
47289         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47290         difference between 32-bit and 64-bit.
47292 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47294         [BZ #15711]
47295         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47296         Avoid system header dependency with -ffreestanding.
47297         ($(objpfx)bits/syscall%d): Likewise.
47299 2013-07-13  David S. Miller  <davem@davemloft.net>
47301         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47302         underflows from atanl/atan2l due to bug 15319.
47303         (casinh_test_data): Likewise.
47305 2013-07-07  David S. Miller  <davem@davemloft.net>
47307         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47309 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47311         * sysdeps/i386/fpu/libm-test-ulps: Update.
47312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47314 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47316         * configure.in (--enable-lock-elision): Fix message text.
47317         * INSTALL: Regenerate.
47318         * configure: Regenerate.
47320 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47324 2013-07-03  Andreas Jaeger  <aj@suse.de>
47326         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47327         define.
47328         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47329         (ptrace_peeksiginfo_args): Add.
47330         (__ptrace_peeksiginfo_flags): Add.
47331         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47332         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47333         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47335 2013-07-03  Allan McRae  <allan@archlinux.org>
47337         * sysdeps/i386/fpu/libm-test-ulps: Update.
47339 2013-07-02  David S. Miller  <davem@davemloft.net>
47341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47343 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47347 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47349         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47352 2013-07-02  Andi Kleen <ak@linux.intel.com>
47354         * config.h.in (ENABLE_LOCK_ELISION): Add.
47355         * configure.in (--enable-lock-elision): Add option.
47356         * manual/install.texi: Document --enable lock elision.
47357         * configure: Regenerate
47358         * INSTALL: Regenerate.
47360 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47362         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47363         SSE4.2 strcasecmp for libc.a.
47364         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47366 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47368         [BZ #13304]
47369         * soft-fp/op-common.h (_FP_FMA): New macro.
47370         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47371         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47372         (_FP_MUL_MEAT_1_imm): ... here.
47373         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47374         (_FP_MUL_MEAT_1_wide): ... here.
47375         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47376         (_FP_MUL_MEAT_1_hard): ... here.
47377         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47378         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47379         (_FP_MUL_MEAT_2_wide): ... here.
47380         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47381         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47382         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47383         (_FP_MUL_MEAT_2_gmp): ... here.
47384         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47385         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47386         (_FP_MUL_MEAT_4_wide): ... here.
47387         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47388         (_FP_MUL_MEAT_4_gmp): ... here.
47389         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47390         (_FP_WFRACBITS_DW_S): Likewise.
47391         (_FP_WFRACXBITS_DW_S): Likewise.
47392         (_FP_HIGHBIT_DW_S): Likewise.
47393         (FP_FMA_S): Likewise.
47394         (_FP_FRAC_HIGH_DW_S): Likewise.
47395         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47396         (_FP_WFRACBITS_DW_D): Likewise.
47397         (_FP_WFRACXBITS_DW_D): Likewise.
47398         (_FP_HIGHBIT_DW_D): Likewise.
47399         (FP_FMA_D): Likewise.
47400         (_FP_FRAC_HIGH_DW_D): Likewise.
47401         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47402         (_FP_WFRACBITS_DW_E): Likewise.
47403         (_FP_WFRACXBITS_DW_E): Likewise.
47404         (_FP_HIGHBIT_DW_E): Likewise.
47405         (FP_FMA_E): Likewise.
47406         (_FP_FRAC_HIGH_DW_E): Likewise.
47407         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47408         (_FP_WFRACBITS_DW_Q): Likewise.
47409         (_FP_WFRACXBITS_DW_Q): Likewise.
47410         (_FP_HIGHBIT_DW_Q): Likewise.
47411         (FP_FMA_Q): Likewise.
47412         (_FP_FRAC_HIGH_DW_Q): Likewise.
47413         * soft-fp/fmasf4.c: New file.
47414         * soft-fp/fmadf4.c: Likewise.
47415         * soft-fp/fmatf4.c: Likewise.
47417 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47420         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47421         Silvermont.
47422         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47423         macro.
47424         (index_Slow_SSE4_2): Likewise.
47425         (index_Prefer_PMINUB_for_stringop): Likewise.
47426         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47427         bit_Slow_SSE4_2 is set.
47428         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47429         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47431 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47433         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47434         rtld_global._dl_hwcap2.
47435         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47436         POWER8.
47437         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47438         POWER8 feature descriptions defined in _dl_hwcap2.
47439         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47440         string handling for POWER8 feature bits.
47441         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47442         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47443         _dl_powerpc_cap_flags.
47444         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47445         * sysdeps/powerpc/rtld-global-offsets.sym
47446         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47447         _dl_hwcap2 in the rtld_global_ro structure.
47449 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47451         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47452         hardware capabilities in support of AT_HWCAP2.
47453         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47454         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47455         GLRO(dl_hwcap2).
47456         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47457         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47458         explicitly the unknown a_type display mechanism is used.
47459         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47460         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47461         struct member.
47462         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47463         to macro prototype for AT_HWCAP2 support.
47464         * sysdeps/i386/dl-procinfo.h: Likewise.
47465         * sysdeps/s390/dl-procinfo.h: Likewise.
47466         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47467         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47468         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47469         return -1 for unknown a_type display fallback.
47470         * sysdeps/sparc/dl-procinfo.h: Likewise.
47471         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47472         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47474 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47476         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47477         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47479 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47481         [BZ #12492]
47482         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47483         mprotect making __stack_prot writable.
47485 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47486             Joseph Myers  <joseph@codesourcery.com>
47488         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47489         as being properly aligned.
47491 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47493         * dlfcn/modstatic5.c: New file.
47494         * dlfcn/tststatic5.c: New file.
47495         * dlfcn/Makefile (tests): Add tststatic5.
47496         (tests-static): Likewise.
47497         (modules-names): Add modstatic5.
47498         (tststatic5-ENV): New variable.
47499         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47501         [BZ #15022]
47502         * elf/dl-support.c (_dl_main_map): New variable.
47503         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47504         (_dl_nns, _dl_load_adds): Set to 1.
47505         (_dl_initial_searchlist): Refer to _dl_main_map.
47506         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47507         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47508         call to _dl_get_origin.
47509         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47510         around call_map.
47511         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47512         * dlfcn/modstatic3.c: New file.
47513         * dlfcn/tststatic3.c: New file.
47514         * dlfcn/tststatic4.c: New file.
47515         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47516         (tests-static): Likewise.
47517         (modules-names): Add modstatic3.
47518         (tststatic3-ENV, tststatic4-ENV): New variables.
47519         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47520         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47522 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47524         * configure.in (CC): Require GCC version 4.4 or later.
47525         * configure: Regenerated.
47526         * manual/install.texi (Tools for Compilation): Update GCC version
47527         requirement.
47528         * INSTALL: Regenerated.
47530 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47532         [BZ #15674]
47533         * string/test-memcmp.c (check2): New.
47534         (main): Call check2.
47536         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47538 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47540         [BZ #15022]
47541         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47542         over to...
47543         (dl_open_worker) [!SHARED]: ... here.
47545 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47547         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47549 2013-06-25  Richard Henderson  <rth@redhat.com>
47551         * locale/programs/locarchive.c: Include <libc-internal.h>
47553 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47555         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47556         trailing whitespace removed.
47558 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47560         [BZ #10283]
47561         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47562         * locale/programs/locarchive.c: Include libc-mmap.h.
47563         (prepare_address_space): Take two new outputs (the mmap base and len).
47564         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47565         values.
47566         (create_archive): Declare new mmap base and len values for
47567         prepare_address_space, and store the result in ah.
47568         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47569         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47570         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47571         Declare new mmap base and len values for
47572         prepare_address_space, and store the result in new_ah.
47573         (open_archive): Declare new mmap base and len values for
47574         prepare_address_space, and store the result in ah.
47575         (close_archive): If ah->mmap_base is not NULL, use that and
47576         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47577         * sysdeps/generic/libc-mmap.h: New file.
47579 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47581         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47582         (ALIGN_UP): Likewise.
47583         (PTR_ALIGN_DOWN): Likewise.
47584         (PTR_ALIGN_UP): Likewise.
47586 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47588         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47589         entry mapped to PPC_PLATFORM_POWER8.
47590         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47591         POWER8.
47592         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47593         (_dl_string_platform): Add case for exporting platform position for
47594         POWER8.
47595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47596         search path to sysdeps/powerpc/powerpc32/power8 directory.
47597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47598         search path to sysdeps/powerpc/powerpc64/power8 directory.
47599         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47600         power7 directories.
47601         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47602         power7 directories.
47604 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47606         * INSTALL: Regenerate.
47608         * nscd/connections.c (nscd_init): Fix comment.
47610 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47612         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47614         [BZ #15667]
47615         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47616         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47618 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47620         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47621         DL_DST_REQ_STATIC.
47622         (DL_DST_REQ_STATIC): Remove macro.
47624 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47626         [BZ #7006]
47627         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47628         with a shift of 0 bits.
47630 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47632         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47633         $(tststatic-ENV).
47635 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47637         [BZ #15655]
47638         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47640 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47642         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47643         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47644         accepts -fno-tree-loop-distribute-patterns.
47645         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47646         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47647         recursive call.
47648         * string/memset.c (memset): Likewise.
47649         * string/test-memmove.c (simple_memmove): Disable loop transformation
47650         to library calls.
47651         * string/test-memset.c (simple_memset): Likewise.
47652         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47653         * benchtests/bench-memset.c (simple_memset): Likewise.
47654         * configure: Regenerated.
47656 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47658         * math/test-misc.c (main): Ignore fesetround failure when failures
47659         of subsequent rounding tests would be ignored.
47661         [BZ #15654]
47662         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47663         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47664         * math/fegetenv.c (__fegetenv): Return 0.
47665         * math/fegetexcept.c (fegetexcept): Return 0.
47666         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47667         FE_TONEAREST.
47668         * math/feholdexcpt.c (feholdexcept): Return 0.
47669         * math/fesetenv.c (__fesetenv): Return 0.
47670         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47671         argument FE_TONEAREST.
47672         * math/feupdateenv.c (__feupdateenv): Return 0.
47673         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47675 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47677         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47678         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47679         ($(objpfx)rtld-%.os rules): Use them.
47681 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47683         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47684         fields.
47686 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47688         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47689         length of target pattern, then descending length of dependency pattern.
47690         * configure.in (AWK): Require gawk 3.1.2 or newer.
47691         * manual/install.texi (Tools for Compilation): Say that we do.
47692         * configure: Regenerated.
47694         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47695         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47696         * scripts/sysd-rules.awk: ... this new script.
47697         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47698         than a glob-style pattern.
47700 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47702         * math/test-misc.c (main): Do not treat incorrectly rounded
47703         conversions as failure unless ROUNDING_TESTS passes.
47705 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47707         [BZ #15631]
47708         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47709         restore exception state around main square root computation, then
47710         check for inexactness explicitly.
47712         * math/libm-test.inc (fma_test_data): Add another test.
47714 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47716         * manual/threads.texi (Non-POSIX Extensions): New document
47717         node.  Document pthread_getattr_default_np and
47718         pthread_setattr_default_np.
47720         * Versions.def (libpthread): Add GLIBC_2.18.
47721         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47723         Likewise.
47724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47725         Likewise.
47726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47727         Likewise.
47728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47729         Likewise.
47730         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47731         Likewise.
47732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47733         Likewise.
47734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47735         Likewise.
47736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47737         Likewise.
47738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47739         Likewise.
47741 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47744         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47746 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47747             H.J. Lu  <hjl.tools@gmail.com>
47749         [BZ #15627]
47750         * sysdeps/x86_64/rtld-memset.c: Remove file.
47751         * sysdeps/x86_64/rtld-memset.S: New file.
47753 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47755         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47756         (test_in_one_mode): Take arguments for whether the rounding mode
47757         is supported for each floating-point type.
47758         (do_test): Pass new arguments to test_in_one_mode using
47759         ROUNDING_TESTS.
47761 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47763         * posix/tst-waitid.c (do_test): Distinguish different instances of
47764         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47765         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47766         before entering the kernel for waitpid.
47768 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47770         * NEWS: Fix note on clock function precision.  Text by Roland
47771         McGrath.
47773 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47775         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47776         it into place only when and if the sanity check passes.
47778 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
47780         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47781         output for whether conversion result is exact.  Take argument
47782         indicating whether type is IBM long double.
47783         (round_for_all): Change need_exact field to ibm_ld.
47784         * stdlib/tst-strtod-round.c (struct exactness): New type.
47785         (struct test): Change bool ld_ok field to struct exactness exact.
47786         (TEST): Update all definitions for change to field.
47787         (tests): Regenerate array contents.
47788         (test_in_one_mode): Take pointer to new field instead of old ld_ok
47789         field value.  Check for IBM long double here.
47790         (do_test): Update calls to test_in_one_mode.
47792 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47794         [BZ #12515]
47795         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47796         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47798 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47800         [BZ #15605]
47801         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47802         generated by the compiler on loop optimizations.
47803         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47804         general definitions.
47806 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
47808         * math/bug-nextafter.c: Include <math-tests.h>.
47809         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47810         the relevant type.
47811         * math/bug-nexttoward.c: Include <math-tests.h>.
47812         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47813         the relevant type.
47814         * math/test-misc.c: Include <math-tests.h>.
47815         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47816         the relevant type.
47818 2013-06-12  Andreas Jaeger  <aj@suse.de>
47820         * po/ia.po: Update Interlingua translation from translation
47821         project.
47823 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47825         * include/fenv.h: Include stdbool.h.
47826         (struct rm_ctx): New structure.
47827         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47828         Define macro.
47829         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47830         (SET_RESTORE_ROUNDF): Likewise.
47831         (SET_RESTORE_ROUNDL): Likewise.
47832         (SET_RESTORE_ROUND_NOEX): Likewise.
47833         (SET_RESTORE_ROUND_NOEXF): Likewise.
47834         (SET_RESTORE_ROUND_NOEXL): Likewise.
47835         (SET_RESTORE_ROUND_53BIT): Likewise.
47836         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47837         (libc_feresetround_noexf_ctx): Likewise.
47838         (libc_feresetround_noexl_ctx): Likewise.
47839         (libc_feholdsetround_53bit_ctx): Likewise.
47840         (libc_feresetround_53bit_ctx): Likewise.
47841         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47842         (libc_feholdexcept_setround_sse_ctx): New function.
47843         (libc_fesetenv_sse_ctx): Likewise.
47844         (libc_feupdateenv_sse_ctx): Likewise.
47845         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47846         (libc_feholdexcept_setround_387_ctx): Likewise.
47847         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47848         (libc_feholdsetround_387_prec_ctx): Likewise.
47849         (libc_feholdsetround_387_ctx): Likewise.
47850         (libc_feholdsetround_387_53bit_ctx): Likewise.
47851         (libc_feholdsetround_sse_ctx): Likewise.
47852         (libc_feresetround_sse_ctx): Likewise.
47853         (libc_feresetround_387_ctx): Likewise.
47854         (libc_feupdateenv_387_ctx): Likewise.
47855         (libc_feholdexcept_setroundf_ctx): Define macro.
47856         (libc_fesetenvf_ctx): Likewise.
47857         (libc_feupdateenvf_ctx): Likewise.
47858         (libc_feholdsetroundf_ctx): Likewise.
47859         (libc_feresetroundf_ctx): Likewise.
47860         (libc_feholdexcept_setround_ctx): Likewise.
47861         (libc_fesetenv_ctx): Likewise.
47862         (libc_feupdateenv_ctx): Likewise.
47863         (libc_feholdsetround_ctx): Likewise.
47864         (libc_feresetround_ctx): Likewise.
47865         (libc_feholdexcept_setroundl_ctx): Likewise.
47866         (libc_feupdateenvl_ctx): Likewise.
47867         (libc_feholdsetroundl_ctx): Likewise.
47868         (libc_feresetroundl_ctx): Likewise.
47869         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47870         (libc_feresetround_53bit_ctx): Likewise.
47872 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47874         * locale/iso-639.def: Convert to UTF-8.
47876 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47878         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47879         (EXCEPTION_TESTS_double): Likewise.
47880         (EXCEPTION_TESTS_long_double): Likewise.
47881         (EXCEPTION_TESTS): Likewise.
47882         * math/libm-test.inc (test_exceptions): Only test exceptions if
47883         EXCEPTION_TESTS (FLOAT).
47885 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47887         * benchtests/Makefile (string-bench): Add strcpy_chk and
47888         stpcpy_chk.
47889         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47890         * benchtests/bench-stpcpy_chk.c: New file.
47891         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47892         * benchtests/bench-strcpy_chk.c: New file.
47893         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47894         code.
47895         (do_test): Likewise.
47897 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47899         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47900         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47901         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47902         with tabs where appropriate.
47903         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47904         dl-procinfo.h.
47905         [PPC_PLATFORM_PPC440]: Likewise.
47906         [PPC_PLATFORM_PPC464]: Likewise.
47907         [PPC_PLATFORM_PPC476]: Likewise.
47908         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47909         ppc464, and ppc476 platform strings merging from ports/
47910         dl-procinfo.h.
47912 2013-06-11  Andreas Schwab  <schwab@suse.de>
47914         [BZ #14991]
47915         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47916         (from_ucs4_idx): Regenerate.
47917         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47918         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47919         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47920         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47921         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47922         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47923         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47924         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47925         from FROM_LOOP and TO_LOOP specific macros.
47926         (BODY): Handle combining characters.
47927         * iconvdata/BIG5HKSCS.irreversible: Update.
47928         * iconvdata/BIG5HKSCS.precomposed: New file.
47929         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47930         characters.
47931         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47933 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47935         * include/sys/time.h: Fix indentation and add copyright header.
47937         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47938         (do_test): Likewise.
47939         * string/test-memchr.c (do_one_test): Likewise.
47940         (do_test): Likewise.
47941         * string/test-memcmp.c (do_one_test): Likewise.
47942         (do_test): Likewise.
47943         * string/test-memcpy.c (do_one_test): Likewise.
47944         (do_test): Likewise.
47945         * string/test-memmem.c (do_one_test): Likewise.
47946         (do_test): Likewise.
47947         (do_random_tests): Likewise.
47948         * string/test-memmove.c (do_one_test): Likewise.
47949         (do_test): Likewise.
47950         * string/test-memset.c (do_one_test): Likewise.
47951         (do_test): Likewise.
47952         * string/test-rawmemchr.c (do_one_test): Likewise.
47953         (do_test): Likewise.
47954         * string/test-strcasecmp.c (do_one_test): Likewise.
47955         (do_test): Likewise.
47956         * string/test-strcasestr.c (do_one_test): Likewise.
47957         (do_test): Likewise.
47958         * string/test-strcat.c (do_one_test): Likewise.
47959         (do_test): Likewise.
47960         * string/test-strchr.c (do_one_test): Likewise.
47961         (do_test): Likewise.
47962         * string/test-strcmp.c (do_one_test): Likewise.
47963         (do_test): Likewise.
47964         * string/test-strcpy.c (do_one_test): Likewise.
47965         (do_test): Likewise.
47966         * string/test-string.h: Likewise.
47967         (test_init): Likewise.
47968         * string/test-strlen.c (do_one_test): Likewise.
47969         (do_test): Likewise.
47970         * string/test-strncasecmp.c (do_one_test): Likewise.
47971         (do_test): Likewise.
47972         * string/test-strncat.c (do_one_test): Likewise.
47973         (do_test): Likewise.
47974         * string/test-strncmp.c (do_one_test): Likewise.
47975         (do_test_limit): Likewise.
47976         (do_test): Likewise.
47977         * string/test-strncpy.c (do_one_test): Likewise.
47978         (do_test): Likewise.
47979         * string/test-strnlen.c (do_one_test): Likewise.
47980         (do_test): Likewise.
47981         * string/test-strpbrk.c (do_one_test): Likewise.
47982         (do_test): Likewise.
47983         * string/test-strrchr.c (do_one_test): Likewise.
47984         (do_test): Likewise.
47985         * string/test-strspn.c (do_one_test): Likewise.
47986         (do_test): Likewise.
47987         * string/test-strstr.c (do_one_test): Likewise.
47988         (do_test): Likewise.
47990         * benchtests/Makefile (string-bench): Add string benchmarks.
47991         * benchtests/bench-bcopy-ifunc.c: New file.
47992         * benchtests/bench-bcopy.c: New file.
47993         * benchtests/bench-bzero-ifunc.c: New file.
47994         * benchtests/bench-bzero.c: New file.
47995         * benchtests/bench-memccpy-ifunc.c: New file.
47996         * benchtests/bench-memccpy.c: New file.
47997         * benchtests/bench-memchr-ifunc.c: New file.
47998         * benchtests/bench-memchr.c: New file.
47999         * benchtests/bench-memcmp-ifunc.c: New file.
48000         * benchtests/bench-memcmp.c: New file.
48001         * benchtests/bench-memmem-ifunc.c: New file.
48002         * benchtests/bench-memmem.c: New file.
48003         * benchtests/bench-memmove-ifunc.c: New file.
48004         * benchtests/bench-memmove.c: New file.
48005         * benchtests/bench-mempcpy-ifunc.c: New file.
48006         * benchtests/bench-mempcpy.c: New file.
48007         * benchtests/bench-memset-ifunc.c: New file.
48008         * benchtests/bench-memset.c: New file.
48009         * benchtests/bench-rawmemchr-ifunc.c: New file.
48010         * benchtests/bench-rawmemchr.c: New file.
48011         * benchtests/bench-stpcpy-ifunc.c: New file.
48012         * benchtests/bench-stpcpy.c: New file.
48013         * benchtests/bench-stpncpy-ifunc.c: New file.
48014         * benchtests/bench-stpncpy.c: New file.
48015         * benchtests/bench-strcasecmp-ifunc.c: New file.
48016         * benchtests/bench-strcasecmp.c: New file.
48017         * benchtests/bench-strcasestr-ifunc.c: New file.
48018         * benchtests/bench-strcasestr.c: New file.
48019         * benchtests/bench-strcat-ifunc.c: New file.
48020         * benchtests/bench-strcat.c: New file.
48021         * benchtests/bench-strchr-ifunc.c: New file.
48022         * benchtests/bench-strchr.c: New file.
48023         * benchtests/bench-strchrnul-ifunc.c: New file.
48024         * benchtests/bench-strchrnul.c: New file.
48025         * benchtests/bench-strcmp-ifunc.c: New file.
48026         * benchtests/bench-strcmp.c: New file.
48027         * benchtests/bench-strcpy-ifunc.c: New file.
48028         * benchtests/bench-strcpy.c: New file.
48029         * benchtests/bench-strcspn-ifunc.c: New file.
48030         * benchtests/bench-strcspn.c: New file.
48031         * benchtests/bench-strlen-ifunc.c: New file.
48032         * benchtests/bench-strlen.c: New file.
48033         * benchtests/bench-strncasecmp-ifunc.c: New file.
48034         * benchtests/bench-strncasecmp.c: New file.
48035         * benchtests/bench-strncat-ifunc.c: New file.
48036         * benchtests/bench-strncat.c: New file.
48037         * benchtests/bench-strncmp-ifunc.c: New file.
48038         * benchtests/bench-strncmp.c: New file.
48039         * benchtests/bench-strncpy-ifunc.c: New file.
48040         * benchtests/bench-strncpy.c: New file.
48041         * benchtests/bench-strnlen-ifunc.c: New file.
48042         * benchtests/bench-strnlen.c: New file.
48043         * benchtests/bench-strpbrk-ifunc.c: New file.
48044         * benchtests/bench-strpbrk.c: New file.
48045         * benchtests/bench-strrchr-ifunc.c: New file.
48046         * benchtests/bench-strrchr.c: New file.
48047         * benchtests/bench-strspn-ifunc.c: New file.
48048         * benchtests/bench-strspn.c: New file.
48049         * benchtests/bench-strstr-ifunc.c: New file.
48050         * benchtests/bench-strstr.c: New file.
48052         * benchtests/Makefile: Disable parallel execution of targets.
48053         (string-bench): Add memcpy.
48054         (benchset): New variable to store a list of benchmark sets.
48055         (bench-func): Renamed from bench.
48056         (bench-set): New target.
48057         (bench): Depend on bench-func and bench-set.
48058         * benchtests/README: Add section on benchmark sets.
48059         * benchtests/bench-memcpy-ifunc.c: New file.
48060         * benchtests/bench-memcpy.c: New file.
48061         * benchtests/bench-string.h: New file.
48063 2013-06-11  Andreas Schwab  <schwab@suse.de>
48065         [BZ #15577]
48066         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48067         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48068         values in the triple.
48069         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48070         terminator in the group key.
48072 2013-06-11  Andreas Jaeger  <aj@suse.de>
48074         * po/zh_TW.po: Update Chinese (traditional) translation from
48075         translation project.
48077 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48079         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48080         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48081         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48082         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48083         (clock_getcpuclockid): Likewise.
48084         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48085         Add weak_alias and libc_hidden_def.
48086         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48087         * rt/clock_gettime.c (clock_gettime): Rename to
48088         __clock_gettime.  Add weak_alias and libc_hidden_def.
48089         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48090         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48091         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48092         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48093         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48094         Likewise.
48095         * rt/clock_settime.c (clock_settime): Rename to
48096         __clock_settime.  Add weak_alias and libc_hidden_def.
48097         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48099 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48101         * mach/err_boot.sub: Remove trailing whitespace.
48102         * mach/err_ipc.sub: Likewise.
48103         * mach/err_mach.sub: Likewise.
48105         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48106         (ROUNDING_TESTS_double): Likewise.
48107         (ROUNDING_TESTS_long_double): Likewise.
48108         (ROUNDING_TESTS): Likewise.
48109         * math/libm-test.inc: Include <math-tests.h>.
48110         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48111         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48112         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48113         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48115 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48117         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48118         of assigning.
48120 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48122         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48123         otherwise empty TRANS lines.
48124         * sysdeps/gnu/errlist.c: Regenerated.
48126         * catgets/gencat.c (error_print): Use (void) in function
48127         definition.
48128         * crypt/crypt_util.c (__init_des): Likewise.
48129         * crypt/speeds.c (Stop): Likewise.
48130         (main): Likewise.
48131         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48132         * inet/ruserpass.c (token): Likewise.
48133         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48134         * intl/localealias.c (extend_alias_table): Likewise.
48135         * intl/plural-exp.c (init_germanic_plural): Likewise.
48136         * libio/fcloseall.c (__fcloseall): Likewise.
48137         * libio/genops.c (_IO_flush_all): Likewise.
48138         (_IO_flush_all_linebuffered): Likewise.
48139         (_IO_cleanup): Likewise.
48140         (_IO_iter_begin): Likewise.
48141         (_IO_iter_end): Likewise.
48142         (_IO_list_lock): Likewise.
48143         (_IO_list_unlock): Likewise.
48144         (_IO_list_resetlock): Likewise.
48145         * libio/getchar.c (getchar): Likewise.
48146         * libio/getchar_u.c (getchar_unlocked): Likewise.
48147         * libio/getwchar.c (getwchar): Likewise.
48148         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48149         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48150         * login/getpt.c (__getpt): Likewise.
48151         * login/tst-utmp.c (main): Likewise.
48152         * malloc/hooks.c (__malloc_check_init): Likewise.
48153         * malloc/malloc.c (__malloc_stats): Likewise.
48154         * malloc/mtrace.c (tr_break): Likewise.
48155         (mtrace): Likewise.
48156         (muntrace): Likewise.
48157         * misc/fstab.c (endfsent): Likewise.
48158         * misc/getclktck.c (__getclktck): Likewise.
48159         * misc/getdtsz.c (__getdtablesize): Likewise.
48160         * misc/gethostid.c (gethostid): Likewise.
48161         * misc/getpagesize.c (__getpagesize): Likewise.
48162         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48163         (__get_nprocs): Likewise.
48164         (__get_phys_pages): Likewise.
48165         (__get_avphys_pages): Likewise.
48166         * misc/getttyent.c (getttyent): Likewise.
48167         (setttyent): Likewise.
48168         (endttyent): Likewise.
48169         * misc/getusershell.c (getusershell): Likewise.
48170         (endusershell): Likewise.
48171         (setusershell): Likewise.
48172         (initshells): Likewise.
48173         * misc/hsearch.c (__hdestroy): Likewise.
48174         * misc/sync.c (sync): Likewise.
48175         * misc/syslog.c (closelog_internal): Likewise.
48176         (closelog): Likewise.
48177         * misc/ttyslot.c (ttyslot): Likewise.
48178         * misc/vhangup.c (vhangup): Likewise.
48179         * posix/fork.c (__fork): Likewise.
48180         * posix/getegid.c (__getegid): Likewise.
48181         * posix/geteuid.c (__geteuid): Likewise.
48182         * posix/getgid.c (__getgid): Likewise.
48183         * posix/getpid.c (__getpid): Likewise.
48184         * posix/getppid.c (__getppid): Likewise.
48185         * posix/getuid.c (__getuid): Likewise.
48186         * posix/pause.c (pause): Likewise.
48187         * posix/setpgrp.c (setpgrp): Likewise.
48188         * posix/setsid.c (__setsid): Likewise.
48189         * posix/test-vfork.c (noop): Likewise.
48190         * resolv/gethnamaddr.c (_endhtent): Likewise.
48191         (_gethtent): Likewise.
48192         (ht_endhostent): Likewise.
48193         (gethostent): Likewise.
48194         (dns_service): Likewise.
48195         * stdlib/drand48.c (drand48): Likewise.
48196         * stdlib/lrand48.c (lrand48): Likewise.
48197         * stdlib/mrand48.c (mrand48): Likewise.
48198         * stdlib/rand.c (rand): Likewise.
48199         * stdlib/random.c (__random): Likewise.
48200         * stdlib/setenv.c (clearenv): Likewise.
48201         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48202         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48203         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48204         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48205         (__get_nprocs): Likewise.
48206         (__get_phys_pages): Likewise.
48207         (__get_avphys_pages): Likewise.
48208         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48209         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48210         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48211         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48212         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48213         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48214         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48215         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48216         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48217         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48218         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48219         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48220         * sysdeps/posix/clock.c (clock): Likewise.
48221         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48222         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48223         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48224         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48225         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48226         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48227         (__get_nprocs_conf): Likewise.
48228         (__get_phys_pages): Likewise.
48229         (__get_avphys_pages): Likewise.
48230         * time/clock.c (clock): Likewise.
48231         * time/tzset.c (__tzname_max): Likewise.
48233 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48235         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48236         (__bswap_32): Do not use "register".
48237         * crypt/crypt.c (_ufc_doit_r): Likewise.
48238         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48239         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48240         * gmon/gmon.c (__monstartup): Likewise.
48241         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48242         * hurd/hurdmalloc.c (more_memory): Likewise.
48243         (malloc): Likewise.
48244         (free): Likewise.
48245         (realloc): Likewise.
48246         (malloc_fork_prepare): Likewise.
48247         (malloc_fork_parent): Likewise.
48248         (malloc_fork_child): Likewise.
48249         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48250         (_svcauth_des): Likewise.
48251         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48252         * inet/inet_net.c (inet_network): Likewise.
48253         * inet/inet_netof.c (inet_netof): Likewise.
48254         * inet/rcmd.c (__validuser2_sa): Likewise.
48255         * io/fts.c (fts_open): Likewise.
48256         (fts_load): Likewise.
48257         (fts_close): Likewise.
48258         (fts_read): Likewise.
48259         (fts_children): Likewise.
48260         (fts_build): Likewise.
48261         (fts_stat): Likewise.
48262         (fts_sort): Likewise.
48263         (fts_alloc): Likewise.
48264         (fts_lfree): Likewise.
48265         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48266         (_IO_file_xsgetn): Likewise.
48267         (_IO_file_xsgetn_mmap): Likewise.
48268         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48269         (_IO_cookie_write): Likewise.
48270         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48271         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48272         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48273         * malloc/obstack.c (_obstack_begin): Likewise.
48274         (_obstack_begin_1): Likewise.
48275         (_obstack_newchunk): Likewise.
48276         (_obstack_allocated_p): Likewise.
48277         (obstack_free): Likewise.
48278         (_obstack_memory_used): Likewise.
48279         * misc/getttyent.c (getttynam): Likewise.
48280         (getttyent): Likewise.
48281         (skip): Likewise.
48282         (value): Likewise.
48283         * misc/getusershell.c (initshells): Likewise.
48284         * misc/syslog.c (__vsyslog_chk): Likewise.
48285         * misc/ttyslot.c (ttyslot): Likewise.
48286         * nis/nis_hash.c (__nis_hash): Likewise.
48287         * posix/fnmatch_loop.c (FCT): Likewise.
48288         * posix/getconf.c (print_all): Likewise.
48289         (main): Likewise.
48290         * posix/getopt.c (exchange): Likewise.
48291         * posix/glob.c (globfree): Likewise.
48292         (prefix_array): Likewise.
48293         (__glob_pattern_type): Likewise.
48294         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48295         (NS_GET32): Likewise.
48296         (NS_PUT16): Likewise.
48297         (NS_PUT32): Likewise.
48298         * resolv/gethnamaddr.c (getanswer): Likewise.
48299         (gethostbyname2): Likewise.
48300         (gethostbyaddr): Likewise.
48301         (_gethtent): Likewise.
48302         (_gethtbyname2): Likewise.
48303         (_gethtbyaddr): Likewise.
48304         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48305         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48306         * resolv/res_init.c (__res_vinit): Likewise.
48307         (net_mask): Likewise.
48308         * resolv/res_mkquery.c (outchar): Likewise.
48309         (PRINT): Likewise.
48310         * stdio-common/printf_fp.c (outchar): Likewise.
48311         (PRINT): Likewise.
48312         * stdio-common/printf_fphex.c (outchar): Likewise.
48313         (PRINT): Likewise.
48314         * stdio-common/printf_size.c (outchar): Likewise.
48315         (PRINT): Likewise.
48316         * stdio-common/test_rdwr.c (main): Likewise.
48317         * stdio-common/tfformat.c (matches): Likewise.
48318         * stdio-common/vfprintf.c (outchar): Likewise.
48319         (printf_unknown): Likewise.
48320         (buffered_vfprintf): Likewise.
48321         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48322         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48323         (ReadFile): Likewise.
48324         * stdlib/qsort.c (SWAP): Likewise.
48325         (_quicksort): Likewise.
48326         * stdlib/setenv.c (__add_to_environ): Likewise.
48327         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48328         * stdlib/strtol_l.c (__strtol_l): Likewise.
48329         * stdlib/tst-strtod.c (main): Likewise.
48330         * stdlib/tst-strtol.c (main): Likewise.
48331         * stdlib/tst-strtoll.c (main): Likewise.
48332         * string/bits/string2.h (__strcmp_cc): Likewise.
48333         (__strcmp_cg): Likewise.
48334         (__strcspn_c1): Likewise.
48335         (__strcspn_c2): Likewise.
48336         (__strcspn_c3): Likewise.
48337         (__strspn_c1): Likewise.
48338         (__strspn_c2): Likewise.
48339         (__strspn_c3): Likewise.
48340         (__strsep_1c): Likewise.
48341         (__strsep_2c): Likewise.
48342         (__strsep_3c): Likewise.
48343         * string/memccpy.c (__memccpy): Likewise.
48344         * string/stpcpy.c (__stpcpy): Likewise.
48345         * string/strcmp.c (strcmp): Likewise.
48346         * string/strrchr.c (strrchr): Likewise.
48347         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48348         Likewise.
48349         * sysdeps/mach/hurd/getcwd.c
48350         (_hurd_canonicalize_directory_name_internal): Likewise.
48351         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48352         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48353         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48354         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48355         Likewise, in both definitions.
48356         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48357         definitions.
48358         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48359         64] (__bswap_64): Likewise.
48360         * time/test_time.c (main): Likewise.
48361         * time/tzfile.c (__tzfile_read): Likewise.
48362         (__tzfile_compute): Likewise.
48363         * time/tzset.c (__tzset_parse_tz): Likewise.
48364         (tzset_internal): Likewise.
48365         (compute_change): Likewise.
48366         * wcsmbs/wcscat.c (__wcscat): Likewise.
48367         * wcsmbs/wcschr.c (wcschr): Likewise.
48368         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48369         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48370         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48371         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48372         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48373         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48374         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48375         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48376         * wcsmbs/wmemset.c (wmemset): Likewise.
48378 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48380         * scripts/config.guess: Update to version 2013-05-16.
48381         * scripts/config.sub: Update to version 2013-04-24.
48382         * scripts/install-sh: Update to version 2011-11-20.07.
48383         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48384         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48386 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48388         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48389         * elf/sln.c: Likewise.
48390         * hurd/hurd/ioctl.h: Likewise.
48391         * hurd/hurdmalloc.c: Likewise.
48392         * hurd/xattr.c: Likewise.
48393         * include/shlib-compat.h: Likewise.
48394         * inet/ruserpass.c: Likewise.
48395         * libio/iofgets_u.c: Likewise.
48396         * libio/iofgetws_u.c: Likewise.
48397         * locale/programs/ld-identification.c: Likewise.
48398         * locale/programs/ld-time.c: Likewise.
48399         * mach/msg-destroy.c: Likewise.
48400         * nss/nss_files/files-netgrp.c: Likewise.
48401         * resolv/res_data.c: Likewise.
48402         * soft-fp/op-1.h: Likewise.
48403         * soft-fp/op-2.h: Likewise.
48404         * soft-fp/op-4.h: Likewise.
48405         * soft-fp/op-common.h: Likewise.
48406         * stdio-common/printf_fphex.c: Likewise.
48407         * stdlib/strtod_l.c: Likewise.
48408         * sunrpc/rpc/clnt.h: Likewise.
48409         * sysdeps/generic/framestate.c: Likewise.
48410         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48411         * sysdeps/i386/bsd-setjmp.S: Likewise.
48412         * sysdeps/i386/__longjmp.S: Likewise.
48413         * sysdeps/i386/setjmp.S: Likewise.
48414         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48415         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48416         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48417         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48418         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48419         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48420         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48421         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48422         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48423         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48424         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48425         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48426         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48427         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48428         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48429         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48430         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48431         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48432         * sysdeps/ieee754/support.c: Likewise.
48433         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48434         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48435         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48436         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48437         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48438         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48439         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48440         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48441         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48442         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48443         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48444         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48445         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48446         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48447         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48448         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48449         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48452 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48454         * posix/transbug.c: Remove executable mode.
48456 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48458         * crypt/speeds.c: Remove trailing whitespace.
48459         * dlfcn/default.c: Likewise.
48460         * elf/ifuncdep2.c: Likewise.
48461         * elf/ifuncmain1.c: Likewise.
48462         * elf/ifuncmain1vis.c: Likewise.
48463         * elf/testobj.h: Likewise.
48464         * elf/tst-stackguard1.c: Likewise.
48465         * gmon/sys/gmon.h: Likewise.
48466         * hurd/hurdmsg.c: Likewise.
48467         * hurd/new-fd.c: Likewise.
48468         * hurd/ports-get.c: Likewise.
48469         * iconvdata/ibm1008_420.c: Likewise.
48470         * inet/tst-getni1.c: Likewise.
48471         * inet/tst-getni2.c: Likewise.
48472         * libio/ioungetc.c: Likewise.
48473         * libio/wfiledoalloc.c: Likewise.
48474         * manual/libm-err-tab.pl: Likewise.
48475         * math/w_dremf.c: Likewise.
48476         * misc/ftruncate.c: Likewise.
48477         * posix/bug-glob2.c: Likewise.
48478         * posix/tst-pcre.c: Likewise.
48479         * posix/wait4.c: Likewise.
48480         * resolv/README: Likewise.
48481         * resolv/res_debug.h: Likewise.
48482         * resolv/tst-inet_ntop.c: Likewise.
48483         * setjmp/bug269-setjmp.c: Likewise.
48484         * soft-fp/extended.h: Likewise.
48485         * soft-fp/op-1.h: Likewise.
48486         * soft-fp/op-2.h: Likewise.
48487         * soft-fp/op-4.h: Likewise.
48488         * soft-fp/op-8.h: Likewise.
48489         * soft-fp/testit.c: Likewise.
48490         * stdio-common/bug16.c: Likewise.
48491         * stdlib/random.c: Likewise.
48492         * sunrpc/rpcsvc/rquota.x: Likewise.
48493         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48494         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48495         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48496         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48497         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48498         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48499         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48500         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48501         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48502         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48503         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48504         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48505         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48506         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48507         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48508         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48509         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48510         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48511         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48512         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48513         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48514         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48515         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48516         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48517         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48518         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48519         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48520         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48521         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48522         * sysdeps/ieee754/s_lib_version.c: Likewise.
48523         * sysdeps/mach/hurd/check_fds.c: Likewise.
48524         * sysdeps/mach/hurd/getsockname.c: Likewise.
48525         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48526         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48527         * sysdeps/powerpc/bits/link.h: Likewise.
48528         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48529         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48530         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48531         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48532         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48533         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48534         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48535         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48536         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48537         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48538         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48539         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48540         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48541         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48542         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48543         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48544         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48545         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48546         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48547         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48548         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48549         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48550         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48551         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48552         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48553         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48554         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48555         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48556         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48557         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48558         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48559         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48560         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48561         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48562         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48563         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48564         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48565         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48566         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48567         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48568         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48569         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48570         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48571         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48572         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48573         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48574         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48575         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48576         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48577         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48578         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48579         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48580         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48581         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48582         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48583         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48584         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48585         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48586         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48587         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48588         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48589         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48590         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48591         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48592         * sysdeps/powerpc/sysdep.h: Likewise.
48593         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48594         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48595         * sysdeps/sh/dl-trampoline.S: Likewise.
48596         * sysdeps/sh/memset.S: Likewise.
48597         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48598         * sysdeps/sh/strlen.S: Likewise.
48599         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48600         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48601         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48602         * sysdeps/sparc/sparc32/rem.S: Likewise.
48603         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48604         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48605         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48606         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48607         * sysdeps/sparc/sparc32/urem.S: Likewise.
48608         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48609         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48610         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48611         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48612         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48613         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48614         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48615         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48616         * sysdeps/unix/bsd/times.c: Likewise.
48617         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48618         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48622         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48623         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48624         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48625         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48626         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48627         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48628         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48629         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48630         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48631         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48632         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48633         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48634         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48635         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48636         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48637         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48638         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48639         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48640         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48641         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48642         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48643         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48644         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48645         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48646         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48647         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48648         * sysdeps/x86_64/strcspn.S: Likewise.
48650 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48652         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48653         generated file.  Regenerate properly from gen-translit.pl.
48654         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48655         locale/C-translit.h.
48657 2013-06-05  Andreas Schwab  <schwab@suse.de>
48659         [BZ #15100]
48660         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48661         week as 6 instead of -1.
48662         * time/tst-strptime.c (day_tests): Add test case.
48664 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48666         * sysdeps/generic/math_private.h
48667         (libc_feholdexcept_setround_53bit): Replace with
48668         libc_feholdsetround_53bit.
48669         (libc_feupdateenv_53bit): Replace with
48670         libc_feresetround_53bit.
48671         (SET_RESTORE_ROUND_53BIT): Adjust.
48673 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48675         * string/test-strchrnul.c: Add copyright header.
48677         * posix/tst-getaddrinfo4.c: Increase test timeout.
48679 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48681         [BZ #15536]
48682         * math/libm-test.inc (MAX_EXP): Remove
48683         (MIN_EXP): Define.
48684         (ulp): Use MIN_EXP - MANT_DIG.
48685         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48687 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48689         * po/be.po: Revert last change.
48690         * po/zh_CN.po: Likewise.
48691         * po/header.pot: Likewise.
48693 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48695         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48696         link-libc-deps to empty as target-specific variable.
48697         * Makerules (link-libc-args): New variable.
48698         (libc-for-link): Likewise.
48699         (link-libc-deps): Likewise.
48700         (lib%.so): Depend on $(link-libc-deps).  Link with
48701         $(link-libc-args).
48702         (build-module): Link with $(link-libc-args).
48703         (build-module-asneeded): Likewise.
48704         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48705         list of objects.
48706         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48707         target-specific variable.
48708         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48709         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48710         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48711         libc.
48712         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48713         libc and ld.so.
48714         ($(objpfx)libpcprofile.so): Likewise.
48715         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48716         libc_nonshared.a.
48717         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48718         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48719         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48720         $(link-libc-deps).
48721         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48722         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48723         * login/Makefile ($(objpfx)libutil.so): Likewise.
48724         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48725         * math/Makefile ($(objpfx)libm.so): Likewise.
48726         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48727         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48728         variable instead of depending directly on libc.
48729         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48730         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48731         $(link-libc-deps).
48732         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48733         libc.
48734         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48735         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48736         ($(objpfx)libanl.so): Likewise.
48737         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48738         ld.so.
48739         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48740         $(link-libc-deps).
48741         * sysdeps/i386/fpu/Makefile: Remove file.
48742         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48743         ($(objpfx)libm.so): Remove dependency on ld.so.
48745 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48747         [BZ # 15553]
48748         * nis/yp_xdr.c (XDRMAXNAME): Define.
48749         (XDRMAXRECORD): Define.
48750         (xdr_domainname): Use XDRMAXNAME.
48751         (xdr_mapname): Likewise.
48752         (xdr_peername): Likewise.
48753         (xdr_keydat): Use XDRMAXRECORD.
48754         (xdr_valdat): Likewise.
48756 2013-05-30  Jeff Law  <law@redhat.com>
48758         [BZ #14256]
48759         * manual/errno.texi (ESTALE): Update to account for more than
48760         just NFS file systems.
48761         * sysdeps/gnu/errlist.c: Regenerated.
48763 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48765         [BZ #15465]
48766         * elf/Makefile (tests): Add tst-null-argv.
48767         (modules-names):  Add tst-null-argv-lib.
48768         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48769         (tst-null-argv-ENV): Set environment for tst-null-argv.
48770         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48771         (RTLD_PROGNAME): New macro.
48772         * elf/tst-null-argv.c: New test case.
48773         * elf/tst-null-argv-lib.c: Library for test case.
48774         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48775         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48776         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48777         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48778         * elf/dl-init.c (call_init): Likewise.
48779         (_dl_init): Likewise.
48780         * elf/dl-load.c (print_search_path): Likewise.
48781         (_dl_map_object): Likewise.
48782         * elf/dl-lookup.c (do_lookup_x): Likewise.
48783         (add_dependency): Likewise.
48784         (_dl_lookup_symbol_x): Likewise.
48785         (_dl_debug_bindings): Likewise.
48786         * elf/dl-open.c (_dl_show_scope): Likewise.
48787         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48788         * elf/dl-version.c (match_symbol): Likewise.
48789         (_dl_check_map_versions): Likewise.
48790         * elf/rtld.c (dl_main): Likewise.
48791         (print_unresolved): Use RTLD_PROGNAME.
48792         (print_missing_version): Likewise.
48793         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48794         (elf_machine_rela): Likewise.
48795         * sysdeps/powerpc/powerpc32/dl-machine.c
48796         (__process_machine_rela): Likewise.
48797         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48798         Likewise.
48799         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48800         Likewise.
48801         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48802         Likewise.
48803         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48804         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48805         Likewise.
48806         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48807         Likewise.
48808         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48810 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
48812         * po/be.po: Add descriptive title.
48813         * po/zh_CN.po: Likewise.
48814         * po/header.pot: Likewise.
48816 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
48818         * locale/programs/locarchive.c (create_archive): Inlucde fname in
48819         error message.
48820         (enlarge_archive): Likewise.
48822 2013-05-28  Ben North  <ben@redfrontdoor.org>
48824         * manual/arith.texi (frexp): It is the magnitude of the return
48825         value which lies in [0.5, 1), not the return value itself.
48827 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48831 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
48833         * stdio-common/bug26.c (main): Correct fscanf template.
48835         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48836         declare _dl_skip_args.
48838         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48839         Don't declare.
48841         * manual/platform.texi: Add missing @end deftypefun.
48843 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48845         [BZ #15529]
48846         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48847         bit of mantissa of 2^16382.
48848         * math/libm-test.inc (hypot_test_data): Add more tests.
48850         * math/libm-test.inc: Add drem and pow10 to list of tested
48851         functions.
48852         (pow10_test): New function.
48853         (drem_test): Likewise.
48854         (drem_test_tonearest): Likewise.
48855         (drem_test_towardzero): Likewise.
48856         (drem_test_downward): Likewise.
48857         (drem_test_upward): Likewise.
48858         (main): Call the new functions.
48860         * math/libm-test.inc (finite_test_data): Remove.
48861         (finite_test): Run tests from isfinite_test_data.
48862         (gamma_test_data): Remove.
48863         (gamma_test): Run tests from lgamma_test_data.
48864         * sysdeps/i386/fpu/libm-test-ulps: Update.
48865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48867 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48869         * manual/platform.texi: Add PowerPC PPR function set documentation.
48870         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48871         implementation.
48873 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48875         * math/libm-test.inc (MAX_EXP): Define.
48876         (ULPDIFF): Define.
48877         (ulp): New function.
48878         (check_float_internal): Use ULPDIFF.
48879         (cpow_test): Disable failing test.
48880         (check_ulp): Test ulp() implemetnation.
48881         (main): Call check_ulp before starting tests.
48883 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48885         * math/gen-libm-test.pl (generate_testfile): Do not handle
48886         START_DATA and END_DATA.
48887         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48888         END_DATA.
48889         (acos_tonearest_test_data): Likewise.
48890         (acos_towardzero_test_data): Likewise.
48891         (acos_downward_test_data): Likewise.
48892         (acos_upward_test_data): Likewise.
48893         (acosh_test_data): Likewise.
48894         (asin_test_data): Likewise.
48895         (asin_tonearest_test_data): Likewise.
48896         (asin_towardzero_test_data): Likewise.
48897         (asin_downward_test_data): Likewise.
48898         (asin_upward_test_data): Likewise.
48899         (asinh_test_data): Likewise.
48900         (atan_test_data): Likewise.
48901         (atanh_test_data): Likewise.
48902         (atan2_test_data): Likewise.
48903         (cabs_test_data): Likewise.
48904         (cacos_test_data): Likewise.
48905         (cacosh_test_data): Likewise.
48906         (carg_test_data): Likewise.
48907         (casin_test_data): Likewise.
48908         (casinh_test_data): Likewise.
48909         (catan_test_data): Likewise.
48910         (catanh_test_data): Likewise.
48911         (cbrt_test_data): Likewise.
48912         (ccos_test_data): Likewise.
48913         (ccosh_test_data): Likewise.
48914         (ceil_test_data): Likewise.
48915         (cexp_test_data): Likewise.
48916         (cimag_test_data): Likewise.
48917         (clog_test_data): Likewise.
48918         (clog10_test_data): Likewise.
48919         (conj_test_data): Likewise.
48920         (copysign_test_data): Likewise.
48921         (cos_test_data): Likewise.
48922         (cos_tonearest_test_data): Likewise.
48923         (cos_towardzero_test_data): Likewise.
48924         (cos_downward_test_data): Likewise.
48925         (cos_upward_test_data): Likewise.
48926         (cosh_test_data): Likewise.
48927         (cosh_tonearest_test_data): Likewise.
48928         (cosh_towardzero_test_data): Likewise.
48929         (cosh_downward_test_data): Likewise.
48930         (cosh_upward_test_data): Likewise.
48931         (cpow_test_data): Likewise.
48932         (cproj_test_data): Likewise.
48933         (creal_test_data): Likewise.
48934         (csin_test_data): Likewise.
48935         (csinh_test_data): Likewise.
48936         (csqrt_test_data): Likewise.
48937         (ctan_test_data): Likewise.
48938         (ctan_tonearest_test_data): Likewise.
48939         (ctan_towardzero_test_data): Likewise.
48940         (ctan_downward_test_data): Likewise.
48941         (ctan_upward_test_data): Likewise.
48942         (ctanh_test_data): Likewise.
48943         (ctanh_tonearest_test_data): Likewise.
48944         (ctanh_towardzero_test_data): Likewise.
48945         (ctanh_downward_test_data): Likewise.
48946         (ctanh_upward_test_data): Likewise.
48947         (erf_test_data): Likewise.
48948         (erfc_test_data): Likewise.
48949         (exp_test_data): Likewise.
48950         (exp_tonearest_test_data): Likewise.
48951         (exp_towardzero_test_data): Likewise.
48952         (exp_downward_test_data): Likewise.
48953         (exp_upward_test_data): Likewise.
48954         (exp10_test_data): Likewise.
48955         (exp2_test_data): Likewise.
48956         (expm1_test_data): Likewise.
48957         (fabs_test_data): Likewise.
48958         (fdim_test_data): Likewise.
48959         (finite_test_data): Likewise.
48960         (floor_test_data): Likewise.
48961         (fma_test_data): Likewise.
48962         (fma_towardzero_test_data): Likewise.
48963         (fma_downward_test_data): Likewise.
48964         (fma_upward_test_data): Likewise.
48965         (fmax_test_data): Likewise.
48966         (fmin_test_data): Likewise.
48967         (fmod_test_data): Likewise.
48968         (fpclassify_test_data): Likewise.
48969         (frexp_test_data): Likewise.
48970         (gamma_test_data): Likewise.
48971         (hypot_test_data): Likewise.
48972         (ilogb_test_data): Likewise.
48973         (isfinite_test_data): Likewise.
48974         (isgreater_test_data): Likewise.
48975         (isgreaterequal_test_data): Likewise.
48976         (isinf_test_data): Likewise.
48977         (isless_test_data): Likewise.
48978         (islessequal_test_data): Likewise.
48979         (islessgreater_test_data): Likewise.
48980         (isnan_test_data): Likewise.
48981         (isnormal_test_data): Likewise.
48982         (issignaling_test_data): Likewise.
48983         (isunordered_test_data): Likewise.
48984         (j0_test_data): Likewise.
48985         (j1_test_data): Likewise.
48986         (jn_test_data): Likewise.
48987         (ldexp_test_data): Likewise.
48988         (lgamma_test_data): Likewise.
48989         (lrint_test_data): Likewise.
48990         (lrint_tonearest_test_data): Likewise.
48991         (lrint_towardzero_test_data): Likewise.
48992         (lrint_downward_test_data): Likewise.
48993         (lrint_upward_test_data): Likewise.
48994         (llrint_test_data): Likewise.
48995         (llrint_tonearest_test_data): Likewise.
48996         (llrint_towardzero_test_data): Likewise.
48997         (llrint_downward_test_data): Likewise.
48998         (llrint_upward_test_data): Likewise.
48999         (log_test_data): Likewise.
49000         (log10_test_data): Likewise.
49001         (log1p_test_data): Likewise.
49002         (log2_test_data): Likewise.
49003         (logb_test_data): Likewise.
49004         (logb_downward_test_data): Likewise.
49005         (lround_test_data): Likewise.
49006         (llround_test_data): Likewise.
49007         (modf_test_data): Likewise.
49008         (nearbyint_test_data): Likewise.
49009         (nextafter_test_data): Likewise.
49010         (nexttoward_test_data): Likewise.
49011         (pow_test_data): Likewise.
49012         (pow_tonearest_test_data): Likewise.
49013         (pow_towardzero_test_data): Likewise.
49014         (pow_downward_test_data): Likewise.
49015         (pow_upward_test_data): Likewise.
49016         (remainder_test_data): Likewise.
49017         (remainder_tonearest_test_data): Likewise.
49018         (remainder_towardzero_test_data): Likewise.
49019         (remainder_downward_test_data): Likewise.
49020         (remainder_upward_test_data): Likewise.
49021         (remquo_test_data): Likewise.
49022         (rint_test_data): Likewise.
49023         (rint_tonearest_test_data): Likewise.
49024         (rint_towardzero_test_data): Likewise.
49025         (rint_downward_test_data): Likewise.
49026         (rint_upward_test_data): Likewise.
49027         (round_test_data): Likewise.
49028         (scalb_test_data): Likewise.
49029         (scalbn_test_data): Likewise.
49030         (scalbln_test_data): Likewise.
49031         (signbit_test_data): Likewise.
49032         (sin_test_data): Likewise.
49033         (sin_tonearest_test_data): Likewise.
49034         (sin_towardzero_test_data): Likewise.
49035         (sin_downward_test_data): Likewise.
49036         (sin_upward_test_data): Likewise.
49037         (sincos_test_data): Likewise.
49038         (sinh_test_data): Likewise.
49039         (sinh_tonearest_test_data): Likewise.
49040         (sinh_towardzero_test_data): Likewise.
49041         (sinh_downward_test_data): Likewise.
49042         (sinh_upward_test_data): Likewise.
49043         (sqrt_test_data): Likewise.
49044         (tan_test_data): Likewise.
49045         (tan_tonearest_test_data): Likewise.
49046         (tan_towardzero_test_data): Likewise.
49047         (tan_downward_test_data): Likewise.
49048         (tan_upward_test_data): Likewise.
49049         (tanh_test_data): Likewise.
49050         (tgamma_test_data): Likewise.
49051         (trunc_test_data): Likewise.
49052         (y0_test_data): Likewise.
49053         (y1_test_data): Likewise.
49054         (yn_test_data): Likewise.
49055         (significand_test_data): Likewise.
49057         * math/gen-libm-test.pl (@functions): Remove variable.
49058         (generate_testfile): Don't handle START and END lines.
49059         * math/libm-test.inc (START): New macro.
49060         (END): Likewise.
49061         (END_COMPLEX): Likewise.
49062         (acos_test): Use END macro without arguments.
49063         (acos_test_tonearest): Likewise.
49064         (acos_test_towardzero): Likewise.
49065         (acos_test_downward): Likewise.
49066         (acos_test_upward): Likewise.
49067         (acosh_test): Likewise.
49068         (asin_test): Likewise.
49069         (asin_test_tonearest): Likewise.
49070         (asin_test_towardzero): Likewise.
49071         (asin_test_downward): Likewise.
49072         (asin_test_upward): Likewise.
49073         (asinh_test): Likewise.
49074         (atan_test): Likewise.
49075         (atanh_test): Likewise.
49076         (atan2_test): Likewise.
49077         (cabs_test): Likewise.
49078         (cacos_test): Use END_COMPLEX macro without arguments.
49079         (cacosh_test): Likewise.
49080         (carg_test): Use END macro without arguments.
49081         (casin_test): Use END_COMPLEX macro without arguments.
49082         (casinh_test): Likewise.
49083         (catan_test): Likewise.
49084         (catanh_test): Likewise.
49085         (cbrt_test): Use END macro without arguments.
49086         (ccos_test): Use END_COMPLEX macro without arguments.
49087         (ccosh_test): Likewise.
49088         (ceil_test): Use END macro without arguments.
49089         (cexp_test): Use END_COMPLEX macro without arguments.
49090         (cimag_test): Use END macro without arguments.
49091         (clog_test): Use END_COMPLEX macro without arguments.
49092         (clog10_test): Likewise.
49093         (conj_test): Likewise.
49094         (copysign_test): Use END macro without arguments.
49095         (cos_test): Likewise.
49096         (cos_test_tonearest): Likewise.
49097         (cos_test_towardzero): Likewise.
49098         (cos_test_downward): Likewise.
49099         (cos_test_upward): Likewise.
49100         (cosh_test): Likewise.
49101         (cosh_test_tonearest): Likewise.
49102         (cosh_test_towardzero): Likewise.
49103         (cosh_test_downward): Likewise.
49104         (cosh_test_upward): Likewise.
49105         (cpow_test): Use END_COMPLEX macro without arguments.
49106         (cproj_test): Likewise.
49107         (creal_test): Use END macro without arguments.
49108         (csin_test): Use END_COMPLEX macro without arguments.
49109         (csinh_test): Likewise.
49110         (csqrt_test): Likewise.
49111         (ctan_test): Likewise.
49112         (ctan_test_tonearest): Likewise.
49113         (ctan_test_towardzero): Likewise.
49114         (ctan_test_downward): Likewise.
49115         (ctan_test_upward): Likewise.
49116         (ctanh_test): Likewise.
49117         (ctanh_test_tonearest): Likewise.
49118         (ctanh_test_towardzero): Likewise.
49119         (ctanh_test_downward): Likewise.
49120         (ctanh_test_upward): Likewise.
49121         (erf_test): Use END macro without arguments.
49122         (erfc_test): Likewise.
49123         (exp_test): Likewise.
49124         (exp_test_tonearest): Likewise.
49125         (exp_test_towardzero): Likewise.
49126         (exp_test_downward): Likewise.
49127         (exp_test_upward): Likewise.
49128         (exp10_test): Likewise.
49129         (exp2_test): Likewise.
49130         (expm1_test): Likewise.
49131         (fabs_test): Likewise.
49132         (fdim_test): Likewise.
49133         (finite_test): Likewise.
49134         (floor_test): Likewise.
49135         (fma_test): Likewise.
49136         (fma_test_towardzero): Likewise.
49137         (fma_test_downward): Likewise.
49138         (fma_test_upward): Likewise.
49139         (fmax_test): Likewise.
49140         (fmin_test): Likewise.
49141         (fmod_test): Likewise.
49142         (fpclassify_test): Likewise.
49143         (frexp_test): Likewise.
49144         (gamma_test): Likewise.
49145         (hypot_test): Likewise.
49146         (ilogb_test): Likewise.
49147         (isfinite_test): Likewise.
49148         (isgreater_test): Likewise.
49149         (isgreaterequal_test): Likewise.
49150         (isinf_test): Likewise.
49151         (isless_test): Likewise.
49152         (islessequal_test): Likewise.
49153         (islessgreater_test): Likewise.
49154         (isnan_test): Likewise.
49155         (isnormal_test): Likewise.
49156         (issignaling_test): Likewise.
49157         (isunordered_test): Likewise.
49158         (j0_test): Likewise.
49159         (j1_test): Likewise.
49160         (jn_test): Likewise.
49161         (ldexp_test): Likewise.
49162         (lgamma_test): Likewise.
49163         (lrint_test): Likewise.
49164         (lrint_test_tonearest): Likewise.
49165         (lrint_test_towardzero): Likewise.
49166         (lrint_test_downward): Likewise.
49167         (lrint_test_upward): Likewise.
49168         (llrint_test): Likewise.
49169         (llrint_test_tonearest): Likewise.
49170         (llrint_test_towardzero): Likewise.
49171         (llrint_test_downward): Likewise.
49172         (llrint_test_upward): Likewise.
49173         (log_test): Likewise.
49174         (log10_test): Likewise.
49175         (log1p_test): Likewise.
49176         (log2_test): Likewise.
49177         (logb_test): Likewise.
49178         (logb_test_downward): Likewise.
49179         (lround_test): Likewise.
49180         (llround_test): Likewise.
49181         (modf_test): Likewise.
49182         (nearbyint_test): Likewise.
49183         (nextafter_test): Likewise.
49184         (nexttoward_test): Likewise.
49185         (pow_test): Likewise.
49186         (pow_test_tonearest): Likewise.
49187         (pow_test_towardzero): Likewise.
49188         (pow_test_downward): Likewise.
49189         (pow_test_upward): Likewise.
49190         (remainder_test): Likewise.
49191         (remainder_test_tonearest): Likewise.
49192         (remainder_test_towardzero): Likewise.
49193         (remainder_test_downward): Likewise.
49194         (remainder_test_upward): Likewise.
49195         (remquo_test): Likewise.
49196         (rint_test): Likewise.
49197         (rint_test_tonearest): Likewise.
49198         (rint_test_towardzero): Likewise.
49199         (rint_test_downward): Likewise.
49200         (rint_test_upward): Likewise.
49201         (round_test): Likewise.
49202         (scalb_test): Likewise.
49203         (scalbn_test): Likewise.
49204         (scalbln_test): Likewise.
49205         (signbit_test): Likewise.
49206         (sin_test): Likewise.
49207         (sin_test_tonearest): Likewise.
49208         (sin_test_towardzero): Likewise.
49209         (sin_test_downward): Likewise.
49210         (sin_test_upward): Likewise.
49211         (sincos_test): Likewise.
49212         (sinh_test): Likewise.
49213         (sinh_test_tonearest): Likewise.
49214         (sinh_test_towardzero): Likewise.
49215         (sinh_test_downward): Likewise.
49216         (sinh_test_upward): Likewise.
49217         (sqrt_test): Likewise.
49218         (tan_test): Likewise.
49219         (tan_test_tonearest): Likewise.
49220         (tan_test_towardzero): Likewise.
49221         (tan_test_downward): Likewise.
49222         (tan_test_upward): Likewise.
49223         (tanh_test): Likewise.
49224         (tgamma_test): Likewise.
49225         (trunc_test): Likewise.
49226         (y0_test): Likewise.
49227         (y1_test): Likewise.
49228         (yn_test): Likewise.
49229         (significand_test): Likewise.
49231 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49233         [BZ #15381]
49234         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49236 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49238         [BZ #14894]
49239         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49240         __ppc_mdoio and __ppc_mdoom.
49241         * manual/platform.texi: Document new functions __ppc_yield,
49242         __ppc_mdoio and __ppc_mdoom.
49244 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49246         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49247         (main): Mention "tls" pseudo-hwcap is legacy.
49248         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49250 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49252         * math/gen-libm-test.pl (parse_args): Output only string of
49253         arguments as text for test name, not full call or descriptions of
49254         tests for extra outputs.
49255         (generate_testfile): Do not pass function name to parse_args.
49256         Generate this_func variable from START.
49257         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49258         field to arg_str.
49259         (struct test_ff_f_data): Likewise.
49260         (test_ff_f_data_nexttoward): Likewise.
49261         (struct test_fi_f_data): Likewise.
49262         (struct test_fl_f_data): Likewise.
49263         (struct test_if_f_data): Likewise.
49264         (struct test_fff_f_data): Likewise.
49265         (struct test_c_f_data): Likewise.
49266         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49267         (struct test_fF_f1_data): Likewise.
49268         (struct test_ffI_f1_data): Likewise.
49269         (struct test_c_c_data): Rename test_name field to arg_str.
49270         (struct test_cc_c_data): Likewise.
49271         (struct test_f_i_data): Likewise.
49272         (struct test_ff_i_data): Likewise.
49273         (struct test_f_l_data): Likewise.
49274         (struct test_f_L_data): Likewise.
49275         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49276         and extra2_name.
49277         (COMMON_TEST_SETUP): New macro.
49278         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49279         (COMMON_TEST_CLEANUP): Likewise.
49280         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49281         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49282         macros.
49283         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49284         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49285         macros.
49286         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49287         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49288         cleanup macros.
49289         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49290         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49291         macros.
49292         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49293         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49294         macros.
49295         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49296         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49297         cleanup macros.
49298         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49299         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49300         cleanup macros.
49301         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49302         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49303         cleanup macros.
49304         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49305         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49306         macros.
49307         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49308         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49309         macros.
49310         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49311         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49312         macros.
49313         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49314         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49315         cleanup macros.
49316         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49317         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49318         cleanup macros.
49319         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49320         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49321         macros.
49322         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49323         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49324         cleanup macros.
49325         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49326         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49327         macros.
49328         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49329         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49330         macros.
49331         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49332         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49333         cleanup macros.
49334         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49336 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49338         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49339         to _sifields.sigfault.
49340         (si_addr_lsb): Define new macro.
49341         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49342         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49343         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49345 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49347         [BZ #15441]
49348         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49349         returns -1.
49350         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49351         null return -1.
49352         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49353         loading the domain.
49355 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49357         * math/gen-libm-test.pl (parse_args): Do not include expected
49358         result in test name.
49359         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49360         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49361         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49362         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49363         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49366 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49368         * benchtests/Makefile: Sort function entries.
49370         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49371         tanh, asinh, acosh, atanh.
49372         * benchtests/acos-inputs: New file.
49373         * benchtests/acosh-inputs: New file.
49374         * benchtests/asin-inputs: New file.
49375         * benchtests/asinh-inputs: New file.
49376         * benchtests/atanh-inputs: New file.
49377         * benchtests/cosh-inputs: New file.
49378         * benchtests/log-inputs: New file.
49379         * benchtests/sinh-inputs: New file.
49380         * benchtests/tanh-inputs: New file.
49382 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49384         [BZ #15339]
49385         * posix/tst-getaddrinfo4.c: New test.
49386         * posix/Makefile (tests): Add it.
49388 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49390         [BZ #15339]
49391         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49392         when no services were used.
49393         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49394         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49396 2013-05-21  Andreas Schwab  <schwab@suse.de>
49398         [BZ #15014]
49399         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49400         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49401         successful.
49402         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49403         redundant variable declarations and reallocation of buffer when
49404         parsing as IPv6 address.  Always set NSS status when called from
49405         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49406         buffer too small.  Correct computation of needed size.
49407         * nss/Makefile (tests): Add test-digits-dots.
49408         * nss/test-digits-dots.c: New test.
49410 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49412         * benchtests/Makefile: Remove instructions for adding
49413         benchmark tests.
49414         * benchtests/README: New file to explain how to execute and
49415         enhance the benchmark tests.
49417 2013-05-21  Andreas Schwab  <schwab@suse.de>
49419         [BZ #15493]
49420         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49421         * setjmp/tst-sigsetjmp.c: New test.
49423 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49425         * sysdeps/x86_64/memset.S (memset): New implementation.
49426         (__bzero): Likewise.
49427         (__memset_tail): New function.
49429 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49431         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49432         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49433         __memcpy_sse2_unaligned ifunc selection.
49434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49435         Add memcpy-sse2-unaligned.S.
49436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49437         Add: __memcpy_sse2_unaligned.
49439 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49441         [BZ #15490]
49442         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49443         math_force_eval before restoring floating-point envrionment.
49444         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49445         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49446         Likewise.
49447         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49448         <math_private.h>.
49449         (__nearbyintl): Use math_force_eval before restoring
49450         floating-point environment.
49451         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49453         * math/gen-libm-test.pl (special_functions): Remove.
49454         (parse_args): Don't handle TEST_extra.  Handle functions with no
49455         return value.
49456         * math/libm-test.inc (struct test_sincos_data): Replace with
49457         struct test_fFF_11_data.
49458         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49459         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49460         (sincos_test_data): Change element type to struct
49461         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49462         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49463         RUN_TEST_LOOP_sincos.
49464         * math/README.libm-test: Don't mention special handling of
49465         individual functions.
49466         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49467         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49468         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49469         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49470         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49473         * math/gen-libm-test.pl (get_variable): Remove function.
49474         (parse_args): Don't show pointer parameters to call in test
49475         names.  Use "extra output N" in test names for extra outputs
49476         rather than naming variables.
49478 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49480         [BZ #15488]
49481         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49482         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49483         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49484         double tests.
49485         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49486         disable.
49487         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49488         check_long_double.
49490         * math/gen-libm-test.pl (@tests): Remove variable.
49491         ($count): Likewise.
49492         (new_test): Remove function.
49493         (show_exceptions): New function.
49494         (special_functions): Use show_exceptions instead of new_test.
49495         (parse_args): Likewise.
49496         (generate_testfile): Pass only function name in generated call to
49497         print_max_error or print_complex_max_error.
49498         (get_ulps): Do not handle complex tests specially.
49499         (output_test): Rename to ...
49500         (get_all_ulps_for_test): ... this.  Return a string rather than
49501         printing to a file.  Require ulps to be present.
49502         (output_ulps): Generate arrays rather than #defines.
49503         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49504         (struct ulp_data): New type.
49505         (BUILD_COMPLEX_ULP): Remove macro.
49506         (compare_ulp_data): New function.
49507         (find_ulps): Likewise.
49508         (find_test_ulps): Likewise.
49509         (find_function_ulps): Likewise.
49510         (find_complex_function_ulps): Likewise.
49511         (print_max_error): Determine allowed ulps using
49512         find_function_ulps.
49513         (print_complex_max_error): Determine allowed ulps using
49514         find_complex_function_ulps.
49515         (check_float_internal): Determine max ulps using find_test_ulps.
49516         (check_float): Do not take max_ulp parameter.  Update call to
49517         check_float_internal.
49518         (check_complex): Likewise.
49519         (check_int): Do not take max_ulp parameter.
49520         (check_long): Likewise.
49521         (check_bool): Likewise.
49522         (check_longlong): Likewise.
49523         (struct test_f_f_data): Remove max_ulp field.
49524         (struct test_ff_f_data): Likewise.
49525         (struct test_ff_f_data_nexttoward): Likewise.
49526         (struct test_fi_f_data): Likewise.
49527         (struct test_fl_f_data): Likewise.
49528         (struct test_if_f_data): Likewise.
49529         (struct test_fff_f_data): Likewise.
49530         (struct test_c_f_data): Likewise.
49531         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49532         (struct test_fF_f1_data): Likewise.
49533         (struct test_ffI_f1_data): Likewise.
49534         (struct test_c_c_data): Remove max_ulp field.
49535         (struct test_cc_c_data): Likewise.
49536         (struct test_f_i_data): Likewise.
49537         (struct test_ff_i_data): Likewise.
49538         (struct test_f_l_data): Likewise.
49539         (struct test_f_L_data): Likewise.
49540         (struct test_sincos_data): Likewise.
49541         (RUN_TEST_f_f): Do not handle ulps.
49542         (RUN_TEST_LOOP_f_f): Likewise.
49543         (RUN_TEST_2_f): Likewise.
49544         (RUN_TEST_LOOP_2_f): Likewise.
49545         (RUN_TEST_fff_f): Likewise.
49546         (RUN_TEST_LOOP_fff_f): Likewise.
49547         (RUN_TEST_c_f): Likewise.
49548         (RUN_TEST_LOOP_c_f): Likewise.
49549         (RUN_TEST_f_f1): Likewise.
49550         (RUN_TEST_LOOP_f_f1): Likewise.
49551         (RUN_TEST_fF_f1): Likewise.
49552         (RUN_TEST_LOOP_fF_f1): Likewise.
49553         (RUN_TEST_fI_f1): Likewise.
49554         (RUN_TEST_LOOP_fI_f1): Likewise.
49555         (RUN_TEST_ffI_f1): Likewise.
49556         (RUN_TEST_LOOP_ffI_f1): Likewise.
49557         (RUN_TEST_c_c): Likewise.
49558         (RUN_TEST_LOOP_c_c): Likewise.
49559         (RUN_TEST_cc_c): Likewise.
49560         (RUN_TEST_LOOP_cc_c): Likewise.
49561         (RUN_TEST_f_i): Likewise.
49562         (RUN_TEST_LOOP_f_i): Likewise.
49563         (RUN_TEST_f_i_tg): Likewise.
49564         (RUN_TEST_LOOP_f_i_tg): Likewise.
49565         (RUN_TEST_ff_i_tg): Likewise.
49566         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49567         (RUN_TEST_f_b): Likewise.
49568         (RUN_TEST_LOOP_f_b): Likewise.
49569         (RUN_TEST_f_b_tg): Likewise.
49570         (RUN_TEST_LOOP_f_b_tg): Likewise.
49571         (RUN_TEST_f_l): Likewise.
49572         (RUN_TEST_LOOP_f_l): Likewise.
49573         (RUN_TEST_f_L): Likewise.
49574         (RUN_TEST_LOOP_f_L): Likewise.
49575         (RUN_TEST_sincos): Likewise.
49576         (RUN_TEST_LOOP_sincos): Likewise.
49578 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49580         [BZ #15480]
49581         [BZ #15485]
49582         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49583         main case of finite arguments, set rounding mode to FE_TONEAREST
49584         and discard exceptions.
49585         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49586         exceptions.
49587         (remainder_tonearest_test_data): New variable.
49588         (remainder_test_tonearest): New function.
49589         (remainder_towardzero_test_data): New variable.
49590         (remainder_test_towardzero): New function.
49591         (remainder_downward_test_data): New variable.
49592         (remainder_test_downward): New function.
49593         (remainder_upward_test_data): New variable.
49594         (remainder_test_upward): New function.
49595         (main): Call the new test functions.
49597         * math/libm-test.inc (struct test_f_f1_data): Remove field
49598         extra_init.
49599         (struct test_fF_f1_data): Likewise.
49600         (struct test_ffI_f1_data): Likewise.
49601         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49602         based on value of EXTRA_EXPECTED.
49603         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49604         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49605         EXTRA_VAR based on value of EXTRA_EXPECTED.
49606         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49607         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49608         EXTRA_VAR based on value of EXTRA_EXPECTED.
49609         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49610         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49611         EXTRA_VAR based on value of EXTRA_EXPECTED.
49612         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49613         * math/gen-libm-test.pl (parse_args): Don't output initializers
49614         for extra output values.
49616         * math/libm-test.inc (check_int): Expect result to be exactly
49617         equal to expected value and do not handle ulps.
49618         (check_long): Likewise.
49619         (check_longlong): Likewise.
49621         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49622         exceptions.
49623         (cimag_test_data): Likewise.
49624         (conj_test_data): Likewise.
49625         (copysign_test_data): Likewise.
49626         (cproj_test_data): Likewise.
49627         (creal_test_data): Likewise.
49628         (fabs_test_data): Likewise.
49629         (fdim_test_data): Likewise.
49630         (finite_test_data): Likewise.
49631         (floor_test_data): Likewise.
49632         (fmax_test_data): Likewise.
49633         (fmin_test_data): Likewise.
49634         (fmod_test_data): Likewise.
49635         (fpclassify_test_data): Likewise.
49636         (frexp_test_data): Likewise.
49637         (ilogb_test_data): Likewise.
49638         (isfinite_test_data): Likewise.
49639         (isgreater_test_data): Likewise.
49640         (isgreaterequal_test_data): Likewise.
49641         (isinf_test_data): Likewise.
49642         (isless_test_data): Likewise.
49643         (islessequal_test_data): Likewise.
49644         (islessgreater_test_data): Likewise.
49645         (isnan_test_data): Likewise.
49646         (isnormal_test_data): Likewise.
49647         (issignaling_test_data): Likewise.
49648         (isunordered_test_data): Likewise.
49649         (ldexp_test_data): Likewise.
49650         (lrint_test_data): Likewise.
49651         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49652         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49653         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49654         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49655         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49656         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49657         test input.
49658         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49659         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49660         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49661         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49662         that test input.
49663         (lrint_downward_test_data): Test for "inexact" exceptions.
49664         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49665         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49666         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49667         test input.
49668         (lrint_upward_test_data): Test for "inexact" exceptions.
49669         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49670         test input.
49671         (llrint_test_data): Test for "inexact" exceptions.
49672         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49673         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49674         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49675         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49676         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49677         (llrint_downward_test_data): Test for "inexact" exceptions.
49678         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49679         (llrint_upward_test_data): Test for "inexact" exceptions.
49680         (logb_test_data): Likewise.
49681         (logb_downward_test_data): Likewise.
49682         (nextafter_test_data): Likewise.
49683         (nexttoward_test_data): Likewise.
49684         (remainder_test_data): Likewise.
49685         (remquo_test_data): Likewise.
49686         (scalbn_test_data): Likewise.
49687         (scalbln_test_data): Likewise.
49688         (signbit_test_data): Likewise.
49689         (sqrt_test_data): Likewise.
49690         (significand_test_data): Likewise.
49692 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49694         [BZ #15424]
49695         * benchtests/bench-modf.c (struct args): Mark arg0 as
49696         volatile.
49697         * scripts/bench.pl: Mark members of struct args as volatile.
49699 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49701         [BZ # 15497]
49702         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49703         negative infinity on POWER6 or lower.
49704         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49706 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49708         [BZ #15442]
49709         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49710         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49711         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49712         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49713         (_FP_SETQNAN): New macro.
49714         (_FP_SETQNAN_SEMIRAW): Likewise.
49715         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49716         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49717         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49718         (FP_EXTEND): Use _FP_FRAC_SNANP.
49719         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49720         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49721         into account.
49722         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49723         New macro.
49724         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49725         Likewise.
49727 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49729         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49730         with DIVIDE_BY_ZERO_EXCEPTION.
49731         (gamma_test_data): Likewise.
49732         (lgamma_test_data): Likewise.
49733         (log_test_data): Likewise.
49734         (log10_test_data): Likewise.
49735         (log2_test_data): Likewise.
49736         (tgamma_test_data): Likewise.
49738         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49739         (acos_test_tonearest): Likewise.
49740         (acos_test_towardzero): Likewise.
49741         (acos_test_downward): Likewise.
49742         (acos_test_upward): Likewise.
49743         (acosh_test): Likewise.
49744         (asin_test): Likewise.
49745         (asin_test_tonearest): Likewise.
49746         (asin_test_towardzero): Likewise.
49747         (asin_test_downward): Likewise.
49748         (asin_test_upward): Likewise.
49749         (asinh_test): Likewise.
49750         (atan_test): Likewise.
49751         (atanh_test): Likewise.
49752         (atan2_test): Likewise.
49753         (cabs_test): Likewise.
49754         (cacos_test): Likewise.
49755         (cacosh_test): Likewise.
49756         (casin_test): Likewise.
49757         (casinh_test): Likewise.
49758         (catan_test): Likewise.
49759         (catanh_test): Likewise.
49760         (cbrt_test): Likewise.
49761         (ccos_test): Likewise.
49762         (ccosh_test): Likewise.
49763         (cexp_test): Likewise.
49764         (clog_test): Likewise.
49765         (clog10_test): Likewise.
49766         (cos_test): Likewise.
49767         (cos_test_tonearest): Likewise.
49768         (cos_test_towardzero): Likewise.
49769         (cos_test_downward): Likewise.
49770         (cos_test_upward): Likewise.
49771         (cosh_test): Likewise.
49772         (cosh_test_tonearest): Likewise.
49773         (cosh_test_towardzero): Likewise.
49774         (cosh_test_downward): Likewise.
49775         (cosh_test_upward): Likewise.
49776         (cpow_test): Likewise.
49777         (csin_test): Likewise.
49778         (csinh_test): Likewise.
49779         (csqrt_test): Likewise.
49780         (ctan_test): Likewise.
49781         (ctan_test_tonearest): Likewise.
49782         (ctan_test_towardzero): Likewise.
49783         (ctan_test_downward): Likewise.
49784         (ctan_test_upward): Likewise.
49785         (ctanh_test): Likewise.
49786         (ctanh_test_tonearest): Likewise.
49787         (ctanh_test_towardzero): Likewise.
49788         (ctanh_test_downward): Likewise.
49789         (ctanh_test_upward): Likewise.
49790         (erf_test): Likewise.
49791         (erfc_test): Likewise.
49792         (exp_test): Likewise.
49793         (exp_test_tonearest): Likewise.
49794         (exp_test_towardzero): Likewise.
49795         (exp_test_downward): Likewise.
49796         (exp_test_upward): Likewise.
49797         (exp10_test): Likewise.
49798         (exp2_test): Likewise.
49799         (expm1_test): Likewise.
49800         (fmod_test): Likewise.
49801         (gamma_test): Likewise.
49802         (hypot_test): Likewise.
49803         (j0_test): Likewise.
49804         (j1_test): Likewise.
49805         (jn_test): Likewise.
49806         (lgamma_test): Likewise.
49807         (log_test): Likewise.
49808         (log10_test): Likewise.
49809         (log1p_test): Likewise.
49810         (log2_test): Likewise.
49811         (logb_test_downward): Likewise.
49812         (pow_test): Likewise.
49813         (pow_test_tonearest): Likewise.
49814         (pow_test_towardzero): Likewise.
49815         (pow_test_downward): Likewise.
49816         (pow_test_upward): Likewise.
49817         (remainder_test): Likewise.
49818         (remquo_test): Likewise.
49819         (sin_test): Likewise.
49820         (sin_test_tonearest): Likewise.
49821         (sin_test_towardzero): Likewise.
49822         (sin_test_downward): Likewise.
49823         (sin_test_upward): Likewise.
49824         (sincos_test): Likewise.
49825         (sinh_test): Likewise.
49826         (sinh_test_tonearest): Likewise.
49827         (sinh_test_towardzero): Likewise.
49828         (sinh_test_downward): Likewise.
49829         (sinh_test_upward): Likewise.
49830         (sqrt_test): Likewise.
49831         (tan_test): Likewise.
49832         (tan_test_tonearest): Likewise.
49833         (tan_test_towardzero): Likewise.
49834         (tan_test_downward): Likewise.
49835         (tan_test_upward): Likewise.
49836         (tanh_test): Likewise.
49837         (tgamma_test): Likewise.
49838         (y0_test): Likewise.
49839         (y1_test): Likewise.
49840         (yn_test): Likewise.
49842         * math/gen-libm-test.pl (adjust_arg): Remove function.
49843         (special_function): Remove argument $in_func.  Only handle
49844         generating output for tables of tests, not inside functions.
49845         (parse_args): Likewise.
49846         (generate_testfile): Remove variable $in_func.  Update call to
49847         parse_args.
49848         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49849         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49850         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49851         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49852         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49853         (MAX_VALUE_INIT): Rename macro to max_value.
49854         (MIN_VALUE_INIT): Rename macro to min_value.
49855         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49856         (plus_zero): Remove variable.
49857         (minus_zero): Likewise.
49858         (plus_infty): Likewise.
49859         (minus_infty): Likewise.
49860         (qnan_value): Likewise.
49861         (max_value): Likewise.
49862         (min_value): Likewise.
49863         (min_subnorm_value): Likewise.
49865 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49867         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49868         uint64_t or uint32_t usage.
49869         * crypt/sha256-block.c: Likewise.
49870         * crypt/sha256-crypt.c: Likewise.
49871         * crypt/sha256.c: Likewise.
49872         * crypt/sha512-block.c: Likewise.
49873         * crypt/sha512-crypt.c: Likewise.
49874         * crypt/sha512.c: Likewise.
49875         * debug/backtrace-tst.c: Likewise.
49876         * debug/pcprofiledump.c: Likewise.
49877         * elf/cache.c: Likewise.
49878         * elf/dl-cache.c: Likewise.
49879         * elf/dl-misc.c: Likewise.
49880         * elf/dl-profile.c: Likewise.
49881         * elf/dl-support.c: Likewise.
49882         * elf/ldconfig.c: Likewise.
49883         * elf/sprof.c: Likewise.
49884         * iconv/dummy-repertoire.c: Likewise.
49885         * iconv/iconv_charmap.c: Likewise.
49886         * iconv/skeleton.c: Likewise.
49887         * iconvdata/8bit-generic.c: Likewise.
49888         * iconvdata/cp737.h: Likewise.
49889         * iconvdata/cp775.h: Likewise.
49890         * iconvdata/ibm1008.h: Likewise.
49891         * iconvdata/ibm1025.h: Likewise.
49892         * iconvdata/ibm1046.h: Likewise.
49893         * iconvdata/ibm1097.h: Likewise.
49894         * iconvdata/ibm1112.h: Likewise.
49895         * iconvdata/ibm1122.h: Likewise.
49896         * iconvdata/ibm1123.h: Likewise.
49897         * iconvdata/ibm1124.h: Likewise.
49898         * iconvdata/ibm1129.h: Likewise.
49899         * iconvdata/ibm1130.h: Likewise.
49900         * iconvdata/ibm1132.h: Likewise.
49901         * iconvdata/ibm1133.h: Likewise.
49902         * iconvdata/ibm1137.h: Likewise.
49903         * iconvdata/ibm1140.h: Likewise.
49904         * iconvdata/ibm1141.h: Likewise.
49905         * iconvdata/ibm1142.h: Likewise.
49906         * iconvdata/ibm1143.h: Likewise.
49907         * iconvdata/ibm1144.h: Likewise.
49908         * iconvdata/ibm1145.h: Likewise.
49909         * iconvdata/ibm1146.h: Likewise.
49910         * iconvdata/ibm1147.h: Likewise.
49911         * iconvdata/ibm1148.h: Likewise.
49912         * iconvdata/ibm1149.h: Likewise.
49913         * iconvdata/ibm1153.h: Likewise.
49914         * iconvdata/ibm1154.h: Likewise.
49915         * iconvdata/ibm1155.h: Likewise.
49916         * iconvdata/ibm1156.h: Likewise.
49917         * iconvdata/ibm1157.h: Likewise.
49918         * iconvdata/ibm1158.h: Likewise.
49919         * iconvdata/ibm1160.h: Likewise.
49920         * iconvdata/ibm1161.h: Likewise.
49921         * iconvdata/ibm1162.h: Likewise.
49922         * iconvdata/ibm1163.h: Likewise.
49923         * iconvdata/ibm1164.h: Likewise.
49924         * iconvdata/ibm1166.h: Likewise.
49925         * iconvdata/ibm1167.h: Likewise.
49926         * iconvdata/ibm12712.h: Likewise.
49927         * iconvdata/ibm1390.h: Likewise.
49928         * iconvdata/ibm1399.h: Likewise.
49929         * iconvdata/ibm16804.h: Likewise.
49930         * iconvdata/ibm4517.h: Likewise.
49931         * iconvdata/ibm4899.h: Likewise.
49932         * iconvdata/ibm4909.h: Likewise.
49933         * iconvdata/ibm4971.h: Likewise.
49934         * iconvdata/ibm5347.h: Likewise.
49935         * iconvdata/ibm803.h: Likewise.
49936         * iconvdata/ibm856.h: Likewise.
49937         * iconvdata/ibm901.h: Likewise.
49938         * iconvdata/ibm902.h: Likewise.
49939         * iconvdata/ibm9030.h: Likewise.
49940         * iconvdata/ibm9066.h: Likewise.
49941         * iconvdata/ibm921.h: Likewise.
49942         * iconvdata/ibm922.h: Likewise.
49943         * iconvdata/ibm9448.h: Likewise.
49944         * iconvdata/isiri-3342.h: Likewise.
49945         * iconvdata/jis0201.h: Likewise.
49946         * include/link.h: Likewise.
49947         * include/netdb.h: Likewise.
49948         * inet/check_native.c: Likewise.
49949         * inet/check_pf.c: Likewise.
49950         * inet/getipv4sourcefilter.c: Likewise.
49951         * inet/getnameinfo.c: Likewise.
49952         * inet/getsourcefilter.c: Likewise.
49953         * inet/htonl.c: Likewise.
49954         * inet/setipv4sourcefilter.c: Likewise.
49955         * inet/setsourcefilter.c: Likewise.
49956         * inet/test-inet6_opt.c: Likewise.
49957         * inet/tst-network.c: Likewise.
49958         * locale/C-collate.c: Likewise.
49959         * locale/C-ctype.c: Likewise.
49960         * locale/C-time.c: Likewise.
49961         * locale/C-translit.h: Likewise.
49962         * locale/loadarchive.c: Likewise.
49963         * locale/programs/3level.h: Likewise.
49964         * locale/programs/charmap.c: Likewise.
49965         * locale/programs/charmap.h: Likewise.
49966         * locale/programs/ld-address.c: Likewise.
49967         * locale/programs/ld-collate.c: Likewise.
49968         * locale/programs/ld-ctype.c: Likewise.
49969         * locale/programs/ld-identification.c: Likewise.
49970         * locale/programs/ld-measurement.c: Likewise.
49971         * locale/programs/ld-messages.c: Likewise.
49972         * locale/programs/ld-monetary.c: Likewise.
49973         * locale/programs/ld-name.c: Likewise.
49974         * locale/programs/ld-numeric.c: Likewise.
49975         * locale/programs/ld-paper.c: Likewise.
49976         * locale/programs/ld-telephone.c: Likewise.
49977         * locale/programs/ld-time.c: Likewise.
49978         * locale/programs/linereader.c: Likewise.
49979         * locale/programs/locale.c: Likewise.
49980         * locale/programs/locarchive.c: Likewise.
49981         * locale/programs/locfile.h: Likewise.
49982         * locale/programs/repertoire.c: Likewise.
49983         * locale/programs/simple-hash.c: Likewise.
49984         * locale/programs/simple-hash.h: Likewise.
49985         * malloc/memusage.c: Likewise.
49986         * malloc/memusagestat.c: Likewise.
49987         * nis/nis_defaults.c: Likewise.
49988         * nis/nis_hash.c: Likewise.
49989         * nis/nis_print.c: Likewise.
49990         * nis/nis_xdr.c: Likewise.
49991         * nscd/connections.c: Likewise.
49992         * nscd/hstcache.c: Likewise.
49993         * nscd/nscd_gethst_r.c: Likewise.
49994         * nscd/nscd_getserv_r.c: Likewise.
49995         * nscd/nscd_helper.c: Likewise.
49996         * nscd/servicescache.c: Likewise.
49997         * nss/makedb.c: Likewise.
49998         * nss/nss_db/db-XXX.c: Likewise.
49999         * nss/nss_db/db-initgroups.c: Likewise.
50000         * nss/nss_db/db-netgrp.c: Likewise.
50001         * nss/nss_files/files-network.c: Likewise.
50002         * nss/nss_files/files-parse.c: Likewise.
50003         * posix/bug-regex5.c: Likewise.
50004         * posix/fnmatch_loop.c: Likewise.
50005         * posix/regcomp.c: Likewise.
50006         * posix/regexec.c: Likewise.
50007         * posix/tst-rfc3484-2.c: Likewise.
50008         * posix/tst-rfc3484-3.c: Likewise.
50009         * posix/tst-rfc3484.c: Likewise.
50010         * resolv/nss_dns/dns-canon.c: Likewise.
50011         * resolv/nss_dns/dns-network.c: Likewise.
50012         * resolv/res_init.c: Likewise.
50013         * resolv/res_mkquery.c: Likewise.
50014         * resolv/tst-aton.c: Likewise.
50015         * stdlib/cxa_atexit.c: Likewise.
50016         * stdlib/cxa_finalize.c: Likewise.
50017         * stdlib/gen-fpioconst.c: Likewise.
50018         * stdlib/strtol_l.c: Likewise.
50019         * string/tst-endian.c: Likewise.
50020         * sunrpc/auth_des.c: Likewise.
50021         * sunrpc/clnt_udp.c: Likewise.
50022         * sunrpc/rtime.c: Likewise.
50023         * sunrpc/svcauth_des.c: Likewise.
50024         * sunrpc/xdr.c: Likewise.
50025         * sunrpc/xdr_intXX_t.c: Likewise.
50026         * sunrpc/xdr_rec.c: Likewise.
50027         * sysdeps/generic/ldconfig.h: Likewise.
50028         * sysdeps/generic/ldsodefs.h: Likewise.
50029         * sysdeps/generic/memusage.h: Likewise.
50030         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50031         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50032         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50033         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50034         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50035         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50036         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50037         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50038         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50039         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50040         * sysdeps/posix/getaddrinfo.c: Likewise.
50041         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50042         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50043         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50044         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50045         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50046         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50047         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50048         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50049         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50050         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50051         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50052         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50053         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50054         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50055         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50056         * sysdeps/x86_64/dl-tls.h: Likewise.
50057         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50058         * time/alt_digit.c: Likewise.
50059         * time/era.c: Likewise.
50060         * wcsmbs/tst-c16c32-1.c: Likewise.
50062 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50064         * math/libm-test.inc (struct test_sincos_data): New type.
50065         (RUN_TEST_LOOP_sincos): New macro.
50066         (sincos_test_data): New variable.
50067         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50069 2013-05-16  Richard Henderson  <rth@redhat.com>
50071         * math/atest-exp2.c (LIMB64): New macro.
50072         (CONSTSZ): New macro.
50073         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50074         (hexdig): Move ...
50075         (print_mpn_fp): ... to function scope.
50076         (read_mpn_hex): Remove.
50077         (get_log2): Remove.
50078         (exp2_mpn): Use mp_log2.
50079         (main): Use mp_exp1.
50081 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50083         * math/libm-test.inc: Remove comment about not testing "inexact"
50084         exceptions.
50085         (INEXACT_EXCEPTION): New macro.
50086         (NO_INEXACT_EXCEPTION): Likewise.
50087         (INVALID_EXCEPTION_OK): Update value.
50088         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50089         (OVERFLOW_EXCEPTION_OK): Likewise.
50090         (UNDERFLOW_EXCEPTION_OK): Likewise.
50091         (IGNORE_ZERO_INF_SIGN): Likewise.
50092         (ERRNO_UNCHANGED): Likewise.
50093         (ERRNO_EDOM): Likewise.
50094         (ERRNO_ERANGE): Likewise.
50095         (test_exceptions): Handle testing "inexact" exceptions.
50096         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50097         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50098         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50099         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50100         INEXACT_EXCEPTION.
50101         (rint_towardzero_test_data): Likewise.
50102         (rint_downward_test_data): Likewise.
50103         (rint_upward_test_data): Likewise.
50105         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50106         with OVERFLOW_EXCEPTION.
50107         (exp10_test_data): Likewise.
50108         (exp2_test_data): Likewise.
50109         (expm1_test_data): Likewise.
50110         (lgamma_test_data): Likewise.
50111         (pow_test_data): Likewise.
50112         (tgamma_test_data): Likewise.
50113         (yn_test_data): Remove duplicate test of overflow.
50115         * math/libm-test.inc (struct test_cc_c_data): New type.
50116         (RUN_TEST_LOOP_cc_c): New macro.
50117         (cpow_test_data): New variable.
50118         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50120         * math/libm-test.inc (struct test_f_L_data): New type.
50121         (RUN_TEST_LOOP_f_L): New macro.
50122         (llrint_test_data): New variable.
50123         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50124         (llrint_tonearest_test_data): New variable.
50125         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50126         (llrint_towardzero_test_data): New variable.
50127         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50128         (llrint_downward_test_data): New variable.
50129         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50130         (llrint_upward_test_data): New variable.
50131         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50132         (llround_test_data): New variable.
50133         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50135 2013-05-13  Peter Collingbourne  <pcc@google.com>
50137         * math/atest-exp2.c (get_log2): Remove const attribute.
50139 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50141         * math/libm-test.inc (struct test_f_l_data): New type.
50142         (RUN_TEST_LOOP_f_l): New macro.
50143         (lrint_test_data): New variable.
50144         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50145         (lrint_tonearest_test_data): New variable.
50146         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50147         (lrint_towardzero_test_data): New variable.
50148         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50149         (lrint_downward_test_data): New variable.
50150         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50151         (lrint_upward_test_data): New variable.
50152         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50153         (lround_test_data): New variable.
50154         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50156 2013-05-15  Peter Collingbourne  <pcc@google.com>
50158         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50159         (EXTRACT_WORDS64) Use where appropriate.
50160         (INSERT_WORDS64) Likewise.
50162         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50163         constraints with x constraints.
50164         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50166         * malloc/obstack.c (_obstack_compat): Add initializer.
50168 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50170         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50171         si_trapno and add si_addr_lsb to _sifields.sigfault.
50172         (si_trapno): Remove macro.
50173         (si_addr_lsb): Define new macro.
50174         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50176 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50178         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50179         instead of TEST_f_l.
50180         (llrint_test_tonearest): Likewise.
50181         (llrint_test_towardzero): Likewise.
50182         (llrint_test_downward): Likewise.
50183         (llrint_test_upward): Likewise.
50184         (llround_test): Likewise.
50186         * math/libm-test.inc (struct test_f_i_data): Add comment.
50187         (RUN_TEST_LOOP_f_b): New macro.
50188         (RUN_TEST_LOOP_f_b_tg): Likewise.
50189         (finite_test_data): New variable.
50190         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50191         (isfinite_test_data): New variable.
50192         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50193         (isinf_test_data): New variable.
50194         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50195         (isnan_test_data): New variable.
50196         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50197         (isnormal_test_data): New variable.
50198         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50199         (issignaling_test_data): New variable.
50200         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50201         (signbit_test_data): New variable.
50202         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50204         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50205         with INVALID_EXCEPTION.
50206         (acosh_test_data): Likewise.
50207         (asin_test_data): Likewise.
50208         (atanh_test_data): Likewise.
50209         (fmod_test_data): Likewise.
50210         (log_test_data): Likewise.
50211         (log10_test_data): Likewise.
50212         (log2_test_data): Likewise.
50213         (pow_test_data): Likewise.
50214         (sqrt_test_data): Likewise.
50215         (y0_test_data): Likewise.
50216         (y1_test_data): Likewise.
50217         (yn_test_data): Likewise.
50219         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50220         function contents.
50222         * math/libm-test.inc (struct test_ff_i_data): New type.
50223         (RUN_TEST_LOOP_ff_i_tg): New macro.
50224         (isgreater_test_data): New variable.
50225         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50226         (isgreaterequal_test_data): New variable.
50227         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50228         (isless_test_data): New variable.
50229         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50230         (islessequal_test_data): New variable.
50231         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50232         (islessgreater_test_data): New variable.
50233         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50234         (isunordered_test_data): New variable.
50235         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50237 2013-05-14  David S. Miller  <davem@davemloft.net>
50239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50241 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50243         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50245         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50246         extra_test to int.
50247         (struct test_f_i_data): Change type of max_ulp to int.
50249         * math/libm-test.inc (test_ffI_f1_data): New type.
50250         (RUN_TEST_LOOP_ffI_f1): New macro.
50251         (remquo_test_data): New variable.
50252         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50254         * setjmp/tst-setjmp-fp.c: New file.
50255         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50256         (link-libm): New variable.
50257         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50259         * math/libm-test.inc (struct test_f_i_data): New type.
50260         (RUN_TEST_LOOP_f_i): New macro.
50261         (RUN_TEST_LOOP_f_i_tg): Likewise.
50262         (fpclassify_test_data): New variable.
50263         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50264         (ilogb_test_data): New variable.
50265         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50267         * math/libm-test.inc (scalbln_test): Correct function name in END
50268         call.
50270         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50271         (RUN_TEST_LOOP_fI_f1): New macro.
50272         (frexp_test_data): New variable.
50273         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50275         * math/libm-test.inc (struct test_fF_f1_data): New type.
50276         (RUN_TEST_LOOP_fF_f1): New macro.
50277         (modf_test_data): New variable.
50278         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50280         * math/libm-test.inc (struct test_f_f1_data): New type.
50281         (RUN_TEST_LOOP_f_f1): New macro.
50282         (gamma_test_data): New variable.
50283         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50284         (lgamma_test_data): New variable.
50285         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50287 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50289         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50290         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50291         (main): Comment "tls" pseudo-hwcap.
50293 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50295         * math/libm-test.inc (struct test_fl_f_data): New type.
50296         (RUN_TEST_LOOP_fl_f): New variable.
50297         (scalbln_test_data): New variable.
50298         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50300         * math/libm-test.inc (struct test_fi_f_data): New type.
50301         (RUN_TEST_LOOP_fi_f): New macro.
50302         (ldexp_test_data): New variable.
50303         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50304         (scalbn_test_data): New variable.
50305         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50307         * math/libm-test.inc (struct test_c_f_data): New type.
50308         (RUN_TEST_LOOP_c_f): New macro.
50309         (cabs_test_data): New variable.
50310         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50311         (carg_test_data): New variable.
50312         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50313         (cimag_test_data): New variable.
50314         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50315         (creal_test_data): New variable.
50316         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50318         * math/libm-test.inc (struct test_if_f_data): New type.
50319         (RUN_TEST_LOOP_if_f): New macro.
50320         (jn_test_data): New variable.
50321         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50322         (yn_test_data): New variable.
50323         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50325         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50327 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50329         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50330         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50332 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50334         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50335         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50336         (bench-deps): Add bench-timing.h.
50337         * benchtests-bench-skeleton.c: Include bench-timing.h.
50338         (main): Use TIMING_* macros instead of clock_gettime.
50339         * benchtests/bench-timing.h: New file.
50341         [BZ #14582]
50342         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50343         Renamed from _LIB_VERSION.
50344         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50346 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50348         * math/libm-test.inc (struct test_fff_f_data): New type.
50349         (RUN_TEST_LOOP_fff_f): New macro.
50350         (fma_test_data): New variable.
50351         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50352         (fma_towardzero_test_data): New variable.
50353         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50354         (fma_downward_test_data): New variable.
50355         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50356         (fma_upward_test_data): New variable.
50357         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50359         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50360         (struct test_c_c_data): New type.
50361         (RUN_TEST_LOOP_c_c): New macro.
50362         (cacos_test_data): New variable.
50363         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50364         (cacosh_test_data): New variable.
50365         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50366         (casin_test_data): New variable.
50367         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50368         (casinh_test_data): New variable.
50369         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50370         (catan_test_data): New variable.
50371         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50372         (catanh_test_data): New variable.
50373         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50374         (ccos_test_data): New variable.
50375         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50376         (ccosh_test_data): New variable.
50377         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50378         (cexp_test_data): New variable.
50379         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50380         (clog_test_data): New variable.
50381         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50382         (clog10_test_data): New variable.
50383         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50384         (conj_test_data): New variable.
50385         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50386         (cproj_test_data): New variable.
50387         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50388         (csin_test_data): New variable.
50389         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50390         (csinh_test_data): New variable.
50391         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50392         (csqrt_test_data): New variable.
50393         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50394         (ctan_test_data): New variable.
50395         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50396         (ctan_tonearest_test_data): New variable.
50397         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50398         (ctan_towardzero_test_data): New variable.
50399         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50400         (ctan_downward_test_data): New variable.
50401         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50402         (ctan_upward_test_data): New variable.
50403         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50404         (ctanh_test_data): New variable.
50405         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50406         (ctanh_tonearest_test_data): New variable.
50407         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50408         (ctanh_towardzero_test_data): New variable.
50409         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50410         (ctanh_downward_test_data): New variable.
50411         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50412         (ctanh_upward_test_data): New variable.
50413         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50414         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50415         of BUILD_COMPLEX.
50417         * math/libm-test.inc (struct test_ff_f_data): New type.
50418         (struct test_ff_f_data_nexttoward): Likewise.
50419         (RUN_TEST_LOOP_2_f): New macro.
50420         (RUN_TEST_LOOP_ff_f): Likewise.
50421         (atan2_test_data): New variable.
50422         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50423         (copysign_test_data): New variable.
50424         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50425         (fdim_test_data): New variable.
50426         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50427         (fmax_test_data): New variable.
50428         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50429         (fmin_test_data): New variable.
50430         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50431         (fmod_test_data): New variable.
50432         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50433         (hypot_test_data): New variable.
50434         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50435         (nextafter_test_data): New variable.
50436         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50437         (nexttoward_test_data): New variable.
50438         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50439         (pow_test_data): New variable.
50440         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50441         (pow_tonearest_test_data): New variable.
50442         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50443         (pow_towardzero_test_data): New variable.
50444         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50445         (pow_downward_test_data): New variable.
50446         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50447         (pow_upward_test_data): New variable.
50448         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50449         (remainder_test_data): New variable.
50450         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50451         (scalb_test_data): New variable.
50452         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50453         * sysdeps/i386/fpu/libm-test-ulps: Update.
50455 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50457         * math/libm-test.inc (fma_test): Use max_value instead of local
50458         variable fltmax.
50459         (nextafter_test): Likewise.
50461         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50462         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50463         (acos_downward_test_data): New variable.
50464         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50465         (acos_upward_test_data): New variable.
50466         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50467         (acosh_test_data): New variable.
50468         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50469         (asin_test_data): New variable.
50470         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50471         (asin_tonearest_test_data): New variable.
50472         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50473         (asin_towardzero_test_data): New variable.
50474         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50475         (asin_downward_test_data): New variable.
50476         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50477         (asin_upward_test_data): New variable.
50478         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50479         (asinh_test_data): New variable.
50480         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50481         (atan_test_data): New variable.
50482         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50483         (atanh_test_data): New variable.
50484         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50485         (cbrt_test_data): New variable.
50486         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50487         (ceil_test_data): New variable.
50488         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50489         (cos_test_data): New variable.
50490         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50491         (cos_tonearest_test_data): New variable.
50492         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50493         (cos_towardzero_test_data): New variable.
50494         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50495         (cos_downward_test_data): New variable.
50496         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50497         (cos_upward_test_data): New variable.
50498         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50499         (cosh_test_data): New variable.
50500         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50501         (cosh_tonearest_test_data): New variable.
50502         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50503         (cosh_towardzero_test_data): New variable.
50504         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50505         (cosh_downward_test_data): New variable.
50506         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50507         (cosh_upward_test_data): New variable.
50508         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50509         (erf_test_data): New variable.
50510         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50511         (erfc_test_data): New variable.
50512         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50513         (exp_test_data): New variable.
50514         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50515         (exp_tonearest_test_data): New variable.
50516         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50517         (exp_towardzero_test_data): New variable.
50518         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50519         (exp_downward_test_data): New variable.
50520         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50521         (exp_upward_test_data): New variable.
50522         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50523         (exp10_test_data): New variable.
50524         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50525         (exp2_test_data): New variable.
50526         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50527         (expm1_test_data): New variable.
50528         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50529         (fabs_test_data): New variable.
50530         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50531         (floor_test_data): New variable.
50532         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50533         (j0_test_data): New variable.
50534         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50535         (j1_test_data): New variable.
50536         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50537         (log_test_data): New variable.
50538         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50539         (log10_test_data): New variable.
50540         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50541         (log1p_test_data): New variable.
50542         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50543         (log2_test_data): New variable.
50544         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50545         (logb_test_data): New variable.
50546         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50547         (logb_downward_test_data): New variable.
50548         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50549         (nearbyint_test_data): New variable.
50550         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50551         (rint_test_data): New variable.
50552         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50553         (rint_tonearest_test_data): New variable.
50554         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50555         (rint_towardzero_test_data): New variable.
50556         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50557         (rint_downward_test_data): New variable.
50558         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50559         (rint_upward_test_data): New variable.
50560         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50561         (round_test_data): New variable.
50562         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50563         (sin_test_data): New variable.
50564         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50565         (sin_tonearest_test_data): New variable.
50566         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50567         (sin_towardzero_test_data): New variable.
50568         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50569         (sin_downward_test_data): New variable.
50570         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50571         (sin_upward_test_data): New variable.
50572         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50573         (sinh_test_data): New variable.
50574         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50575         (sinh_tonearest_test_data): New variable.
50576         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50577         (sinh_towardzero_test_data): New variable.
50578         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50579         (sinh_downward_test_data): New variable.
50580         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50581         (sinh_upward_test_data): New variable.
50582         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50583         (sqrt_test_data): New variable.
50584         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50585         (tan_test_data): New variable.
50586         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50587         (tan_tonearest_test_data): New variable.
50588         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50589         (tan_towardzero_test_data): New variable.
50590         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50591         (tan_downward_test_data): New variable.
50592         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50593         (tan_upward_test_data): New variable.
50594         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50595         (tanh_test_data): New variable.
50596         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50597         (tgamma_test_data): New variable.
50598         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50599         (trunc_test_data): New variable.
50600         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50601         (y0_test_data): New variable.
50602         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50603         (y1_test_data): New variable.
50604         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50605         (significand_test_data): New variable.
50606         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50608 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50610         [BZ #12387]
50611         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50613 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50615         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50617 2013-05-10  Andreas Jaeger  <aj@suse.de>
50619         [BZ #15448]
50620         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50621         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50623 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50625         * math/gen-libm-test.pl (adjust_arg): New function.
50626         (special_functions): Handle generating output in both functions
50627         and arrays.
50628         (parse_args): Likewise.
50629         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50630         $in_func argument to parse_args.
50631         * math/libm-test.inc (struct test_f_f_data): New type.
50632         (IF_ROUND_INIT_): New macro.
50633         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50634         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50635         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50636         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50637         (ROUND_RESTORE_): Likewise.
50638         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50639         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50640         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50641         (ROUND_RESTORE_FE_UPWARD): Likewise.
50642         (RUN_TEST_LOOP_f_f): New macro.
50643         (acos_test_data): New variable.
50644         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50645         (acos_tonearest_test_data): New variable.
50646         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50648 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50650         * benchtests/bench-skeleton.c (startup): Fix coding style.
50652 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50654         [BZ #6809]
50655         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50656         negative infinity argument.
50657         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50658         negative infinity argument.
50659         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50660         negative infinity argument.
50661         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50662         domain errors.
50664 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50666         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50667         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50668         * iconv/iconv_prog.c (main): Likewise.
50669         * locale/programs/charmap-dir.c (charmap_readdir)
50670         (fopen_uncompressed): Likewise.
50671         * locale/programs/locfile.c (siblings_uncached)
50672         (write_locale_data): Use lstat64 instead of lstat.
50673         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50674         stat.
50676 2013-05-10  Andreas Jaeger  <aj@suse.de>
50678         [BZ #15395]
50679         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50680         localization.
50681         Include <locale.h>.
50683 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50685         * elf/dl-close.c (_dl_close_worker): Add comments.
50687 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50689         [BZ #15359]
50690         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50691         high part of pi/2.
50692         (__ieee754_rem_pio2l): Update comments.
50694         [BZ #15429]
50695         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50696         high part of pi/2.
50697         (__ieee754_rem_pio2l): Update comments.
50699         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50700         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50702         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50703         M_PI_4l.
50705         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50706         (M_PI_34_LOG10El): Likewise.
50707         (M_PI2_LOG10El): Likewise.
50708         (M_PI4_LOG10El): Likewise.
50709         (M_PI_LOG10El): Likewise.
50711 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50715 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50717         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50718         (MINUS_ZERO_INIT): Likewise.
50719         (PLUS_INFTY_INIT): Likewise.
50720         (MINUS_INFTY_INIT): Likewise.
50721         (QNAN_VALUE_INIT): Likewise.
50722         (MAX_VALUE_INIT): Likewise.
50723         (MIN_VALUE_INIT): Likewise.
50724         (MIN_SUBNORM_VALUE_INIT): Likewise.
50725         (plus_zero): Initialize with PLUS_ZERO_INIT.
50726         (minus_zero): Initialize with MINUS_ZERO_INIT.
50727         (plus_infty): Initialize with PLUS_INFTY_INIT.
50728         (minus_infty): Initialize with MINUS_INFTY_INIT.
50729         (qnan_value): Initialize with QNAN_VALUE_INIT.
50730         (max_value): Initialize with MAX_VALUE_INIT.
50731         (min_value): Initialize with MIN_VALUE_INIT.
50732         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50734         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50735         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50736         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50737         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50739         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50740         (RUN_TEST_2_f): Likewise.
50741         (RUN_TEST_ff_f): Likewise.
50742         (RUN_TEST_fi_f): Likewise.
50743         (RUN_TEST_fl_f): Likewise.
50744         (RUN_TEST_fff_f): Likewise.
50745         (RUN_TEST_c_f): Likewise.
50746         (RUN_TEST_f_f1): Likewise.
50747         (RUN_TEST_fF_f1): Likewise.
50748         (RUN_TEST_fI_f1): Likewise.
50749         (RUN_TEST_ffI_f1): Likewise.
50750         (RUN_TEST_c_c): Likewise.
50751         (RUN_TEST_cc_c): Likewise.
50752         (RUN_TEST_f_i): Likewise.
50753         (RUN_TEST_f_i_tg): Likewise.
50754         (RUN_TEST_ff_i_tg): Likewise.
50755         (RUN_TEST_f_b): Likewise.
50756         (RUN_TEST_f_b_tg): Likewise.
50757         (RUN_TEST_f_l): Likewise.
50758         (RUN_TEST_f_L): Likewise.
50759         (RUN_TEST_sincos): Likewise.
50760         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50761         whether to show exceptions.  Do not include ");\n" in return
50762         value.
50763         (special_functions): Output call to RUN_TEST_sincos instead of
50764         check_float calls.  Update calls to new_test.
50765         (parse_args): Output call to single RUN_TEST_* macro instead of
50766         check_* calls and other assignments.  Update calls to new_test.
50768         [BZ #2546]
50769         [BZ #2560]
50770         [BZ #5159]
50771         [BZ #15426]
50772         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50773         input to result for tgamma overflow.
50774         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50775         (gamma_coeff): New variable.
50776         (NCOEFF): New macro.
50777         (gamma_positive): New function.
50778         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50779         underflow here.  Use gamma_positive instead of exp (lgamma) for
50780         other arguments.
50781         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50782         (gamma_coeff): New variable.
50783         (NCOEFF): New macro.
50784         (gammaf_positive): New function.
50785         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50786         underflow here.  Use gamma_positive instead of exp (lgamma) for
50787         other arguments.
50788         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50789         (gamma_coeff): New variable.
50790         (NCOEFF): New macro.
50791         (gammal_positive): New function.
50792         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50793         underflow here.  Use gamma_positive instead of exp (lgamma) for
50794         other arguments.
50795         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50796         (gamma_coeff): New variable.
50797         (NCOEFF): New macro.
50798         (gammal_positive): New function.
50799         (__ieee754_gammal_r): Handle positive infinity, overflow and
50800         underflow here.  Handle NaN the same as positive infinity.  Remove
50801         check x < 0xffffffff for negative integers.  Use gamma_positive
50802         instead of exp (lgamma) for other arguments.
50803         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50804         (gamma_coeff): New variable.
50805         (NCOEFF): New macro.
50806         (gammal_positive): New function.
50807         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50808         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50809         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50810         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50811         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50812         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50813         * sysdeps/generic/math_private.h (__gamma_productf): New
50814         prototype.
50815         (__gamma_product): Likewise.
50816         (__gamma_productl): Likewise.
50817         * math/Makefile (libm-calls): Add gamma_product.
50818         * math/libm-test.inc (tgamma_test): Add more tests.
50819         * sysdeps/i386/fpu/libm-test-ulps: Update.
50820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50822 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
50824         * benchtests/bench-skeleton.c (main): Preheat CPU.
50826 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
50828         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50830 2013-05-07  Roland McGrath  <roland@hack.frob.com>
50832         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50833         and _dl_skip_args_internal.
50835 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
50837         * manual/message.texi (Message Translation): Talk about users.
50838         Message to key mapping impacts design.
50840 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50842         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50844         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50846         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50847         * sysdeps/wordsize-64/glob64.c: ... here.
50849         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50850         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50851         New macros.
50853         * debug/getlogin_r_chk.c: Moved to ...
50854         * login/getlogin_r_chk.c: ... here.
50855         * debug/Makefile (routines): Move getlogin_r_chk to ...
50856         * login/Makefile (routines): ... here.
50857         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50858         * login/Versions (libc: GLIBC_2.4): ... here.
50860         * io/poll.c (__poll): Renamed from poll.
50861         Add libc_hidden_def.
50862         (poll): Define as weak alias.
50864         * debug/ptsname_r_chk.c: Moved to ...
50865         * login/ptsname_r_chk.c: ... here.
50866         * debug/Makefile (routines): Move ptsname_r_chk to ...
50867         * login/Makefile (routines): ... here.
50868         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50869         * login/Versions (libc: GLIBC_2.4): ... here.
50871         * posix/getlogin.c: Moved to ...
50872         * login/getlogin.c: ... here.
50873         * posix/getlogin_r.c: Moved to ...
50874         * login/getlogin_r.c: ... here.
50875         * posix/getlogin_r.c: Moved to ...
50876         * login/getlogin_r.c: ... here.
50877         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50878         * login/Makefile (routines): ... here.
50879         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50880         * login/Versions (libc: GLIBC_2.0): ... here.
50882         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50883         (setrlimit): Define as weak alias.
50885         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50886         Call __ names for open, ftruncate, and close.
50887         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50888         (truncate): Define as weak alias.
50890 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50892         * math/gen-libm-test.pl (parse_args): Initialize x before each
50893         test of frexp, modf and remquo.
50895         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50896         test signgam value.
50898 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50900         [BZ #15418]
50901         [BZ #15419]
50902         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50903         internal tests.
50904         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50906 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50908         * elf/dl-writev.h: New file.
50909         * elf/dl-misc.c: Include it.
50910         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50911         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50913 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50915         * math/libm-test.inc (noXFails): Remove variable.
50916         (noXPasses): Likewise.
50917         (BUILD_COMPLEX_INT): Remove macro.
50918         (print_screen): Remove xfail argument.
50919         (print_screen_max_error): Likewise.
50920         (update_stats): Likewise.
50921         (print_max_error): Likewise.  Update calls to other affected
50922         functions.
50923         (print_complex_max_error): Likewise.
50924         (test_single_exception): Update calls to print_screen.
50925         (test_single_errno): Likewise.
50926         (check_float_internal): Remove xfail argument.  Update calls to
50927         other affected functions.
50928         (check_float): Likewise.
50929         (check_complex): Likewise.
50930         (check_int): Likewise.
50931         (check_long): Likewise.
50932         (check_bool): Likewise.
50933         (check_longlong): Likewise.
50934         (main): Don't print noXFails and noXPasses.
50935         * math/gen-libm-test.pl (top level): Don't mention expected
50936         failure handling in comment.
50937         (new_test): Don't handle expected failures.
50938         (parse_args): Don't mention expected failure handling in comment.
50939         (generate_testfile): Don't handle expected failures.
50940         (parse_ulps): Likewise.
50941         (print_ulps_file): Likewise.
50942         (get_failure): Remove function.
50943         (output_test): Don't handle expected failures.
50944         * make/README.libm-test: Don't mention expected failure handling.
50946         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50947         (minus_zero): Likewise.
50948         (plus_infty): Likewise.
50949         (minus_infty): Likewise.
50950         (qnan_value): Likewise.
50951         (max_value): Likewise.
50952         (min_value): Likewise.
50953         (min_subnorm_value): Likewise.
50954         (initialize): Do not initialize those variables dynamically.
50956 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50958         * io/open.c (__open_2): Moved to ...
50959         * io/open_2.c: ... this new file.
50960         * io/open64.c (__open64_2): Moved to ...
50961         * io/open64_2.c: ... this new file.
50962         * io/openat.c (__openat_2): Moved to ...
50963         * io/openat_2.c: ... this new file.
50964         * io/openat64.c (__openat64_2): Moved to ...
50965         * io/openat64_2.c: ... this new file.
50966         * io/Makefile (routines): Add them.
50967         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50968         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50969         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50970         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50971         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50972         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50973         (__openat64): Add hidden_ver.
50974         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50975         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50977         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50978         Separately conditionalize setting of GLRO(dl_sysinfo) so
50979         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50980         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50982 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50984         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50985         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50986         definition.
50987         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50988         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50989         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50990         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50991         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50993 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50995         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50996         test signgam value.
50998         * math/libm-test.inc (hypot_test): Do not use
50999         IGNORE_ZERO_INF_SIGN.
51001 2013-05-03  Andreas Jaeger  <aj@suse.de>
51003         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51004         Linux 3.9.
51005         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51006         (PF_MAX): Adjust for VSOCK change.
51008 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51012 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51014         [BZ #15264]
51015         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51016         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51017         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51019 2013-05-02  David S. Miller  <davem@davemloft.net>
51021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51023 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51025         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51027 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51029         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51031 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51033         [BZ #14952]
51034         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51035         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51036         Use __attribute__ ((__gnu_inline__)).
51037         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51038         Don't use __attribute__ ((__gnu_inline__)).
51040 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51042         [BZ #15423]
51043         * math/s_catan.c (__catan): Handle small real or imaginary part of
51044         input specially to avoid spurious underflow.
51045         * math/s_catanf.c (__catanf): Likewise.
51046         * math/s_catanh.c (__catanh): Likewise.
51047         * math/s_catanhf.c (__catanhf): Likewise.
51048         * math/s_catanhl.c (__catanhl): Likewise.
51049         * math/s_catanl.c (__catanl): Likewise.
51050         * math/libm-test.inc (catan_test): Add more tests.
51051         (catanh_test): Likewise.
51052         * sysdeps/i386/fpu/libm-test-ulps: Update.
51053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51055 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51059 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51061         [BZ #15416]
51062         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51063         accurately for denominator in atan2.
51064         * math/s_catanf.c (__catanf): Likewise.
51065         * math/s_catanh.c (__catanh): Likewise.
51066         * math/s_catanhf.c (__catanhf): Likewise.
51067         * math/s_catanhl.c (__catanhl): Likewise.
51068         * math/s_catanl.c (__catanl): Likewise.
51069         * math/libm-test.inc (catan_test): Add more tests.
51070         (catanh_test): Likewise.
51071         * sysdeps/i386/fpu/libm-test-ulps: Update.
51072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51074 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51076         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51078         * benchtests/Makefile (bench): Remove slow benchmarks.
51079         * benchtests/atan-inputs: Add slow benchmark inputs.
51080         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51081         (BENCH_FUNC): Accept variant offset.
51082         (VARIANT): Define.
51083         * benchtests/bench-skeleton.c (main): Run benchmark for each
51084         variant.
51085         * benchtests/cos-inputs: Add slow benchmark inputs.
51086         * benchtests/exp-inputs: Likewise.
51087         * benchtests/pow-inputs: Likewise.
51088         * benchtests/sin-inputs: Likewise.
51089         * benchtests/slowatan-inputs: Remove.
51090         * benchtests/slowatan.c: Remove.
51091         * benchtests/slowcos-inputs: Remove.
51092         * benchtests/slowcos.c: Remove.
51093         * benchtests/slowexp-inputs: Remove.
51094         * benchtests/slowexp.c: Remove.
51095         * benchtests/slowpow-inputs: Remove.
51096         * benchtests/slowpow.c: Remove.
51097         * benchtests/slowsin-inputs: Remove.
51098         * benchtests/slowsin.c: Remove.
51099         * benchtests/slowtan-inputs: Remove.
51100         * benchtests/slowtan.c: Remove.
51101         * benchtests/tan-inputs: Add slow benchmark inputs.
51102         * scripts/bench.pl: Parse comments and directives.
51104         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51105         in CPPFLAGS.
51106         ($(objpfx)bench-%.c): Remove *-ITER.
51107         * benchtests/bench-modf.c: Remove definition of ITER.
51108         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51109         (main): Loop for DURATION seconds instead of fixed number of
51110         iterations.
51111         * scripts/bench.pl: Don't expect iterations in parameters.
51113 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51115         * io/fchdir.c (__fchdir): Renamed from fchdir.
51116         (fchdir): Define as weak alias.
51118 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51120         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51121         (ERRNO_EDOM): Likewise.
51122         (ERRNO_ERANGE): Likewise.
51123         (noErrnoTests): New variable.
51124         (init_max_error): Set errno to 0.
51125         (test_single_errno): New function.
51126         (test_errno): Likewise.
51127         (check_float_internal): Call test_errno.  Set errno to 0.
51128         (check_complex): Refer to errno tests in comment.
51129         (check_int): Call test_errno.  Set errno to 0.
51130         (check_long): Likewise.
51131         (check_bool): Likewise.
51132         (check_longlong): Likewise.
51133         (cos_test): Use ERRNO_* flags for errno tests instead of
51134         check_int.
51135         (expm1_test): Likewise.
51136         (fmod_test): Likewise.
51137         (ilogb_test): Likewise.
51138         (lgamma_test): Likewise.
51139         (pow_test): Likewise.
51140         (remainder_test): Likewise.
51141         (sin_test): Likewise.
51142         (tan_test): Likewise.
51143         (yn_test): Likewise.
51144         (initialize): Set errno to 0.
51145         (main): Print number of errno tests.
51146         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51148 2013-04-29  Andreas Jaeger  <aj@suse.de>
51150         [BZ #15084]
51151         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51152         and RES_USEVC.
51154         [BZ #15085]
51155         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51156         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51157         unimplemented.
51159         [BZ #15380]
51160         * stdlib/random.c (__initstate): Return NULL if
51161         __initstate fails.
51163         [BZ #15086]
51164         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51165         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51166         RES_SNGLKUPREOP.
51168 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51172 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51174         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51175         of individual tests.
51176         (casin_test): Likewise.
51177         (casinh_test): Likewise.
51179 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51181         [BZ #15409]
51182         * math/s_catan.c (__catan): Handle arguments with large real or
51183         imaginary part separately without squaring.
51184         * math/s_catanf.c (__catanf): Likewise.
51185         * math/s_catanh.c (__catanh): Likewise.
51186         * math/s_catanhf.c (__catanhf): Likewise.
51187         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51188         and redefine.
51189         (__catanhl): Handle arguments with large real or imaginary part
51190         separately without squaring.
51191         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51192         and redefine.
51193         (__catanl): Handle arguments with large real or imaginary part
51194         separately without squaring.
51195         * math/libm-test.inc (catan_test): Add more tests.
51196         (catanh_test): Likewise.
51197         * sysdeps/i386/fpu/libm-test-ulps: Update.
51198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51200 2013-04-27  Andreas Jaeger  <aj@suse.de>
51202         [BZ #15007]
51203         * stdlib/stdlib.h: Update guards for qecvt.
51204         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51205         <stdlib.h>.
51207 2013-04-27  Allan McRae  <allan@archlinux.org>
51209         * sysdeps/i386/fpu/libm-test-ulps: Update.
51211 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51213         [BZ #15406]
51214         * math/s_catan.c: Include <float.h>.
51215         (__catan): Ensure underflow exception occurs for underflowed
51216         result.
51217         * math/s_catanf.c: Include <float.h>.
51218         (__catanf): Ensure underflow exception occurs for underflowed
51219         result.
51220         * math/s_catanh.c: Include <float.h>.
51221         (__catanh): Ensure underflow exception occurs for underflowed
51222         result.
51223         * math/s_catanhf.c: Include <float.h>.
51224         (__catanhf): Ensure underflow exception occurs for underflowed
51225         result.
51226         * math/s_catanhl.c: Include <float.h>.
51227         (__catanhl): Ensure underflow exception occurs for underflowed
51228         result.
51229         * math/s_catanl.c: Include <float.h>.
51230         (__catanl): Ensure underflow exception occurs for underflowed
51231         result.
51232         * math/libm-test.inc (catan_test): Add more tests.
51233         (catanh_test): Likewise.
51235         [BZ #15405]
51236         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51237         underflowed result.
51238         * math/s_ccoshf.c (__ccoshf): Likewise.
51239         * math/s_ccoshl.c (__ccoshl): Likewise.
51240         * math/s_csin.c (__csin): Likewise.
51241         * math/s_csinf.c (__csinf): Likewise.
51242         * math/s_csinh.c (__csinh): Likewise.
51243         * math/s_csinhf.c (__csinhf): Likewise.
51244         * math/s_csinhl.c (__csinhl): Likewise.
51245         * math/s_csinl.c (__csinl): Likewise.
51246         * math/libm-test.inc (ccos_test): Add more tests.
51247         (ccosh_test): Likewise.
51248         (csin_test): Likewise.
51249         (csinh_test): Likewise.
51251 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51253         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51254         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51255         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51256         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51257         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51258         powerpc/power5+/fpu folders.
51259         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51262 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51266 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51268         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51269         additions to variable.
51270         [$(config-machine) = x86_64] (modules-names): Likewise.
51271         ($(objpfx)tst-audit3): Remove dependency.
51272         ($(objpfx)tst-audit3.out): Likewise.
51273         ($(objpfx)tst-audit4): Likewise.
51274         ($(objpfx)tst-audit4.out): Likewise.
51275         ($(objpfx)tst-audit5): Likewise.
51276         ($(objpfx)tst-audit5.out): Likewise.
51277         ($(objpfx)tst-audit6): Likewise.
51278         ($(objpfx)tst-audit6.out): Likewise.
51279         ($(objpfx)tst-audit7): Likewise.
51280         ($(objpfx)tst-audit7.out): Likewise.
51281         (tst-audit3-ENV): Remove variable.
51282         (tst-audit4-ENV): Likewise.
51283         (tst-audit5-ENV): Likewise.
51284         (tst-audit6-ENV): Likewise.
51285         (tst-audit7-ENV): Likewise.
51286         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51287         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51288         addition to variable.
51289         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51290         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51291         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51292         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51293         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51294         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51295         tst-audit3, tst-audit4 and tst-audit5.
51296         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51297         tst-audit6 and tst-audit7.
51298         [$(subdir) = elf] (modules-names): Add audit modules for those
51299         tests.
51300         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51301         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51302         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51303         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51304         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51305         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51306         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51307         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51308         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51309         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51310         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51311         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51312         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51313         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51314         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51315         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51316         Likewise.
51317         [$(subdir) = elf && $(config-cflags-avx) = yes]
51318         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51319         [$(subdir) = elf && $(config-cflags-avx) = yes]
51320         (CFLAGS-tst-auditmod4a.c): Likewise.
51321         [$(subdir) = elf && $(config-cflags-avx) = yes]
51322         (CFLAGS-tst-auditmod4b.c): Likewise.
51323         [$(subdir) = elf && $(config-cflags-avx) = yes]
51324         (CFLAGS-tst-auditmod6b.c): Likewise.
51325         [$(subdir) = elf && $(config-cflags-avx) = yes]
51326         (CFLAGS-tst-auditmod6c.c): Likewise.
51327         [$(subdir) = elf && $(config-cflags-avx) = yes]
51328         (CFLAGS-tst-auditmod7b.c): Likewise.
51329         * elf/tst-audit3.c: Move to ...
51330         * sysdeps/x86_64/tst-audit3.c: ... here.
51331         * elf/tst-audit4.c: Move to ...
51332         * sysdeps/x86_64/tst-audit4.c: ... here.
51333         * elf/tst-audit5.c: Move to ...
51334         * sysdeps/x86_64/tst-audit5.c: ... here.
51335         * elf/tst-audit6.c: Move to ...
51336         * sysdeps/x86_64/tst-audit6.c: ... here.
51337         * elf/tst-audit7.c: Move to ...
51338         * sysdeps/x86_64/tst-audit7.c: ... here.
51339         * elf/tst-auditmod3a.c: Move to ...
51340         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51341         * elf/tst-auditmod3b.c: Move to ...
51342         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51343         * elf/tst-auditmod4a.c: Move to ...
51344         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51345         * elf/tst-auditmod4b.c: Move to ...
51346         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51347         * elf/tst-auditmod5a.c: Move to ...
51348         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51349         * elf/tst-auditmod5b.c: Move to ...
51350         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51351         * elf/tst-auditmod6a.c: Move to ...
51352         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51353         * elf/tst-auditmod6b.c: Move to ...
51354         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51355         * elf/tst-auditmod6c.c: Move to ...
51356         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51357         * elf/tst-auditmod7a.c: Move to ...
51358         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51359         * elf/tst-auditmod7b.c: Move to ...
51360         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51362 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51364         [BZ #15366]
51365         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51366         define unconditionally.
51367         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51368         define unconditionally.
51369         (INT8_C, INT16_C, etc.): Likewise.
51371 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51373         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51374         __ehdr_start with hidden visibility.
51376         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51378 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51380         * math/libm-test.inc (cos_test): Use accurate hex constants.
51381         (sincost_test): Likewise.
51383 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51385         * math/libm-test.inc (catan_test): Add more tests.
51386         (catanh_test): Likewise.
51388         * math/s_catanf.c (__catanf): Use suffixed floating-point
51389         constants.
51390         * math/s_catanhf.c (__catanhf): Likewise.
51391         * math/s_catanhl.c (__catanhl): Likewise.
51392         * math/s_catanl.c (__catanl): Likewise.
51394         [BZ #15394]
51395         * math/s_catan.c (__catan): Calculate imaginary part of result
51396         with log1p not log unless computing log of number close to 0.
51397         * math/s_catanf.c (__catanf): Likewise.
51398         * math/s_catanl.c (__catanl): Likewise.
51399         * math/s_catanh.c (__catanh): Calculate real part of result with
51400         log1p not log unless computing log of number close to 0.
51401         * math/s_catanhf.c (__catanhf): Likewise.
51402         * math/s_catanhl.c (__catanhl): Likewise.
51403         * math/libm-test.inc (catan_test): Add more tests.
51404         (catanh_test): Likewise.
51405         * sysdeps/i386/fpu/libm-test-ulps: Update.
51406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51408 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51410         * benchtests/Makefile: Mention files in which fast and slow
51411         paths of math functions are implemented.
51413 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51415         * sysdeps/posix/timespec_get.c: New file.
51417 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51419         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51420         POWER.
51421         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51422         for POWER.
51423         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51424         powerpc/power5/fpu folders.
51425         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51426         * benchtests/Makefile: Add modf testcase.
51427         * benchtests/bench-modf.c: New file: Benchmark test for mo
51429 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51431         [BZ #14888]
51432         * time/Makefile (tests): Add tst-strptime-whitespace.
51433         * time/strptime_l.c (get_number): Use ISSPACE.
51434         (__strptime_internal): Likewise.
51435         * time/tst-strptime-whitespace.c: New test case.
51437 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51439         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51440         member.
51441         (_nss_files_init): Set it here.
51443 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51445         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51446         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51447         unsigned.
51449 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51451         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51453 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51455         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51456         size just once.
51458 2013-04-21  David S. Miller  <davem@davemloft.net>
51460         * po/ru.po: Update Russion translation from translation project.
51462 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51464         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51465         and setfsgid.
51467 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51469         * configure.in: Remove i386 configure warning. Remove i386 case.
51470         * configure: Regenerate.
51471         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51472         Add example to error message.
51473         * sysdeps/i386/configure: Regenerate.
51475 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51477         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51478         slowtan.
51479         * benchtests/cos-inputs: New file.
51480         * benchtests/slowcos-inputs: New file.
51481         * benchtests/slowcos.c: New file.
51482         * benchtests/slowtan-inputs: New file.
51483         * benchtests/slowtan.c: New file.
51484         * benchtests/tan-inputs: New file.
51486 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51488         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51489         considered kosher.
51491 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51493         * benchtests/Makefile: Include cppflags-iterator.mk to add
51494         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51496         * Makefile.in (bench-clean): New target.
51497         * benchtests/Makefile (bench-clean): Likewise.
51499 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51501         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51503 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51505         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51507 2013-04-15  Andreas Schwab  <schwab@suse.de>
51509         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51510         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51511         * nscd/pwdcache.c (cache_addpw): Likewise.
51512         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51513         more than recsize.
51515 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51517         * benchtests/Makefile (bench): Write all output to
51518         bench-out.tmp together.
51520 2013-04-15  Andreas Schwab  <schwab@suse.de>
51522         * nscd/nscd.c (main): Don't fork again after closing files.
51524 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51526         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51528         * benchtests/Rules (bench-deps): Collect dependencies into a
51529         single variable.  Add Makefile to dependencies.
51530         ($(objpfx)bench-%.c): Depend on bench-deps.
51532 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51533             Xavier Roche  <roche+kml2@exalead.com>
51535         [BZ #15361]
51536         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51537         just that it's a file descriptor.
51538         * manual/llio.texi (Synchronizing AIO Operations): Update description
51539         for EBADF error from aio_fsync.
51541 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51543         * Rules (bench): Move target definition...
51544         * benchtests/Makefile: ... here.
51546 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51548         * math/libm-test.inc (cos_test): Fix PI/2 test.
51549         (sincos_test): Likewise.
51550         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51551         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51553 2013-04-11  Andreas Schwab  <schwab@suse.de>
51555         [BZ #13988]
51556         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51557         accept exponent character only when digits were seen.
51558         * stdio-common/Makefile (tests): Add bug26.
51559         * stdio-common/bug26.c: New file.
51561         [BZ #14293]
51562         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51563         non-freeable.
51565 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51567         * Makeconfig (rtld-prefix): Define built linker prefix.
51568         * Rules (run-bench): Use it.
51569         * math/Makefile (run-regen-ulps): Likewise.
51571         * Rules (bench): Remove eval.
51573 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51574             Roland McGrath  <roland@hack.frob.com>
51575             Ondrej Bilka  <neleai@seznam.cz>
51577         [BZ #15346]
51578         * time/getdate.c: Include ctype.h and alloca.h.
51579         (__getdate_r): Trim leading and trailing spaces of input.
51580         * time/tst-getdate.c (tests): Add tests with leading and
51581         trailing spaces.
51583 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51585         [BZ #14280]
51586         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51587         when computing value.
51589 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51591         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51592         Use testrun.sh to run libm tests.
51594         [BZ #15309]
51595         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51597 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51599         [BZ #15264]
51600         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51602 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51604         * Makefile.in (regen-ulps): New target.
51605         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51606         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51607         [ifneq (no,$(PERL)] (regen-ulps): New target.
51608         [ifeq (no,$(PERL)] (regen-ulps): New target.
51609         * math/libm-test.inc (ulps_file_name): Define.
51610         (output_dir): New variable.
51611         (options): Add "output-dir" option.
51612         (parse_opt): Handle 'o' case.
51613         (main): If output_dir is non-NULL use it as a prefix
51614         otherwise use "".
51615         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51617 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51619         [BZ #10060, #10062]
51620         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51621         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51622         fail configure if __sync_val_compare_and_swap is not inlined.
51623         * sysdeps/i386/configure: Regenerate.
51624         * configure.in: Build for i686 when configured for i386.
51625         * configure: Regenerate.
51626         * README: Remove i386 reference.
51628 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51630         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51631         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51633 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51635         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51636         (lmsnanval): New variables.
51637         (F): Add conversion tests.
51638         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51639         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51641         * stdio-common/tstdiomisc.c (F): Properly collect individual
51642         tests' results.
51644         [BZ #14686, #15336]
51645         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51646         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51647         Instead, use input NaN values or generate a qNaN by arithmetic
51648         operation.  Also fix bugs to comply with the standard.
51649         * math/libm-test.inc (remainder_test): Add more tests.
51651         [BZ #15335, #15342]
51652         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51653         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51654         input NaN values or generate a qNaN by arithmetic operation.
51656         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51657         unreachable code.
51659         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51660         definitions.
51662 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51664         [BZ #14478]
51665         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51666         underflowed result.
51667         * math/s_cexpf.c (__cexpf): Likewise.
51668         * math/s_cexpl.c (__cexpl): Likewise.
51669         * math/libm-test.inc (cexp_test): Add more tests.
51671 2013-04-03  Andreas Schwab  <schwab@suse.de>
51673         [BZ #15330]
51674         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51675         order arrays from heap if bigger than alloca cutoff.
51677 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51679         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51680         (SNAN_TESTS_double): Refer to GCC PR56831.
51681         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51682         GCC PR56828.
51684 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51686         * Rules (bench): Move bench.out after the run is complete.
51688         * Rules (bench): Echo currently running benchmark.
51690         * benchtests/Makefile (bench): Add atan and slowatan.
51691         * benchtests/atan-inputs: New file.
51692         * benchtests/slowatan-inputs: New file.
51693         * benchtests/slowatan.c: New file.
51695         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51696         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51697         its value.
51699         [BZ #15305]
51700         * sysdeps/unix/sysv/linux/kernel-features.h
51701         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51702         __ASSUME_XFS_RESTRICTED_CHOWN.
51703         * sysdeps/unix/sysv/linux/pathconf.c
51704         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51705         Save and restore errno.
51707 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51709         [BZ #15327]
51710         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51711         arguments using __kernel_casinh.
51712         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51713         arguments using __kernel_casinhf.
51714         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51715         arguments using __kernel_casinhl.
51716         * math/libm-test.inc (cacosh_test): Add more tests.
51717         * sysdeps/i386/fpu/libm-test-ulps: Update.
51718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51720 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51722         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51723         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51725         * bench/Makefile (bench): Add sin and slowsin.
51726         * benchtests/sin-inputs: New file.
51727         * benchtests/slowsin-inputs: New file.
51728         * benchtests/slowsin.c: New file.
51730         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51731         (bench): Add slowexp and slowpow.
51732         (exp-ITER): Increase iterations.
51733         (pow-ITER): Likewise.
51734         * benchtests/exp-inputs: Change input.
51735         * benchtests/pow-inputs: Likewise.
51736         * benchtests/slowexp-inputs: New file.
51737         * benchtests/slowexp.c: New file.
51738         * benchtests/slowpow-inputs: New file.
51739         * benchtests/slowpow.c: New file.
51741 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51743         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51744         instructions.
51745         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51746         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51747         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51748         * benchtests/Makefile: Add rint benchtest.
51749         * benchtests/rint-inputs: Input for rint benchtest.
51751 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51753         * Versions.def (libm): Add GLIBC_2.18.
51754         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51755         hidden libm prototypes.
51756         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51757         * math/Makefile (libm-calls): Add s_issignaling.
51758         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51759         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51760         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51761         declaration.
51762         * math/math.h [__USE_GNU] (issignaling): New macro.
51763         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51764         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51765         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51766         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51767         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51768         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51769         * manual/arith.texi (issignaling): New section.
51770         * manual/libm-err-tab.pl (@all_functions): Update comment.
51771         * math/gen-libm-test.pl (parse_args): Apply special handling for
51772         issignaling.
51773         * math/libm-test.inc (print_float, issignaling_test): New
51774         functions.
51775         (check_float_internal): Add issignaling checks.
51776         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51777         default definition.
51778         * sysdeps/powerpc/math-tests.h: New file.
51779         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51780         tests.
51781         * math/test-snan.c (TEST_FUNC): Likewise.
51783 2013-03-30  David S. Miller  <davem@davemloft.net>
51785         * po/de.po: Update from translation team.
51787 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
51789         [BZ #10357]
51790         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51791         imaginary part less than 1.0 and real part less than 0.5
51792         specially.
51793         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51794         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51795         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51796         (cacos_test): Add more tests.
51797         (casin_test): Likewise.
51798         (casinh_test): Likewise.
51799         * sysdeps/i386/fpu/libm-test-ulps: Update.
51800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51802 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51804         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51805         ONE with its value.
51807         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51808         (__pow_mp): Replace ONE and MONE with their values.
51809         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51810         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51811         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51812         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51813         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51814         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51816         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51818         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51819         (__pow_mp): Replace ZERO and MZERO with their values.
51820         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51821         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51822         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51824         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51825         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51826         (__sqr): Likewise.
51828         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51830         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51832 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51834         * include/stdlib.h [!SHARED] (__call_tls_dtors):
51835         Declare with __attribute__ ((weak)).
51836         * stdlib/exit.c (__libc_atexit) [!SHARED]:
51837         Call __call_tls_dtors only if it's not NULL.
51839 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51841         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51842         didn't do it already, then set _dl_phdr and _dl_phnum based on the
51843         magic __ehdr_start linker symbol if it's defined.
51844         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51845         them up here if it was already done.
51847         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51848         (_dl_aux_init): Use const in cast when setting it.
51849         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51850         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51851         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51853         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51854         Declare them here.
51855         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51856         * csu/libc-tls.c: Nor here.
51857         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51859         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51860         (__libc_message): Never call vsyslog.
51862 2013-03-28  Alan Modra  <amodra@gmail.com>
51864         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51865         Define as empty.
51866         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51867         Likewise.
51869 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51871         [BZ #15214]
51872         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51873         underflow.
51874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51876 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51878         [BZ #15304]
51879         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51880         Don't add gid passed as argument.
51882         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51884 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51886         [BZ #15307]
51887         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51888         imaginary part between 1.0 and 1.5 and real part less than 0.5
51889         specially.
51890         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51891         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51892         * math/libm-test.inc (cacos_test): Add more tests.
51893         (casin_test): Likewise.
51894         (casinh_test): Likewise.
51895         * sysdeps/i386/fpu/libm-test-ulps: Update.
51896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51898 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51900         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51901         constants.
51902         (norm): Likewise.
51903         (denorm): Likewise.
51904         (__dbl_mp): Likewise.
51905         (add_magnitudes): Likewise.
51906         (sub_magnitudes): Likewise.
51907         (__add): Likewise.
51908         (__sub): Likewise.
51909         (__mul): Likewise.
51910         (__sqr): Likewise.
51911         (__inv): Likewise.
51912         (__dvd): Likewise.
51914         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51915         commented code.
51916         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51917         (__dubcos): Likewise.
51918         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51919         (__ieee754_acos): Likewise.
51920         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51921         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51922         (__exp1): Likewise.
51923         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51924         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51925         (log1): Likewise.
51926         (my_log2): Likewise.
51927         (checkint): Likewise.
51928         * sysdeps/ieee754/dbl-64/e_remainder.c
51929         (__ieee754_remainder): Likewise.
51930         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51931         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51932         (bsloww): Likewise.
51933         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51935         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51936         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51937         MANTISSA_STORE_T to store computations on mantissa.  Use
51938         macros for rounding and division.
51939         (denorm): Likewise.
51940         (__dbl_mp): Likewise.
51941         (add_magnitudes): Likewise.
51942         (sub_magnitudes): Likewise.
51943         (__mul): Likewise.
51944         (__sqr): Likewise.
51945         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51946         powers of two in terms of TWOPOW macro.
51947         (mp_no): Make type of mantissa as MANTISSA_T.
51948         [!RADIXI]: Define RADIXI.
51949         [!TWO52]: Define TWO52.
51950         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51952 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51954         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51955         llroundl symbol when building for PPC32.
51957 2013-03-24  Mark H Weaver  <mhw@netris.org>
51959         * manual/arith.texi (Normalization Functions): Fix prototypes for
51960         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51962 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51964         [BZ #13889]
51965         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51966         high value to check if expl overflow.
51967         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51968         to check for underflow and overflow.
51969         * math/libm-test.inc: Add exp test.
51971 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51973         [BZ #11120]
51974         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51975         with NOT_IN_libc.
51977 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51979         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51980         symbol.
51982 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51984         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51985         wrap blocks consisting of several statements.
51987         * sysdeps/generic/math-tests.h: New file.
51988         * sysdeps/i386/fpu/math-tests.h: Likewise.
51989         * math/test-snan.c: Include it.
51990         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51992 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51994         [BZ #15285]
51995         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51996         (__ieee754_j0l): Do not improve calculations using cos of twice
51997         input for inputs above LDBL_MAX / 2.0L.
51998         (__ieee754_y0l): Likewise.
51999         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52000         (__ieee754_j1l): Do not improve calculations using cos of twice
52001         input for inputs above LDBL_MAX / 2.0L.
52002         (__ieee754_y1l): Likewise.
52003         * math/libm-test.inc (j0_test): Add another test.
52004         (j1_test): Likewise.
52005         (y0_test): Likewise.
52006         (y1_test): Likewise.
52007         * sysdeps/i386/fpu/libm-test-ulps: Update.
52009 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52011         * Rules ($(objpfx)bench-%.c): Include code from a C source
52012         file.
52014 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52016         [BZ #15287]
52017         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52018         imaginary part 1.0 and real part less than 0.5 specially.
52019         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52020         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52021         * math/libm-test.inc (cacos_test): Add more tests.
52022         (casin_test): Likewise.
52023         (casinh_test): Likewise.
52024         * sysdeps/i386/fpu/libm-test-ulps: Update.
52025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52027 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52029         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52030         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52032 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52034         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52035         * config.make.in (config-cflags-sse4): Remove variable.
52036         (config-cflags-avx): Likewise.
52037         (config-cflags-sse2avx): Likewise.
52038         (config-cflags-novzeroupper): Likewise.
52039         (config-asflags-i686): Likewise.
52040         (have-mfma4): Likewise.
52041         (have-as-vis3): Likewise.
52042         (MIG): Likewise.
52043         * configure.in (MIG): Do not AC_SUBST.
52044         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52045         (libc_cv_cc_sse4): Do not AC_SUBST.
52046         (libc_cv_cc_avx): Likewise.
52047         (libc_cv_cc_sse2avx): Likewise.
52048         (libc_cv_cc_novzeroupper): Likewise.
52049         (libc_cv_cc_fma4): Likewise.
52050         (libc_cv_as_i686): Likewise.
52051         (libc_cv_sparc_as_vis3): Likewise.
52052         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52053         LIBC_CONFIG_VAR.
52054         (config-asflags-i686): Likewise.
52055         (config-cflags-avx): Likewise.
52056         (config-cflags-sse2avx): Likewise.
52057         (have-mfma4): Likewise.
52058         (config-cflags-novzeroupper): Likewise.
52059         * sysdeps/mach/configure.in (MIG): Likewise.
52060         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52061         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52062         LIBC_CONFIG_VAR.
52063         (config-cflags-avx): Likewise.
52064         (config-cflags-sse2avx): Likewise.
52065         (have-mfma4): Likewise.
52066         (config-cflags-novzeroupper): Likewise.
52067         * configure: Regenerated.
52068         * sysdeps/i386/configure: Likewise.
52069         * sysdeps/mach/configure: Likewise.
52070         * sysdeps/sparc/configure: Likewise.
52071         * sysdeps/x86_64/configure: Likewise.
52073 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52075         [BZ #14812]
52076         * locale/programs/localedef.c (options): Put N_ translation marker
52077         on argument names, not just descriptions.
52079 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52081         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52083 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52085         [BZ #14176]
52086         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52088 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52090         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52091         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52092         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52093         [!BEFORE_ABORT] (before_abort): New function.
52094         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52095         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52096         (writev_for_fatal): New function.
52097         (WRITEV_FOR_FATAL): New macro; call that.
52098         (backtrace_and_maps): New function.
52099         (BEFORE_ABORT): New macro; call that.
52100         (struct str_list): Type removed.
52101         (__libc_message, __libc_fatal): Functions removed.
52102         Include <sysdeps/posix/libc_fatal.c> instead.
52104 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52106         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52107         constants.
52108         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52109         double constants.
52111 2013-03-19  Andreas Schwab  <schwab@suse.de>
52113         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52114         * sysdeps/gnu/configure: Regenerate.
52116         * configure.in: Substitute libc_cv_rtlddir.
52117         * configure: Regenerate.
52118         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52119         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52120         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52121         * elf/Makefile (install-others, CFLAGS-interp.c)
52122         (ldso_install, common-ldd-rewrite): Likewise.
52123         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52124         $(inst_slibdir)/$(rtld-installed-name).
52125         * scripts/rellns-sh: Add -p option.
52126         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52127         for source.
52129 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52131         * manual/nptl.texi: Renamed to ...
52132         * manual/threads.texi: ... this.
52133         * manual/Makefile (chapters): Update.
52135 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52137         [BZ #14812]
52138         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52139         on argument names, not just descriptions.
52140         * malloc/memusagestat.c (options): Likewise.
52141         * nss/getent.c (options): Likewise.
52143 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52145         [BZ #14812]
52146         * iconv/iconv_prog.c (options): Put N_ translation marker
52147         on argument names, not just descriptions.
52148         * iconv/iconvconfig.c (options): Likewise.
52150 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52152         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52153         implementation which is faster on all x86_64 architectures.
52154         Tested on AMD, Intel Nehalem, SNB, IVB.
52155         * sysdeps/x86_64/strnlen.S: Likewise.
52157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52158         Remove all multiarch strlen and strnlen versions.
52159         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52160         Remove strlen and strnlen related parts.
52162         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52163         Inline strlen part.
52164         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52166         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52167         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52168         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52169         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52170         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52171         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52173 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52175         * manual/memory.texi (Malloc Tunable Parameters):
52176         Sort parameters alphabetically. Add comments for missing entries.
52178 2013-03-17  David S. Miller  <davem@davemloft.net>
52180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52182 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52184         [BZ #15283]
52185         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52186         for arguments at most half maximum finite value.
52187         * math/libm-test.inc (j0_test): Add more tests.
52188         (j1_test): Likewise.
52189         (y0_test): Likewise.
52190         (y1_test): Likewise.
52191         * sysdeps/i386/fpu/libm-test-ulps: Update.
52192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52194         [BZ #14155]
52195         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52196         1 / x and functions P and Q for arguments above 0x1p256L.
52197         (__ieee754_y0l): Likewise.
52198         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52199         (__ieee754_y1l): Likewise.
52200         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52201         (j1_test): Likewise.
52202         (y0_test): Likewise.
52203         (y1_test): Likewise.
52205 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52207         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52208         variable.
52210 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52212         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52213         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52214         zero since it's initialized to EXEC_PAGESIZE.
52216         * sysdeps/unix/sysv/linux/ldsodefs.h
52217         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52218         * sysdeps/generic/ldsodefs.h: ... here.
52220 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52222         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52224         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52225         math/test-snan.c.
52226         * math/test-snan.c: Renamed from
52227         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52228         * math/Makefile (tests): Add test-snan.
52229         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52230         test-powerpc-snan.
52232         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52233         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52234         functions.
52235         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52236         __builtin_nan family of functions.
52237         * math/libm-test.inc (initialize): Initialize qnan_value with
52238         __builtin_nan family of functions.
52239         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52240         Remove variables.
52241         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52242         Remove functions.
52243         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52244         storage class.  Initialize qNaN_var and sNaN_var with
52245         __builtin_nan and __builtin_nans families of functions,
52246         respectively.
52248         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52249         (sqrt_test): Remove duplicate test with qNaN input.
52250         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52251         (round_test, signbit_test, significand_test): Note missing +/-Inf
52252         as well as qNaN tests.
52254         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52255         qNaN_var.  Fix a few strings, too.
52256         * math/libm-test.inc (nan_value): Rename to qnan_value.
52257         * math/gen-libm-test.pl (%beautify): Adjust to that.
52258         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52259         * math/test-misc.c (main): Likewise.
52260         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52261         to __qnan_bytes, and __qnan_union, respectively.
52262         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52263         Likewise.
52264         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52265         and lqnanval, respectively.
52266         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52267         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52268         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52269         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52271         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52272         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52273         doubles.
52275         * math/test-misc.c (main): Fix copy'n'pastos.
52276         * misc/tst-efgcvt.c (special): Likewise.
52278         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52279         Remove declarations.
52281 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52283         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52284         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52285         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52286         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52288 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52290         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52291         macro to return vdso values correctly in IFUNC implementations.
52292         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52293         Optimization by using IFUNC.
52295 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52296             Richard Henderson  <rth@redhat.com>
52297             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52299         * Makefile.in (bench): New target.
52300         * NEWS: Mention the benchmark framework.
52301         * Rules (bench): Likewise.
52302         (binaries-bench): Generate binaries for functions to
52303         benchmark.
52304         * benchtests/Makefile: New makefile for benchmark tests.
52305         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52306         programs.
52307         * benchtests/exp-inputs: New input file for EXP function.
52308         * benchtests/pow-inputs: New input file for POW function.
52309         * scripts/bench.pl: New script to generate source files for
52310         benchmark programs.
52312 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52314         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52315         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52316         computations on mantissa.  Use macros for rounding and
52317         division.
52318         (denorm): Likewise.
52319         (__dbl_mp): Likewise.
52320         (add_magnitudes): Likewise.
52321         (sub_magnitudes): Likewise.
52322         (__mul): Likewise.
52323         (__sqr): Likewise.
52324         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52325         powers of two in terms of TWOPOW macro.
52326         (mp_no): Make type of mantissa as MANTISSA_T.
52327         [!RADIXI]: Define RADIXI.
52328         [!TWO52]: Define TWO52.
52329         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52331         * manual/nptl.texi (cindex): Modify threads to pthreads.
52333 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52335         * sysdeps/x86_64/preconfigure: Regenerated.
52337 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52339         [BZ #14155]
52340         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52341         0x1p28 and above.
52342         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52343         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52344         0x1p28 and above.
52345         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52346         * math/libm-test.inc (j0_test): Do not allow one spurious
52347         underflow exception.
52348         (y1_test): Likewise.
52350 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52352         * manual/Makefile (chapters): Add nptl.
52353         * manual/debug.texi (Debugging Support): Add link to Threads
52354         chapter.
52355         * manual/nptl.texi: New file.
52357         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52359 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52361         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52362         for non-NULL pointer before the memory validity test. Pointed
52363         out by Holger Brunck <holger.brunck@keymile.com>.
52365 2013-03-13  Andreas Schwab  <schwab@suse.de>
52367         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52368         instead of .os.
52370 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52372         * timezone/zic.c: Update from tzcode 2013b.
52374 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52376         * manual/install.texi (Configuring and compiling):
52377         Mention i686 and i586.
52378         * INSTALL: Regenerate.
52380 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52382         * sysdeps/init_array/elf-init.c: New file.
52383         * csu/elf-init.c
52384         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52385         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52387         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52388         __gmon_start__ as global, but as static with a .preinit_array pointer.
52389         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52390         * sysdeps/init_array/crti.S: New file, empty except for comments.
52391         * sysdeps/init_array/crtn.S: Likewise.
52393 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52395         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52396         definining bcopy.
52397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52398         Remove Prefer_SSE_for_memop.
52399         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52400         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52401         HAS_PREFER_SSE_FOR_MEMOP.
52402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52403         memset-x86-64.
52404         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52405         Remove bzero, memset ifunc support.
52406         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52407         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52408         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52409         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52411 2013-03-11  Andreas Schwab  <schwab@suse.de>
52413         [BZ #15234]
52414         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52415         by SHLIB_COMPAT.
52416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52417         (GLIBC_2.16): Remove pthread_atfork.
52419 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52421         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52422         (ptestcases.h): Likewise.
52424 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52426         * Makeconfig ($(common-objpfx)config.status): Depend on
52427         sysdeps/*/preconfigure{,.in} too.
52429 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52431         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52432         (__free_hook): Use void * instead of __malloc_ptr_t.
52433         (__malloc_hook): Likewise.
52434         (__realloc_hook): Likewise.
52435         (__memalign_hook): Likewise.
52436         (__after_morecore_hook): Likewise.
52437         * malloc/arena.c (save_malloc_hook): Likewise.
52438         (save_free_hook): Likewise.
52439         * malloc/hooks.c (malloc_hook_ini): Likewise.
52440         (realloc_hook_ini): Likewise.
52441         (memalign_hook_ini): Likewise.
52442         * malloc/malloc.c (malloc_hook_ini): Likewise.
52443         (realloc_hook_ini): Likewise.
52444         (memalign_hook_ini): Likewise.
52445         (__free_hook): Likewise.
52446         (__malloc_hook): Likewise.
52447         (__realloc_hook): Likewise.
52448         (__memalign_hook): Likewise.
52449         (__libc_malloc): Likewise.
52450         (__libc_free): Likewise.
52451         (__libc_realloc): Likewise.
52452         (__libc_memalign): Likewise.
52453         (__libc_valloc): Likewise.
52454         (__libc_pvalloc): Likewise.
52455         (__libc_calloc): Likewise.
52456         (__posix_memalign): Likewise.
52457         * malloc/morecore.c (__sbrk): Likewise.
52458         (__default_morecore): Likewise.
52460         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52462         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52463         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52464         __malloc_ptrdiff_t.
52466         * malloc/malloc.h (__malloc_size_t): Remove macro.
52467         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52468         __malloc_size_t.
52469         (old_memalign_hook): Likewise.
52470         (old_realloc_hook): Likewise.
52471         (struct hdr): Likewise.
52472         (flood): Likewise.
52473         (mallochook): Likewise.
52474         (memalignhook): Likewise.
52475         (reallochook): Likewise.
52476         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52477         (tr_old_realloc_hook): Likewise.
52478         (tr_old_memalign_hook): Likewise.
52479         (tr_mallochook): Likewise.
52480         (tr_reallochook): Likewise.
52481         (tr_memalignhook): Likewise.
52483 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52485         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52486         default_ldbl_pack and using as default implementation.
52487         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52488         implementation.
52489         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52490         redundant definition.
52491         (ldbl_insert_mantissa): Likewise.
52492         (ldbl_canonicalize): Likewise.
52493         (ldbl_nearbyint): Likewise.
52494         (ldbl_pack): Rename to ldbl_pack_ppc.
52495         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52496         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52497         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52499 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52502         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52503         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52504         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52506         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52507         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52508         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52510 2013-03-07  Andreas Jaeger  <aj@suse.de>
52512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52513         bits/mman-linux.h.
52515 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52517         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52518         Include mpa.h and declare __MPEXP.
52519         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52520         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52521         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52522         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52523         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52524         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52525         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52527         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52528         (__slowpow): Use long double EXPL and LOGL functions to
52529         compute POW.
52530         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52531         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52532         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52533         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52534         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52535         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52538         intermediate variable to calculate exponent.
52539         (__sqr): Likewise.
52540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52541         Likewise.
52542         (__sqr): Likewise.
52544         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52545         [!NO__SQR]: Define __sqr.
52546         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52547         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52548         sysdeps/ieee754/dbl-64/mpa.c.
52549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52551         [BZ #12723]
52552         * posix/Makefile (tests): Add tst-pathconf.
52553         * posix/tst-pathconf.c: New test case.
52554         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52555         _PC_PIPE_BUF.
52556         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52558 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52560         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52562 2013-03-06  Andreas Jaeger  <aj@suse.de>
52564         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52565         definition via __MAP_ANONYMOUS.
52567         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52568         it's not part of Linux headers.
52570         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52571         (MAP_HUGE_MASK): Define.
52573         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52574         Define.
52575         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52576         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52577         Define.
52578         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52579         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52580         Define.
52581         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52582         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52583         Define.
52584         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52586         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52587         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52588         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52589         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52590         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52591         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52593         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52594         Handle f2fs.
52596         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52597         Handle f2fs and efivarfs.
52599         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52600         f2fs.
52602         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52603         (EFIVARFS_MAGIC): Add.
52604         (F2FS_LINK_MAX): Add.
52606 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52608         * stdio-common/vfprintf.c: Replace __builtin_expect with
52609         __glibc_unlikely.
52611 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52613         [BZ #13550]
52614         * sysdeps/generic/bp-sym.h: Remove file.
52615         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52616         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52617         <bp-sym.h> and <bp-asm.h>.
52618         (__longjmp): Don't use BP_SYM.
52619         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52620         and <bp-asm.h>.
52621         (memcpy): Don't use BP_SYM.
52622         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52623         <bp-sym.h> and <bp-asm.h>.
52624         (memcpy): Don't use BP_SYM.
52625         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52626         <bp-asm.h>.
52627         (memcpy): Don't use BP_SYM.
52628         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52629         <bp-asm.h>.
52630         (memset): Don't use BP_SYM.
52631         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52632         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52633         (__bzero): Don't use BP_SYM.
52634         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52635         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52636         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52637         <bp-sym.h> and <bp-asm.h>.
52638         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52639         pointers.
52640         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52641         <bp-sym.h> and <bp-asm.h>.
52642         (memcpy): Don't use BP_SYM.
52643         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52644         <bp-sym.h> and <bp-asm.h>.
52645         (memset): Don't use BP_SYM.
52646         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52647         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52648         (__bzero): Don't use BP_SYM.
52649         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52650         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52651         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52652         <bp-sym.h> and <bp-asm.h>.
52653         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52654         pointers.
52655         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52656         <bp-sym.h> and <bp-asm.h>.
52657         (memcpy): Don't use BP_SYM.
52658         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52659         <bp-sym.h> and <bp-asm.h>.
52660         (memset): Don't use BP_SYM.
52661         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52662         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52663         (__bzero): Don't use BP_SYM.
52664         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52665         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52666         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52667         <bp-sym.h> and <bp-asm.h>.
52668         (__memchr): Don't use BP_SYM.
52669         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52670         <bp-sym.h> and <bp-asm.h>.
52671         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52672         pointers.
52673         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52674         <bp-sym.h> and <bp-asm.h>.
52675         (memcpy): Don't use BP_SYM.
52676         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52677         <bp-sym.h> and <bp-asm.h>.
52678         (__mempcpy): Don't use BP_SYM.
52679         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52680         <bp-sym.h> and <bp-asm.h>.
52681         (__memrchr): Don't use BP_SYM.
52682         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52683         <bp-sym.h> and <bp-asm.h>.
52684         (memset): Don't use BP_SYM.
52685         (__bzero): Likewise.
52686         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52687         <bp-sym.h> and <bp-asm.h>.
52688         (__rawmemchr): Don't use BP_SYM.
52689         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52690         <bp-sym.h> and <bp-asm.h>.
52691         (__STRCMP): Don't use BP_SYM.
52692         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52693         <bp-sym.h> and <bp-asm.h>.
52694         (strchr): Don't use BP_SYM.
52695         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52696         <bp-sym.h> and <bp-asm.h>.
52697         (__strchrnul): Don't use BP_SYM.
52698         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52699         <bp-sym.h> and <bp-asm.h>.
52700         (strlen): Don't use BP_SYM.
52701         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52702         <bp-sym.h> and <bp-asm.h>.
52703         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52704         pointers.
52705         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52706         <bp-sym.h> and <bp-asm.h>.
52707         (__strnlen): Don't use BP_SYM.
52708         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52709         <bp-sym.h> and <bp-asm.h>.
52710         (__GI__setjmp): Don't use BP_SYM.
52711         (_setjmp): Likewise.
52712         (__sigsetjmp): Likewise.
52713         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52714         (L(start_addresses)): Don't use BP_SYM.
52715         (_start): Likewise.
52716         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52717         <bp-asm.h>.
52718         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52719         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52720         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52721         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52722         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52723         <bp-asm.h>.
52724         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52725         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52726         about bounded pointers.
52727         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52728         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52729         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52730         <bp-asm.h>.
52731         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52732         about bounded pointers.  Remove GKM FIXME comments.
52733         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52734         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52735         <bp-asm.h>.
52736         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52737         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52738         Remove GKM FIXME comments.
52739         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52740         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52741         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52742         <bp-asm.h>.
52743         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52744         about bounded pointers.  Remove GKM FIXME comment.
52745         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52746         and <bp-asm.h>.
52747         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52748         pointers.
52749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52750         <bp-sym.h> and <bp-asm.h>.
52751         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52753         <bp-sym.h> and <bp-asm.h>.
52754         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52755         comment.
52757 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52759         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52760         call free(NULL).
52762 2013-03-05  David S. Miller  <davem@davemloft.net>
52764         * po/es.po: Update from translation team.
52766 2013-03-05  Andreas Jaeger  <aj@suse.de>
52768         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52769         <bits/mman-linux.h>.
52770         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52771         is fine.
52772         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52773         <bits/mman-linux.h> to end of file.
52774         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52775         is fine.
52776         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52777         <bits/mman-linux.h> to end of file.
52778         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52779         is fine.
52780         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52781         <bits/mman-linux.h> to end of file.
52783         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52784         (MCL_CURRENT, MCL_FUTURE): Define here.
52786 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52788         [BZ #15232]
52789         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52790         attribute_hidden.
52791         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52793 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52795         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52796         fourth parameter needed for rt_sigprocmask syscall.
52797         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52798         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52799         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52800         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52801         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52802         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52804 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
52806         [BZ #13550]
52807         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52808         comment about bounded pointers.
52809         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52810         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52812 2013-03-04  Andreas Jaeger  <aj@suse.de>
52814         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52815         common definitions.
52817         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52818         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52819         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52820         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52821         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52822         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52824 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52826         [BZ #15055]
52827         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52828         __ieee754_sqrl instead of __sqrl.
52830 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
52832         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52833         * sysdeps/powerpc/fpu_control.h: ... here.
52834         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52835         * sysdeps/powerpc/bits/fenvinline.h: ... here.
52836         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52837         * sysdeps/powerpc/bits/mathinline.h: ... here.
52839 2013-03-01  Roland McGrath  <roland@hack.frob.com>
52841         * elf/dl-hwcaps.c (_dl_important_hwcaps):
52842         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52843         to just [NEED_DL_SYSINFO_DSO].
52844         * elf/dl-support.c: Likewise.
52845         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52846         * elf/rtld.c (dl_main): Likewise.
52847         * elf/setup-vdso.h (setup_vdso): Likewise.
52848         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52849         * sysdeps/unix/sysv/linux/dl-sysdep.c
52850         (_dl_discover_osversion): Likewise.
52852 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52854         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52855         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52857 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52859         * NEWS: Mention libm performance improvements and non-x86 PI
52860         futex support.
52862         * csu/libc-start.c (__pthread_initialize_minimal): Change
52863         function arguments.
52864         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52866 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52868         [BZ #13550]
52869         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52870         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52871         <bp-sym.h> and <bp-asm.h>.
52872         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52873         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52874         and <bp-asm.h>.
52875         (memcpy): Don't use BP_SYM.
52876         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52877         <bp-asm.h>.
52878         (__mpn_add_n): Don't use BP_SYM.
52879         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52880         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52881         and <bp-asm.h>.
52882         (__mpn_addmul_1): Don't use BP_SYM.
52883         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52884         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52885         <bp-sym.h>.
52886         (_setjmp): Don't use BP_SYM.
52887         (__novmx_setjmp): Likewise.
52888         (__GI__setjmp): Likewise.
52889         (__vmx_setjmp): Likewise.
52890         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52891         <bp-sym.h>.
52892         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52893         (__bzero): Don't use BP_SYM.
52894         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52895         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52896         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52897         <bp-sym.h> and <bp-asm.h>.
52898         (memcpy): Don't use BP_SYM.
52899         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52900         <bp-sym.h> and <bp-asm.h>.
52901         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52902         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52903         <bp-sym.h> and <bp-asm.h>.
52904         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52905         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52906         <bp-asm.h>.
52907         (__mpn_lshift): Don't use BP_SYM.
52908         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52909         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52910         <bp-asm.h>.
52911         (memset): Don't use BP_SYM.
52912         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52913         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52914         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52915         <bp-asm.h>.
52916         (__mpn_mul_1): Don't use BP_SYM.
52917         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52918         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52919         <bp-sym.h> and <bp-asm.h>.
52920         (memcmp): Don't use BP_SYM.
52921         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52922         <bp-sym.h> and <bp-asm.h>.
52923         (memcpy): Don't use BP_SYM.
52924         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52925         <bp-sym.h> and <bp-asm.h>.
52926         (memset): Don't use BP_SYM.
52927         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52928         <bp-sym.h> and <bp-asm.h>.
52929         (strncmp): Don't use BP_SYM.
52930         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52931         <bp-sym.h> and <bp-asm.h>.
52932         (memcpy): Don't use BP_SYM.
52933         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52934         <bp-sym.h> and <bp-asm.h>.
52935         (memset): Don't use BP_SYM.
52936         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52937         <bp-sym.h> and <bp-asm.h>.
52938         (__memchr): Don't use BP_SYM.
52939         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52940         <bp-sym.h> and <bp-asm.h>.
52941         (memcmp): Don't use BP_SYM.
52942         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52943         <bp-sym.h> and <bp-asm.h>.
52944         (memcpy): Don't use BP_SYM.
52945         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52946         <bp-sym.h> and <bp-asm.h>.
52947         (__mempcpy): Don't use BP_SYM.
52948         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52949         <bp-sym.h> and <bp-asm.h>.
52950         (__memrchr): Don't use BP_SYM.
52951         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52952         <bp-sym.h> and <bp-asm.h>.
52953         (memset): Don't use BP_SYM.
52954         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52955         <bp-sym.h> and <bp-asm.h>.
52956         (__rawmemchr): Don't use BP_SYM.
52957         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52958         <bp-sym.h> and <bp-asm.h>.
52959         (__STRCMP): Don't use BP_SYM.
52960         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52961         <bp-sym.h> and <bp-asm.h>.
52962         (strchr): Don't use BP_SYM.
52963         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52964         <bp-sym.h> and <bp-asm.h>.
52965         (__strchrnul): Don't use BP_SYM.
52966         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52967         <bp-sym.h> and <bp-asm.h>.
52968         (strlen): Don't use BP_SYM.
52969         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52970         <bp-sym.h> and <bp-asm.h>.
52971         (strncmp): Don't use BP_SYM.
52972         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52973         <bp-sym.h> and <bp-asm.h>.
52974         (__strnlen): Don't use BP_SYM.
52975         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52976         <bp-asm.h>.
52977         (__mpn_rshift): Don't use BP_SYM.
52978         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52979         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52980         <bp-sym.h> and <bp-asm.h>.
52981         (__sigsetjmp): Don't use BP_SYM.
52982         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52983         (L(start_addresses)): Don't use BP_SYM.
52984         (_start): Likewise.
52985         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52986         <bp-asm.h>.
52987         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52988         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52989         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52990         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52991         <bp-asm.h>.
52992         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52993         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52994         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52995         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52996         <bp-asm.h>.
52997         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52998         comments.
52999         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53000         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53001         <bp-asm.h>.
53002         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53003         FIXME comments.
53004         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53005         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53006         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53007         <bp-asm.h>.
53008         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53009         comment.
53010         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53011         and <bp-asm.h>.
53012         (strncmp): Don't use BP_SYM,
53013         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53014         <bp-asm.h>.
53015         (__mpn_sub_n): Don't use BP_SYM.
53016         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53017         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53018         and <bp-asm.h>.
53019         (__mpn_submul_1): Don't use BP_SYM.
53020         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53022         <bp-sym.h> and <bp-asm.h>.
53023         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53025         <bp-sym.h> and <bp-asm.h>.
53026         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53027         comment.
53029 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53032         Use ZK to minimize writes to Z.
53033         (sub_magnitudes): Simplify code a bit.
53034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53035         Use ZK to minimize writes to Z.
53036         (sub_magnitudes): Simplify code a bit.
53038 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53040         * csu/gmon-start.c: Add special exception to license text.
53042 2013-02-27  Richard Henderson  <rth@redhat.com>
53044         * scripts/config.guess: Update from config.git.
53045         * scripts/config.sub: Likewise.
53047 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53049         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53051         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53053         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53055         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53057         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53059 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53061         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53062         [$(build-shared = yes].
53064 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53066         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53067         (__mul): Reduce iterations for calculating mantissa.
53069         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53070         MPTWO.
53071         (__mpranred): Likewise.
53073         [BZ #15160]
53074         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53075         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53077 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53079         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53080         Define __attribute__.
53082 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53084         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53085         unused.
53086         * posix/regex_internal.h (__attribute): Remove.
53087         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53088         (re_string_context_at): Likewise.
53089         (bitset_not): Use __attribute__ and mark function as possibly
53090         unused.
53091         (bitset_merge): Likewise.
53092         (bitset_mask): Likewise.
53093         (re_string_char_size_at): Likewise.
53094         (re_string_wchar_at): Likewise.
53095         (re_string_elem_size_at): Likewise.
53097 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53099         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53100         code.
53101         (cc32): Likewise.
53103         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53104         (__acr): Likewise.
53105         (__cpy): Likewise.
53106         (norm): Likewise.
53107         (denorm): Likewise.
53108         (__dbl_mp): Likewise.
53109         (add_magnitudes): Likewise.
53110         (sub_magnitudes): Likewise.
53111         (__mul): Likewise.
53112         (__inv): Likewise.
53114         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53115         style.
53117         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53118         style.
53120         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53121         code.
53123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53124         up changes with default code.
53125         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53126         Likewise.
53128 2013-02-24  Allan McRae  <allan@archlinux.org>
53130         * manual/socket.texi (The Internet Namespace): Order menu items
53131         to match that in the file.
53133         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53134         node listing of the info page menu.
53136 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53138         [BZ #13550]
53139         * sysdeps/i386/bp-asm.h: Remove file.
53140         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53141         (PARMS): Do not use macros from bp-asm.h.
53142         (S1): Likewise.
53143         (S2): Likewise.
53144         (SIZE): Likewise.
53145         (__mpn_add_n): Do not use BP_SYM
53146         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53147         "bp-asm.h".
53148         (PARMS): Do not use macros from bp-asm.h.
53149         (S1): Likewise.
53150         (SIZE): Likewise.
53151         (__mpn_addmul_1): Do not use BP_SYM
53152         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53153         "bp-asm.h".
53154         (PARMS): Do not use macros from bp-asm.h.
53155         (SIGMSK): Likewise.
53156         (_setjmp): Likewise.  Do not use BP_SYM.
53157         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53158         "bp-asm.h".
53159         (PARMS): Do not use macros from bp-asm.h.
53160         (SIGMSK): Likewise.
53161         (setjmp): Likewise.  Do not use BP_SYM.
53162         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53163         "bp-asm.h".
53164         (PARMS): Do not use macros from bp-asm.h.
53165         (__frexp): Do not use BP_SYM.
53166         (frexp): Likewise.
53167         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53168         "bp-asm.h".
53169         (PARMS): Do not use macros from bp-asm.h.
53170         (__frexpf): Do not use BP_SYM.
53171         (frexpf): Likewise.
53172         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53173         "bp-asm.h".
53174         (PARMS): Do not use macros from bp-asm.h.
53175         (__frexpl): Do not use BP_SYM.
53176         (frexpl): Likewise.
53177         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53178         "bp-asm.h".
53179         (PARMS): Do not use macros from bp-asm.h.
53180         (__remquo): Do not use BP_SYM.
53181         (remquo): Likewise.
53182         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53183         "bp-asm.h".
53184         (PARMS): Do not use macros from bp-asm.h.
53185         (__remquof): Do not use BP_SYM.
53186         (remquof): Likewise.
53187         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53188         "bp-asm.h".
53189         (PARMS): Do not use macros from bp-asm.h.
53190         (__remquol): Do not use BP_SYM.
53191         (remquol): Likewise.
53192         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53193         "bp-asm.h".
53194         (PARMS): Do not use macros from bp-asm.h.
53195         (DEST): Likewise.
53196         (SRC): Likewise.
53197         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53198         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53199         "bp-asm.h".
53200         (PARMS): Do not use macros from bp-asm.h.
53201         (strlen): Do not use BP_SYM.
53202         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53203         "bp-asm.h".
53204         (PARMS): Do not use macros from bp-asm.h.
53205         (S1): Likewise.
53206         (S2): Likewise.
53207         (SIZE): Likewise.
53208         (__mpn_add_n): Do not use BP_SYM.
53209         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53210         "bp-asm.h".
53211         (PARMS): Do not use macros from bp-asm.h.
53212         (S1): Likewise.
53213         (SIZE): Likewise.
53214         (__mpn_addmul_1): Do not use BP_SYM.
53215         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53216         weak_alias.
53217         (bzero): Likewise.
53218         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53219         "bp-asm.h".
53220         (PARMS): Do not use macros from bp-asm.h.
53221         (S): Likewise.
53222         (SIZE): Likewise.
53223         (__mpn_lshift): Do not use BP_SYM.
53224         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53225         "bp-asm.h".
53226         (PARMS): Do not use macros from bp-asm.h.
53227         (DEST): Likewise.
53228         (SRC): Likewise.
53229         (LEN): Likewise.
53230         (memcpy): Likewise.  Do not use BP_SYM.
53231         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53232         libc_hidden_def and weak_alias.
53233         (mempcpy): Do not use BP_SYM in weak_alias.
53234         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
53239         [!BZERO_P] (CHR): Likewise.
53240         (memset): Likewise.  Do not use BP_SYM.
53241         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53242         "bp-asm.h".
53243         (PARMS): Do not use macros from bp-asm.h.
53244         (S1): Likewise.
53245         (SIZE): Likewise.
53246         (__mpn_mul_1): Do not use BP_SYM.
53247         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53248         "bp-asm.h".
53249         (PARMS): Do not use macros from bp-asm.h.
53250         (S): Likewise.
53251         (SIZE): Likewise.
53252         (__mpn_rshift): Do not use BP_SYM.
53253         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53254         "bp-asm.h".
53255         (PARMS): Do not use macros from bp-asm.h.
53256         (STR): Likewise.
53257         (CHR): Likewise.
53258         (strchr): Likewise.  Do not use BP_SYM.
53259         (index): Do not use BP_SYM in weak_alias.
53260         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53261         "bp-asm.h".
53262         (PARMS): Do not use macros from bp-asm.h.
53263         (DEST): Likewise.
53264         (SRC): Likewise.
53265         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53266         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53267         "bp-asm.h".
53268         (PARMS): Do not use macros from bp-asm.h.
53269         (strlen): Do not use BP_SYM.
53270         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53271         "bp-asm.h".
53272         (PARMS): Do not use macros from bp-asm.h.
53273         (S1): Likewise.
53274         (S2): Likewise.
53275         (SIZE): Likewise.
53276         (__mpn_sub_n): Do not use BP_SYM.
53277         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53278         "bp-asm.h".
53279         (PARMS): Do not use macros from bp-asm.h.
53280         (S1): Likewise.
53281         (SIZE): Likewise.
53282         (__mpn_submul_1): Do not use BP_SYM.
53283         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53284         "bp-asm.h".
53285         (PARMS): Do not use macros from bp-asm.h.
53286         (S1): Likewise.
53287         (S2): Likewise.
53288         (SIZE): Likewise.
53289         (__mpn_add_n): Do not use BP_SYM.
53290         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53291         weak_alias.
53292         (bzero): Likewise.
53293         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53294         "bp-asm.h".
53295         (PARMS): Do not use macros from bp-asm.h.
53296         (BLK2): Likewise.
53297         (LEN): Likewise.
53298         (memcmp): Do not use BP_SYM.
53299         (bcmp): Do not use BP_SYM in weak_alias.
53300         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53301         "bp-asm.h".
53302         (PARMS): Do not use macros from bp-asm.h.
53303         (DEST): Likewise.
53304         (SRC): Likewise.
53305         (LEN): Likewise.
53306         (memcpy): Likewise.  Do not use BP_SYM.
53307         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53308         "bp-asm.h".
53309         (PARMS): Do not use macros from bp-asm.h.
53310         (DEST): Likewise.
53311         (SRC): Likewise.
53312         (LEN): Likewise.
53313         (memmove): Likewise.  Do not use BP_SYM.
53314         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53315         "bp-asm.h".
53316         (PARMS): Do not use macros from bp-asm.h.
53317         (DEST): Likewise.
53318         (SRC): Likewise.
53319         (LEN): Likewise.
53320         (__mempcpy): Likewise.  Do not use BP_SYM.
53321         (mempcpy): Do not use BP_SYM in weak_alias.
53322         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53323         "bp-asm.h".
53324         (PARMS): Do not use macros from bp-asm.h.
53325         (DEST): Likewise.
53326         (LEN): Likewise.
53327         [!BZERO_P] (CHR): Likewise.
53328         (memset): Likewise.  Do not use BP_SYM.
53329         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53330         "bp-asm.h".
53331         (PARMS): Do not use macros from bp-asm.h.
53332         (STR2): Likewise.
53333         (strcmp): Do not use BP_SYM.
53334         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53335         "bp-asm.h".
53336         (PARMS): Do not use macros from bp-asm.h.
53337         (STR): Likewise.
53338         (DELIM): Likewise.
53339         [USE_AS_STRTOK_R] (SAVE): Likewise.
53340         (FUNCTION): Likewise.  Do not use BP_SYM.
53341         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53342         aliases.
53343         (strtok_r): Likewise.
53344         (__GI___strtok_r): Likewise.
53345         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53346         (PARMS): Do not use macros from bp-asm.h.
53347         (S): Likewise.
53348         (SIZE): Likewise.
53349         (__mpn_lshift): Do not use BP_SYM.
53350         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53351         (PARMS): Do not use macros from bp-asm.h.
53352         (STR): Likewise.
53353         (CHR): Likewise.
53354         (__memchr): Do not use BP_SYM.
53355         (memchr): Do not use BP_SYM in weak_alias.
53356         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53357         (PARMS): Do not use macros from bp-asm.h.
53358         (BLK2): Likewise.
53359         (LEN): Likewise.
53360         (memcmp): Do not use BP_SYM.
53361         (bcmp): Do not use BP_SYM in weak_alias.
53362         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53363         (PARMS): Do not use macros from bp-asm.h.
53364         (S1): Likewise.
53365         (SIZE): Likewise.
53366         (__mpn_mul_1): Do not use BP_SYM.
53367         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53368         "bp-asm.h".
53369         (PARMS): Do not use macros from bp-asm.h.
53370         (STR): Likewise.
53371         (CHR): Likewise.
53372         (__rawmemchr): Do not use BP_SYM.
53373         (rawmemchr): Do not use BP_SYM in weak_alias.
53374         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53375         (PARMS): Do not use macros from bp-asm.h.
53376         (S): Likewise.
53377         (SIZE): Likewise.
53378         (__mpn_rshift): Do not use BP_SYM.
53379         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53380         (PARMS): Do not use macros from bp-asm.h.
53381         (SIGMSK): Likewise.
53382         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53383         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53384         (_start): Do not use BP_SYM.
53385         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53386         (PARMS): Do not use macros from bp-asm.h.
53387         (DEST): Likewise.
53388         (SRC): Likewise.
53389         (__stpcpy): Likewise.  Do not use BP_SYM.
53390         (stpcpy): Do not use BP_SYM in weak_alias.
53391         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53392         "bp-asm.h".
53393         (PARMS): Do not use macros from bp-asm.h.
53394         (DEST): Likewise.
53395         (SRC): Likewise.
53396         (LEN): Likewise.
53397         (__stpncpy): Likewise.  Do not use BP_SYM.
53398         (stpncpy): Do not use BP_SYM in weak_alias.
53399         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53400         (PARMS): Do not use macros from bp-asm.h.
53401         (STR): Likewise.
53402         (CHR): Likewise.
53403         (strchr): Likewise.  Do not use BP_SYM.
53404         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53405         "bp-asm.h".
53406         (PARMS): Do not use macros from bp-asm.h.
53407         (STR): Likewise.
53408         (CHR): Likewise.
53409         (__strchrnul): Likewise.  Do not use BP_SYM.
53410         (strchrnul): Do not use BP_SYM in weak_alias.
53411         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53412         "bp-asm.h".
53413         (PARMS): Do not use macros from bp-asm.h.
53414         (STOP): Likewise.
53415         (strcspn): Do not use BP_SYM.
53416         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53417         "bp-asm.h".
53418         (PARMS): Do not use macros from bp-asm.h.
53419         (STR): Likewise.
53420         (STOP): Likewise.
53421         (strpbrk): Likewise.  Do not use BP_SYM.
53422         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53423         "bp-asm.h".
53424         (PARMS): Do not use macros from bp-asm.h.
53425         (STR): Likewise.
53426         (CHR): Likewise.
53427         (strrchr): Likewise.  Do not use BP_SYM.
53428         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53429         (PARMS): Do not use macros from bp-asm.h.
53430         (SKIP): Likewise.
53431         (strspn): Do not use BP_SYM.
53432         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53433         (PARMS): Do not use macros from bp-asm.h.
53434         (STR): Likewise.
53435         (DELIM): Likewise.
53436         (SAVE): Likewise.
53437         (FUNCTION): Likewise.  Do not use BP_SYM.
53438         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53439         aliases.
53440         (strtok_r): Likewise.
53441         (__GI___strtok_r): Likewise.
53442         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53443         (PARMS): Do not use macros from bp-asm.h.
53444         (S1): Likewise.
53445         (S2): Likewise.
53446         (SIZE): Likewise.
53447         (__mpn_sub_n): Do not use BP_SYM.
53448         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53449         "bp-asm.h".
53450         (PARMS): Do not use macros from bp-asm.h.
53451         (S1): Likewise.
53452         (SIZE): Likewise.
53453         (__mpn_submul_1): Do not use BP_SYM.
53454         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53455         <bp-sym.h>.
53456         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53457         and <bp-asm.h>.
53458         (PARMS): Do not use macros from bp-asm.h.
53459         (FLAGS): Likewise.
53460         (PTID): Likewise.
53461         (TLS): Likewise.
53462         (CTID): Likewise.
53463         (__clone): Do not use BP_SYM.
53464         (clone): Do not use BP_SYM in weak_alias.
53465         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53466         and <bp-asm.h>.
53467         (PARMS): Do not use macros from bp-asm.h.
53468         (LEN): Likewise.
53469         (__mmap64): Do not use BP_SYM.
53470         (mmap64): Do not use BP_SYM in weak_alias.
53471         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53472         <bp-sym.h> and <bp-asm.h>.
53473         (PARMS): Do not use macros from bp-asm.h.
53474         (__posix_fadvise64_l64): Do not use BP_SYM.
53475         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53476         (PARMS): Do not use macros from bp-asm.h.
53477         (NSOPS): Likewise.
53478         (semtimedop): Do not use BP_SYM.
53479         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53480         and <bp-asm.h>.
53482 2013-02-21  Allan McRae  <allan@archlinux.org>
53484         * manual/message.texi (Charset conversion in gettext):
53485         Move @end statement to beginning of line.
53487 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53490         static.
53491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53492         Likewise.
53494         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53495         (denorm): Likewise.
53496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53499 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53501         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53502         tail-call to the resolved function if pltexit isn't needed.
53504 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53506         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53507         or Y being zero as being unlikely.
53508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53509         Likewise.
53511 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53513         * manual/nss.texi (System Databases and Name Service Switch):
53514         Remove frobnicate @pxref.
53516 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53518         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53519         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53521 2013-02-20  Petr Machata  <pmachata@redhat.com>
53523         * elf/elf.h (R_ARM_TARGET1): New macro.
53524         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53525         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53526         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53527         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53528         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53529         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53530         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53531         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53532         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53533         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53534         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53535         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53536         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53537         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53538         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53539         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53540         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53541         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53542         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53543         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53544         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53545         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53546         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53547         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53548         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53549         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53550         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53551         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53552         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53553         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53554         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53555         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53556         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53557         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53558         (R_ARM_THM_GOT_BREL12): Likewise.
53559         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53560         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53561         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53562         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53563         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53564         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53565         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53566         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53567         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53569 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53571         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53572         __attribute_used__ to __attribute__ ((unused)).
53574 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53576         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53577         powerpc mpa.c.
53578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53579         comment formatting.
53580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53582 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53584         [BZ #13550]
53585         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53586         Remove macro.
53587         (ENTER): Remove both macro definitions.
53588         (LEAVE): Likewise.
53589         (CHECK_BOUNDS_LOW): Likewise.
53590         (CHECK_BOUNDS_HIGH): Likewise.
53591         (CHECK_BOUNDS_BOTH): Likewise.
53592         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53593         (RETURN_BOUNDED_POINTER): Likewise.
53594         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53595         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53596         (POP_ERRNO_LOCATION_RETURN): Likewise.
53597         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53598         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53599         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53600         macros.
53601         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53602         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53603         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53604         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53605         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53606         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53607         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53608         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53609         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53610         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53611         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53612         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53613         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53614         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53615         removed macros.
53616         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53617         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53618         macros.
53619         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53620         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53621         * sysdeps/i386/i586/memset.S (memset): Likewise.
53622         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53623         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53624         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53625         macros.
53626         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53627         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53628         Change uses of L(2) to L(out).
53629         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53630         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53631         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53632         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53633         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53634         removed macros.
53635         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53636         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53637         macros.
53638         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53639         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53640         (RETURN): Do not use macro LEAVE.
53641         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53642         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53643         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53644         * sysdeps/i386/i686/memset.S (memset): Likewise.
53645         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53646         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53647         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53648         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53649         Likewise.
53650         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53651         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53652         L(1_2) and L(1_3) into L(1).
53653         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53654         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53655         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53656         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53657         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53658         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53659         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53660         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53661         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53662         macros.
53663         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53664         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53665         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53666         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53667         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53668         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53669         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53670         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53671         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53672         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53673         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53674         * sysdeps/i386/strspn.S (strspn): Likewise.
53675         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53676         conditional code.
53677         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53678         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53679         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53680         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53681         L(1_3) into L(1_1).
53682         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53683         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53684         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53685         macros.
53686         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53688 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53690         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53691         macro.
53693 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53695         * math/atest-exp.c (exp_mpn): Remove ROUND.
53696         * math/atest-exp2.c (exp_mpn): Likewise.
53697         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53699         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53700         * stdlib/tst-tls-atexit-lib.c: Likewise.
53701         * stdlib/tst-tls-atexit.c: Likewise.
53703 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53705         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53706         and __attribute_alloc_size__.
53708 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53710         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53711         __attribute_alloc_size__.
53712         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53713         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53715 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53717         * include/programs/xmalloc.h: New file.
53718         * catgets/gencat.c: Include it.
53719         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53720         * elf/pldd.c: Likewise.
53721         * iconv/iconv_charmap.c: Likewise.
53722         * iconv/iconvconfig.c: Likewise.
53723         * iconv/strtab.c: Likewise.
53724         * locale/programs/locale.c: Likewise.
53725         * locale/programs/localedef.h: Likewise.
53726         * locale/programs/simple-hash.c: Likewise.
53727         * nscd/nscd.h: Likewise.
53728         * nss/makedb.c: Likewise.
53729         * sysdeps/generic/ldconfig.h: Likewise.
53731 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53733         * Versions.def: Add GLIBC_2.18.
53734         * include/link.h (struct link_map): New member l_tls_dtor_count.
53735         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53736         (__call_tls_dtors): Likewise.
53737         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53738         __cxa_thread_atexit_impl.
53739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53740         Likewise.
53741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53742         Likewise.
53743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53744         Likewise.
53745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53746         Likewise.
53747         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53749         Likewise.
53750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53751         Likewise.
53752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53754         Likewise.
53755         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53756         (tests): Add test case tst-tls-atexit.
53757         (modules-names): Add shared library for tst-tls-atexit.
53758         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53759         (GLIBC_PRIVATE): Add __call_tls_dtors.
53760         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53761         for libstdc++.
53762         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53763         * stdlib/tst-tls-atexit.c: New test case.
53764         * stdlib/tst-tls-atexit-lib.c: New test case.
53766         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53768         * elf/Versions (ld): Add _dl_find_dso_for_object.
53769         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53770         * elf/dl-open.c (_dl_find_dso_for_object): New function.
53771         (dl_open_worker): Use _dl_find_dso_for_object.
53772         * elf/dl-sym.c (do_sym): Likewise.
53773         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53775 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53777         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53778         Syntactic changes only.
53779         (_dl_runtime_profile): Do a tail-call to the resolved function.
53781 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
53783         [BZ #13550]
53784         * sysdeps/x86_64/bp-asm.h: Remove file.
53785         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53786         <bp-sym.h> and <bp-asm.h>.
53787         (__clone): Do not use BP_SYM.
53788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53789         <bp-sym.h> and <bp-asm.h>.
53790         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53791         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53792         "bp-asm.h".
53793         (_setjmp): Do not use BP_SYM.
53794         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53795         "bp-asm.h".
53796         (setjmp): Do not use BP_SYM.
53797         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53798         libc_hidden_def.
53799         (mempcpy): Do not use BP_SYM in weak_alias.
53800         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53801         "bp-asm.h".
53802         (strchr): Do not use BP_SYM.
53803         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53804         "bp-asm.h".
53805         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53806         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53807         (_start): Do not use BP_SYM.
53808         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53809         "bp-asm.h".
53810         (strcat): Do not use BP_SYM.
53811         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53812         "bp-asm.h".
53813         (STRCMP): Do not use BP_SYM.
53814         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53815         "bp-asm.h".
53816         (STRCPY): Do not use BP_SYM.
53817         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53818         "bp-asm.h".
53819         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53820         "bp-asm.h".
53821         (FUNCTION): Do not use BP_SYM.
53822         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53823         weak_alias.
53824         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53826 2013-02-17  Andreas Jaeger  <aj@suse.de>
53828         * time/Versions: Sort entries.
53829         * string/Versions: Likewise.
53830         * resolv/Versions: Likewise.
53831         * posix/Versions: Likewise.
53832         * iconv/Versions: Likewise.
53833         * elf/Versions: Likewise.
53834         * wcsmbs/Versions: Likewise.
53836 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53838         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53839         loop termination condition.
53841         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53842         variable to calculate EZ.
53843         (__sqr): Likewise.
53845         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53846         the lower precision input.
53848 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53850         [BZ #13550]
53851         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53852         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53853         (run-via-rtld-prefix): Do not handle %-bp tests.
53854         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53855         (all-object-suffixes): Remove .ob.
53856         (bppfx): Remove variable.
53857         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53858         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53859         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53860         [$(build-bounded) = yes] (libtype.ob): Likewise.
53861         * Makerules (elide-routines.ob): Remove variable.
53862         (do-tests-clean): Do not handle *-bp.out.
53863         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53864         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53865         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53866         (tests): Do not include $(tests-bp.out).
53867         (xtests): Do not include $(xtests-bp.out).
53868         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53869         [$(build-bounded) = yes] ($(addprefix
53870         $(objpfx),$(binaries-bounded))): Remove rule.
53871         ($(objpfx)%-bp.out): Remove rule.
53872         * config.make.in (build-bounded): Remove variable.
53873         * crypt/Makefile [$(build-bounded) = yes]
53874         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53875         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53876         append to variable.
53877         [$(build-bounded) = yes] (install-lib): Likewise.
53878         [$(build-bounded) = yes] (generated): Likewise.
53879         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53880         Remove rule.
53881         * intl/Makefile [$(build-bounded) = yes]
53882         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53883         * math/Makefile [$(build-bounded) = yes]
53884         ($(tests:%=$(objpfx)%-bp): Likewise.
53885         * misc/Makefile [$(build-bounded) = yes]
53886         ($(objpfx)tst-tsearch-bp): Likewise.
53887         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53888         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53889         Remove dependency.
53890         * string/Makefile (o-objects.ob): Remove variable.
53891         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53892         (CFLAGS-.ob): Remove variable.
53893         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53894         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53895         both definitions of variable.
53896         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53897         (ASFLAGS-.ob): Remove variable.
53899 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53901         [BZ #13550]
53902         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53903         Remove __BOUNDED_POINTERS__ from condition.
53904         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53905         * string/bits/string2.h [!__NO_STRING_INLINES &&
53906         !__BOUNDED_POINTERS__]: Likewise.
53907         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53908         Likewise.
53909         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53910         Remove conditional code.
53911         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53912         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53913         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53914         condition.
53916         [BZ #13550]
53917         * csu/libc-start.c: Do not include <bp-sym.h>.
53918         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53919         * elf/dl-open.c: Do not include <bp-sym.h>.
53920         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53921         * math/fegetenv.c: Do not include <bp-sym.h>.
53922         (fegetenv): Do not use BP_SYM in versioned symbols.
53923         * nptl/sysdeps/pthread/bits/libc-lockP.h
53924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53925         <bp-sym.h>.
53926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53927         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53929         (__pthread_mutex_destroy): Likewise.
53930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53931         (__pthread_mutex_lock): Likewise.
53932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53933         (__pthread_mutex_trylock): Likewise.
53934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53935         (__pthread_mutex_unlock): Likewise.
53936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53937         (__pthread_mutexattr_init): Likewise.
53938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53939         (__pthread_mutexattr_destroy): Likewise.
53940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53941         (__pthread_mutexattr_settype): Likewise.
53942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53943         (__pthread_rwlock_init): Likewise.
53944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53945         (__pthread_rwlock_destroy): Likewise.
53946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53947         (__pthread_rwlock_rdlock): Likewise.
53948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53949         (__pthread_rwlock_tryrdlock): Likewise.
53950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53951         (__pthread_rwlock_wrlock): Likewise.
53952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53953         (__pthread_rwlock_trywrlock): Likewise.
53954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53955         (__pthread_rwlock_unlock): Likewise.
53956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53957         (__pthread_key_create): Likewise.
53958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53959         (__pthread_setspecific): Likewise.
53960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53961         (__pthread_getspecific): Likewise.
53962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53963         Likewise.
53964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53965         (_pthread_cleanup_push_defer): Likewise.
53966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53967         (_pthread_cleanup_pop_restore): Likewise.
53968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53969         (pthread_setcancelstate): Likewise.
53970         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53971         <bp-sym.h>.
53972         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53973         (memchr): Do not use BP_SYM in weak_alias.
53974         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53975         (fegetenv): Do not use BP_SYM in versioned symbols.
53976         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53977         (fesetenv): Do not use BP_SYM in versioned symbols.
53978         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53979         (feupdateenv): Do not use BP_SYM in versioned symbols.
53980         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53981         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53982         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53983         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53984         (open64): Do not use BP_SYM in weak_alias.
53985         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53986         (fegetenv): Do not use BP_SYM in versioned symbols.
53987         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53988         (fesetenv): Do not use BP_SYM in versioned symbols.
53989         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53990         (feupdateenv): Do not use BP_SYM in versioned symbols.
53991         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53992         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53993         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53994         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53995         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53996         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53997         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53998         <bp-sym.h>.
53999         (__libc_start_main): Do not use BP_SYM.
54001 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54003         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54004         redundant return line.
54005         (norm): Likewise.
54006         (denorm): Likewise.
54007         (dbl_mp): Likewise.
54008         (sub_magnitudes): Likewise.
54009         (__add): Likewise.
54010         (__sub): Likewise.
54011         (__mul): Likewise.
54012         (__inv): Likewise.
54013         (__dvd): Likewise.
54014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
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.
54025         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54026         instead of __mul.
54027         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54028         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54029         (cc32): Likewise.
54031         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54032         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54034         of __mul for squares.
54035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54036         function
54037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54038         Likewise.
54039         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54040         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54042 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54044         [BZ #13550]
54045         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54046         code.
54047         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54048         prototype or function definition.  Rename ubp_* variables and
54049         parameters.  Remove argv definitions conditional on
54050         [__BOUNDED_POINTERS__].
54051         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54052         * elf/dl-runtime.c (_dl_fixup): Likewise.
54053         * include/set-hooks.h (RUN_HOOK): Likewise.
54054         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54055         definition.
54056         * string/strcpy.c (strcpy): Do not use __unbounded.
54057         * sysdeps/generic/frame.h (struct layout): Likewise.
54058         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54059         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54060         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54061         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54062         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54063         (__backtrace): Likewise.
54064         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54065         use __ptrvalue.
54066         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54067         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54068         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54069         Likewise.
54070         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54071         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54072         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54073         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54074         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54075         Do not use __unbounded.
54076         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54077         Rename __unboundedrlimits parameter to rlimits in prototype.
54078         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54079         Do not use __unbounded.
54080         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54081         not use __ptrvalue.
54082         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54083         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54084         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54085         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54086         __ptrvalue or __unbounded.
54087         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54088         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54089         use __unbounded.
54090         (__new_msgctl): Do not use __ptrvalue.
54091         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54092         __unbounded.
54093         (__libc_msgrcv): Do not use __ptrvalue.
54094         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54095         startup_info): Do not use __unbounded.
54096         (__libc_start_main): Likewise.  Rename ubp_* variables and
54097         parameters.  Remove argv definitions conditional on
54098         [__BOUNDED_POINTERS__].
54099         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54100         __ptrvalue.
54101         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54102         use __unbounded.
54103         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54104         or __ptrvalue.
54105         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54106         use __unbounded.
54107         (__new_shmctl): Do not use __ptrvalue.
54108         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54109         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54110         Likewise.
54111         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54112         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54113         (__libc_sigaction): Likewise.
54114         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54115         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54116         Likewise.
54117         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54119 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54121         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54123         * string/mempcpy.c: Implement by calling memcpy.
54125 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54127         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54129         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54130         evaluation.
54132         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54133         values in the mantissa.
54135         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54136         minimize writes to Z.
54137         (sub_magnitudes): Simplify code a bit.
54139 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54141         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54142         from the message.  The linker prefixes all warnings with that already.
54144 2013-02-12  Andreas Schwab  <schwab@suse.de>
54146         [BZ #15078]
54147         * posix/regexec.c (extend_buffers): Add parameter min_len.
54148         (check_matching): Pass minimum needed length.
54149         (clean_state_log_if_needed): Likewise.
54150         (get_subexp): Likewise.
54151         * posix/Makefile (tests): Add bug-regex34.
54152         (bug-regex34-ENV): Define.
54153         * posix/bug-regex34.c: New file.
54155         [BZ #11561]
54156         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54157         elements compare against the byte sequence of it, not its name.
54158         * posix/Makefile (tests): Add bug-regex35.
54159         (bug-regex35-ENV): Define.
54160         * posix/bug-regex35.c: New file.
54162 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54164         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54165         comment.
54166         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54167         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54168         (CHECK_EOL): Add undef.
54170 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54172         * bits/stdlib-bsearch.h: New file.
54173         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54174         * stdlib/stdlib.h: Likewise.
54176 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54178         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54179         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54180         declaration.
54181         * manual/search.texi (Array Search Function): Add missing const in
54182         lfind prototype.
54183         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54184         declaration to use rlim_t.
54185         (Basic Scheduling Functions): Remove erroneous const from
54186         sched_getparam prototype.  Remove erroneous * from
54187         sched_get_priority_max and sched_get_priority_min prototypes.
54188         (Resource Usage): Fix summary @comment on vtimes to refer to
54189         sys/vtimes.h rather than vtimes.h.
54190         Add missing *s in vtimes prototype.
54191         (Limits on Resources): Fix ulimit prototype to return long int.
54192         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54193         prototypes to use long int rather than double.
54194         (BSD Random): Fix initstate and setstate to use char *, not void *.
54195         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54196         prototype to make second argument 'struct aiocb64 *const[]'.
54197         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54198         (Status of AIO Operations): Remove erroneous const in aio_return and
54199         aio_return64 prototypes.
54200         (Synchronizing I/O): Fix sync prototype to return void.
54201         * manual/startup.texi (Suboptions): Remove an erroneous const in
54202         getsubopt prototype.
54203         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54204         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54205         use size_t rather than int.
54206         (Scanning All Users): Likewise for getpwent_r.
54207         (Setting Groups): Add missing const to setgroups prototype.
54208         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54209         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54210         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54211         'const void *' rather than 'const char *'.
54212         (Host Address Functions): Likewise for inet_ntop.
54213         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54214         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54215         ssize_t for return value.
54216         (Sending Data): Likewise for send, sendto, sendmsg.
54217         (Socket Option Functions): Add a missing const in setsockopt prototype.
54218         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54219         use wchar_t for the argument.
54220         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54221         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54222         take no arguments.
54223         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54224         double/float/long double for second argument.
54225         Fix return types of significand, significandf, significandl.
54226         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54227         argument in fchmod prototype.
54228         (File Owner): Use uid_t and gid_t in fchown prototype.
54229         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54230         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54231         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54232         use 'const struct dirent **' as argument types to CMP function pointer
54233         argument.
54234         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54235         (File Times): Fix summary magic @comment for struct utimbuf and utime
54236         to refer to utime.h, not time.h.
54237         * manual/string.texi (Argz Functions): Add missing const in
54238         argz_extract and argz_next prototypes.
54239         (Finding Tokens in a String): Likewise for basename.
54240         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54241         (Copying and Concatenation): Fix typo in wmemmove prototype.
54242         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54243         (Signal Stack): Remove erroneous const in sigstack prototype.
54244         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54245         prototype.
54246         (Simple Calendar Time): Likewise for stime.
54247         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54248         prototype.
54249         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54250         say sys/sysctl.h instead.
54251         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54252         and vsyslog prototypes.
54254 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54256         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54257         Remove.
54259 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54261         * misc/sys/mman.h: Fix typo in mremap comment.
54263 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54265         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54266         the '\0' terminator.
54268 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54270         [BZ #13550]
54271         * debug/segfault.c: Don't include <bp-checks.h>.
54272         * sysdeps/generic/bp-checks.h: Remove file.
54273         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54274         (__GETDENTS): Don't use CHECK_N.
54275         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54276         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54277         (__getgroups): Don't use CHECK_N.
54278         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54279         (setgroups): Don't use CHECK_N.
54280         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54281         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54282         (__libc_msgrcv): Don't use CHECK_N.
54283         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54284         (__libc_msgsnd): Don't use CHECK_N.
54285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54286         <bp-checks.h>.
54287         (__libc_pread): Don't use CHECK_N.
54288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54289         include <bp-checks.h>.
54290         (__libc_pread64): Don't use CHECK_N.
54291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54292         include <bp-checks.h>.
54293         (__libc_pwrite): Don't use CHECK_N.
54294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54295         include <bp-checks.h>.
54296         (__libc_pwrite64): Don't use CHECK_N.
54297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54298         <bp-checks.h>.
54299         (__libc_pread): Don't use CHECK_N.
54300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54301         include <bp-checks.h>.
54302         (__libc_pread64): Don't use CHECK_N.
54303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54304         include <bp-checks.h>.
54305         (__libc_pwrite): Don't use CHECK_N.
54306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54307         include <bp-checks.h>.
54308         (__libc_pwrite64): Don't use CHECK_N.
54309         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54310         (do_pread): Don't use CHECK_N.
54311         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54312         (do_pread64): Don't use CHECK_N.
54313         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54314         (do_pwrite): Don't use CHECK_N.
54315         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54316         (do_pwrite64): Don't use CHECK_N.
54317         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54318         (__libc_readv): Don't use CHECK_N.
54319         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54320         (semop): Don't use CHECK_N.
54321         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54322         <bp-checks.h>.
54323         (semtimedop): Don't use CHECK_N.
54324         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54325         (__libc_pread): Don't use CHECK_N.
54326         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54327         <bp-checks.h>.
54328         (__libc_pread64): Don't use CHECK_N.
54329         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54330         <bp-checks.h>.
54331         (__libc_pwrite): Don't use CHECK_N.
54332         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54333         <bp-checks.h>.
54334         (__libc_pwrite64): Don't use CHECK_N.
54335         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54336         <bp-checks.h>.
54337         (__libc_msgrcv): Don't use CHECK_N.
54338         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54339         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54340         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54341         (__libc_writev): Don't use CHECK_N.
54343 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54345         * string/strcpy.c: Removed unused variable.
54347         * Makeconfig (+sysdep-includes): Define with := rather than =.
54348         Use an existing include/ subdir of each sysdeps dir before it.
54350 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54352         * nscd/connection.c (register_traced_file): Comment function.
54353         [HAVE_INOTIFY] (union __inev): Define.
54354         [HAVE_INOTIFY] (inotify_check_files): New function.
54355         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54356         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54357         clear_db_cache.
54358         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54360 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54362         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54363         loaded if not already and that a failure is permanent.
54365 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54367         [BZ #15006]
54368         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54369         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54371 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54373         [BZ #13550]
54374         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54375         (CHECK_1_NULL_OK): Likewise.
54376         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54377         (__fxstat): Do not use CHECK_1.
54378         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54379         <bp-checks.h>.
54380         (___fxstat64): Do not use CHECK_1.
54381         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54382         <bp-checks.h>.
54383         (__fxstatat): Do not use CHECK_1.
54384         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54385         <bp-checks.h>.
54386         (__fxstatat64): Do not use CHECK_1.
54387         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54388         <bp-checks.h>.
54389         (__fxstat): Do not use CHECK_1.
54390         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54391         <bp-checks.h>.
54392         (__fxstatat): Do not use CHECK_1.
54393         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54394         <bp-checks.h>.
54395         (__getresgid): Do not use CHECK_1.
54396         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54397         <bp-checks.h>.
54398         (__getresuid): Do not use CHECK_1.
54399         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54400         <bp-checks.h>.
54401         (__lxstat): Do not use CHECK_1.
54402         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54403         <bp-checks.h>.
54404         (__old_msgctl): Do not use CHECK_1.
54405         (__new_msgctl): Likewise.
54406         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54407         <bp-checks.h>.
54408         (__new_setrlimit): Do not use CHECK_1.
54409         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54410         <bp-checks.h>.
54411         (__old_shmctl): Do not use CHECK_1.
54412         (__new_shmctl): Likewise.
54413         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54414         <bp-checks.h>.
54415         (__xstat): Do not use CHECK_1.
54416         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54417         (__lxstat): Do not use CHECK_1.
54418         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54419         <bp-checks.h>.
54420         (___lxstat64): Do not use CHECK_1.
54421         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54422         (__old_msgctl): Do not use CHECK_1.
54423         (__new_msgctl): Likewise.
54424         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54425         <bp-checks.h>.
54426         (__gettimeofday): Do not use CHECK_1.
54427         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54428         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54429         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54430         <bp-checks.h>.
54431         (__gettimeofday): Do not use CHECK_1.
54432         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54433         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54434         (__new_shmctl): Do not use CHECK_1.
54435         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54436         <bp-checks.h>.
54437         (do_sigtimedwait): Do not use CHECK_1.
54438         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54439         <bp-checks.h>.
54440         (do_sigwaitinfo): Do not use CHECK_1.
54441         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54442         <bp-checks.h>.
54443         (msgctl): Do not use CHECK_1.
54444         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54445         <bp-checks.h>.
54446         (shmctl): Do not use CHECK_1.
54447         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54448         (ustat): Do not use CHECK_1.
54449         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54450         <bp-checks.h>.
54451         (__fxstat): Do not use CHECK_1.
54452         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54453         <bp-checks.h>.
54454         (__fxstatat): Do not use CHECK_1.
54455         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54456         <bp-checks.h>.
54457         (__lxstat): Do not use CHECK_1.
54458         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54459         <bp-checks.h>.
54460         (__xstat): Do not use CHECK_1.
54461         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54462         (__xstat): Do not use CHECK_1.
54463         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54464         (___xstat64): Do not use CHECK_1.
54466         [BZ #13550]
54467         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54468         definitions.
54469         (CHECK_BOUNDS_HIGH): Likewise.
54470         * string/strcpy.c: Do not include <bp-checks.h>.
54471         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54473 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54475         * nscd/nscd-client.h (__nscd_drop_map_ref):
54476         Add __attribute__ ((unused)).
54477         * nis/nss-nisplus.h (niserr2nss): Likewise.
54479         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54480         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54482         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54483         Remove inline keyword.
54484         * include/rounding-mode.h (round_away): Likewise.
54485         * libio/wfileops.c (adjust_wide_data): Likewise.
54486         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54487         (__m128i_strloadu_tolower): Likewise.
54488         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54489         (__m128i_strloadu_tolower): Likewise.
54490         * time/mktime.c (ydhms_diff): Likewise.
54491         * locale/elem-hash.h (elem_hash): Likewise.
54492         * locale/setlocale.c (setdata): Likewise.
54493         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54494         (re_string_wchar_at): Likewise.
54495         (bitset_not, bitset_merge, bitset_mask): Likewise.
54496         [!(__GNUC__ > 3)] (inline): Remove macro.
54497         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54498         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54499         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54500         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54501         * string/memcmp.c (memcmp_bytes): Likewise.
54502         * locale/programs/locarchive.c (compute_hashval): Likewise.
54503         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54504         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54505         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54506         * nss/getent.c (print_rpc, print_protocols): Likewise.
54507         (print_passwd, print_group, print_aliases): Likewise.
54508         * nis/nss-nisplus.h (niserr2nss): Likewise.
54509         * nscd/connections.c (restart_p): Likewise.
54510         Change return type to bool.
54512 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54514         * Makeconfig (all-Depend-files): Add existing
54515         $(sorted-subdirs:=/Depend) files.
54516         (all-subdirs): Remove nss.
54517         * sysdeps/unix/inet/Subdirs: Add it here instead.
54518         * hesiod/Depend: New file.
54520         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54521         instead of calling alloca.
54523         * io/lseek.c (__lseek): Rename to __libc_lseek.
54524         Define __lseek as an alias.
54526         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54528 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54530         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54531         else clause and remove check for non-standard endianness.
54533 2013-02-04  David S. Miller  <davem@davemloft.net>
54535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54537 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54539         [BZ #13550]
54540         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54541         (__ubp_memchr): Remove prototype.
54542         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54543         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54544         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54545         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54546         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54547         Remove alias.
54548         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54549         (__ubp_memchr): Likewise.
54550         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54551         (__ubp_memchr): Likewise.
54552         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54553         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54554         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54555         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54556         CHECK_STRING.
54557         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54558         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54559         (__getcwd): Do not use CHECK_STRING.
54560         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54561         <bp-checks.h>.
54562         (__real_chown): Do not use CHECK_STRING.
54563         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54564         <bp-checks.h>.
54565         (fchownat): Do not use CHECK_STRING.
54566         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54567         CHECK_STRING.
54568         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54569         <bp-checks.h>.
54570         (__lchown): Do not use CHECK_STRING.
54571         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54572         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54573         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54574         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54576         include <bp-checks.h>.
54577         (truncate64): Do not use CHECK_STRING.
54578         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54579         <bp-checks.h>.
54580         (__real_chown): Do not use CHECK_STRING.
54581         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54582         <bp-checks.h>.
54583         (__lchown): Do not use CHECK_STRING.
54584         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54585         <bp-checks.h>.
54586         (__chown): Do not use CHECK_STRING.
54587         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54588         <bp-checks.h>.
54589         (truncate64): Do not use CHECK_STRING.
54590         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54591         Likewise.
54592         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54593         (__xmknod): Do not use CHECK_STRING.
54594         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54595         <bp-checks.h>.
54596         (__xmknodat): Do not use CHECK_STRING.
54597         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54598         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54600 2013-02-04  Andreas Schwab  <schwab@suse.de>
54602         [BZ #14142]
54603         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54604         * include/netdb.h: Likewise for h_errno.
54605         * elf/tst-stackguard1.c: Include <tls.h>.
54607 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54609         * elf/link.h (struct link_map): Extend the l_addr comment.
54610         * include/link.h (struct link_map): Likewise.
54612 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54614         [BZ #13550]
54615         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54616         (BOUNDED_1): Remove macro.
54617         * debug/backtrace.c: Don't include <bp-checks.h>.
54618         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54619         (__backtrace): Likewise.
54620         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54621         <bp-checks.h>.
54622         (__backtrace): Don't use BOUNDED_1.
54623         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54624         <bp-checks.h>.
54625         (__backtrace): Don't use BOUNDED_1.
54626         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54627         (__backtrace): Don't use BOUNDED_1.
54628         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54629         (shmat): Don't use BOUNDED_N.
54631 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54633         [BZ #13550]
54634         * sysdeps/generic/bp-start.h: Remove file.
54635         * csu/libc-start.c: Don't include <bp-start.h>.
54636         (LIBC_START_MAIN): Set up __environ directly instead of using
54637         INIT_ARGV_and_ENVIRON.
54638         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54639         <bp-start.h>.
54641         [BZ #13550]
54642         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54643         definitions.
54644         (CHECK_FCNTL): Likewise.
54645         (CHECK_N_PAGES): Likewise.
54647         [BZ #13550]
54648         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54649         definitions.
54650         (CHECK_SIGSET_NULL_OK): Likewise.
54651         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54652         <bp-checks.h>.
54653         (sigpending): Don't use CHECK_SIGSET.
54654         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54655         <bp-checks.h>.
54656         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54657         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54658         <bp-checks.h>.
54659         (do_sigsuspend): Don't use CHECK_SIGSET.
54660         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54661         use CHECK_SIGSET.
54662         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54663         (do_sigwait): Don't use CHECK_SIGSET.
54664         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54665         use CHECK_SIGSET.
54666         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54667         include <bp-checks.h>.
54668         (sigpending): Don't use CHECK_SIGSET.
54669         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54670         include <bp-checks.h>.
54671         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54672         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54673         <bp-checks.h>.
54674         (sigpending): Don't use CHECK_SIGSET.
54675         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54676         <bp-checks.h>.
54677         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54679         [BZ #13550]
54680         * sysdeps/generic/bp-semctl.h: Remove file.
54681         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54682         <bp-checks.h> and <bp-semctl.h>.
54683         (__old_semctl): Don't use CHECK_SEMCTL.
54684         (__new_semctl): Likewise.
54685         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54686         and <bp-semctl.h>.
54687         (__old_semctl): Don't use CHECK_SEMCTL.
54688         (__new_semctl): Likewise.
54689         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54690         <bp-checks.h> and <bp-semctl.h>.
54691         (__old_semctl): Don't use CHECK_SEMCTL.
54692         (__new_semctl): Likewise.
54693         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54694         <bp-checks.h> and <bp-semctl.h>.
54695         (semctl): Don't use CHECK_SEMCTL.
54697         [BZ #13550]
54698         * Makerules (elide-bp-thunks): Remove variable.
54699         (elide-routines.oS): Don't use $(elide-bp-thunks).
54700         (elide-routines.os): Likewise.
54701         (elide-routines.o): Likewise.
54702         (elide-routines.op): Likewise.
54703         (elide-routines.og): Likewise.
54704         (objects): Don't use $(bp-thunks).
54705         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54706         include.
54707         (common-generated): Do not add s-proto-bp.d.
54708         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54709         (int): Likewise.
54710         (typ): Likewise.
54711         Do not generate makefile rules for bounded-pointer thunks.
54712         * sysdeps/generic/bp-thunks.h: Remove file.
54713         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54714         * sysdeps/unix/s-proto-bp.S: Likewise.
54716         [BZ #15062]
54717         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54718         parts of result separately when argument is not close to line from
54719         -i to i and one part of argument is small.
54720         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54721         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54722         * math/libm-test.inc (cacos_test): Add more tests.
54723         (casin_test): Likewise.
54724         (casinh_test): Likewise.
54725         * sysdeps/i386/fpu/libm-test-ulps: Update.
54726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54728 2013-01-31  David S. Miller  <davem@davemloft.net>
54730         * po/de.po: Update from translation team.
54732 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54734         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54736 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54738         * configure.in (_AC_PROG_CC_C89): New definition.
54739         * configure: Regenerate.
54741         * configure.in (AC_PROG_CPP): New definition.
54742         * configure: Regenerate.
54744 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54746         * debug/tst-backtrace.h: New file.
54747         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54748         (ret): Remove variable.
54749         (x): Likewise.
54750         (FAIL): Remove macro.
54751         (NO_INLINE): Likewise.
54752         (fn1): Use match function instead of strstr.
54753         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54754         (ret): Remove variable.
54755         (x): Likewise.
54756         (FAIL): Remove macro.
54757         (NO_INLINE): Likewise.
54758         (fn): Use match function instead of strstr.
54759         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54760         (ret): Remove variable.
54761         (x): Likewise.
54762         (FAIL): Remove macro.
54763         (NO_INLINE): Likewise.
54764         (handle_signal): Use match function instead of strstr.
54765         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54766         (ret): Remove variable.
54767         (x): Likewise.
54768         (FAIL): Remove macro.
54769         (NO_INLINE): Likewise.
54770         (handle_signal): Use match function instead of strstr.
54772 2013-01-23  Roland McGrath  <roland@hack.frob.com>
54774         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54776 2013-01-23  David S. Miller  <davem@davemloft.net>
54778         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54779         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54780         argument of CAS if possible.
54781         * sysdeps/sparc/sparc64/bits/atomic.h
54782         (__arch_compare_and_exchange_val_32_acq): Likewise.
54783         (__arch_compare_and_exchange_val_64_acq): Likewise.
54785 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
54787         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54788         * sysdeps/posix/ulimit.c: ... this.
54789         Include <limits.h>.
54790         * sysdeps/unix/bsd/ulimit.c: Remove file.
54792 2013-01-23  Adam Conrad  <adconrad@0c3.net>
54794         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54795         (LDFLAGS-tst-array5): Likewise.
54797 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54799         [BZ #15036]
54800         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54801         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54802         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54803         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54805 2013-01-21  David S. Miller  <davem@davemloft.net>
54807         * sysdeps/sparc/backtrace.c: New file.
54808         * sysdeps/sparc/sparc32/backtrace.h: New file.
54809         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54810         * sysdeps/sparc/sparc64/backtrace.h: New file.
54811         * sysdeps/sparc/sparc64/backtrace.c: Delete.
54812         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54813         -funwind-tables.
54815 2013-01-21  Andreas Schwab  <schwab@suse.de>
54817         [BZ #15020]
54818         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54819         closed its stdout.
54821 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
54823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54824         "mpa2.h".
54825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54827 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
54828             Mark Mitchell  <mark@codesourcery.com>
54829             Tom de Vries  <tom@codesourcery.com>
54830             Paul Pluzhnikov  <ppluzhnikov@google.com>
54832         * debug/tst-backtrace2.c: New file.
54833         * debug/tst-backtrace3.c: Likewise.
54834         * debug/tst-backtrace4.c: Likewise.
54835         * debug/tst-backtrace5.c: Likewise.
54836         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54837         (CFLAGS-tst-backtrace3.c): Likewise.
54838         (CFLAGS-tst-backtrace4.c): Likewise.
54839         (CFLAGS-tst-backtrace5.c): Likewise.
54840         (LDFLAGS-tst-backtrace2): Likewise.
54841         (LDFLAGS-tst-backtrace3): Likewise.
54842         (LDFLAGS-tst-backtrace4): Likewise.
54843         (LDFLAGS-tst-backtrace5): Likewise.
54844         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54845         tst-backtrace4 and tst-backtrace5.
54847 2013-01-18  Anton Blanchard  <anton@samba.org>
54848             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54850         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54851         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54852         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54853         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54855         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54856         "+r" and remove output regs list as redundant.  Add explicit inline
54857         asm to specify register of return val to work around compiler codegen
54858         bug.  Remove (int) cast on return value.  Add return type parameter to
54859         use in macro so that this macro does not truncate return value for
54860         64-bit values.
54861         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54862         pass to INTERNAL_VSYSCALL_NCS.
54863         (INLINE_VSYSCALL): Add 'long int' as return type to
54864         INTERNAL_VSYSCALL_NCS macro invocation.
54865         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54866         INTERNAL_VSYSCALL_NCS macro invocation.
54867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54869 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54871         [BZ #14496]
54872         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54873         Fix application of SIMD FP exception mask.
54875         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54876         mp_no from a power of two.
54877         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54878         __mpexp_twomm1.  Use __pow_mp.
54880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54881         multiplication.
54883 2013-01-17  David S. Miller  <davem@davemloft.net>
54885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54887 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54889         [BZ #15023]
54890         * include/complex.h: Condition contents on [!_COMPLEX_H].
54891         (__kernel_casinhf): New prototype.
54892         (__kernel_casinh): Likewise.
54893         (__kernel_casinhl): Likewise.
54894         * math/Makefile (libm_calls): Add k_casinh.
54895         * math/k_casinh.c: New file.
54896         * math/k_casinhf.c: Likewise.
54897         * math/k_casinhl.c: Likewise.
54898         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54899         finite nonzero arguments.
54900         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54901         finite nonzero arguments.
54902         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54903         finite nonzero arguments.
54904         * math/s_casinh.c: Do not include <float.h>.
54905         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54906         * math/s_casinhf.c: Do not include <float.h>.
54907         (__casinhf): Move code for finite nonzero arguments to
54908         k_casinhf.c.
54909         * math/s_casinhl.c: Do not include <float.h>.
54910         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54911         redefine.
54912         (__casinhl): Move code for finite nonzero arguments to
54913         k_casinhl.c.
54914         * math/libm-test.inc (cacos_test): Add more tests.
54915         * sysdeps/i386/fpu/libm-test-ulps: Update.
54916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54918 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54920         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54921         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54922         [!HAVE_MREMAP]: Remove [defined linux] case.
54923         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54925 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54927         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54929 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54931         * elf/elf.h (R_386_SIZE32): New relocation.
54932         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54933         R_386_SIZE32.
54934         (elf_machine_rela): Likewise.
54935         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54936         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54938 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54940         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54941         (FP_FAST_FMA): Do not define.
54942         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54943         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54944         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54945         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54946         !_SOFT_FLOAT]: Likewise.
54947         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54948         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54949         value.
54950         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54951         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54952         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54953         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54954         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54955         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54956         file.
54958 2013-01-16  Andreas Schwab  <schwab@suse.de>
54960         [BZ #14327]
54961         * include/stdlib.h (__mktemp): Add declaration.
54962         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54963         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54965 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54967         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54968         definitions.
54969         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54970         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54971         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54972         definitions here.
54973         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54974         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54975         definitions.
54976         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54977         and ONE.
54978         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54979         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54980         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54981         definitions.
54982         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54983         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54984         definitions.
54985         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54987         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54989 2013-01-15  David S. Miller  <davem@davemloft.net>
54991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54992         trunc{,f} to libm-sysdep_routes.
54993         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54995         file.
54996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54998         file.
54999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55000         file.
55001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55003         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55004         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55005         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55006         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55007         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55008         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55011         nearbyint{,f} to libm-sysdep_routes.
55012         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55014         New file.
55015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55016         file.
55017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55018         New file.
55019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55020         file.
55021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55023         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55024         file.
55025         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55026         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55027         file.
55028         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55029         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55030         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55032         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55033         libc_feholdexcept and libc_fesetenv.
55035 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55037         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55039 2013-01-14  David S. Miller  <davem@davemloft.net>
55041         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55042         (SPARC_ASM_VIS2_IFUNC): Likewise.
55043         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55045         use of 'siam' instruction.
55046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55047         Likewise.
55048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55049         Likewise.
55050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55051         Likewise.
55052         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55053         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55054         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55057         file.
55058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55059         file.
55060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55061         file.
55062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55063         file.
55064         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55066         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55069         new VIS2 routines.
55070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55073         Likewise.
55074         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55075         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55076         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55079         routines to libm-sysdep_routines.
55080         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55083         fdim/fdimf to libm-sysdep_routines.
55084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55085         file.
55086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55088         file.
55089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55092         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55093         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55094         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55095         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55097 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55099         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55100         to optimize copies.
55102         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55104         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55107         local variable MPTWO.
55108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55109         Likewise.
55111 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55113         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55114         GLOB_NOESCAPE.
55116 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55118         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55120 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55122         * manual/pattern.texi (glob_t): Document gl_flags.
55123         (glob64_t): Likewise.
55125 2013-01-11  David S. Miller  <davem@davemloft.net>
55127         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55128         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55129         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55130         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55131         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55132         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55133         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55134         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55135         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55136         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55137         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55138         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55139         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55141         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55142         sparc V9 rather than using V8 code.
55143         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55144         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55146         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55147         Move to...
55148         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55149         Here.
55151 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55153         [BZ #14941]
55154         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55155         not in the main loop.
55156         * configure: Regenerated.
55158 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55160         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55161         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55162         to just #else.
55163         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55164         [!__GLIBC_HAVE_LONG_LONG] case.
55165         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55166         condition to just #else.
55167         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55168         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55169         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55170         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55171         unconditional.
55172         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55173         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55174         #elif condition to just #else.
55175         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55176         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55177         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55178         #elif condition to just #else.
55180 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55182         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55183         (EF_MIPS_ARCH_64): Fix value.
55184         (EF_MIPS_ARCH_32R2): New.
55185         (EF_MIPS_ARCH_64R2): New.
55187 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55189         * Makeconfig (+link-pie-before-libc): New.
55190         (+link-pie-after-libc): Likewise.
55191         (+link-pie-tests): Likewise.
55192         (+link-pie): Rewritten.
55193         (link-before-libc): Remove $(config-LDFLAGS).
55194         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55195         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55196         (config-LDFLAGS): Renamed to ...
55197         (rtld-LDFLAGS): This.
55198         (rtld-tests-LDFLAGS): New macro.
55199         (link-libc-rpath-link): Likewise.
55200         (link-libc-tests-rpath-link): Likewise.
55201         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55202         (link-libc): Prepand $(link-libc-rpath-link).
55203         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55204         (test-program-prefix): New macro.
55205         (test-via-rtld-prefix): Likewise.
55206         (test-program-cmd): Likewise.
55207         (host-test-program-cmd): Likewise.
55208         * Makefile ($(common-objpfx)testrun.sh): Replace
55209         $(run-program-prefix) with $(test-program-prefix).
55210         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55211         $(rtld-LDFLAGS).
55212         ($(common-objpfx)shlib.lds): Likewise.
55213         (build-module-helper): Likewise.
55214         ($(common-objpfx)format.lds): Likewise.
55215         * Rules (binaries-pie-tests): New.
55216         (binaries-pie-notests): Likewise.
55217         (binaries-pie): Rewritten.
55218         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55219         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55220         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55221         (make-test-out): Replace $(host-built-program-cmd) with
55222         $(host-test-program-cmd).
55223         * config.make.in (build-hardcoded-path-in-tests): New variable.
55224         * configure.in (--enable-hardcoded-path-in-tests): New configure
55225         option.
55226         (hardcoded_path_in_tests): New AC_SUBST.
55227         * configure: Regenerated.
55228         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55229         $(built-program-cmd) with $(test-program-cmd).
55230         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55231         (test_program_cmd): This.
55232         * elf/Makefile ($(objpfx)order.out): Run test with
55233         $(test-program-prefix).
55234         ($(objpfx)order2.out): Likewise.
55235         ($(objpfx)tst-initorder.out): Likewise.
55236         ($(objpfx)tst-initorder2.out): Likewise.
55237         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55238         $(test-program-cmd).
55239         ($(objpfx)tst-array1-static.out): Likewise.
55240         ($(objpfx)tst-array2.out): Likewise.
55241         ($(objpfx)tst-array3.out): Likewise.
55242         ($(objpfx)tst-array4.out): Likewise.
55243         ($(objpfx)tst-array5.out): Likewise.
55244         ($(objpfx)tst-array5-static.out): Likewise.
55245         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55246         $(test-program-cmd).
55247         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55248         $(run-program-prefix) with $(test-program-prefix).
55249         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55250         (test_program_prefix): This.
55251         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55252         $(run-program-prefix) with $(test-program-prefix).
55253         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55254         (test_program_prefix): This.
55255         * iconvdata/tst-tables.sh: Likewise.
55256         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55257         $(run-program-prefix) with $(test-program-prefix).
55258         ($(objpfx)tst-translit.out): Likewise.
55259         ($(objpfx)tst-gettext2.out): Likewise.
55260         ($(objpfx)tst-gettext4.out): Likewise.
55261         ($(objpfx)tst-gettext6.out): Likewise.
55262         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55263         (test_program_prefix): This.
55264         * intl/tst-gettext2.sh: Likewise.
55265         * intl/tst-gettext4.sh  Likewise.
55266         * intl/tst-gettext6.sh: Likewise.
55267         * intl/tst-translit.sh: Likewise.
55268         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55269         with $(test-program-cmd).
55270         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55271         $(run-program-prefix) with $(test-program-prefix).
55272         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55273         (test_program_prefix): This.
55274         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55275         $(run-program-prefix) with $(test-program-prefix).
55276         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55277         (test_program_prefix): This.
55278         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55279         * posix/Makefile ($(objpfx)globtest.out): Replace
55280         $(run-via-rtld-prefix) and $(test-wrapper) with
55281         $(test-program-prefix) and $(test-via-rtld-prefix).
55282         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55283         $(test-program-prefix).
55284         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55285         $(host-test-program-cmd).
55286         (tst-spawn-ARGS): Likewise.
55287         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55288         $(test-program-prefix).
55289         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55290         (test_via_rtld_prefix): This.
55291         (test_wrapper): Renamed to ...
55292         (test_program_prefix): This.
55293         (run_program_prefix): Replaced by test_program_prefix.
55294         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55295         (test_program_prefix): This.
55296         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55297         with $(host-test-program-cmd).
55298         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55299         $(run-program-prefix) with $(test-program-prefix).
55300         ($(objpfx)tst-printf.out): Likewise.
55301         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55302         $(test-program-cmd).
55303         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55304         (test_program_prefix): This.
55305         * stdio-common/tst-unbputc.sh: Likewise.
55306         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55307         $(run-program-prefix) with $(test-program-prefix).
55308         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55309         (test_program_prefix): This.
55310         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55311         $(built-program-cmd) with $(test-program-cmd).
55313 2013-01-11  Andreas Jaeger  <aj@suse.de>
55315         [BZ #15003]
55316         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55317         value. Sync with Linux 3.7.
55319 2013-01-10  David S. Miller  <davem@davemloft.net>
55321         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55322         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55323         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55325 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55327         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55328         never set.
55329         * configure: Regenerated.
55331 2013-01-10  David S. Miller  <davem@davemloft.net>
55333         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55334         sparc V9 rather than using V8 code.
55335         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55336         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55338 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55340         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55341         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55342         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55343         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55344         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55345         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55346         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55347         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55348         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55349         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55350         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55351         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55352         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55353         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55354         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55355         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55356         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55357         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55358         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55359         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55360         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55361         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55362         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55363         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55364         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55365         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55366         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55368 2013-01-10  David S. Miller  <davem@davemloft.net>
55370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55372 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55374         * posix/Makefile (tests-static): New variable.
55375         (tests): Add $(tests-static).
55376         (tst-exec-static-ARGS): New variable.
55377         (tst-spawn-static-ARGS): Likewise.
55378         * posix/tst-exec-static.c: New file.
55379         * posix/tst-spawn-static.c: Likewise.
55380         * posix/tst-exec.c: Support run directly.
55381         * posix/tst-spawn.c: Likewise.
55383 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55385         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55386         long.
55387         * math/bits/mathcalls.h (llrint): Likewise.
55388         (llround): Likewise.
55389         * stdlib/stdlib.h (struct drand48_data): Likewise.
55390         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55391         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55392         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55393         Likewise.
55394         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55395         Likewise.
55396         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55397         (elf_greg_t): Likewise.
55398         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55399         (__jmp_buf): Likewise.
55400         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55401         definitions.
55402         (llrint): Likewise, for all definitions.
55403         (llrintl): Likewise.
55405         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55406         Remove [__GNUC__] condition.
55407         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55408         condition to just [__USE_ISOC99].
55409         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55411 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55413         [BZ #14200]
55414         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55415         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55416         defined.
55417         (_POSIX_V6_ILP32_OFF32): Likewise.
55418         (_XBS5_ILP32_OFF32): Likewise.
55419         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55420         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55422 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55424         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55426         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55427         doubles __mpexp_twomm1.  Adjust usage.
55428         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55429         Remove.
55431 2013-01-10  Andreas Schwab  <schwab@suse.de>
55433         [BZ #14964]
55434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55435         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55437 2013-01-09  David S. Miller  <davem@davemloft.net>
55439         [BZ #15003]
55440         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55441         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55442         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55443         (TCP_FASTOPEN): Define.
55444         (tcp_repair_opt): New structure.
55445         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55446         enum values.
55447         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55448         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55449         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55450         (tcp_cookie_transactions): New structure.
55452 2013-01-09  Anton Blanchard  <anton@samba.org>
55454         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55455         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55456         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55457         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55459 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55461         * include/features.h (__USE_ANSI): Remove.
55463 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55465         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55467         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55469 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55471         * sysdeps/s390/fpu/libm-test-ulps: Update.
55473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55475         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55476         (__acr): Likewise.
55477         (__cpy): Likewise.
55478         (norm): Likewise.
55479         (denorm): Likewise.
55480         (__mp_dbl): Likewise.
55481         (__dbl_mp): Likewise.
55482         (add_magnitudes): Likewise.
55483         (sub_magnitudes): Likewise.
55484         (__add): Likewise.
55485         (__sub): Likewise.
55486         (__mul): Likewise.
55487         (__inv): Likewise.
55488         (__dvd): Likewise.
55489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55490         (__acr): Likewise.
55491         (__cpy): Likewise.
55492         (norm): Likewise.
55493         (denorm): Likewise.
55494         (__mp_dbl): Likewise.
55495         (__dbl_mp): Likewise.
55496         (add_magnitudes): Likewise.
55497         (sub_magnitudes): Likewise.
55498         (__add): Likewise.
55499         (__sub): Likewise.
55500         (__mul): Likewise.
55501         (__inv): Likewise.
55502         (__dvd): Likewise.
55503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55504         (__acr): Likewise.
55505         (__cpy): Likewise.
55506         (norm): Likewise.
55507         (denorm): Likewise.
55508         (__mp_dbl): Likewise.
55509         (__dbl_mp): Likewise.
55510         (add_magnitudes): Likewise.
55511         (sub_magnitudes): Likewise.
55512         (__add): Likewise.
55513         (__sub): Likewise.
55514         (__mul): Likewise.
55515         (__inv): Likewise.
55516         (__dvd): Likewise.
55518 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55520         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55521         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55522         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55523         2 && __USE_EXTERN_INLINES]: Likewise.
55525 2013-01-08  Andreas Jaeger  <aj@suse.de>
55527         [BZ# 14985]
55528         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55529         Remove.
55530         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55531         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55533 2013-01-07  Anton Blanchard  <anton@samba.org>
55535         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55536         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55537         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55538         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55539         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55540         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55541         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55542         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55543         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55544         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55545         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55546         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55547         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55548         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55549         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55550         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55551         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55552         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55553         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55554         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55555         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55556         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55557         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55558         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55559         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55560         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55561         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55562         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55563         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55564         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55565         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55568         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55569         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55570         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55571         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55572         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55573         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55574         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55575         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55576         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55577         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55579 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55581         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55582         (__MALLOC_PMT): Likewise.
55583         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55584         [__GNUC__], only on [_LIBC].
55585         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55586         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55587         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55588         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55589         forward declaration.
55590         (realloc_hook_ini): Likewise.
55591         (memalign_hook_ini): Likewise.
55592         (__libc_memalign): Do not use __MALLOC_PMT in variable
55593         declaration.
55594         (__libc_valloc): Likewise.
55595         (__libc_pvalloc): Likewise.
55596         (__libc_calloc): Likewise.
55597         (__posix_memalign): Likewise.
55599         [BZ #14996]
55600         * math/s_casinh.c: Include <float.h>.
55601         (__casinh): Do not do computation with squaring and square root
55602         for large arguments.
55603         * math/s_casinhf.c: Include <float.h>.
55604         (__casinhf): Do not do computation with squaring and square root
55605         for large arguments.
55606         * math/s_casinhl.c: Include <float.h>.
55607         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55608         (__casinhl): Do not do computation with squaring and square root
55609         for large arguments.
55610         * math/libm-test.inc (casin_test): Add more tests.
55611         (casinh_test): Likewise.
55612         * sysdeps/i386/fpu/libm-test-ulps: Update.
55613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55615 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55617         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55618         (__x86_64_raw_data_cache_size): Likewise.
55619         (__x86_64_data_cache_size_half): Likewise.
55620         (__x86_64_raw_data_cache_size_half): Likewise.
55621         (__x86_64_shared_cache_size): Likewise.
55622         (__x86_64_raw_shared_cache_size): Likewise.
55623         (__x86_64_shared_cache_size_half): Likewise.
55624         (__x86_64_raw_shared_cache_size_half): Likewise.
55625         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55626         to ...
55627         (__x86_data_cache_size): This.
55628         (__x86_64_raw_data_cache_size): Renamed to ...
55629         (__x86_raw_data_cache_size): This.
55630         (__x86_64_data_cache_size_half): Renamed to ...
55631         (__x86_data_cache_size_half): This.
55632         (__x86_64_raw_data_cache_size_half): Renamed to ...
55633         (__x86_raw_data_cache_size_half): This.
55634         (__x86_64_shared_cache_size): Renamed to ...
55635         (__x86_shared_cache_size): This.
55636         (__x86_64_raw_shared_cache_size): Renamed to ...
55637         (__x86_raw_shared_cache_size): This.
55638         (__x86_64_shared_cache_size_half): Renamed to ...
55639         (__x86_shared_cache_size_half): This.
55640         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55641         (__x86_raw_shared_cache_size_half): This.
55642         * sysdeps/x86_64/memcpy.S: Updated.
55643         * sysdeps/x86_64/memset.S: Likewise.
55644         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55645         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55646         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55648 2013-01-04  David S. Miller  <davem@davemloft.net>
55650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55652 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55654         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55655         1 to avoid redefinition warning.
55656         (__USE_GNU): Don't define.
55657         (init_signaling_nan): Protoize.
55659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55661 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55663         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55665         (__cpymn): Likewise.
55666         (norm): Remove commented code.
55667         (denorm): Likewise.
55668         (__mp_dbl): Likewise.
55669         (__inv): Likewise.
55670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55671         (__cpymn): Likewise.
55672         (norm): Remove commented code.
55673         (denorm): Likewise.
55674         (__mp_dbl): Likewise.
55675         (__inv): Likewise.
55677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55678         mp_no value for 1.0 and 2.0.
55679         (norm): Use RADIXI instead of radixi.d.
55680         (denorm): Likewise.
55681         (__mul): Use 0.0 instead of zero.d.
55682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55683         mp_no value for 1.0 and 2.0.
55684         (norm): Use RADIXI instead of radixi.d.
55685         (denorm): Likewise.
55686         (__mul): Use 0.0 instead of zero.d.
55688 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55690         [BZ #14994]
55691         * math/s_casinh.c (__casinh): Reduce finite argument to first
55692         quadrant then set signs of results at the end.
55693         * math/s_casinhf.c (__casinhf): Likewise.
55694         * math/s_casinhl.c (__casinhl): Likewise.
55695         * math/libm-test.inc (casin_test): Add more tests.
55696         (casinh_test): Likewise.
55697         * sysdeps/i386/fpu/libm-test-ulps: Update.
55698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55700 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55702         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55704         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55706         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55707         declarations.
55708         (denorm): Likewise.
55709         (__mp_dbl): Likewise.
55710         (__inv): Likewise.
55712         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55713         and adjust the header comment.
55715         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55716         variable name from declaration.
55718 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55720         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55721         Initialize COMMON_CPUID_INDEX_7 element.
55722         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55723         (CPUID_RTM): Likewise.
55724         (HAS_RTM): Likewise.
55725         (COMMON_CPUID_INDEX_7): New enum.
55727 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55729         [BZ #14981]
55730         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55731         size is zero, record memory as freed.
55733 2013-01-03  Andreas Jaeger  <aj@suse.de>
55735         * po/ia.po: Add new Interlingua translation.
55737 2012-01-03  Allan McRae  <allan@archlinux.org>
55739         * locale/programs/localedef.c: Fix description of '--posix' flag.
55741 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55743         * NEWS: Update dates in second copyright notice.
55744         * README: Update copyright dates in example.
55745         * manual/libc.texinfo: Update copyright dates.
55746         * scripts/test-installation.pl: Update copyright date in --version
55747         output.
55749         * hurd/ctty-input.c: Fix copyright notice formatting.
55750         * hurd/ctty-output.c: Likewise.
55751         * hurd/dtable.c: Likewise.
55752         * hurd/hurd-raise.c: Likewise.
55753         * hurd/hurdprio.c: Likewise.
55754         * hurd/msgportdemux.c: Likewise.
55755         * misc/sys/file.h: Likewise.
55756         * misc/sys/ioctl.h: Likewise.
55757         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55758         * sysdeps/mach/hurd/chdir.c: Likewise.
55759         * sysdeps/mach/hurd/fchdir.c: Likewise.
55760         * sysdeps/mach/hurd/rename.c: Likewise.
55761         * sysdeps/mach/hurd/rmdir.c: Likewise.
55762         * sysdeps/mach/hurd/seekdir.c: Likewise.
55763         * sysdeps/mach/hurd/setsid.c: Likewise.
55764         * sysdeps/posix/wait3.c: Likewise.
55766         * All files with FSF copyright notices: Update copyright dates
55767         using scripts/update-copyrights.
55768         * intl/plural.c: Regenerated.
55769         * locale/programs/charmap-kw.h: Likewise.
55770         * locale/programs/locfile-kw.h: Likewise.
55772 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55774         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55775         four values.
55777         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55778         calculation loop and add branch prediction.
55780         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55781         check access beyond bounds of m1np.
55783         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55784         MPTWO.
55785         (__inv): Remove local variable MPTWO to use the global
55786         constant.
55787         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55788         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55789         variable MPTWO.
55790         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55791         MP3HALFS static const.
55793 2013-01-01  David S. Miller  <davem@davemloft.net>
55795         * po/ca.po: Update from translation team.
55797 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
55799         * scripts/update-copyrights: New file.
55800         * Makeconfig: Reformat copyright notice.
55801         * ctype/ctype.h: Likewise.
55802         * debug/swprintf_chk.c: Likewise.
55803         * elf/dl-cache.c: Likewise.
55804         * elf/dl-debug.c: Likewise.
55805         * elf/dl-object.c: Likewise.
55806         * grp/initgroups.c: Likewise.
55807         * hurd/Makefile: Likewise.
55808         * hurd/hurd/signal.h: Likewise.
55809         * hurd/hurdfault.c: Likewise.
55810         * hurd/hurdioctl.c: Likewise.
55811         * hurd/hurdlookup.c: Likewise.
55812         * hurd/intr-msg.c: Likewise.
55813         * iconv/gconv_open.c: Likewise.
55814         * libio/swprintf.c: Likewise.
55815         * locale/lc-ctype.c: Likewise.
55816         * locale/nl_langinfo.c: Likewise.
55817         * mach/Machrules: Likewise.
55818         * mach/Makefile: Likewise.
55819         * malloc/obstack.h: Likewise.
55820         * manual/Makefile: Likewise.
55821         * manual/tsort.awk: Likewise.
55822         * misc/bits/stab.def: Likewise.
55823         * nis/nis_print_group_entry.c: Likewise.
55824         * nis/nis_table.c: Likewise.
55825         * nis/nss_compat/compat-pwd.c: Likewise.
55826         * nis/nss_compat/compat-spwd.c: Likewise.
55827         * po/Makefile: Likewise.
55828         * posix/fnmatch.c: Likewise.
55829         * posix/regex.h: Likewise.
55830         * resolv/Makefile: Likewise.
55831         * resolv/nss_dns/dns-network.c: Likewise.
55832         * resolv/res_hconf.c: Likewise.
55833         * scripts/gen-sorted.awk: Likewise.
55834         * soft-fp/soft-fp.h: Likewise.
55835         * stdio-common/printf.h: Likewise.
55836         * stdlib/monetary.h: Likewise.
55837         * stdlib/random.c: Likewise.
55838         * stdlib/random_r.c: Likewise.
55839         * sysdeps/generic/Makefile: Likewise.
55840         * sysdeps/gnu/Makefile: Likewise.
55841         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55842         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55843         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55844         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55845         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55846         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55847         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55848         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55849         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55850         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55851         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55852         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55853         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55854         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55855         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55856         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55857         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55858         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55859         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55860         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55861         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55862         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55863         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55864         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55865         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55866         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55867         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55868         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55869         * sysdeps/mach/hurd/errnos.awk: Likewise.
55870         * sysdeps/mach/hurd/fork.c: Likewise.
55871         * sysdeps/mach/hurd/getcwd.c: Likewise.
55872         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55873         * sysdeps/mach/hurd/mmap.c: Likewise.
55874         * sysdeps/mach/hurd/utimes.c: Likewise.
55875         * sysdeps/mach/hurd/xmknod.c: Likewise.
55876         * sysdeps/posix/profil.c: Likewise.
55877         * sysdeps/posix/readdir_r.c: Likewise.
55878         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55879         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55880         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55881         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55883         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55884         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55885         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55887         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55888         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55889         * sysdeps/pthread/lio_listio.c: Likewise.
55890         * sysdeps/sparc/dl-procinfo.h: Likewise.
55891         * sysdeps/unix/i386/sysdep.S: Likewise.
55892         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55893         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55894         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55895         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55897         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55898         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55899         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55900         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55901         * sysdeps/wordsize-32/divdi3.c: Likewise.
55902         * time/sys/time.h: Likewise.
55903         * wcsmbs/Makefile: Likewise.
55905 2013-01-01  David S. Miller  <davem@davemloft.net>
55907         * po/fr.po: Update from translation team.
55909         * catgets/gencat.c: Update copyright year.
55910         * csu/version.c: Likewise.
55911         * debug/catchsegv.sh: Likewise.
55912         * debug/pcprofiledump.c: Likewise.
55913         * debug/xtrace.sh: Likewise.
55914         * elf/ldconfig.c: Likewise.
55915         * elf/ldd.bash.in: Likewise.
55916         * elf/pldd.c: Likewise.
55917         * elf/sotruss.ksh: Likewise.
55918         * elf/sprof.c: Likewise.
55919         * iconv/iconv_prog.c: Likewise.
55920         * iconv/iconvconfig.c: Likewise.
55921         * locale/programs/locale.c: Likewise.
55922         * locale/programs/localedef.c: Likewise.
55923         * login/programs/pt_chown.c: Likewise.
55924         * malloc/memusage.sh: Likewise.
55925         * malloc/memusagestat.c: Likewise.
55926         * malloc/mtrace.pl: Likewise.
55927         * nscd/nscd.c: Likewise.
55928         * nss/getent.c: Likewise.
55929         * nss/makedb.c: Likewise.
55930         * posix/getconf.c: Likewise.
55932 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55934         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55935         numbers.
55937 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55939         * math/bits/mathcalls.h (modf): Use __nonnull.
55941 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55943         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55944         (split): Use macro CN instead of the bare value.
55945         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55946         could be used.
55947         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55948         instead of the bare value.
55949         (power1): Likewise.
55951 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55953         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55954         __ATAN_TWOM.
55955         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55957         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55958         their values.
55959         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55960         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55961         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55962         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55964 2012-12-28  Andreas Jaeger  <aj@suse.de>
55966         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55967         values are from Linux 3.7.
55969         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55970         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55972 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55974         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55975         TRUE case.
55977         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55978         (norm): Likewise.
55979         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55980         variables with preprocessor constants.
55981         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55982         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55983         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55985 2012-12-27  Bruno Haible  <bruno@clisp.org>
55987         [BZ #14317]
55988         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55989         only if needed.
55991 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55993         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55994         and use variable directly.
55995         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55997         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55998         MPONE.
55999         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56000         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56001         variable MPONE.
56002         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56003         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56004         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56005         include directive.  Remove local variable MPONE.
56006         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56007         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56008         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56010 2012-12-25  David S. Miller  <davem@davemloft.net>
56012         * version.h (RELEASE): Set to "development".
56013         (VERSION): Set to "2.17.90".
56014         * NEWS: Add 2.18 section.
56016 2012-12-21  David S. Miller  <davem@davemloft.net>
56018         * po/hr.po: Update from translation team.
56020 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56022         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56024 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56026         * NEWS:  Mention new memcpy for MIPS.
56028 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56030         * manual/contrib.texi (Contributors): Spelling correction.
56032 2012-12-15  David S. Miller  <davem@davemloft.net>
56034         * po/ru.po: Update from translation team.
56036 2012-12-13  David S. Miller  <davem@davemloft.net>
56038         * NEWS: Mention IFUNC testsuite enhancements.
56040         * po/pl.po: Update from translation team.
56041         * po/bg.po: Likewise.
56043         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56044         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56046 2012-12-11  David S. Miller  <davem@davemloft.net>
56048         * po/sv.po: Update from translation team.
56050         * po/vi.po: Update from translation team.
56052         * po/cs.po: Update from translation team.
56054         * po/de.po: Update from translation team.
56055         * po/eo.po: Likewise.
56056         * po/nl.po: Likewise.
56058 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56060         [BZ #14246]
56061         * manual/argp.texi (Argp Helper Functions): Move node to follow
56062         Argp Parsing State.
56064         [BZ #14872]
56065         * manual/conf.texi (Limits on File System Capacity): Mention if
56066         terminating null is included in the max size.
56068 2012-12-10  Andreas Jaeger  <aj@suse.de>
56070         * po/cs.po: Update from translation team.
56072 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56074         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56075         void pointer and cast to uintptr_t.
56076         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56077         path.
56078         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56079         * sysdeps/s390/s390-64/memset.S: Likewise.
56081 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56083         [BZ #14833]
56084         * menual/message.texi (Message Translation): Fix typos.
56085         (Helper programs for gettext): Likewise.
56087 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56089         [BZ #14898]
56090         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56091         Change to -1.
56093 2012-12-07  David S. Miller  <davem@davemloft.net>
56095         * po/libc.pot: Update.
56097 2012-12-07  Richard Henderson  <rth@redhat.com>
56099         [BZ #10114]
56100         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56101         normal/normal case to before the switch.
56102         (_FP_DIV): Likewise.
56104 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56105             Mike Frysinger  <vapier@gentoo.org>
56107         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56108         check for __NR_fadvise64_64.
56110 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56112         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56113         0, not just to plain "0" as a statement.
56114         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56115         with cw.
56117 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56119         * NEWS: Use sourceware.org in Bugzilla URL.
56121 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56124         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56126         * stdio-common/tst-put-error.c (do_test): Add newline to the
56127         padded test to ensure flush.
56129 2012-12-05  Jeff Law  <law@redhat.com>
56131         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56133 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56135         * README: Don't refer to ports add-on as distributed separately.
56136         Mention AArch64 in list of systems supported in the ports add-on.
56138         * LICENSES: Add more non-FSF copyright and license notices.
56140         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56141         ((unused)).
56143         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56145         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56146         10000 as width of padded output.
56148 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56150         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56152         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56153         variable LX with __attribute__ ((unused)).
56154         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56155         Likewise.
56156         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56157         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56158         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56159         with __attribute__ ((unused)).
56161 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56163         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56165 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56167         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56168         (CFLAGS-nldbl-acos.c): New variable.
56169         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56170         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56171         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56172         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56173         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56174         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56175         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56176         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56177         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56178         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56179         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56180         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56181         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56182         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56183         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56184         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56185         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56186         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56187         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56188         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56189         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56190         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56191         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56192         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56193         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56194         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56195         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56196         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56197         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56198         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56199         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56200         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56201         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56202         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56203         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56204         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56205         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56206         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56207         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56208         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56209         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56210         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56211         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56212         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56213         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56214         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56215         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56216         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56217         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56218         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56219         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56220         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56221         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56222         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56223         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56224         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56225         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56226         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56227         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56228         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56229         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56230         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56231         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56232         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56233         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56234         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56235         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56236         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56237         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56238         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56239         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56240         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56241         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56242         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56243         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56244         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56245         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56246         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56247         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56248         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56249         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56250         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56251         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56252         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56253         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56254         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56255         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56256         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56257         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56258         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56259         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56260         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56261         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56262         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56263         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56264         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56265         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56268         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56270         [BZ #14914]
56271         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56272         whole low double instead of just low 47 bits when splitting values
56273         into two parts.
56275 2012-12-03  Allan McRae  <allan@archlinux.org>
56277         * manual/stdio.texi (Predefined Printf Handlers): Remove
56278         @hsep and @vsep usage.
56280 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56282         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56283         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56285 2012-12-03  Jeff Law  <law@redhat.com>
56287         * time/sys/time.h (settimeofday): Do not mark TV argument
56288         as __nonnull.
56290 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56292         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56293         when currently writing and seek to current position when not.
56294         * libio/Makefile (tests): Remove bug-fclose1.
56295         * libio/bug-fclose1.c: Delete.
56297 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56299         * manual/arith.texi (feenableexcept): Fix typo.
56300         (fedisableexcept): Likewise.
56302 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56304         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56305         second, differently-typed declaration, rather than a cast.
56307 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56309         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56310         * include/rpc/svc.h: ... here.
56312 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56314         [BZ #13013]
56315         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56316         depending n and resplen2 to catch cases where answer
56317         equals answerp2.
56319 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56321         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56322         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56324 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56326         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56328 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56330         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56332 2012-11-28  Jeff Law  <law@redhat.com>
56334         [BZ #13761]
56335         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56336         dataset_temporary.  Track alloca usage into alloca_used.
56337         If dataset is large allocate and release it via malloc/free.
56339 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56341         [BZ #14197]
56342         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56344 2012-11-28  David S. Miller  <davem@davemloft.net>
56346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56348 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56350         [BZ #14803]
56351         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56352         of pi/2 rounded to nearest to 64 bits.
56353         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56354         nearest to 64 bits.
56355         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56356         bits.
56358 2012-11-28  Jeff Law <law@redhat.com>
56359             Martin Osvald <mosvald@redhat.com>
56361         [BZ #14889]
56362         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56363         * sunrpc/svc.c: Include time.h.
56364         (__svc_accept_failed): New function.
56365         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56366         any reason other than EINTR, call __svc_accept_failed.
56367         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56368         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56370 2012-11-28  Andreas Schwab  <schwab@suse.de>
56372         * scripts/abilist.awk: Also handle indirect functions in .opd
56373         section.
56375 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56377         [BZ #13881]
56378         * sysdeps/x86/fpu/powl_helper.c: New file.
56379         * sysdeps/x86/fpu/Makefile: Likewise.
56380         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56381         (p3): New object.
56382         (__ieee754_powl): Use __powl_helper for finite arguments except
56383         integer exponents below 8.
56384         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56385         (p3): New object.
56386         (__ieee754_powl): Use __powl_helper for finite arguments except
56387         integer exponents below 8.
56388         * math/libm-test.inc (pow_test): Add more tests and enable some
56389         previously disabled tests.
56390         * sysdeps/i386/fpu/libm-test-ulps: Update.
56391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56393 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56394             Carlos O'Donell  <carlos_odonell@mentor.com>
56396         * nss/makedb.c (is_prime): Assert that input is odd and greater
56397         than 4.  Note that fact in a comment too.
56398         (next_prime): Add 4 to input.
56400 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56402         [BZ #11741]
56403         * libio/Makefile (tests): Add test case tst-fwrite-error.
56404         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56405         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56406         * libio/tst-fwrite-error.c: New test case.
56408 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56410         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56411         before casting to void *.
56412         * include/libc-internal.h (__pointer_type): New macro.
56413         (__integer_if_pointer_type_sub): Likewise.
56414         (__integer_if_pointer_type): Likewise.
56415         (cast_to_integer): Likewise.
56416         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56417         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56418         before casting to atomic64_t.
56419         (atomic_exchange_acq): Likewise.
56420         (__arch_exchange_and_add_body): Likewise.
56421         (__arch_add_body): Likewise.
56422         (atomic_add_negative): Likewise.
56423         (atomic_add_zero): Likewise.
56425 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56427         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56428         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56429         (add_fdes): Likewise.
56430         (linear_search_fdes): Likewise.
56431         (binary_search_unencoded_fdes): Likewise.
56433 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56435         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56437 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56439         * configure.in: Autodetect C++ header directories.
56440         * configure: Regenerated.
56442 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56444         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56446 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56450 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56452         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56453         LDBL_MANT_DIG == 106]: Disable some tests.
56454         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56455         Likewise.
56456         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56457         Likewise.
56459         [BZ #14871]
56460         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56461         input for small inputs.  Return +/- pi/2 for large inputs.
56462         * math/libm-test.inc (atan_test): Add more tests.
56464         * sysdeps/generic/unwind-dw2-fde-glibc.c
56465         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56466         __attribute__ ((unused)).
56468         [BZ #14645]
56469         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56470         x * y if x and y are nonzero and z is zero.
56472         [BZ #14811]
56473         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56474         nonzero exponents with absolute value below 0x1p-117 to +/-
56475         0x1p-117.
56477         [BZ #14869]
56478         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56479         up arguments below 2**-450, not just those below 2**-500.
56480         * math/libm-test.inc (hypot_test): Add another test.
56482         [BZ #14868]
56483         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56484         Return a+b for ratio over 2**120, not 2**60.
56485         * math/libm-test.inc (hypot_test): Add another test.
56487         * math/libm-test.inc (clog_test): Use
56488         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56489         (clog10_test): Likewise.
56491         [BZ #6778]
56492         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56494 2012-11-22  Andreas Schwab  <schwab@suse.de>
56496         * sysdeps/i386/fpu/libm-test-ulps: Update.
56498 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56500         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56501         printf output with newline.
56503 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56505         [BZ #14865]
56506         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56507         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56508         -z nodlopen, -z initfirst and -z execstack support.
56509         * configure: Regenerated.
56511         * elf/elf.h (DF_1_NODIRECT): New macro.
56512         (DF_1_IGNMULDEF): Likewise.
56513         (DF_1_NOKSYMS): Likewise.
56514         (DF_1_NOHDR): Likewise.
56515         (DF_1_EDITED): Likewise.
56516         (DF_1_NORELOC): Likewise.
56517         (DF_1_SYMINTPOSE): Likewise.
56518         (DF_1_GLOBAUDIT): Likewise.
56519         (DF_1_SINGLETON): Likewise.
56520         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56521         DT_1_SUPPORTED_MASK bits.
56522         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56524 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56526         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56528 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56530         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56531         macro.
56533         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56534         (sendmmsg): Move declarations...
56535         * socket/sys/socket.h: ... here.
56536         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56537         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56538         include it from...
56539         * socket/recvmmsg.c: ... this new file.
56540         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56541         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56542         definition of __sendmmsg hidden.
56543         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56544         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56545         Move ENOSYS stub into and include it from...
56546         * socket/sendmmsg.c: ... this new file.
56547         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56548         (sysdep_routines): Move recvmmsg and sendmmsg...
56549         * socket/Makefile (routines): ... here.
56550         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56551         (GLIBC_PRIVATE): Add __sendmmsg.
56552         * include/sys/socket.h (__sendmmsg): Add declarations.
56553         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56554         sendmmsg.
56556 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56558         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56559         variable I1 with __attribute__ ((unused)).
56560         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56562 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56564         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56565         DUMMY variables with __attribute__ ((unused)).
56567         * bits/byteswap.h: Include <bits/types.h>.
56568         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56570 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56572         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56573         string_t.  Do not manually set errno.
56574         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56575         length with __strnlen.  Make sure to both set errno and return it on
56576         failure.
56578 2012-11-19  David S. Miller  <davem@davemloft.net>
56580         With help from Joseph Myers.
56581         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56582         very large arguments properly.
56583         * math/libm-test.inc (atan_test): New tests.
56584         (atan2_test): New tests.
56585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56588 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56590         [BZ #14856]
56591         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56592         Define to 3.
56594         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56595         [POSIX] (EADDRNOTAVAIL): Likewise.
56596         [POSIX] (EAFNOSUPPORT): Likewise.
56597         [POSIX] (EALREADY): Likewise.
56598         [POSIX] (ECONNABORTED): Likewise.
56599         [POSIX] (ECONNREFUSED): Likewise.
56600         [POSIX] (ECONNRESET): Likewise.
56601         [POSIX] (EDESTADDRREQ): Likewise.
56602         [POSIX] (EDQUOT): Likewise.
56603         [POSIX] (EHOSTUNREACH): Likewise.
56604         [POSIX] (EIDRM): Likewise.
56605         [POSIX] (EISCONN): Likewise.
56606         [POSIX] (ELOOP): Likewise.
56607         [POSIX] (EMULTIHOP): Likewise.
56608         [POSIX] (ENETDOWN): Likewise.
56609         [POSIX] (ENETUNREACH): Likewise.
56610         [POSIX] (ENOBUFS): Likewise.
56611         [POSIX] (ENODATA): Likewise.
56612         [POSIX] (ENOLINK): Likewise.
56613         [POSIX] (ENOMSG): Likewise.
56614         [POSIX] (ENOPROTOOPT): Likewise.
56615         [POSIX] (ENOSR): Likewise.
56616         [POSIX] (ENOSTR): Likewise.
56617         [POSIX] (ENOTCONN): Likewise.
56618         [POSIX] (ENOTSOCK): Likewise.
56619         [POSIX] (EOPNOTSUPP): Likewise.
56620         [POSIX] (EOVERFLOW): Likewise.
56621         [POSIX] (EPROTO): Likewise.
56622         [POSIX] (EPROTONOSUPPORT): Likewise.
56623         [POSIX] (EPROTOTYPE): Likewise.
56624         [POSIX] (ESTALE): Likewise.
56625         [POSIX] (ETIME): Likewise.
56626         [POSIX] (ETXTBSY): Likewise.
56627         [POSIX] (EWOULDBLOCK): Likewise.
56628         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56629         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56630         [POSIX] (SEEK_CUR): Likewise.
56631         [POSIX] (SEEK_END): Likewise.
56632         [POSIX || UNIX98] (mode_t): Do not require.
56633         [POSIX] (off_t): Likewise.
56634         [POSIX] (pid_t): Likewise.
56635         [POSIX] (sys/stat.h): Do not allow header.
56636         [POSIX] (unistd.h): Likewise.
56637         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56638         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56639         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56640         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56641         require.
56642         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56643         sigevent): Specify elements.
56644         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56645         entry.
56646         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56647         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56649         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56650         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56651         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56652         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56653         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56654         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56655         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56656         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56657         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56658         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56659         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56660         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56661         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56662         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56663         Likewise.
56664         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56665         Likewise.
56666         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56667         Likewise.
56668         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56669         Likewise.
56670         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56671         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56672         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56673         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56674         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56675         Specify lower bound on value.
56676         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56677         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56678         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56679         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56680         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56681         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56682         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56683         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56684         value.
56685         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56686         as optional.
56687         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56688         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56689         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56690         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56691         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56692         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56693         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56694         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56695         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56696         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56697         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56698         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56699         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56700         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56701         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56702         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56703         entry.
56704         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56705         optional.
56706         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56707         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56708         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56709         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56710         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56711         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56712         Likewise.
56713         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56714         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56715         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56716         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56717         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56718         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56719         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56720         as optional.
56721         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56722         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56723         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56724         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56725         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56726         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56727         specify as optional.
56728         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56729         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56730         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56731         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56732         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56733         [XPG3] (NL_LANGMAX): Likewise.
56734         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56735         [POSIX || XPG3] (NL_NMAX): Likewise.
56736         [POSIX || XPG3] (NL_SETMAX): Likewise.
56737         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56738         [XPG3] (NZERO): Likewise.
56739         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56740         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56741         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56742         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56743         (REG_ERANGE): Expect.
56744         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56745         optional-constant.
56746         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56747         Use (void) in prototype.
56748         [POSIX] (*_t): Allow.
56749         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56750         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56751         (WRDE_BADVAL): Expect.
56753         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56754         expect.
56755         [XPG3 || XPG4] (O_RSYNC): Likewise.
56756         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56757         Likewise.
56758         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56759         [XPG3 || XPG4] (sigqueue): Likewise.
56760         [XPG3 || XPG4] (sigtimedwait): Likewise.
56761         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56762         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56763         [XPG3 || XPG4] (vsnprintf): Likewise.
56764         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56765         Likewise.
56766         [XPG3 || XPG4] (blksize_t): Likewise.
56767         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56768         Likewise.
56769         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56770         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56771         [XPG3 || XPG4] (struct itimerspec): Likewise.
56772         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56773         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56774         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56775         [XPG3 || XPG4] (clockid_t): Likewise.
56776         [XPG3 || XPG4] (timer_t): Likewise.
56777         [XPG3 || XPG4] (clock_getres): Likewise.
56778         [XPG3 || XPG4] (clock_gettime): Likewise.
56779         [XPG3 || XPG4] (clock_settime): Likewise.
56780         [XPG3 || XPG4] (nanosleep): Likewise.
56781         [XPG3 || XPG4] (timer_create): Likewise.
56782         [XPG3 || XPG4] (timer_delete): Likewise.
56783         [XPG3 || XPG4] (timer_gettime): Likewise.
56784         [XPG3 || XPG4] (timer_getoverrun): Likewise.
56785         [XPG3 || XPG4] (timer_settime): Likewise.
56786         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56787         [XPG3 || XPG4] (getlogin_r): Likewise.
56788         [XPG3 || XPG4] (pread): Likewise.
56789         [XPG3 || XPG4] (pthread_atfork): Likewise.
56790         [XPG3 || XPG4] (pwrite): Likewise.
56792         [BZ #14835]
56793         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56794         <bits/siginfo.h>.
56796 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56798         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56799         finalizing MALLSTREAM.
56801         * sysdeps/mach/hurd/syncfs.c: New file.
56803 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56805         [BZ #14719]
56806         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56807         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56808         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56809         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56810         (_nss_dns_gethostbyname4_r): Likewise.
56811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56812         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56814 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
56816         [BZ #13763]
56817         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56819 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
56821         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56822         * elf/cache.c (print_entry): Print ",AArch64" for
56823         FLAG_AARCH64_LIB64
56825         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56826         * elf/cache.c (print_entry): Print ",hard-float" for
56827         FLAG_ARM_LIBHF.
56829 2012-11-18  David S. Miller  <davem@davemloft.net>
56831         With help from Joseph Myers.
56832         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56833         cutoff to 2**-13.
56834         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56835         cutoff to 2**-25.
56836         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56837         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56838         small.
56839         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56840         * math/libm-test.inc (y0_test): New tests.
56841         (y1_test): New tests.
56842         * sysdeps/i386/fpu/libm-test-ulps: Update.
56843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56846 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56848         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56849         64-bit targets.
56850         * configure: Regenerated.
56852 2012-11-17  David S. Miller  <davem@davemloft.net>
56854         [BZ #14811]
56855         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56856         nonzero exponents with absolute value below 0x1p-128 to +/-
56857         0x1p-128.
56859 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56861         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56863         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56865         * posix/getconf-speclist.c: New file.
56866         * posix/posix-envs.def: Likewise.
56867         * posix/confstr.c (START_ENV_GROUP): New macro.
56868         (END_ENV_GROUP): Likewise.
56869         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56870         (KNOWN_PRESENT_ENV_STRING): Likewise.
56871         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56872         (UNKNOWN_ENVIRONMENT): Likewise.
56873         (confstr): Include posix-envs.def instead of handling
56874         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56875         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56876         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56877         (END_ENV_GROUP): Likewise.
56878         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56879         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56880         (UNKNOWN_ENVIRONMENT): Likewise.
56881         (__sysconf): Include posix-envs.def instead of handling associated
56882         cases directly here.
56883         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56884         preprocessing getconf-speclist.c rather than running getconf or
56885         generating empty file.
56887 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56889         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56891 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56893         [BZ #14672]
56894         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56896 2012-11-16  David S. Miller  <davem@davemloft.net>
56898         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56899         smaller than LDBL_EPSILON/2.0L, just return xm1.
56901 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56903         * elf/tst-array1.c (init): Set constructor priority to 1000.
56904         (fini): Set destructor priority to 1000.
56905         * elf/tst-array2dep.c: Likewise.
56907 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56909         [BZ #11741]
56910         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56911         (_IO_new_file_xsputn): Also return EOF if none of the input
56912         data was written when overflow failed.
56913         * libio/iopadn.c (_IO_padn): Likewise.
56914         * libio/iowpadn.c (_IO_wpadn): Likewise.
56915         * stdio-common/tst-put-error.c: Add copyright notice.
56916         (do_test): Add case for printing padded string.
56917         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56918         _IO_padn returned error.
56919         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56920         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56921         return EOF.
56923 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56925         * libio/libioP.h: Add comment note that the references to C++
56926         bits are now obsolete.
56928 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56930         * math/libm-test.inc (check_complex): Use asprintf.
56932 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56934         * debug/pcprofiledump.c (print_version): Update copyright year.
56935         * malloc/memusagestat.c (print_version): Likewise.
56937 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56939         [BZ #14831]
56940         * elf/Makefile (tests): Add tst-audit8.
56941         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56942         ($(objpfx)tst-audit8.out): New target.
56943         (tst-audit8-ENV): New variable.
56944         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56945         audit if l_reloc_result is NULL.
56946         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56947         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56948         * elf/tst-audit8.c: New file.
56950 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56952         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56953         * misc/Makefile (CFLAGS-select.c): Define.
56954         * posix/Makefile (CFLAGS-pause.c): Define.
56956 2012-11-13  David S. Miller  <davem@davemloft.net>
56958         * crypt/Makefile: Move test targets after toplevel Rules
56959         inclusion.  Grab any necessary sysdep routines when linking.
56960         * crypt/md5.c (md5_process_block): Remove define, we will always
56961         name it __md5_process_block.
56962         (md5_finish_ctx): Update md5_process_block call.
56963         (md5_stream): Likewise.
56964         (md5_process_bytes): Likewise.
56965         (md5_process_block): Rename to __md5_process_block and move to ...
56966         * crypt/md5-block.c: ... here.
56967         * crypt/sha256.c (sha256_process_block): Move to ...
56968         * crypt/sha256-block.c: ... here.
56969         * crypt/sha512.c (sha512_process_block): Move to ...
56970         * crypt/sha512-block.c: ... here.
56971         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56972         path.
56973         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56974         * sysdeps/sparc/sparc64/multiarch/Makefile
56975         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56976         crypt subdir.
56977         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56978         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56979         multiarch changes.
56980         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56981         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56982         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56983         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56984         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56985         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56986         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56987         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56988         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56989         file.
56990         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56991         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56992         file.
56993         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56995 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
56997         * timezone/tzselect.ksh: Update from tzcode git revision
56998         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56999         * timezone/zdump.c: Likewise.
57000         * timezone/zic.c: Likewise.
57001         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57002         in TZVERSION setting, not $(PKGVERSION).
57003         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57004         REPORT_BUGS_TO settings.
57006         [BZ #14838]
57007         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57008         macro.
57010 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57012         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57013         detection to immediately after _FP_ROUND().
57014         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57015         bits are 0.
57017 2012-11-11  David S. Miller  <davem@davemloft.net>
57019         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57020         inttypes.h
57021         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57022         __close rather than their public counterparts.
57024 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57026         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57027         file.
57028         [UNIX98] (sem_timedwait): Do not expect.
57029         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57030         [XPG4 || UNIX98] (sockatmark): Do not expect.
57031         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57032         (clock_getcpuclockid): Do not expect.
57033         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57034         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57035         Do not expect.
57036         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57037         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57038         [UNIX98] (vwscanf): Likewise.
57039         [UNIX98] (vswscanf): Likewise.
57041 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57043         * timezone/version.h: Remove file.
57044         * timezone/README: Do not refer to version.h.
57045         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57046         $(objpfx)version.h.
57047         ($(objpfx)zdump.o): Likewise.
57048         ($(objpfx)version.h): New target.
57050         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57051         2012i.
57052         * timezone/README: Don't mention modification to tzselect.ksh.
57053         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57054         work on unmodified tzselect.ksh.  Substitute version numbers in
57055         tzselect.ksh.
57057         * Makefile (format-me): Remove.
57058         (INSTALL): Adjust indentation.  Use commands directly instead of
57059         using $(format-me).
57061         * aclocal.m4 (ACX_PKGVERSION): New macro.
57062         (ACX_BUGURL): Likewise.
57063         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57064         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57065         (REPORT_BUGS_TO): Likewise.
57066         * configure: Regenerated.
57067         * config.h.in (PKGVERSION): New macro.
57068         (REPORT_BUGS_TO): Likewise.
57069         * config.make.in (PKGVERSION): New variable.
57070         (PKGVERSION_TEXI): Likewise.
57071         (REPORT_BUGS_TO): Likewise.
57072         (REPORT_BUGS_TEXI): Likewise.
57073         * Makefile (format-me): Use -I$(common-objpfx)manual.
57074         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57075         ($(common-objpfx)manual/%): New target.
57076         (manual/%): Remove target.
57077         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57078         (print_version): Use PKGVERSION.
57079         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57080         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57081         and REPORT_BUGS_TO.
57082         ($(objpfx)xtrace): Likewise.
57083         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57084         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57085         (print_version): Use PKGVERSION.
57086         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57087         (do_version): Use PKGVERSION.
57088         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57089         REPORT_BUGS_TO.
57090         (common-ldd-rewrite): Likewise.
57091         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57092         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57093         (print_version): Use PKGVERSION.
57094         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57095         * elf/pldd.c (argp_program_bug_address): Remove variable.
57096         (more_help): New function.
57097         (argp): Use more_help.
57098         (print_version): Use PKGVERSION.
57099         * elf/sln.c (main): Use PKGVERSION.
57100         (usage): Use REPORT_BUGS_TO.
57101         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57102         (top level): Use PKGVERSION.
57103         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57104         (print_version): Use PKGVERSION.
57105         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57106         (print_version): Use PKGVERSION.
57107         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57108         (print_version): Use PKGVERSION.
57109         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57110         (print_version): Use PKGVERSION.
57111         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57112         (print_version): Use PKGVERSION.
57113         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57114         (print_version): Use PKGVERSION.
57115         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57116         and BUGURL.
57117         ($(objpfx)memusage): Likewise.
57118         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57119         (do_version): Use PKGVERSION.
57120         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57121         (print_version): Use PKGVERSION.
57122         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57123         ($PKGVERSION): New variable.
57124         ($REPORT_BUGS_TO): Likewise.
57125         (usage): Use $REPORT_BUGS_TO.
57126         (top level): Use $PKGVERSION.
57127         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57128         ($(objpfx)pkgvers.texi): New rule.
57129         ($(objpfx)stamp-pkgvers): Likewise.
57130         * manual/install.texi: Include pkgvers.texi.
57131         (--with-pkgversion): Document new configure option.
57132         (--with-bugurl): Likewise.
57133         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57134         than necessarily for this particular distribution.  Use
57135         REPORT_BUGS_TO for where to report bugs.
57136         * INSTALL: Regenerated.
57137         * manual/libc.texinfo: Include pkgvers.texi.
57138         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57139         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57140         (print_version): Use PKGVERSION.
57141         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57142         (print_version): Use PKGVERSION.
57143         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57144         (print_version): Use PKGVERSION.
57145         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57146         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57147         macro.
57148         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57149         (print_version): Use PKGVERSION.
57150         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57151         (print_version): Use PKGVERSION.
57152         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57153         and PKGVERSION.
57155         * timezone/checktab.awk: Update from tzcode 2012i.
57156         * timezone/ialloc.c: Likewise.
57157         * timezone/private.h: Likewise.
57158         * timezone/scheck.c: Likewise.
57159         * timezone/tzfile.h: Likewise.
57160         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57161         (TZVERSION): Hardcode tzcode version number.
57162         * timezone/zdump.c: Update from tzcode 2012i.
57163         * timezone/zic.c: Likewise.
57164         * timezone/version.h: New file.
57165         * timezone/README: Describe version.h.  Update upstream location.
57167         [BZ #14824]
57168         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57169         (mktemp): Enable declaration.
57170         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57171         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57172         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57173         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57174         Likewise.
57175         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57176         Likewise.
57177         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57178         Likewise.
57179         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57180         Likewise.
57181         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57182         Likewise.
57183         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57184         Likewise.
57186         [BZ #14821]
57187         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57188         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57189         for copies of such integer values.
57190         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57191         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57193 2012-11-09  Andreas Jaeger  <aj@suse.de>
57195         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57196         definitions and declarations that are provided by
57197         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57199 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57201         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57202         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57203         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57204         definition.
57206 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57208         * elf/elf.h: Update comment before AArch64 relocations.
57210 2012-11-07  David S. Miller  <davem@davemloft.net>
57212         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57213         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57214         (__start_context): Declare.
57215         (__makecontext_ret): Delete.
57216         (__makecontext): Hook up __start_context instead of
57217         __makecontext_ret.
57218         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57219         (sysdep_routines): Add __start_context when in stdlib.
57221 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57223         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57224         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57225         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57226         hardcoded "nm".
57227         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57228         (READELF): New variable.  Use it instead of hardcoded "readelf".
57230 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57232         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57233         * sysdeps/x86/Makefile: Here.
57234         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57235         * sysdeps/x86/tst-xmmymm.sh: This.
57237 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57239         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57240         expectations.
57241         [UNIX98] (pthread_barrier_t): Do not expect.
57242         [UNIX98] (pthread_barrierattr_t): Likewise.
57243         [UNIX98] (pthread_spinlock_t): Likewise.
57244         [UNIX98] (pthread_barrier_destroy): Likewise.
57245         [UNIX98] (pthread_barrier_init): Likewise.
57246         [UNIX98] (pthread_barrier_wait): Likewise.
57247         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57248         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57249         [UNIX98] (pthread_barrierattr_init): Likewise.
57250         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57251         [UNIX98] (pthread_getcpuclockid): Likewise.
57252         [UNIX98] (pthread_mutex_timedlock): Likewise.
57253         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57254         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57255         [UNIX98] (pthread_sigmask): Likewise.
57256         [UNIX98] (pthread_spin_destroy): Likewise.
57257         [UNIX98] (pthread_spin_init): Likewise.
57258         [UNIX98] (pthread_spin_lock): Likewise.
57259         [UNIX98] (pthread_spin_trylock): Likewise.
57260         [UNIX98] (pthread_spin_unlock): Likewise.
57261         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57262         Do not expect.
57263         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57264         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57265         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57266         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57267         [XPG3 || XPG4] (pthread_key_t): Likewise.
57268         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57269         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57270         [XPG3 || XPG4] (pthread_once_t): Likewise.
57271         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57272         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57273         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57274         [XPG3 || XPG4] (pthread_t): Likewise.
57276         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57277         not expect.
57278         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57280         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57281         Change function return type to int.
57283         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57284         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57285         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57286         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57287         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57288         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57289         [!POSIX] (posix_madvise): Likewise.
57290         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57291         && !UNIX98].
57292         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57293         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57294         (mode_t): Likewise.
57295         (posix_mem_offset): Likewise.
57296         (posix_typed_mem_get_info): Likewise.
57297         (posix_typed_mem_open): Likewise.
57299         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57300         Change condition to [XOPEN2K8].
57302         * conform/conformtest.pl: Preprocess allow-header data with -x c
57303         instead of from stdin.
57304         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57305         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57306         [C99-based standards] (cerfc): Likewise.
57307         [C99-based standards] (cexp2): Likewise.
57308         [C99-based standards] (cexpm1): Likewise.
57309         [C99-based standards] (clog10): Likewise.
57310         [C99-based standards] (clog1p): Likewise.
57311         [C99-based standards] (clog2): Likewise.
57312         [C99-based standards] (clgamma): Likewise.
57313         [C99-based standards] (ctgamma): Likewise.
57314         [C99-based standards] (cerff): Likewise.
57315         [C99-based standards] (cerfcf): Likewise.
57316         [C99-based standards] (cexp2f): Likewise.
57317         [C99-based standards] (cexpm1f): Likewise.
57318         [C99-based standards] (clog10f): Likewise.
57319         [C99-based standards] (clog1pf): Likewise.
57320         [C99-based standards] (clog2f): Likewise.
57321         [C99-based standards] (clgammaf): Likewise.
57322         [C99-based standards] (ctgammaf): Likewise.
57323         [C99-based standards] (cerfl): Likewise.
57324         [C99-based standards] (cerfcl): Likewise.
57325         [C99-based standards] (cexp2l): Likewise.
57326         [C99-based standards] (cexpm1l): Likewise.
57327         [C99-based standards] (clog10l): Likewise.
57328         [C99-based standards] (clog1pl): Likewise.
57329         [C99-based standards] (clog2l): Likewise.
57330         [C99-based standards] (clgammal): Likewise.
57331         [C99-based standards] (ctgammal): Likewise.
57332         * conform/data/inttypes.h-data [C99-based standards]: Include
57333         stdint.h-data.  Remove all expectations for stdint.h contents.
57334         [C99-based standards] (PRI*): Do not allow.
57335         [C99-based standards] (SCN*): Likewise.
57336         [C99-based standards] (*_t): Likewise.
57337         [C99-based-standards] (PRId8): Expect macro.
57338         [C99-based-standards] (PRIi8): Likewise.
57339         [C99-based-standards] (PRIo8): Likewise.
57340         [C99-based-standards] (PRIu8): Likewise.
57341         [C99-based-standards] (PRIx8): Likewise.
57342         [C99-based-standards] (PRIX8): Likewise.
57343         [C99-based-standards] (SCNd8): Likewise.
57344         [C99-based-standards] (SCNi8): Likewise.
57345         [C99-based-standards] (SCNo8): Likewise.
57346         [C99-based-standards] (SCNu8): Likewise.
57347         [C99-based-standards] (SCNx8): Likewise.
57348         [C99-based-standards] (PRIdLEAST8): Likewise.
57349         [C99-based-standards] (PRIiLEAST8): Likewise.
57350         [C99-based-standards] (PRIoLEAST8): Likewise.
57351         [C99-based-standards] (PRIuLEAST8): Likewise.
57352         [C99-based-standards] (PRIxLEAST8): Likewise.
57353         [C99-based-standards] (PRIXLEAST8): Likewise.
57354         [C99-based-standards] (SCNdLEAST8): Likewise.
57355         [C99-based-standards] (SCNiLEAST8): Likewise.
57356         [C99-based-standards] (SCNoLEAST8): Likewise.
57357         [C99-based-standards] (SCNuLEAST8): Likewise.
57358         [C99-based-standards] (SCNxLEAST8): Likewise.
57359         [C99-based-standards] (PRIdFAST8): Likewise.
57360         [C99-based-standards] (PRIiFAST8): Likewise.
57361         [C99-based-standards] (PRIoFAST8): Likewise.
57362         [C99-based-standards] (PRIuFAST8): Likewise.
57363         [C99-based-standards] (PRIxFAST8): Likewise.
57364         [C99-based-standards] (PRIXFAST8): Likewise.
57365         [C99-based-standards] (SCNdFAST8): Likewise.
57366         [C99-based-standards] (SCNiFAST8): Likewise.
57367         [C99-based-standards] (SCNoFAST8): Likewise.
57368         [C99-based-standards] (SCNuFAST8): Likewise.
57369         [C99-based-standards] (SCNxFAST8): Likewise.
57370         [C99-based-standards] (PRId16): Likewise.
57371         [C99-based-standards] (PRIi16): Likewise.
57372         [C99-based-standards] (PRIo16): Likewise.
57373         [C99-based-standards] (PRIu16): Likewise.
57374         [C99-based-standards] (PRIx16): Likewise.
57375         [C99-based-standards] (PRIX16): Likewise.
57376         [C99-based-standards] (SCNd16): Likewise.
57377         [C99-based-standards] (SCNi16): Likewise.
57378         [C99-based-standards] (SCNo16): Likewise.
57379         [C99-based-standards] (SCNu16): Likewise.
57380         [C99-based-standards] (SCNx16): Likewise.
57381         [C99-based-standards] (PRIdLEAST16): Likewise.
57382         [C99-based-standards] (PRIiLEAST16): Likewise.
57383         [C99-based-standards] (PRIoLEAST16): Likewise.
57384         [C99-based-standards] (PRIuLEAST16): Likewise.
57385         [C99-based-standards] (PRIxLEAST16): Likewise.
57386         [C99-based-standards] (PRIXLEAST16): Likewise.
57387         [C99-based-standards] (SCNdLEAST16): Likewise.
57388         [C99-based-standards] (SCNiLEAST16): Likewise.
57389         [C99-based-standards] (SCNoLEAST16): Likewise.
57390         [C99-based-standards] (SCNuLEAST16): Likewise.
57391         [C99-based-standards] (SCNxLEAST16): Likewise.
57392         [C99-based-standards] (PRIdFAST16): Likewise.
57393         [C99-based-standards] (PRIiFAST16): Likewise.
57394         [C99-based-standards] (PRIoFAST16): Likewise.
57395         [C99-based-standards] (PRIuFAST16): Likewise.
57396         [C99-based-standards] (PRIxFAST16): Likewise.
57397         [C99-based-standards] (PRIXFAST16): Likewise.
57398         [C99-based-standards] (SCNdFAST16): Likewise.
57399         [C99-based-standards] (SCNiFAST16): Likewise.
57400         [C99-based-standards] (SCNoFAST16): Likewise.
57401         [C99-based-standards] (SCNuFAST16): Likewise.
57402         [C99-based-standards] (SCNxFAST16): Likewise.
57403         [C99-based-standards] (PRId32): Likewise.
57404         [C99-based-standards] (PRIi32): Likewise.
57405         [C99-based-standards] (PRIo32): Likewise.
57406         [C99-based-standards] (PRIu32): Likewise.
57407         [C99-based-standards] (PRIx32): Likewise.
57408         [C99-based-standards] (PRIX32): Likewise.
57409         [C99-based-standards] (SCNd32): Likewise.
57410         [C99-based-standards] (SCNi32): Likewise.
57411         [C99-based-standards] (SCNo32): Likewise.
57412         [C99-based-standards] (SCNu32): Likewise.
57413         [C99-based-standards] (SCNx32): Likewise.
57414         [C99-based-standards] (PRIdLEAST32): Likewise.
57415         [C99-based-standards] (PRIiLEAST32): Likewise.
57416         [C99-based-standards] (PRIoLEAST32): Likewise.
57417         [C99-based-standards] (PRIuLEAST32): Likewise.
57418         [C99-based-standards] (PRIxLEAST32): Likewise.
57419         [C99-based-standards] (PRIXLEAST32): Likewise.
57420         [C99-based-standards] (SCNdLEAST32): Likewise.
57421         [C99-based-standards] (SCNiLEAST32): Likewise.
57422         [C99-based-standards] (SCNoLEAST32): Likewise.
57423         [C99-based-standards] (SCNuLEAST32): Likewise.
57424         [C99-based-standards] (SCNxLEAST32): Likewise.
57425         [C99-based-standards] (PRIdFAST32): Likewise.
57426         [C99-based-standards] (PRIiFAST32): Likewise.
57427         [C99-based-standards] (PRIoFAST32): Likewise.
57428         [C99-based-standards] (PRIuFAST32): Likewise.
57429         [C99-based-standards] (PRIxFAST32): Likewise.
57430         [C99-based-standards] (PRIXFAST32): Likewise.
57431         [C99-based-standards] (SCNdFAST32): Likewise.
57432         [C99-based-standards] (SCNiFAST32): Likewise.
57433         [C99-based-standards] (SCNoFAST32): Likewise.
57434         [C99-based-standards] (SCNuFAST32): Likewise.
57435         [C99-based-standards] (SCNxFAST32): Likewise.
57436         [C99-based-standards] (PRId64): Likewise.
57437         [C99-based-standards] (PRIi64): Likewise.
57438         [C99-based-standards] (PRIo64): Likewise.
57439         [C99-based-standards] (PRIu64): Likewise.
57440         [C99-based-standards] (PRIx64): Likewise.
57441         [C99-based-standards] (PRIX64): Likewise.
57442         [C99-based-standards] (SCNd64): Likewise.
57443         [C99-based-standards] (SCNi64): Likewise.
57444         [C99-based-standards] (SCNo64): Likewise.
57445         [C99-based-standards] (SCNu64): Likewise.
57446         [C99-based-standards] (SCNx64): Likewise.
57447         [C99-based-standards] (PRIdLEAST64): Likewise.
57448         [C99-based-standards] (PRIiLEAST64): Likewise.
57449         [C99-based-standards] (PRIoLEAST64): Likewise.
57450         [C99-based-standards] (PRIuLEAST64): Likewise.
57451         [C99-based-standards] (PRIxLEAST64): Likewise.
57452         [C99-based-standards] (PRIXLEAST64): Likewise.
57453         [C99-based-standards] (SCNdLEAST64): Likewise.
57454         [C99-based-standards] (SCNiLEAST64): Likewise.
57455         [C99-based-standards] (SCNoLEAST64): Likewise.
57456         [C99-based-standards] (SCNuLEAST64): Likewise.
57457         [C99-based-standards] (SCNxLEAST64): Likewise.
57458         [C99-based-standards] (PRIdFAST64): Likewise.
57459         [C99-based-standards] (PRIiFAST64): Likewise.
57460         [C99-based-standards] (PRIoFAST64): Likewise.
57461         [C99-based-standards] (PRIuFAST64): Likewise.
57462         [C99-based-standards] (PRIxFAST64): Likewise.
57463         [C99-based-standards] (PRIXFAST64): Likewise.
57464         [C99-based-standards] (SCNdFAST64): Likewise.
57465         [C99-based-standards] (SCNiFAST64): Likewise.
57466         [C99-based-standards] (SCNoFAST64): Likewise.
57467         [C99-based-standards] (SCNuFAST64): Likewise.
57468         [C99-based-standards] (SCNxFAST64): Likewise.
57469         [C99-based-standards] (PRIdMAX): Likewise.
57470         [C99-based-standards] (PRIiMAX): Likewise.
57471         [C99-based-standards] (PRIoMAX): Likewise.
57472         [C99-based-standards] (PRIuMAX): Likewise.
57473         [C99-based-standards] (PRIxMAX): Likewise.
57474         [C99-based-standards] (PRIXMAX): Likewise.
57475         [C99-based-standards] (SCNdMAX): Likewise.
57476         [C99-based-standards] (SCNiMAX): Likewise.
57477         [C99-based-standards] (SCNoMAX): Likewise.
57478         [C99-based-standards] (SCNuMAX): Likewise.
57479         [C99-based-standards] (SCNxMAX): Likewise.
57480         [C99-based-standards] (PRIdPTR): Likewise.
57481         [C99-based-standards] (PRIiPTR): Likewise.
57482         [C99-based-standards] (PRIoPTR): Likewise.
57483         [C99-based-standards] (PRIuPTR): Likewise.
57484         [C99-based-standards] (PRIxPTR): Likewise.
57485         [C99-based-standards] (PRIXPTR): Likewise.
57486         [C99-based-standards] (SCNdPTR): Likewise.
57487         [C99-based-standards] (SCNiPTR): Likewise.
57488         [C99-based-standards] (SCNoPTR): Likewise.
57489         [C99-based-standards] (SCNuPTR): Likewise.
57490         [C99-based-standards] (SCNxPTR): Likewise.
57491         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57492         allow.
57493         * conform/data/stdint.h-data: Update comments to clarify
57494         requirements.
57495         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57496         type.
57497         [C99-based standards] (INT8_MAX): Likewise.
57498         [C99-based standards] (INT16_MIN): Likewise.
57499         [C99-based standards] (INT16_MAX): Likewise.
57500         [C99-based standards] (INT32_MIN): Likewise.
57501         [C99-based standards] (INT32_MAX): Likewise.
57502         [C99-based standards] (INT64_MIN): Likewise.
57503         [C99-based standards] (INT64_MAX): Likewise.
57504         [C99-based standards] (UINT8_MAX): Likewise.
57505         [C99-based standards] (UINT16_MAX): Likewise.
57506         [C99-based standards] (UINT32_MAX): Likewise.
57507         [C99-based standards] (UINT64_MAX): Likewise.
57508         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57509         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57510         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57511         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57512         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57513         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57514         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57515         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57516         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57517         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57518         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57519         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57520         [C99-based standards] (INT_FAST8_MIN): Likewise.
57521         [C99-based standards] (INT_FAST8_MAX): Likewise.
57522         [C99-based standards] (INT_FAST16_MIN): Likewise.
57523         [C99-based standards] (INT_FAST16_MAX): Likewise.
57524         [C99-based standards] (INT_FAST32_MIN): Likewise.
57525         [C99-based standards] (INT_FAST32_MAX): Likewise.
57526         [C99-based standards] (INT_FAST64_MIN): Likewise.
57527         [C99-based standards] (INT_FAST64_MAX): Likewise.
57528         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57529         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57530         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57531         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57532         [C99-based standards] (INTPTR_MIN): Likewise.
57533         [C99-based standards] (INTPTR_MAX): Likewise.
57534         [C99-based standards] (UINTPTR_MAX): Likewise.
57535         [C99-based standards] (INTMAX_MIN): Likewise.
57536         [C99-based standards] (INTMAX_MAX): Likewise.
57537         [C99-based standards] (UINTMAX_MAX): Likewise.
57538         [C99-based standards] (PTRDIFF_MIN): Likewise.
57539         [C99-based standards] (PTRDIFF_MAX): Likewise.
57540         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57541         [C99-based standards] (SIZE_MAX): Likewise.
57542         [C99-based standards] (WCHAR_MAX): Likewise.
57543         [C99-based standards] (WINT_MAX): Likewise.
57544         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57545         constraint on value.
57546         [C99-based standards] (WCHAR_MIN): Likewise.
57547         [C99-based standards] (WINT_MIN): Likewise.
57548         [C99-based standards] (*_t): Allow.
57549         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57550         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57551         Include math.h-data and complex.h-data.  Remove all expectations
57552         of math.h and complex.h contents.
57553         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57554         at end of line.
57555         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57556         (struct tm): Expect tag.
57557         [C99-based-standards] (wcstof): Expect function.
57558         [C99-based-standards] (wcstold): Likewise.
57559         [C99-based-standards] (wcstoll): Likewise.
57560         [C99-based-standards] (wcstoull): Likewise.
57561         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57562         macro-int-constant.  Specify type.
57563         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57564         constraint on value.
57565         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57566         Specify type.
57567         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57568         Specify value.
57569         [ISO C standards]: Do not allow headers.
57570         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57571         wcs[abcdefghijklmnopqrstuvwxyz]*.
57572         [ISO C standards] (*_t): Do not allow.
57573         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57574         Expect function.
57575         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57576         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57577         Specify type.
57578         [ISO C standards]: Do not allow headers.
57579         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57580         is[abcdefghijklmnopqrstuvwxyz]*.
57581         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57582         to[abcdefghijklmnopqrstuvwxyz]*.
57583         [ISO C standards] (*_t): Do not allow.
57584         * conform/data/stdalign.h-data: New file.
57585         * conform/data/stdbool.h-data: Likewise.
57586         * conform/data/stdnoreturn.h-data: Likewise.
57588 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57590         [BZ #14815]
57591         * manual/filesys.texi (Directory Entries): Typo fix.
57592         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57594 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57596         * elf/elf.h (EM_AARCH64): New macro.
57597         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57598         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57599         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57600         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57601         (R_AARCH64_TLSDESC): Likewise.
57602         (NT_ARM_TLS): Likewise.
57603         (NT_ARM_HW_BREAK): Likewise.
57604         (NT_ARM_HW_WATCH): Likewise.
57606 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57608         [BZ #14811]
57609         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57610         (__ieee754_powl): Saturate nonzero exponents with absolute value
57611         below 0x1p-79 to +/- 0x1p-79.
57612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57613         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57614         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57615         nonzero exponents with absolute value below 0x1p-32 to +/-
57616         0x1p-32.
57617         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57618         (__ieee754_powl): Saturate nonzero exponents with absolute value
57619         below 0x1p-79 to +/- 0x1p-79.
57620         * math/libm-test.inc (pow_test): Add more tests.
57622 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57624         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57625         _dl_s390_cap_flags with kernel. Increase string length.
57626         (_dl_s390_platforms): Add z196 and zEC12.
57628 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57630         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57631         Change XOPEN21K to XOPEN2K.
57633 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57635         * string/memmove.c: Use memcpy when possible.
57637 2012-11-06  Andreas Jaeger  <aj@suse.de>
57639         * po/eo.po: Update from translation team.
57641 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57643         [BZ #14793]
57644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57645         exponent and small x and y exponents, scale x or y up.  Increase
57646         by 2 the exponent used in scaling up.
57647         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57648         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57649         * math/libm-test.inc (fma_test): Add more tests.
57650         (fma_test_towardzero): Likewise.
57651         (fma_test_downward): Likewise.
57652         (fma_test_upward): Likewise.
57654 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57656         [BZ #14805]
57657         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57658         fenv_t *.
57660         [BZ #14801]
57661         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57662         namespace for names of struct fields.
57663         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57664         fenv_t fields.
57665         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57666         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57668 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57670         [BZ #3665]
57671         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57673 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57675         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57676         PTR_DEMANGLE.
57678         [BZ #5246]
57679         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57680         PTR_DEMANGLE.
57682 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57684         [BZ #14797]
57685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57686         definitely overflow as x * y not x * y + z.
57687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57689         * math/libm-test.inc (fma_test): Add more tests.
57690         (fma_test_towardzero): Likewise.
57691         (fma_test_downward): Likewise.
57692         (fma_test_upward): Likewise.
57694 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57696         [BZ #157]
57698         * include/stub-tag.h: Remove file.
57699         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57700         '#include' of it.
57701         * manual/maint.texi (Porting): Don't reference it.
57702         * Makerules ($(objpfx)stubs): Likewise.
57703         * dirent/closedir.c: Don't include <stub-tag.h>.
57704         * dirent/dirfd.c: Likewise.
57705         * dirent/fdopendir.c: Likewise.
57706         * dirent/getdents.c: Likewise.
57707         * dirent/getdents64.c: Likewise.
57708         * dirent/opendir.c: Likewise.
57709         * dirent/readdir.c: Likewise.
57710         * dirent/readdir64.c: Likewise.
57711         * dirent/readdir64_r.c: Likewise.
57712         * dirent/readdir_r.c: Likewise.
57713         * dirent/rewinddir.c: Likewise.
57714         * dirent/seekdir.c: Likewise.
57715         * dirent/telldir.c: Likewise.
57716         * gmon/profil.c: Likewise.
57717         * grp/setgroups.c: Likewise.
57718         * inet/if_index.c: Likewise.
57719         * io/access.c: Likewise.
57720         * io/chdir.c: Likewise.
57721         * io/chmod.c: Likewise.
57722         * io/chown.c: Likewise.
57723         * io/close.c: Likewise.
57724         * io/dup.c: Likewise.
57725         * io/dup2.c: Likewise.
57726         * io/dup3.c: Likewise.
57727         * io/euidaccess.c: Likewise.
57728         * io/faccessat.c: Likewise.
57729         * io/fchdir.c: Likewise.
57730         * io/fchmod.c: Likewise.
57731         * io/fchmodat.c: Likewise.
57732         * io/fchown.c: Likewise.
57733         * io/fchownat.c: Likewise.
57734         * io/fcntl.c: Likewise.
57735         * io/flock.c: Likewise.
57736         * io/fstatfs.c: Likewise.
57737         * io/fstatfs64.c: Likewise.
57738         * io/fstatvfs.c: Likewise.
57739         * io/fstatvfs64.c: Likewise.
57740         * io/futimens.c: Likewise.
57741         * io/fxstat.c: Likewise.
57742         * io/fxstat64.c: Likewise.
57743         * io/fxstatat.c: Likewise.
57744         * io/fxstatat64.c: Likewise.
57745         * io/getcwd.c: Likewise.
57746         * io/isatty.c: Likewise.
57747         * io/lchmod.c: Likewise.
57748         * io/lchown.c: Likewise.
57749         * io/link.c: Likewise.
57750         * io/linkat.c: Likewise.
57751         * io/lseek.c: Likewise.
57752         * io/lseek64.c: Likewise.
57753         * io/lxstat64.c: Likewise.
57754         * io/mkdir.c: Likewise.
57755         * io/mkdirat.c: Likewise.
57756         * io/mkfifo.c: Likewise.
57757         * io/mkfifoat.c: Likewise.
57758         * io/open.c: Likewise.
57759         * io/open64.c: Likewise.
57760         * io/openat.c: Likewise.
57761         * io/openat64.c: Likewise.
57762         * io/pipe.c: Likewise.
57763         * io/pipe2.c: Likewise.
57764         * io/poll.c: Likewise.
57765         * io/posix_fadvise.c: Likewise.
57766         * io/posix_fadvise64.c: Likewise.
57767         * io/posix_fallocate.c: Likewise.
57768         * io/posix_fallocate64.c: Likewise.
57769         * io/read.c: Likewise.
57770         * io/readlink.c: Likewise.
57771         * io/readlinkat.c: Likewise.
57772         * io/rmdir.c: Likewise.
57773         * io/sendfile.c: Likewise.
57774         * io/sendfile64.c: Likewise.
57775         * io/statfs.c: Likewise.
57776         * io/statfs64.c: Likewise.
57777         * io/statvfs.c: Likewise.
57778         * io/statvfs64.c: Likewise.
57779         * io/symlink.c: Likewise.
57780         * io/symlinkat.c: Likewise.
57781         * io/ttyname.c: Likewise.
57782         * io/ttyname_r.c: Likewise.
57783         * io/umask.c: Likewise.
57784         * io/unlink.c: Likewise.
57785         * io/unlinkat.c: Likewise.
57786         * io/utime.c: Likewise.
57787         * io/utimensat.c: Likewise.
57788         * io/write.c: Likewise.
57789         * io/xmknod.c: Likewise.
57790         * io/xmknodat.c: Likewise.
57791         * io/xstat.c: Likewise.
57792         * io/xstat64.c: Likewise.
57793         * login/getpt.c: Likewise.
57794         * login/grantpt.c: Likewise.
57795         * login/unlockpt.c: Likewise.
57796         * math/e_acoshl.c: Likewise.
57797         * math/e_acosl.c: Likewise.
57798         * math/e_asinl.c: Likewise.
57799         * math/e_atan2l.c: Likewise.
57800         * math/e_atanhl.c: Likewise.
57801         * math/e_coshl.c: Likewise.
57802         * math/e_expl.c: Likewise.
57803         * math/e_fmodl.c: Likewise.
57804         * math/e_gammal_r.c: Likewise.
57805         * math/e_hypotl.c: Likewise.
57806         * math/e_j0l.c: Likewise.
57807         * math/e_j1l.c: Likewise.
57808         * math/e_jnl.c: Likewise.
57809         * math/e_lgammal_r.c: Likewise.
57810         * math/e_log10l.c: Likewise.
57811         * math/e_log2l.c: Likewise.
57812         * math/e_logl.c: Likewise.
57813         * math/e_powl.c: Likewise.
57814         * math/e_rem_pio2l.c: Likewise.
57815         * math/e_sinhl.c: Likewise.
57816         * math/e_sqrtl.c: Likewise.
57817         * math/fclrexcpt.c: Likewise.
57818         * math/fedisblxcpt.c: Likewise.
57819         * math/feenablxcpt.c: Likewise.
57820         * math/fegetenv.c: Likewise.
57821         * math/fegetexcept.c: Likewise.
57822         * math/fegetround.c: Likewise.
57823         * math/feholdexcpt.c: Likewise.
57824         * math/fesetenv.c: Likewise.
57825         * math/fesetround.c: Likewise.
57826         * math/feupdateenv.c: Likewise.
57827         * math/fgetexcptflg.c: Likewise.
57828         * math/fraiseexcpt.c: Likewise.
57829         * math/fsetexcptflg.c: Likewise.
57830         * math/ftestexcept.c: Likewise.
57831         * math/k_cosl.c: Likewise.
57832         * math/k_rem_pio2l.c: Likewise.
57833         * math/k_sinl.c: Likewise.
57834         * math/k_tanl.c: Likewise.
57835         * math/s_asinhl.c: Likewise.
57836         * math/s_atanl.c: Likewise.
57837         * math/s_cbrtl.c: Likewise.
57838         * math/s_erfl.c: Likewise.
57839         * math/s_expm1l.c: Likewise.
57840         * math/s_log1pl.c: Likewise.
57841         * math/s_tanhl.c: Likewise.
57842         * misc/acct.c: Likewise.
57843         * misc/brk.c: Likewise.
57844         * misc/chflags.c: Likewise.
57845         * misc/chroot.c: Likewise.
57846         * misc/fchflags.c: Likewise.
57847         * misc/fgetxattr.c: Likewise.
57848         * misc/flistxattr.c: Likewise.
57849         * misc/fremovexattr.c: Likewise.
57850         * misc/fsetxattr.c: Likewise.
57851         * misc/fsync.c: Likewise.
57852         * misc/ftruncate.c: Likewise.
57853         * misc/futimes.c: Likewise.
57854         * misc/futimesat.c: Likewise.
57855         * misc/getdomain.c: Likewise.
57856         * misc/getdtsz.c: Likewise.
57857         * misc/gethostid.c: Likewise.
57858         * misc/gethostname.c: Likewise.
57859         * misc/getloadavg.c: Likewise.
57860         * misc/getpagesize.c: Likewise.
57861         * misc/getsysstats.c: Likewise.
57862         * misc/getxattr.c: Likewise.
57863         * misc/gtty.c: Likewise.
57864         * misc/ioctl.c: Likewise.
57865         * misc/lgetxattr.c: Likewise.
57866         * misc/listxattr.c: Likewise.
57867         * misc/llistxattr.c: Likewise.
57868         * misc/lremovexattr.c: Likewise.
57869         * misc/lsetxattr.c: Likewise.
57870         * misc/lutimes.c: Likewise.
57871         * misc/madvise.c: Likewise.
57872         * misc/mincore.c: Likewise.
57873         * misc/mlock.c: Likewise.
57874         * misc/mlockall.c: Likewise.
57875         * misc/mmap.c: Likewise.
57876         * misc/mprotect.c: Likewise.
57877         * misc/msync.c: Likewise.
57878         * misc/munlock.c: Likewise.
57879         * misc/munlockall.c: Likewise.
57880         * misc/munmap.c: Likewise.
57881         * misc/preadv.c: Likewise.
57882         * misc/preadv64.c: Likewise.
57883         * misc/ptrace.c: Likewise.
57884         * misc/pwritev.c: Likewise.
57885         * misc/pwritev64.c: Likewise.
57886         * misc/readv.c: Likewise.
57887         * misc/reboot.c: Likewise.
57888         * misc/remap_file_pages.c: Likewise.
57889         * misc/removexattr.c: Likewise.
57890         * misc/revoke.c: Likewise.
57891         * misc/select.c: Likewise.
57892         * misc/setdomain.c: Likewise.
57893         * misc/setegid.c: Likewise.
57894         * misc/seteuid.c: Likewise.
57895         * misc/sethostid.c: Likewise.
57896         * misc/sethostname.c: Likewise.
57897         * misc/setregid.c: Likewise.
57898         * misc/setreuid.c: Likewise.
57899         * misc/setxattr.c: Likewise.
57900         * misc/sstk.c: Likewise.
57901         * misc/stty.c: Likewise.
57902         * misc/swapoff.c: Likewise.
57903         * misc/swapon.c: Likewise.
57904         * misc/sync.c: Likewise.
57905         * misc/syncfs.c: Likewise.
57906         * misc/syscall.c: Likewise.
57907         * misc/truncate.c: Likewise.
57908         * misc/ualarm.c: Likewise.
57909         * misc/usleep.c: Likewise.
57910         * misc/ustat.c: Likewise.
57911         * misc/utimes.c: Likewise.
57912         * misc/vhangup.c: Likewise.
57913         * misc/writev.c: Likewise.
57914         * posix/_exit.c: Likewise.
57915         * posix/alarm.c: Likewise.
57916         * posix/execve.c: Likewise.
57917         * posix/fexecve.c: Likewise.
57918         * posix/fork.c: Likewise.
57919         * posix/fpathconf.c: Likewise.
57920         * posix/getaddrinfo.c: Likewise.
57921         * posix/getegid.c: Likewise.
57922         * posix/geteuid.c: Likewise.
57923         * posix/getgid.c: Likewise.
57924         * posix/getgroups.c: Likewise.
57925         * posix/getlogin.c: Likewise.
57926         * posix/getlogin_r.c: Likewise.
57927         * posix/getpgid.c: Likewise.
57928         * posix/getpid.c: Likewise.
57929         * posix/getppid.c: Likewise.
57930         * posix/getresgid.c: Likewise.
57931         * posix/getresuid.c: Likewise.
57932         * posix/getsid.c: Likewise.
57933         * posix/getuid.c: Likewise.
57934         * posix/glob64.c: Likewise.
57935         * posix/nanosleep.c: Likewise.
57936         * posix/pathconf.c: Likewise.
57937         * posix/pause.c: Likewise.
57938         * posix/posix_madvise.c: Likewise.
57939         * posix/pread.c: Likewise.
57940         * posix/pread64.c: Likewise.
57941         * posix/pwrite.c: Likewise.
57942         * posix/pwrite64.c: Likewise.
57943         * posix/sched_getaffinity.c: Likewise.
57944         * posix/sched_getp.c: Likewise.
57945         * posix/sched_gets.c: Likewise.
57946         * posix/sched_primax.c: Likewise.
57947         * posix/sched_primin.c: Likewise.
57948         * posix/sched_rr_gi.c: Likewise.
57949         * posix/sched_setaffinity.c: Likewise.
57950         * posix/sched_setp.c: Likewise.
57951         * posix/sched_sets.c: Likewise.
57952         * posix/sched_yield.c: Likewise.
57953         * posix/setgid.c: Likewise.
57954         * posix/setlogin.c: Likewise.
57955         * posix/setpgid.c: Likewise.
57956         * posix/setresgid.c: Likewise.
57957         * posix/setresuid.c: Likewise.
57958         * posix/setsid.c: Likewise.
57959         * posix/setuid.c: Likewise.
57960         * posix/sleep.c: Likewise.
57961         * posix/spawni.c: Likewise.
57962         * posix/sysconf.c: Likewise.
57963         * posix/times.c: Likewise.
57964         * posix/wait.c: Likewise.
57965         * posix/wait3.c: Likewise.
57966         * posix/wait4.c: Likewise.
57967         * posix/waitpid.c: Likewise.
57968         * resolv/gai_sigqueue.c: Likewise.
57969         * resource/getpriority.c: Likewise.
57970         * resource/getrlimit.c: Likewise.
57971         * resource/getrusage.c: Likewise.
57972         * resource/nice.c: Likewise.
57973         * resource/setpriority.c: Likewise.
57974         * resource/setrlimit.c: Likewise.
57975         * resource/ulimit.c: Likewise.
57976         * rt/aio_cancel.c: Likewise.
57977         * rt/aio_fsync.c: Likewise.
57978         * rt/aio_read.c: Likewise.
57979         * rt/aio_sigqueue.c: Likewise.
57980         * rt/aio_suspend.c: Likewise.
57981         * rt/aio_write.c: Likewise.
57982         * rt/clock_getres.c: Likewise.
57983         * rt/clock_gettime.c: Likewise.
57984         * rt/clock_nanosleep.c: Likewise.
57985         * rt/clock_settime.c: Likewise.
57986         * rt/lio_listio.c: Likewise.
57987         * rt/mq_close.c: Likewise.
57988         * rt/mq_getattr.c: Likewise.
57989         * rt/mq_notify.c: Likewise.
57990         * rt/mq_open.c: Likewise.
57991         * rt/mq_receive.c: Likewise.
57992         * rt/mq_send.c: Likewise.
57993         * rt/mq_setattr.c: Likewise.
57994         * rt/mq_timedreceive.c: Likewise.
57995         * rt/mq_timedsend.c: Likewise.
57996         * rt/mq_unlink.c: Likewise.
57997         * rt/shm_open.c: Likewise.
57998         * rt/shm_unlink.c: Likewise.
57999         * rt/timer_create.c: Likewise.
58000         * rt/timer_delete.c: Likewise.
58001         * rt/timer_getoverr.c: Likewise.
58002         * rt/timer_gettime.c: Likewise.
58003         * rt/timer_settime.c: Likewise.
58004         * setjmp/__longjmp.c: Likewise.
58005         * setjmp/setjmp.c: Likewise.
58006         * signal/kill.c: Likewise.
58007         * signal/killpg.c: Likewise.
58008         * signal/raise.c: Likewise.
58009         * signal/sigaction.c: Likewise.
58010         * signal/sigaltstack.c: Likewise.
58011         * signal/sigblock.c: Likewise.
58012         * signal/sigignore.c: Likewise.
58013         * signal/sigintr.c: Likewise.
58014         * signal/signal.c: Likewise.
58015         * signal/sigpause.c: Likewise.
58016         * signal/sigpending.c: Likewise.
58017         * signal/sigqueue.c: Likewise.
58018         * signal/sigreturn.c: Likewise.
58019         * signal/sigset.c: Likewise.
58020         * signal/sigsetmask.c: Likewise.
58021         * signal/sigstack.c: Likewise.
58022         * signal/sigsuspend.c: Likewise.
58023         * signal/sigtimedwait.c: Likewise.
58024         * signal/sigvec.c: Likewise.
58025         * signal/sigwait.c: Likewise.
58026         * signal/sigwaitinfo.c: Likewise.
58027         * signal/sysv_signal.c: Likewise.
58028         * socket/accept.c: Likewise.
58029         * socket/accept4.c: Likewise.
58030         * socket/bind.c: Likewise.
58031         * socket/connect.c: Likewise.
58032         * socket/getpeername.c: Likewise.
58033         * socket/getsockname.c: Likewise.
58034         * socket/getsockopt.c: Likewise.
58035         * socket/isfdtype.c: Likewise.
58036         * socket/listen.c: Likewise.
58037         * socket/recv.c: Likewise.
58038         * socket/recvfrom.c: Likewise.
58039         * socket/recvmsg.c: Likewise.
58040         * socket/send.c: Likewise.
58041         * socket/sendmsg.c: Likewise.
58042         * socket/sendto.c: Likewise.
58043         * socket/setsockopt.c: Likewise.
58044         * socket/shutdown.c: Likewise.
58045         * socket/sockatmark.c: Likewise.
58046         * socket/socket.c: Likewise.
58047         * socket/socketpair.c: Likewise.
58048         * stdio-common/ctermid.c: Likewise.
58049         * stdio-common/cuserid.c: Likewise.
58050         * stdio-common/remove.c: Likewise.
58051         * stdio-common/rename.c: Likewise.
58052         * stdio-common/renameat.c: Likewise.
58053         * stdio-common/tempname.c: Likewise.
58054         * stdlib/getcontext.c: Likewise.
58055         * stdlib/makecontext.c: Likewise.
58056         * stdlib/setcontext.c: Likewise.
58057         * stdlib/swapcontext.c: Likewise.
58058         * stdlib/system.c: Likewise.
58059         * streams/fattach.c: Likewise.
58060         * streams/fdetach.c: Likewise.
58061         * streams/getmsg.c: Likewise.
58062         * streams/getpmsg.c: Likewise.
58063         * streams/putmsg.c: Likewise.
58064         * streams/putpmsg.c: Likewise.
58065         * sysdeps/unix/bsd/getpt.c: Likewise.
58066         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58067         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58068         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58070         Likewise.
58071         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58072         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58073         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58074         * sysvipc/msgctl.c: Likewise.
58075         * sysvipc/msgget.c: Likewise.
58076         * sysvipc/msgrcv.c: Likewise.
58077         * sysvipc/msgsnd.c: Likewise.
58078         * sysvipc/semctl.c: Likewise.
58079         * sysvipc/semget.c: Likewise.
58080         * sysvipc/semop.c: Likewise.
58081         * sysvipc/semtimedop.c: Likewise.
58082         * sysvipc/shmat.c: Likewise.
58083         * sysvipc/shmctl.c: Likewise.
58084         * sysvipc/shmdt.c: Likewise.
58085         * sysvipc/shmget.c: Likewise.
58086         * termios/tcdrain.c: Likewise.
58087         * termios/tcflow.c: Likewise.
58088         * termios/tcflush.c: Likewise.
58089         * termios/tcgetattr.c: Likewise.
58090         * termios/tcgetpgrp.c: Likewise.
58091         * termios/tcsendbrk.c: Likewise.
58092         * termios/tcsetattr.c: Likewise.
58093         * termios/tcsetpgrp.c: Likewise.
58094         * time/adjtime.c: Likewise.
58095         * time/clock.c: Likewise.
58096         * time/getitimer.c: Likewise.
58097         * time/gettimeofday.c: Likewise.
58098         * time/setitimer.c: Likewise.
58099         * time/settimeofday.c: Likewise.
58100         * time/stime.c: Likewise.
58101         * time/time.c: Likewise.
58103 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58105         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58106         /usr/old/bin.
58108         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58109         instead of spaces.
58110         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58112 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58114         [BZ #14796]
58115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58116         FE_TONEAREST before applying Dekker multiplication and Knuth
58117         addition.  Clear inexact exceptions and check for exact zero
58118         results afterwards.
58119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58120         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58121         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58122         * math/libm-test.inc (fma_test): Add more tests.
58123         (fma_test_towardzero): Likewise.
58124         (fma_test_downward): Likewise.
58125         (fma_test_upward): Likewise.
58126         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58127         function.
58128         (libc_fesetround): New macro.
58129         (libc_fesetroundf): Likewise.
58130         (libc_fesetroundl): Likewise.
58131         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58132         function.
58133         (libc_fesetround_387): Likewise.
58134         (libc_fesetroundf): New macro.
58135         (libc_fesetround): Likewise.
58136         (libc_fesetroundl): Likewise.
58137         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58138         function.
58139         (libc_fesetroundf): New macro.
58140         (libc_fesetround): Likewise.
58141         (libc_fesetroundl): Likewise.
58142         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58143         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58144         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58145         libm_hidden_ver.
58146         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58147         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58148         libm_hidden_def.
58149         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58150         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58151         libm_hidden_ver.
58152         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58153         libm_hidden_def.
58155         [BZ #3439]
58156         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58157         integer constant usable in #if and use that to give value to enum
58158         constant.
58159         (FE_DIVBYZERO): Likewise.
58160         (FE_UNDERFLOW): Likewise.
58161         (FE_OVERFLOW): Likewise.
58162         (FE_INVALID): Likewise.
58163         (FE_INVALID_SNAN): Likewise.
58164         (FE_INVALID_ISI): Likewise.
58165         (FE_INVALID_IDI): Likewise.
58166         (FE_INVALID_ZDZ): Likewise.
58167         (FE_INVALID_IMZ): Likewise.
58168         (FE_INVALID_COMPARE): Likewise.
58169         (FE_INVALID_SOFTWARE): Likewise.
58170         (FE_INVALID_SQRT): Likewise.
58171         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58172         (FE_TONEAREST): Likewise.
58173         (FE_TOWARDZERO): Likewise.
58174         (FE_UPWARD): Likewise.
58175         (FE_DOWNWARD): Likewise.
58176         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58177         (FE_DIVBYZERO): Likewise.
58178         (FE_OVERFLOW): Likewise.
58179         (FE_UNDERFLOW): Likewise.
58180         (FE_INEXACT): Likewise.
58181         (FE_TONEAREST): Likewise.
58182         (FE_DOWNWARD): Likewise.
58183         (FE_UPWARD): Likewise.
58184         (FE_TOWARDZERO): Likewise.
58185         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58186         (FE_UNDERFLOW): Likewise.
58187         (FE_OVERFLOW): Likewise.
58188         (FE_DIVBYZERO): Likewise.
58189         (FE_INVALID): Likewise.
58190         (FE_TONEAREST): Likewise.
58191         (FE_TOWARDZERO): Likewise.
58192         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58193         (FE_OVERFLOW): Likewise.
58194         (FE_UNDERFLOW): Likewise.
58195         (FE_DIVBYZERO): Likewise.
58196         (FE_INEXACT): Likewise.
58197         (FE_TONEAREST): Likewise.
58198         (FE_TOWARDZERO): Likewise.
58199         (FE_UPWARD): Likewise.
58200         (FE_DOWNWARD): Likewise.
58201         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58202         (FE_DIVBYZERO): Likewise.
58203         (FE_OVERFLOW): Likewise.
58204         (FE_UNDERFLOW): Likewise.
58205         (FE_INEXACT): Likewise.
58206         (FE_TONEAREST): Likewise.
58207         (FE_DOWNWARD): Likewise.
58208         (FE_UPWARD): Likewise.
58209         (FE_TOWARDZERO): Likewise.
58211 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58213         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58215 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58217         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58218         commands.  Quote $PWD.
58219         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58220         -x" by "export".
58221         (remove_newlines): Remove.
58223 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58225         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58226         * stdlib/stdlib.h (atof): Moved to ...
58227         * include/bits/stdlib-float.h: Here.  New file.
58228         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58229         * stdlib/bits/stdlib-float.h: New file.
58230         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58231         -mno-sse -mno-mmx.
58232         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58233         <xmmintrin.h>.
58235 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58237         * conform/conformtest.pl (@headers): Add fenv.h.
58238         * conform/data/fenv.h-data: New file.
58239         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58240         include of <math/fenv.h>.
58242         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58243         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58244         && !UNIX98].  Enables tests for XOPEN2K8.
58245         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58246         POSIX2008]: Likewise.
58248         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58249         (struct rusage): Do not expect type or its members.
58251         [BZ #3439]
58252         * math/math.h (FP_NAN): Define macro to integer constant usable in
58253         #if and use that to give value to enum constant.
58254         (FP_INFINITE): Likewise.
58255         (FP_ZERO): Likewise.
58256         (FP_SUBNORMAL): Likewise.
58257         (FP_NORMAL): Likewise.
58259 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58261         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58262         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58263         arguments.
58265 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58267         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58268         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58269         autoconf-time if not.
58270         * configure.in: Remove AC_PREREQ.
58272 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58274         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58275         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58276         of the internal implementation.
58278 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58280         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58281         except include of <misc/sys/syslog.h>.
58283 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58286         function returns with a NULL context exit with zero.
58288 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58290         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58292 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58294         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58295         (run_program_cmd): This.
58296         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58297         (tst_langinfo): New variable.  Use it.
58299 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58301         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58302         floating point opcodes.
58304 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58306         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58307         variable.
58309         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58311         * sysdeps/mach/hurd/powerpc: Remove directory.
58312         * sysdeps/mach/powerpc: Likewise.
58314 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58316         * scripts/check-local-headers.sh: Ignore c++ headers.
58318 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58320         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58321         __libc_cleanup_region_start argument.
58323 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58325         [BZ #14784]
58326         [BZ #14785]
58327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58328         x * y using scaling, not as x * y + z.
58329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58330         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58331         * math/libm-test.inc (fma_test): Add more tests.
58332         (fma_test_towardzero): Likewise.
58333         (fma_test_downward): Likewise.
58334         (fma_test_upward): Likewise.
58336 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58338         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58340 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58342         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58343         New variable.
58345 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58347         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58349 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58352         Fix sort order.
58353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58354         Likewise.
58356 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58359         Fix the order of the list for glibc 2.17.
58360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58361         Likewise.
58363 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58367 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58369         [BZ #14610]
58370         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58371         for low part of x being zero before using __atanl (y).
58372         * math/libm-test.inc (atan2_test): Add another test.
58374         * manual/install.texi (Configuring and compiling): Document
58375         general use of test-wrapper and test-wrapper-env.
58376         * INSTALL: Regenerated.
58378         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58379         (__fma): Do not extract and scale down low bits on after-rounding
58380         systems when result rounded to normal precision would have normal
58381         exponent.
58382         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58383         (__fmal): Do not extract and scale down low bits on after-rounding
58384         systems when result rounded to normal precision would have normal
58385         exponent.
58386         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58387         (__fmal): Do not extract and scale down low bits on after-rounding
58388         systems when result rounded to normal precision would have normal
58389         exponent.
58390         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58391         macro.
58392         (fma_test): Add more tests.
58393         (fma_test_towardzero): Likewise.
58394         (fma_test_downward): Likewise.
58395         (fma_test_upward): Likewise.
58397 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58399         * sysdeps/i386/tininess.h: Renamed to ...
58400         * sysdeps/x86/tininess.h: This.
58401         * sysdeps/x86_64/tininess.h: Removed.
58403 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58405         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58406         input.  Use $(build-program-cmd).
58407         ($(objpfx)tst-array1-static.out): Likewise.
58408         ($(objpfx)tst-array2.out): Likewise.
58409         ($(objpfx)tst-array3.out): Likewise.
58410         ($(objpfx)tst-array4.out): Likewise.
58411         ($(objpfx)tst-array5.out): Likewise.
58412         ($(objpfx)tst-array5-static.out): Likewise.
58414 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58416         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58417         if defined.
58419         * nss/nsswitch.h (nss_interface_function): Provide new
58420         macro for use with NSS functions.
58421         * grp/initgroups.c: Use new macro.
58422         * nss/getXXbyYY.c: Likewise.
58423         * nss/getXXbyYY_r.c: Likewise.
58424         * nss/getXXent.c: Likewise.
58425         * nss/getXXent_r.c: Likewise.
58426         * sysdeps/posix/getaddrinfo.c: Likewise.
58428 2012-10-30  Andreas Jaeger  <aj@suse.de>
58430         * po/ru.po: Update Russion translation from translation project.
58432 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58434         [BZ #14152]
58435         [BZ #14783]
58436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58437         result and shift together with sticky bit instead of replicating
58438         round-to-nearest rounding.
58439         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58440         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58441         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58442         missing underflow exceptions.
58443         (fma_test_towardzero): Add more tests.
58444         (fma_test_downward): Likewise.
58445         (fma_test_upward): Likewise.
58447         [BZ #14047]
58448         * sysdeps/generic/tininess.h: New file.
58449         * sysdeps/i386/tininess.h: Likewise.
58450         * sysdeps/sh/tininess.h: Likewise.
58451         * sysdeps/x86_64/tininess.h: Likewise.
58452         * stdlib/tst-strtod-underflow.c: Likewise.
58453         * stdlib/tst-tininess.c: Likewise.
58454         * stdlib/strtod_l.c: Include <tininess.h>.
58455         (round_and_return): Do not set errno for exact underflow cases.
58456         Force an underflow exception when setting errno for underflow.
58457         Determine underflow based on rounding to normal precision if
58458         TININESS_AFTER_ROUNDING.
58459         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58460         ERANGE for exact underflow cases.
58461         * stdlib/Makefile (tests): Add tst-tininess and
58462         tst-strtod-underflow.
58463         ($(objpfx)tst-tininess): Use $(link-libm).
58464         ($(objpfx)tst-strtod-underflow): Likewise.
58466 2012-10-30  Andreas Jaeger  <aj@suse.de>
58468         [BZ#14767]
58469         * elf/Makefile (tests): Remove conditional for have-initfini-array
58470         since this is now always required and the variable does not exist
58471         anymore.
58472         (tests-static): Likewise.
58473         (modules-names): Likewise.
58475         * po/eo.po: Add Esperanto translation from translation project.
58477         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58478         merged with constructor/destructor.
58479         (init_array): Likewise.
58480         * elf/tst-array2dep.c (fini_array): Likewise.
58481         (init_array): Likewise.
58483 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58485         * manual/message.texi: Delete @cartouche tags.
58487 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58489         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58490         EOPNOTSUPP.
58491         * sysdeps/mach/hurd/fsync.c: Likewise.
58493         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58494         [_POSIX_REALTIME_SIGNALS]: Change condition to
58495         [_POSIX_REALTIME_SIGNALS > 0].
58497 2012-10-27  Andreas Jaeger  <aj@suse.de>
58499         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58500         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58501         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58502         [__WORDSIZE != 64]: Likewise.
58504 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58506         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58507         *  iconvdata/tst-tables.sh: Likewise.
58509 2012-10-25  David S. Miller  <davem@davemloft.net>
58511         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58512         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58513         of strtoull.
58515         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58516         ifunc-impl-list.c
58517         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58518         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58519         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58520         file.
58522 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58524         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58525         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58526         __getdirentries.
58528 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58529             Jim Blandy  <jimb@codesourcery.com>
58531         * scripts/cross-test-ssh.sh: New file.
58532         * manual/install.texi (Configuring and compiling): Document use of
58533         cross-test-ssh.sh.
58534         * INSTALL: Regenerated.
58536 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58538         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58539         EOPNOTSUPP.
58541 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58543         * Makeconfig (run-program-prefix): Fix comment.
58545 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58546             Jim Blandy  <jimb@codesourcery.com>
58548         * Makeconfig (test-wrapper): New variable,
58549         (test-wrapper-env): Likewise.
58550         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58551         (run-built-tests): Define to yes.
58552         (run-program-prefix): Use $(test-wrapper).
58553         (built-program-cmd): Likewise.
58554         * Rules (make-test-out): Use $(test-wrapper-env) and
58555         $(host-built-program-cmd).
58556         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58557         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58558         tst-pathopt.sh.
58559         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58560         $(test-wrapper-env) to tst-rtld-load-self.sh.
58561         ($(objpfx)order2.out): Use $(test-wrapper).
58562         ($(objpfx)tst-initorder.out): Likewise.
58563         ($(objpfx)tst-initorder2.out): Likewise.
58564         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58565         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58566         (test_wrapper_env): New variable.  Use it to run ld.so.
58567         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58568         Use it to run ld.so.
58569         (test_wrapper_env): Likewise.
58570         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58571         $(test-wrapper) to run-iconv-test.sh.
58572         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58573         (ICONV): Use $test_wrapper.
58574         * posix/Makefile ($(objpfx)globtest.out): Pass
58575         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58576         globtest.sh, not $(run-program-prefix).
58577         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58578         (test_wrapper): Likewise.
58579         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58580         set together with run_via_rtld_prefix.
58581         (run_program_prefix): Define in terms of test_wrapper and
58582         run_via_rtld_prefix.
58584 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58586         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58587         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58588         Targets removed.
58590         [BZ #14743]
58591         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58592         Declare __clock_getres, __clock_gettime, __clock_settime,
58593         __clock_nanosleep, and __clock_getcpuclockid.
58594         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58595         Remove librt_hidden_def (clock_gettime).
58596         * sysdeps/unix/clock_gettime.c: Likewise.
58597         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58598         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58599         * rt/clock_getres.c: Define __clock_getres as an alias.
58600         * sysdeps/posix/clock_getres.c: Likewise.
58601         * rt/clock_settime.c: Define __clock_settime as an alias.
58602         * sysdeps/unix/clock_settime.c: Likewise.
58603         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58604         * sysdeps/unix/clock_nanosleep.c: Likewise.
58605         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58606         * rt/clock-compat.c: New file.
58607         * rt/Makefile (librt-routines): Add clock-compat and move
58608         $(clock-routines) to ...
58609         (routines): ... here, new variable.
58610         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58611         Don't add get_clockfreq here.
58612         * rt/Versions (libc: GLIBC_2.17): New version set.
58613         Add clock_* symbols here.
58614         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58615         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58616         (GLIBC_2.17): Add clock_* symbols.
58617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58619         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58621         Likewise.
58622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58623         Likewise.
58624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58628         * NEWS: Mention the move.
58630         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58631         Use __open, __read, __close rather than their public counterparts.
58632         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58633         (__get_clockfreq_via_cpuinfo): Likewise.
58634         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58635         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58637         * config.h.in (HAVE_IFUNC): New #undef.
58638         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58639         was successful.
58640         * configure: Regenerated.
58642 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58644         * configure.in: Move READELF check to start of file.
58645         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58646         libc_cv_asm_gnu_indirect_function in the process.
58647         * configure: Regenerated.
58649 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58651         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58652         send the output to /dev/null.
58653         (libc_cv_cc_with_libunwind): Likewise.
58654         (libc_cv_as_noexecstack): Likewise.
58655         * configure: Regenerate.
58657 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58659         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58661         * posix/globtest.sh (TMPDIR): Do not set.
58662         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58663         (testout): Likewise.
58665 2012-10-24  Andreas Jaeger  <aj@suse.de>
58667         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58668         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58669         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58670         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58671         posix_fadvise64, posix_fallocate64.
58673         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58674         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58675         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58676         Likewise.
58677         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58678         Likewise.
58679         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58682         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58683         <bits/fcntl-linux.h>.
58684         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58686         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58687         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58688         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58689         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58690         [__WORDSIZE != 64]: Likewise.
58692 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58694         * Makeconfig (run-built-tests): New variable.
58695         * Rules [$(cross-compiling) = yes]: Change condition to
58696         [$(run-built-tests) = no].
58697         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58698         to [$(run-built-tests) = yes].
58699         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58700         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58701         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58702         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58703         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58704         * io/Makefile [$(cross-compiling) = no]: Likewise.
58705         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58706         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58707         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58708         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58709         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58710         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58711         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58712         * string/Makefile [$(cross-compiling) = no]: Likewise.
58714         * posix/Makefile ($(objpfx)globtest.out): Pass
58715         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58716         $(rtld-installed-name).
58717         * posix/globtest.sh (elf_objpfx): Remove variable.
58718         (rtld_installed_name): Likewise.
58719         (library_path): Likewise.
58720         (run_program_prefix): New variable.  Use for running globtest
58721         binary.
58723 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58724             Joseph Myers  <joseph@codesourcery.com>
58726         * Makeconfig (host-built-program-cmd): New variable.
58727         * elf/Makefile (tst-stackguard1-ARGS): Use
58728         $(host-built-program-cmd).
58729         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58730         (tst-spawn-ARGS): Likewise.
58731         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58733 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58734             Jim Blandy  <jimb@codesourcery.com>
58736         * Makeconfig (run-via-rtld-prefix): New variable.
58737         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58738         (built-program-cmd): Likewise.
58740 2012-10-22  Andreas Jaeger  <aj@suse.de>
58742         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58743         __O_RSYNC if it exists, otherwise to O_SYNC.
58745 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58746             Joseph Myers  <joseph@codesourcery.com>
58748         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58749         /dev/null.
58750         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58751         from /dev/null
58752         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58753         /dev/null.
58755 2012-10-22  Andreas Jaeger  <aj@suse.de>
58757         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58758         Define always.
58759         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58762         bits/fcntl-linux.h.
58764         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58765         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58767         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58768         to __O_LARGEFILE.
58769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58770         to __O_LARGEFILE.
58772 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
58773             Joseph Myers  <joseph@codesourcery.com>
58775         * config.make.in (NM): New variable.
58777 2012-10-21  Andreas Jaeger  <aj@suse.de>
58779         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58780         definitions and declarations that are provided by
58781         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58783 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58785         [BZ #14683]
58786         * elf/Makefile (tests-static): Add tst-leaks1-static.
58787         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58788         ($(objpfx)tst-leaks1-static): New rule.
58789         ($(objpfx)tst-leaks1-static-mem): Likewise.
58790         (tst-leaks1-static-ENV): New macro.
58791         * elf/dl-open.c (dl_open_worker): Check the main application
58792         only if SHARED is defined.
58793         * elf/tst-leaks1-static.c: New file.
58795 2012-10-20  Andreas Jaeger  <aj@suse.de>
58797         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58798         generic values for Linux.
58799         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58800         and declarations that are provided by <bits/fcntl-linux.h> and
58801         include <bits/fcntl-linux.h>.
58802         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58803         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58805 2012-10-20  Roland McGrath  <roland@hack.frob.com>
58807         * io/fcntl.h: Move include of <bits/types.h> to the top and
58808         include it unconditionally.
58810 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58812         * wcsmbs/Makefile (tests-ifunc): New variable.
58813         (tests): Add $(tests-ifunc).
58814         * wcsmbs/test-wcschr-ifunc.c: New file.
58815         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58816         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58817         * wcsmbs/test-wcslen-ifunc.c: Likewise.
58818         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58819         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58821         * string/Makefile (tests-ifunc): New variable.
58822         (tests): Add $(tests-ifunc).
58823         * string/test-memccpy.c (TEST_NAME): New macro.
58824         * string/test-memchr.c (TEST_NAME): Likewise.
58825         * string/test-memcmp.c (TEST_NAME): Likewise.
58826         * string/test-memcpy.c (TEST_NAME): Likewise.
58827         * string/test-memmem.c (TEST_NAME): Likewise.
58828         * string/test-memmove.c (TEST_NAME): Likewise.
58829         * string/test-memset.c (TEST_NAME): Likewise.
58830         * string/test-rawmemchr.c (TEST_NAME): Likewise.
58831         * string/test-stpcpy.c (TEST_NAME): Likewise.
58832         * string/test-stpncpy.c (TEST_NAME): Likewise.
58833         * string/test-strcasecmp.c (TEST_NAME): Likewise.
58834         * string/test-strcasestr.c (TEST_NAME): Likewise.
58835         * string/test-strcat.c (TEST_NAME): Likewise.
58836         * string/test-strchr.c (TEST_NAME): Likewise.
58837         * string/test-strcmp.c(TEST_NAME): Likewise.
58838         * string/test-strcpy.c (TEST_NAME): Likewise.
58839         * string/test-strcspn.c (TEST_NAME): Likewise.
58840         * string/test-strlen.c (TEST_NAME): Likewise.
58841         * string/test-strncasecmp.c (TEST_NAME): Likewise.
58842         * string/test-strncmp.c (TEST_NAME): Likewise.
58843         * string/test-strncpy.c (TEST_NAME): Likewise.
58844         * string/test-strnlen.c (TEST_NAME): Likewise.
58845         * string/test-strpbrk.c (TEST_NAME): Likewise.
58846         * string/test-strrchr.c (TEST_NAME): Likewise.
58847         * string/test-strspn.c (TEST_NAME): Likewise.
58848         * string/test-strstr.c (TEST_NAME): Likewise.
58849         * string/test-bcopy-ifunc.c: New file.
58850         * string/test-bzero-ifunc.c: Likewise.
58851         * string/test-memccpy-ifunc.c: Likewise.
58852         * string/test-memchr-ifunc.c: Likewise.
58853         * string/test-memcmp-ifunc.c: Likewise.
58854         * string/test-memcpy-ifunc.c: Likewise.
58855         * string/test-memmem-ifunc.c: Likewise.
58856         * string/test-memmove-ifunc.c: Likewise.
58857         * string/test-mempcpy-ifunc.c: Likewise.
58858         * string/test-memset-ifunc.c: Likewise.
58859         * string/test-rawmemchr-ifunc.c: Likewise.
58860         * string/test-stpcpy-ifunc.c: Likewise.
58861         * string/test-stpncpy-ifunc.c: Likewise.
58862         * string/test-strcasecmp-ifunc.c: Likewise.
58863         * string/test-strcasestr-ifunc.c: Likewise.
58864         * string/test-strcat-ifunc.c: Likewise.
58865         * string/test-strchr-ifunc.c: Likewise.
58866         * string/test-strchrnul-ifunc.c: Likewise.
58867         * string/test-strcmp-ifunc.c: Likewise.
58868         * string/test-strcpy-ifunc.c: Likewise.
58869         * string/test-strcspn-ifunc.c: Likewise.
58870         * string/test-strlen-ifunc.c: Likewise.
58871         * string/test-strncasecmp-ifunc.c: Likewise.
58872         * string/test-strncat-ifunc.c: Likewise.
58873         * string/test-strncmp-ifunc.c: Likewise.
58874         * string/test-strncpy-ifunc.c: Likewise.
58875         * string/test-strnlen-ifunc.c: Likewise.
58876         * string/test-strpbrk-ifunc.c: Likewise.
58877         * string/test-strrchr-ifunc.c: Likewise.
58878         * string/test-strspn-ifunc.c: Likewise.
58879         * string/test-strstr-ifunc.c: Likewise.
58881         * debug/Makefile (tests-ifunc): New variable.
58882         (tests): Add $(tests-ifunc).
58883         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58884         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58885         * debug/test-stpcpy_chk-ifunc.c: New file.
58886         * debug/test-strcpy_chk-ifunc.c: Likewise.
58888 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58890         [BZ #13601]
58891         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58892         header is not read in.
58894 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58896         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58897         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58898         directly.  Pass built executable to script as
58899         $(built-program-cmd).
58900         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58901         $testprogram without using LD_LIBRARY_PATH and $ldso.
58903         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58904         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58905         $(rtld-installed-name).
58906         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58907         (rtld_installed_name): Likewise.
58908         (library_path): Likewise.
58909         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58910         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58911         $(run-program-prefix) to tst-tables.sh.
58912         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58913         it to run tst-table-from and tst-table-to.
58914         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58915         Pass it to tst-table.sh.
58916         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58917         $(run-program-prefix) to tst-gettext.sh.
58918         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58919         tst-translit.sh.
58920         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58921         tst-gettext2.sh.
58922         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58923         to run tst-gettext.
58924         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58925         to run tst-gettext2.
58926         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58927         to run tst-translit.
58928         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58929         $(run-program-prefix) to tst-mtrace.sh.
58930         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58931         to run tst-mtrace.
58932         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58933         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58934         $(rtld-installed-name).
58935         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58936         (rtld_installed_name): Likewise.
58937         (run_program_prefix): New variable.  Use it to run wordexp-test.
58939         * Makeconfig (ARCH): Remove all definitions.
58940         (machine): Likewise.
58941         [ARCH]: Remove conditional code.
58942         [!objdir]: Give error.
58943         [!objdir] (objpfx): Remove.
58944         [!objdir] (common-objpfx): Likewise.
58945         [!objdir] (common-objdir): Likewise.
58946         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58947         AC_CONFIG_FILES call.
58948         * configure: Regenerated.
58950         [BZ #13888]
58951         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58952         or TMPDIR.
58953         (testout): Likewise.
58955         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58956         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58957         $(rtld-installed-name).
58958         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58959         (rtld_installed_name): Likwise.
58960         (runit): Remove function.
58961         (run_getconf): New variable,  Use it for running getconf binary.
58963 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58965         [BZ #14716]
58966         * string/test-memmem.c (check_result): New function.
58967         (do_one_test): Use it.
58968         (check1): New function.
58969         (test_main): Use it.
58971 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58973         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58975 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58977         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58978         (_G_LSEEK64): Likewise.
58979         (_G_MMAP64): Likewise.
58980         (_G_FSTAT64): Likewise.
58981         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58982         (_G_LSEEK64): Likewise.
58983         (_G_MMAP64): Likewise.
58984         (_G_FSTAT64): Likewise.
58985         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58986         unconditional.  Call __mmap64 directly.
58987         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58988         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58989         __lseek64 directly.
58990         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58991         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58992         __mmap64 directly.
58993         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58994         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58995         __lseek64 directly.
58996         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58997         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58998         __lseek64 directly.
58999         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59000         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59001         __lseek64 directly.
59002         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59003         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59004         __fxstat64 directly.
59005         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59006         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59007         unconditional.
59008         (freopen64) [!_G_OPEN64]: Remove conditional code.
59009         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59010         unconditional.
59011         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59012         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59013         unconditional.
59014         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59015         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59016         unconditional.
59017         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59018         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59019         unconditional.
59020         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59021         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59022         unconditional.
59023         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59024         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59025         unconditional.
59026         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59027         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59028         unconditional.
59029         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59031 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59033         [BZ #12140]
59034         * manual/memory.texi (Malloc Tunable Parameters): Add note
59035         about free list pointers overwriting some perturb bytes.
59036         Wording suggested by Roland McGrath.
59038 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59040         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59041         (lgamma_test): Likewise.
59042         (tgamma_test): Likewise.
59044 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59046         [BZ #14700]
59047         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59048         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59050 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59052         * NEWS: Mention BZ #14716.
59053         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59054         when removing AVAILABLE1_USES_J macro.
59056 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59058         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59059         (__bswap_64): __uint64_t for unsigned 64-bit int.
59061 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59063         * include/string.h (memmem): Declare libc hidden alias.
59064         * string/memmem.c (memmem): Define libc hidden alias.
59065         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59066         __read, __close instead of open, read, close.
59068 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59071         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59072         global and hidden.
59073         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59074         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59075         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59076         Likewise.
59077         (__rawmemchr_sse2): Likewise.
59078         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59079         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59080         (__strchr_sse2): Likewise.
59081         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59082         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59083         (__strcasecmp_sse2): Likewise.
59084         (__strncasecmp_sse2): Likewise.
59085         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59086         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59087         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59088         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59089         (__strrchr_sse2): Likewise.
59090         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59091         ifunc-impl-list.c.
59092         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59093         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59094         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59095         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59096         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59097         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59098         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59099         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59100         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59101         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59102         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59103         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59104         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59105         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59106         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59107         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59108         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59109         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59110         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59111         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59112         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59113         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59114         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59115         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59116         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59117         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59118         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59119         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59120         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59121         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59123         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59124         global and hidden.
59125         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59126         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59127         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59128         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59129         Likewise.
59130         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59131         Likewise.
59132         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59133         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59134         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59135         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59136         ifunc-impl-list.c.
59137         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59138         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59139         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59140         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59141         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59142         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59143         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59144         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59145         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59146         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59147         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59148         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59149         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59150         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59151         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59152         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59153         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59154         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59155         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59156         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59157         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59158         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59159         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59160         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59161         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59162         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59163         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59164         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59165         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59166         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59167         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59168         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59169         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59170         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59171         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59172         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59173         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59174         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59175         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59176         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59177         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59179         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59180         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59181         * include/ifunc-impl-list.h: New file.
59182         * misc/ifunc-impl-list.c: Likewise.
59183         * misc/Makefile (routines): Add ifunc-impl-list.
59184         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59185         * string/test-string.h: Include <ifunc-impl-list.h>.
59186         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59187         TEST_NAME]: New variables.
59188         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59189         are defined.
59190         (test_init): Call __libc_ifunc_impl_list to initialize
59191         func_list if TEST_IFUNC and TEST_NAME are defined.
59193         * string/Makefile (strop-tests): Add bcopy and bzero.
59194         * string/test-bcopy.c: New file.
59195         * string/test-bzero.c: Likewise.
59196         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59197         defined.
59198         * string/test-memset.c: Support bzero test if TEST_BZERO is
59199         defined.
59200         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59201         __libc_memmove.
59202         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59203         __libc_memset.
59204         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59205         of memset.
59207 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59209         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59210         * configure: Regenerated.
59212         * Makeconfig (+link-static-before-libc): Don't include
59213         $(link-static-libc).
59215         * libio/libio.h (_IO_pos_t): Remove.
59217 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59219         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59220         McGrath.
59222 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59224         * crypt/crypt-entry.c: Include fips-private.h.
59225         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59226         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59227         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59228         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59230 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59232         * crypt/crypt-private.h: Include stdbool.h.
59233         (_ufc_setup_salt_r): Return bool.
59234         * crypt/crypt-entry.c: Include errno.h.
59235         (__crypt_r): Return NULL with EINVAL for bad salt.
59236         * crypt/crypt_util.c (bad_for_salt): New.
59237         (_ufc_setup_salt_r): Check that salt is long enough and within
59238         the specified alphabet.
59239         * crypt/badsalttest.c: New file.
59240         * crypt/Makefile (tests): Add it.
59241         ($(objpfx)badsalttest): New.
59243 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59245         * NEWS: Add entry for BZ #14602.
59247 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59249         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59250         type-generic.
59251         * math/libm-test.inc: Update comment listing what functions and
59252         macros are tested.
59253         (isgreater_test): New function.
59254         (isgreaterequal_test): Likewise.
59255         (isless_test): Likewise.
59256         (islessequal_test): Likewise.
59257         (islessgreater_test): Likewise.
59258         (isunordered_test): Likewise.
59259         (main): Call the new functions.
59261 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59263         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59264         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59265         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59266         * sysdeps/i386/configure: Regenerated.
59267         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59268         * sysdeps/mach/configure: Regenerated.
59269         * sysdeps/mach/hurd/configure: Regenerated.
59270         * sysdeps/powerpc/configure: Regenerated.
59271         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59272         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59273         * sysdeps/s390/s390-32/configure: Regenerated.
59274         * sysdeps/s390/s390-64/configure: Regenerated.
59275         * sysdeps/sh/configure: Regenerated.
59276         * sysdeps/sparc/configure: Regenerated.
59277         * sysdeps/unix/sysv/linux/configure: Regenerated.
59278         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59279         * sysdeps/x86_64/configure: Regenerated.
59281         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59282         defined.  Don't check if MAP is NULL.
59284 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59286         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59287         (_G_stat64): Likewise.
59288         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59289         (_G_stat64): Likewise.
59290         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59291         instead of struct _G_stat64.
59292         * libio/fileops.c (mmap_remap_check): Likewise.
59293         (decide_maybe_mmap): Likewise.
59294         (_IO_new_file_seekoff): Likewise.
59295         (_IO_file_stat): Likewise.
59296         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59297         _G_off64_t.
59298         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59299         instead of struct _G_stat64.
59300         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59302 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59304         [BZ #14602]
59305         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59306         Replace with ...
59307         (CHECK_EOL): New macro.
59308         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59309         CHECK_EOL.
59310         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59311         Replace with CHECK_EOL.
59312         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59313         Replace with CHECK_EOL.
59315 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59317         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59318         type-generic.
59319         * math/libm-test.inc: Update comment listing what functions and
59320         macros are tested.
59321         (finite_test): New function.
59322         (isinf_test): Likewise.
59323         (isnan_test): Likewise.
59324         (fpclassify_test): Test subnormal input.
59325         (isfinite_test): Likewise.
59326         (isnormal_test): Likewise.
59327         (main): Call the new functions.
59329 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59331         [BZ #14660]
59332         * Makerules (%.dynsym): Force C locale when running
59333         $(OBJDUMP) --dynamic-syms.
59335 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59337         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59338         <stdint.h>.
59340 2012-10-06  David S. Miller  <davem@davemloft.net>
59342         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59343         upper 32-bits of the length value in %o2 since we use branch-on-register
59344         tests which consider the entire 64-bit register.
59346 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59348         * string/test-strstr.c (check2): Add a test for page boundary.
59350 2012-10-05  David S. Miller  <davem@davemloft.net>
59352         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59353         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59354         file.
59355         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59356         sysdep_routines.
59357         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59358         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59359         and bzero when HWCAP_SPARC_CRYPTO is present.
59361 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59363         [BZ #14602]
59364         * string/test-strstr.c (check2): New function.
59365         (test_main): Call check2.
59367         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59368         and bug-strchr1.
59369         * string/bug-strcasestr1.c (do_test): Moved to ...
59370         * string/test-strcasestr.c (check1): Here.  New function.
59371         (do_one_test): Break out result checking code into ...
59372         (check_result): This.  New function.
59373         (do_one_test): Call check_result.
59374         (test_main): Call check1.
59375         * string/bug-strchr1.c (do_test): Moved to ...
59376         * string/test-strchr.c (check1): Here.  New function.
59377         (do_one_test): Break out result checking code into ...
59378         (check_result): This.  New function.
59379         (do_one_test): Call check_result.
59380         (test_main): Call check1.
59381         * string/bug-strstr1.c (main): Moved to ...
59382         * string/test-strstr.c (check1): Here.  New function.
59383         (do_one_test): Break out result checking code into ...
59384         (check_result): This.  New function.
59385         (do_one_test): Call check_result.
59386         (test_main): Call check1.
59387         * string/bug-strcasestr1.c: Removed.
59388         * string/bug-strchr1.c: Likewise.
59389         * string/bug-strstr1.c: Likewise.
59391         * elf/Makefile (dl-routines): Add hwcaps.
59392         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59393         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59394         (_dl_important_hwcaps): Moved to ...
59395         * elf/dl-hwcaps.c: Here.  New file.
59396         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59398         [BZ #14557]
59399         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59400         if IS_IN_rtld isn't defined.
59402         * elf/dl-support.c (_dl_sysinfo_map): New.
59403         Include "get-dynamic-info.h" and "setup-vdso.h".
59404         (_dl_non_dynamic_init): Call setup_vdso.
59405         * elf/dynamic-link.h: Don't include <assert.h>.
59406         (elf_get_dynamic_info): Moved to ...
59407         * elf/get-dynamic-info.h: Here.  New file.
59408         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59409         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59410         * elf/setup-vdso.h: Here.  New file.
59411         * elf/rtld.c: Include "setup-vdso.h".
59412         (dl_main): Call setup_vdso.
59414 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59416         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59417         creal in comment listing functions tested.  List finite, isinf,
59418         isnan, isless, islessequal, isgreater, isgreaterequal,
59419         islessgreater, isunordered, lgamma_r and pow10 as functions and
59420         macros not tested.  Mention which functions not tested are aliases
59421         for other functions.  Fix typo.  Note that signs of NaNs are not
59422         tested.
59424         * scripts/config.guess: Update from config.git.
59425         * scripts/config.sub: Likewise.
59427 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59429         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59430         * misc/madvise.c (madvise): Renamed to __madvise.
59431         Make madvise a weak alias.
59432         * include/sys/mman.h: Declare __madvise.
59433         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59434         * sysdeps/unix/syscalls.list
59435         (madvise): Make __madvise the strong name, and madvise a weak alias.
59436         * sysdeps/unix/sysv/linux/syscalls.list
59437         (madvise, mmap): Remove redundant entries.
59438         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59439         * malloc/malloc.c (mtrim): Likewise.
59440         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59442 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59444         * sysdeps/mach/hurd/dl-cache.c: File removed.
59445         * config.h.in (USE_LDCONFIG): New #undef.
59446         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59447         * configure: Regenerated.
59448         * elf/Makefile (dl-routines): Add dl-cache only under
59449         [$(use-ldconfig) = yes].
59450         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59451         cache on [USE_LDCONFIG].
59452         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59453         [USE_LDCONFIG].
59454         * elf/rtld.c (dl_main): Likewise.
59456 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59458         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59459         _SC_LEVEL4_CACHE_LINESIZE.
59461 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59463         * sysdeps/unix/bsd/confstr.h: File removed.
59465 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59467         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59468         sys/sdt-config.h.
59470 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59472         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59473         Make 'mapoff' field ElfW(Off) rather than off_t.
59475 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59477         * nscd/Makefile: Remove nscd-cflags and all its users.
59478         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59479         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59481         [BZ #10631]
59482         * malloc.c (malloc_printerr): Clarify error message.
59484 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59486         [BZ #14648]
59487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59488         Set bit_FMA_Usable if FMA is supported.
59489         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59490         macro.
59491         (bit_FMA4_Usable): Updated.
59492         (index_FMA_Usable): New macro.
59493         (CPUID_FMA): Likewise.
59494         (HAS_FMA): Defined with bit_FMA_Usable.
59496 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59498         * bits/types.h (__swblk_t): Type removed.
59499         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59500         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59501         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59502         (__SWBLK_T_TYPE): Likewise.
59503         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59504         (__SWBLK_T_TYPE): Likewise.
59505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59506         (__SWBLK_T_TYPE): Likewise.
59507         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59508         (__SWBLK_T_TYPE): Likewise.
59510 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59511             Honza Horak <hhorak@redhat.com>
59513         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59514         (xdr_mapname): Use YPMAXMAP as maxsize.
59515         (xdr_peername): Use YPMAXPEER as maxsize.
59516         (xdr_keydat): Use YPAXRECORD as maxsize.
59517         (xdr_valdat): Use YPMAXRECORD as maxsize.
59519 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59521         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59523         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59524         * csu/init-first.c: ... here.
59525         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59526         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59527         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59528         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59529         * sysdeps/i386/init-first.c: File removed.
59530         * sysdeps/sh/init-first.c: File removed.
59532 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59534         [BZ #14645]
59535         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59536         if x * y might underflow to zero and z is zero.
59537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59538         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59539         * math/libm-test.inc (min_subnorm_value): New variable.
59540         (fma_test): Add more tests.
59541         (fma_test_towardzero): Likewise.
59542         (fma_test_downward): Likewise.
59543         (fma_test_upward): Likewise.
59544         (initialize): Set min_subnorm_value.
59546 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59548         [BZ #14638]
59549         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59550         0 + 0.
59551         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59552         mode for addition resulting in exact zero.
59553         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59555         exact 0 + 0.
59556         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59558         * math/libm-test.inc (fma_test): Add more tests.
59559         (fma_test_towardzero): New function.
59560         (fma_test_downward): Likewise.
59561         (fma_test_upward): Likewise.
59562         (main): Call the new functions.
59564 2012-09-28  David S. Miller  <davem@davemloft.net>
59566         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59568 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59570         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59571         instead of SIGALRM.
59573         * sysdeps/gnu/_G_config.h: Moved to ...
59574         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59575         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59576         * sysdeps/generic/_G_config.h: ... here.
59578         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59580         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59582         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59583         Conditionalize target on [libnss_test1.so-version].
59585         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59587         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59588         (elfobjdir): Move out of conditionals.
59590         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59591         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59592         (__nss_lookup_function): Conditionalize label remove_from_tree on
59593         [!DO_STATIC_NSS || SHARED], matching its only use.
59595 2012-09-28  David S. Miller  <davem@davemloft.net>
59597         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59598         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59599         file.
59600         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59601         sysdep_routines.
59602         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59603         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59604         when HWCAP_SPARC_CRYPTO is present.
59606 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59608         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59610 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59612         [BZ #6530]
59613         * stdio-common/vfprintf.c (process_string_arg): Revert
59614         2000-07-22 change.
59616 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59618         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59619         for testcase.
59620         * stdio-common/tst-sprintf.c: Include <locale.h>
59621         (main): Test sprintf's handling of incomplete multibyte
59622         characters.
59624 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59626         * elf/dl-runtime.c (VERSYMIDX): Removed.
59627         * elf/dl-version.c (VERSYMIDX): Likewise.
59628         * elf/do-rel.h (VERSYMIDX): Likewise.
59629         (VALIDX): Likewise.
59630         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59631         * elf/rtld.c (VALIDX): Likewise.
59632         (ADDRIDX): Likewise.
59633         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59634         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59635         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59636         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59637         (VALIDX): Likewise.
59638         (ADDRIDX): Likewise.
59640 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59642         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59644 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59646         [BZ #11438]
59647         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59648         to global scope.
59649         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59650         addresses are in the same scope as 192.0.2/24.
59651         * posix/gai.conf: Document new scope table defaults.
59653 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59655         [BZ #5298]
59656         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59657         for ftell.  Compute offsets from write pointers instead.
59658         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59660 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59662         [BZ #14543]
59663         * libio/Makefile (tests): New test case tst-fseek.
59664         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59665         combination works in wide mode.
59666         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59667         state when the external buffer state changes.
59669 2012-09-27  David S. Miller  <davem@davemloft.net>
59671         [BZ #14376]
59672         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59673         pass reloc->r_addend in as the 'high' argument to
59674         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59678 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59680         * rt/tst-aio2.c: Include <pthread.h>.
59681         * rt/tst-aio3.c: Likewise.
59683 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59685         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59687 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59689         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59690         contents on [SHARED].
59692 2012-09-26  Marek Polacek  <polacek@redhat.com>
59694         [BZ #14530]
59695         [BZ #13741]
59696         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59697         for C++ and GCC <4.3 as well as for non GCC compilers.
59699 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59703 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59705         * Makefile.in (all, install): Declare with .PHONY.
59706         Reported by Michael Hope <michael.hope@linaro.org>.
59708 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59710         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59711         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59712         system header.
59713         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59714         Likewise.
59715         (sydep_routines): Add the new and the internal functions.
59716         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59717         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59719         (GLIBC_2.17): Add the new function.
59720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59721         (GLIBC_2.17): Likewise.
59722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59723         (GLIBC_2.17): Likewise.
59724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59725         (GLIBC_2.17): Likewise.
59726         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59728 2012-09-25  Alan Modra  <amodra@gmail.com>
59730         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59731         Add release barrier before setting once_control to say
59732         initialisation is done.  Add hints on lwarx.  Use macro in
59733         place of isync.
59734         (clear_once_control): Add release barrier.
59736 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59738         [BZ #13629]
59739         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59740         specially.
59741         * math/s_clog10.c (__clog10): Likewise.
59742         * math/s_clog10f.c (__clog10f): Likewise.
59743         * math/s_clog10l.c (__clog10l): Likewise.
59744         * math/s_clogf.c (__clogf): Likewise.
59745         * math/s_clogl.c (__clogl): Likewise.
59746         * math/Makefile (libm-calls): Add x2y2m1.
59747         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59748         (__x2y2m1): Likewise.
59749         (__x2y2m1l): Likewise.
59750         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59751         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59752         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59753         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59754         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59755         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59756         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59757         * sysdeps/i386/fpu/libm-test-ulps: Update.
59758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59760         [BZ #14621]
59761         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59762         int as type of variable DEPTH.
59763         (glob): Use size_t instead of int as type of variables NEWCOUNT
59764         and OLD_PATHC.
59766 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59768         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59769         Add s_sincosf-sse2.
59770         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59771         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59772         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59773         macros for using routine as __sincosf_ia32.
59774         Use macro for function declaration and weak_alias.
59775         * sysdeps/i386/fpu/libm-test-ulps: Update.
59777         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59780         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59781         subnormal argument.
59782         * math/s_cexpf.c (__cexpf): Likewise.
59783         * math/s_csinf.c (__csinf): Likewise.
59784         * math/s_csinhf.c (__csinhf): Likewise.
59785         * math/s_ctanf.c (__ctanf): Likewise.
59786         * math/s_ctanhf.c (__ctanhf): Likewise.
59787         * math/s_ccosh.c (__ccoshf): Likewise.
59788         * math/s_cexp.c (__cexpl): Likewise.
59789         * math/s_csin.c (__csin): Likewise.
59790         * math/s_csinh.c (__csinh): Likewise.
59791         * math/s_ctan.c (__ctan): Likewise.
59792         * math/s_ctanh.c (ctanh): Likewise.
59793         * math/s_ccoshl.c (__ccoshl): Likewise.
59794         * math/s_cexpl.c (__cexpl): Likewise.
59795         * math/s_csinl.c (__csinl): Likewise.
59796         * math/s_csinhl.c (__csinhl): Likewise.
59797         * math/s_ctanl.c (__ctanl): Likewise.
59798         * math/s_ctanhl.c (__ctanhl): Likewise.
59800 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59802         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59803         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59804         (_IO_off_t): Define to __off_t, not _G_off_t.
59805         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59806         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59807         (_IO_wint_t): Define to wint_t, not _G_wint_t.
59808         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59809         type of __dummy and __dummy2 fields.
59810         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59811         (_G_ssize_t): Likewise.
59812         (_G_off_t): Likewise.
59813         (_G_pid_t): Likewise.
59814         (_G_uid_t): Likewise.
59815         (_G_wchar_t): Likewise.
59816         (_G_wint_t): Likewise.
59817         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59818         (_G_ssize_t): Likewise.
59819         (_G_off_t): Likewise.
59820         (_G_pid_t): Likewise.
59821         (_G_uid_t): Likewise.
59822         (_G_wchar_t): Likewise.
59823         (_G_wint_t): Likewise.
59824         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59825         (_G_ssize_t): Likewise.
59826         (_G_off_t): Likewise.
59827         (_G_pid_t): Likewise.
59828         (_G_uid_t): Likewise.
59829         (_G_wchar_t): Likewise.
59830         (_G_wint_t): Likewise.
59832 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59834         * malloc/arena.c: Include malloc-sysdep.h.
59835         (shrink_heap): Use check_may_shrink_heap to decide if madvise
59836         is sufficient to shrink the heap or an unmap is needed.
59837         * sysdeps/generic/malloc-sysdep.h: New file.  Define
59838         new function check_may_shrink_heap.
59839         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
59840         new function check_may_shrink_heap.
59842 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59844         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59845         comments.
59847 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59849         * catgets/test-gencat.sh: Add "set -e".
59850         * elf/tst-pathopt.sh: Likewise.
59851         * grp/tst_fgetgrent.sh: Likewise.
59852         * iconvdata/run-iconv-test.sh: Likewise.
59853         * intl/tst-gettext.sh: Likewise.
59854         * intl/tst-gettext2.sh: Likewise.
59855         * intl/tst-gettext4.sh: Likewise.
59856         * intl/tst-gettext6.sh: Likewise.
59857         * intl/tst-translit.sh: Likewise.
59858         * io/ftwtest-sh: Likewise.
59859         * libio/test-freopen.sh: Likewise.
59860         * malloc/tst-mtrace.sh: Likewise.
59861         * posix/globtest.sh: Likewise.
59862         * posix/tst-getconf.sh: Likewise.
59863         * posix/wordexp-tst.sh: Likewise.
59864         * stdio-common/tst-printf.sh: Likewise.
59865         * stdio-common/tst-unbputc.sh: Likewise.
59866         * stdlib/tst-fmtmsg.sh: Likewise.
59867         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59868         * catgets/Makefile: Do not specify -e option when running
59869         testsuite shell scripts.
59870         * elf/Makefile: Likewise.
59871         * grp/Makefile: Likewise.
59872         * iconvdata/Makefile: Likewise.
59873         * intl/Makefile: Likewise.
59874         * io/Makefile: Likewise.
59875         * libio/Makefile: Likewise.
59876         * malloc/Makefile: Likewise.
59877         * posix/Makefile: Likewise.
59878         * stdio-common/Makefile: Likewise.
59879         * stdlib/Makefile: Likewise.
59880         * sysdeps/x86_64/Makefile: Likewise.
59882         * io/ftwtest-sh: Add copyright header.
59883         * posix/globtest.sh: Likewise.
59884         * posix/tst-getconf.sh: Likewise.
59885         * posix/wordexp-tst.sh: Likewise.
59886         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59888 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59890         [BZ #13679]
59891         * Makeconfig (+link): Defined as $(+link-static) if
59892         $(build-shared) isn't yes.
59893         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59894         isn't yes.
59895         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59897         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59899         [BZ #14562]
59900         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59901         new chunk size with MALLOC_ALIGN_MASK.
59903 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59905         [BZ #5044]
59906         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59907         <rounding-mode.h>.
59908         (__printf_fphex): Determine rounding using get_rounding_mode and
59909         round_away.
59910         * stdio-common/tst-printf-round.c (struct hex_test): New
59911         structure.
59912         (hex_tests): New variable.
59913         (test_hex_in_one_mode): New function.
59914         (do_test): Also run tests for hex float output.
59916 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59918         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59919         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59920         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59921         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59922         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59923         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59924         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59925         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59927 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59929         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59930         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59931         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59932         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59934 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59936         [BZ #14579]
59937         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59938         mode only.
59939         * elf/tst-rtld-load-self.sh: New test.
59940         * elf/Makefile: Run it.
59942 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59944         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59945         (tst-writev-ENV): Remove.
59946         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59948 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59950         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59952 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59954         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59955         unconditional.
59956         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59957         Likewise.
59958         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59959         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59960         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59961         Likewise.
59963 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59965         [BZ #14587]
59966         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59967         * config.make.in (have-cpp-asm-debuginfo): Removed.
59968         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59969         * configure: Regenerated.
59971 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59973         [BZ #5044]
59974         * stdio-common/printf_fp.c: Include <stdbool.h> and
59975         <rounding-mode.h>.
59976         (___printf_fp): Determine rounding using get_rounding_mode and
59977         round_away.
59978         * stdio-common/tst-printf-round.c: New file.
59979         * stdio-common/Makefile (tests): Add tst-printf-round.
59980         (link-libm): New variable.
59981         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59983 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59985         [BZ #14576]
59986         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59987         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59988         Likewise.
59989         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59990         Likewise.
59992 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59994         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59995         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59996         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59997         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59999 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60001         [BZ #14518]
60002         * include/rounding-mode.h: New file.
60003         * sysdeps/generic/get-rounding-mode.h: Likewise.
60004         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60005         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60006         (MAX_VALUE): New macro.
60007         (MIN_VALUE): Likewise.
60008         (overflow_value): New function.
60009         (underflow_value): Likewise.
60010         (round_and_return): Use overflow_value and underflow_value to
60011         determine return values in overflow and underflow cases.  Use
60012         round_away to determine rounding depending on rounding mode.
60013         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60014         determine return values in overflow and underflow cases.
60015         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60016         (struct test_results): New structure.
60017         (struct test): Use struct test_results to store expected results
60018         for all rounding modes.
60019         (TEST): Include expected results for all rounding modes.
60020         (test_in_one_mode): New function.
60021         (do_test): Use test_in_one_mode to compute and check results.
60022         Check results for all rounding modes.
60023         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60024         $(link-libm).
60026 2012-12-09  Allan McRae  <allan@archlinux.org>
60028         * sysdeps/i386/fpu/libm-test-ulps: Update
60030 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60032         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60033         (_G_int32_t): Likewise.
60034         (_G_uint16_t): Likewise.
60035         (_G_uint32_t): Likewise.
60036         (_G_HAVE_BOOL): Likewise.
60037         (_G_HAVE_ATEXIT): Likewise.
60038         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60039         (_G_HAVE_IO_FILE_OPEN): Likewise.
60040         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60041         (_G_int32_t): Likewise.
60042         (_G_uint16_t): Likewise.
60043         (_G_uint32_t): Likewise.
60044         (_G_HAVE_BOOL): Likewise.
60045         (_G_HAVE_ATEXIT): Likewise.
60046         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60047         (_G_HAVE_IO_FILE_OPEN): Likewise.
60048         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60049         (_G_int32_t): Likewise.
60050         (_G_uint16_t): Likewise.
60051         (_G_uint32_t): Likewise.
60052         (_G_HAVE_BOOL): Likewise.
60053         (_G_HAVE_ATEXIT): Likewise.
60054         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60055         (_G_HAVE_IO_FILE_OPEN): Likewise.
60057 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60059         * csu/libc-tls.c: Update copyright years.
60061 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60063         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60064         [!_G_USING_THUNKS]: Remove conditional code.
60065         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60066         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60068         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60069         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60070         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60071         (_G_VTABLE_LABEL_PREFIX): Likewise.
60072         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60073         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60074         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60075         (_G_VTABLE_LABEL_PREFIX): Likewise.
60076         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60077         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60078         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60079         (_G_VTABLE_LABEL_PREFIX): Likewise.
60080         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60082 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60084         * libio/Makefile: Include ../Makeconfig before tests.
60085         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60086         only if $(build-shared) is yes.
60088         * iconv/gconv_db.c: Update copyright years.
60090 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60092         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60093         unwind info if defined PIC. Fix special cases description.
60094         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60096         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60097         DP_HI_MASK entry.
60098         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60100 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60102         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60104         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60105         is NULL.
60107         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60108         (LDLIBS-tst-chk4): This.
60109         (LDFLAGS-tst-chk5): Renamed to ...
60110         (LDLIBS-tst-chk5): This.
60111         (LDFLAGS-tst-chk6): Renamed to ...
60112         (LDLIBS-tst-chk6): This.
60113         (LDFLAGS-tst-lfschk4): Renamed to ...
60114         (LDLIBS-tst-lfschk4): This.
60115         (LDFLAGS-tst-lfschk5): Renamed to ...
60116         (LDLIBS-tst-lfschk5): This.
60117         (LDFLAGS-tst-lfschk6): Renamed to ...
60118         (LDLIBS-tst-lfschk6): This.
60120         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60121         on $(common-objpfx)soversions.mk.
60123 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60125         [BZ #10014]
60126         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60127         example host name.
60129 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60131         * malloc/arena.c (arena_get_retry): New function that gets
60132         another arena for the caller to try its request on.
60133         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60134         current arena cannot fulfill the request.
60135         (__libc_memalign): Likewise.
60136         (__libc_memalign): Likewise.
60137         (__libc_pvalloc): Likewise.
60138         (__libc_calloc): Likewise.
60140 2012-09-05  John Tobey  <john.tobey@gmail.com>
60142         [BZ #13542]
60143         * manual/arith.texi (Operations on Complex): Fix description
60144         of carg branch cut.
60146 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60148         [BZ #10014]
60149         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60150         host name.
60152         [BZ #10038]
60153         * manual/memory.texi (Memory): Make order of menu items match
60154         order of sections.
60156 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60158         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60159         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60160         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60162 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60164         * csu/libc-tls.c (static_dtv): Renamed to ...
60165         (_dl_static_dtv): This.  Make it global.
60166         (_dl_initial_dtv): Removed.
60167         (__libc_setup_tls): Updated.
60168         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60169         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60170         DL_INITIAL_DTV.
60172 2012-09-06  Petr Machata  <pmachata@redhat.com>
60174         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60175         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60176         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60177         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60179 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60181         [BZ #14545]
60182         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60183         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60184         freeing dtv[-1].
60186 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60188         [BZ #14544]
60189         * Makeconfig (link-static-before-libc): Replace $(+prector)
60190         with $(+prectorT).
60191         (link-static-after-libc): Replace $(+postctor) with
60192         $(+postctorT).
60193         (link-bounded): Replace $(+prector)/$(+postctor) with
60194         $(+prectorT)/$(+postctorT).
60195         (+prectorT): New macro.
60196         (+postctorT): Likewise.
60198 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60200         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60201         (round_str): Handle values above the maximum for IBM long double
60202         as inexact.
60203         * stdlib/tst-strtod-round.c (tests): Regenerated.
60205 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60207         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60208         assembler flag.
60209         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60210         zarch_nohighgprs around the zarch optimized routines.
60211         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60212         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60213         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60214         for zarch.
60216 2012-09-05  David S. Miller  <davem@davemloft.net>
60218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60220         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60221         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60222         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60223         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60224         entries.
60226 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60228         * malloc/arena.c: Fold copyright years.
60229         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60231 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60233         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60235 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60237         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60239 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60241         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60242         change internal state upon failure.
60244 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60246         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60247         * malloc/memusage.c (mmap): Likewise.
60248         (mmap64, mremap): Likewise.  Adjust name in comment.
60250 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60252         * libio/fileops.c: Fix typos in comments.
60253         * libio/oldfileops.c: Likewise.
60254         * libio/wfileops.c: Likewise.
60256 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60258         [BZ #1349]
60259         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60260         (tst-malloc-usable-ENV): Set environment for test case.
60261         * malloc/hooks.c (malloc_check_get_size): New function to get
60262         requested size.
60263         * malloc/malloc.c (musable): Use malloc_check_get_size.
60264         * malloc/tst-malloc-usable.c: New test case.
60266 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60268         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60270 2012-09-05  Allan McRae  <allan@archlinux.org>
60272         [BZ #13966]
60273         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60274         determine header location.
60275         * configure: Regenerated.
60277 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60279         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60280         float format.
60281         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60282         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60283         format.
60284         (test): Regenerate.
60286 2012-09-04  David S. Miller  <davem@davemloft.net>
60288         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60289         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60290         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60292 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60294         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60295         failures.
60297         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60299 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60301         [BZ #9914]
60302         * libio/iogetdelim.c: Include <limits.h>.
60303         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60304         + len + 1 would overflow.
60306 2012-09-03  Andreas Jaeger  <aj@suse.de>
60308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60309         * sysdeps/i386/fpu/libm-test-ulps: Update.
60311 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60313         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60314         Add s_sinf-sse2, s_conf-sse2.
60316         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60317         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60318         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60319         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60321         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60322         for using routine as __sinf_ia32.
60323         Use macro for function declaration and weak_alias.
60324         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60325         for using routine as __cosf_ia32.
60326         Use macro for function declaration and weak_alias.
60328         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60329         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60331         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60332         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60335         * math/libm-test.inc (cos_test): Add more test cases.
60336         (sin_test): Likewise.
60337         (sincos_test): Likewise.
60339 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60342         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60343         hidden.
60344         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60346 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60348         [BZ #14538]
60349         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60350         first element of the GOT.
60351         (elf_machine_load_address): Return the difference between
60352         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60354 2012-09-01  Allan McRae  <allan@archlinux.org>
60356         [BZ #13412]
60357         * configure.in (AWK): Require gawk version 3.0 or later.
60358         * configure: Regenerated.
60360 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60362         * sysdeps/unix/sysv/linux/kernel-features.h
60363         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60364         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60365         [__NR_clock_getres]: Make code unconditional.
60366         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60367         (clock_getcpuclockid): Remove code left unreachable by removal of
60368         conditionals.
60369         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60370         code unconditional.
60371         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60372         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60373         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60374         Make code unconditional.
60375         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60376         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60377         * sysdeps/unix/sysv/linux/clock_settime.c
60378         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60379         conditional code.
60380         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60381         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60383 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60385         [BZ #14476]
60386         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60387         scripts/test-installation.pl.
60389         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60390         and $ld_so_version if it is set.
60392 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60394         [BZ #14516]
60395         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60396         failure if reading from procfs failed.
60397         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60399 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60401         * sysdeps/unix/sysv/linux/kernel-features.h
60402         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60403         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60404         Remove conditional code.
60405         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60406         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60407         Remove conditional code.
60408         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60409         * sysdeps/unix/sysv/linux/i386/fxstat.c
60410         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60411         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60412         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60413         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60414         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60415         * sysdeps/unix/sysv/linux/i386/lxstat.c
60416         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60417         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60418         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60419         Remove conditional code.
60420         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60421         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60422         Remove conditional code.
60423         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60424         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60425         <kernel-features.h>.
60426         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60427         Remove.
60428         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60429         Remove conditional code.
60430         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60431         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60432         Remove conditional.
60434 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60436         [BZ #5400]
60437         * NEWS: Add fixed bug number.
60439 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60441         [BZ #14519]
60442         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60443         underflowing exponent in case of negative sign.
60444         * stdlib/tst-strtod-round-data: Add more tests.
60445         * stdlib/tst-strtod-round.c (tests): Regenerated.
60447         [BZ #3479]
60448         * stdlib/strtod_l.c (NDIG): Remove.
60449         (HEXNDIG): Likewise.
60450         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60451         smallest representable value.
60452         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60453         lie within an exact representation of 1/2 ulp of the result.
60454         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60455         unconditionally.
60456         (TENS_P9_IDX): Define unconditionally.
60457         (TENS_P9_SIZE): Likewise.
60458         (TENS_P10_IDX): Likewise.
60459         (TENS_P10_SIZE): Likewise.
60460         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60461         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60462         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60463         entries for 10^2^13 and 10^2^14.
60464         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60465         (TENS_P13_IDX): Define.
60466         (TENS_P13_SIZE): Likewise.
60467         (TENS_P14_IDX): Likewise.
60468         (TENS_P14_SIZE): Likewise.
60469         (_fpioconst_pow10): Change array size to
60470         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60471         unconditional.
60472         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60473         1024]: Add entries for 10^2^13 and 10^2^14.
60474         [LAST_POW10 > _LAST_POW10]: Remove #error.
60475         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60476         (_fpioconst_pow10): Change array size to
60477         FPIOCONST_POW10_ARRAY_SIZE.
60478         * stdlib/gen-fpioconst.c: New file.
60479         * stdlib/gen-tst-strtod-round.c: Likewise.
60480         * stdlib/tst-strtod-round-data: Likewise.
60481         * stdlib/tst-strtod-round.c: Likewise.
60482         * stdlib/Makefile (tests): Add tst-strtod-round.
60484         [BZ #14459]
60485         * stdlib/strtod_l.c: Include <stdint.h>.
60486         (NDEBUG): Do not define.
60487         (round_and_return): Change EXPONENT parameter to type intmax_t.
60488         Rearrange calculations to avoid internal overflow possibilities.
60489         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60490         Rearrange calculations to avoid internal overflow possibilities.
60491         Assert that number fits inside MPNSIZE limbs.
60492         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60493         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60494         calculations and add assertions to avoid internal overflow
60495         possibilities.  Add casts to avoid signed/unsigned operations.
60496         * stdlib/tst-strtod-overflow.c: New file.
60497         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60499 2012-08-25  Marek Polacek  <polacek@redhat.com>
60501         * time/time.h: Fix some typos in comments.
60503 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60505         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60506         * posix/tst-rfc3484-2.c: Likewise.
60507         * posix/tst-rfc3484-3.c: Likewise.
60509 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60511         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60512         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60514 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60516         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60517         #include of fxstatat64.c.
60519 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60521         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60522         * shadow/getspent_r.c: Likewise.
60523         * shadow/getspnam.c: Likewise.
60524         * shadow/getspnam_r.c: Likewise.
60525         * gshadow/getsgent.c: Likewise.
60526         * gshadow/getsgent_r.c: Likewise.
60527         * gshadow/getsgnam.c: Likewise.
60528         * gshadow/getsgnam_r.c: Likewise.
60529         * inet/getnetbyad.c: Likewise.
60530         * inet/getnetbyad_r.c: Likewise.
60531         * inet/getnetbynm.c: Likewise.
60532         * inet/getnetbynm_r.c: Likewise.
60533         * inet/getnetent.c: Likewise.
60534         * inet/getnetent_r.c: Likewise.
60535         * inet/getproto.c: Likewise.
60536         * inet/getproto_r.c: Likewise.
60537         * inet/getprtent.c: Likewise.
60538         * inet/getprtent_r.c: Likewise.
60539         * inet/getprtname.c: Likewise.
60540         * inet/getprtname_r.c: Likewise.
60541         * inet/getrpcbyname.c: Likewise.
60542         * inet/getrpcbyname_r.c: Likewise.
60543         * inet/getrpcbynumber.c: Likewise.
60544         * inet/getrpcbynumber_r.c: Likewise.
60545         * inet/getrpcent.c: Likewise.
60546         * inet/getrpcent_r.c: Likewise.
60547         * inet/getaliasent.c: Likewise.
60548         * inet/getaliasent_r.c: Likewise.
60549         * inet/getaliasname.c: Likewise.
60550         * inet/getaliasname_r.c: Likewise.
60551         * nscd/getgrgid_r.c: Likewise.
60552         * nscd/getgrnam_r.c: Likewise.
60553         * nscd/gethstbyad_r.c: Likewise.
60554         * nscd/gethstbynm3_r.c: Likewise.
60555         * nscd/getpwnam_r.c: Likewise.
60556         * nscd/getpwuid_r.c: Likewise.
60557         * nscd/getsrvbynm_r.c: Likewise.
60558         * nscd/getsrvbypt_r.c: Likewise.
60559         * nscd/gai.c: Likewise.
60561         * configure.in (build_nscd): New substituted variable, set
60562         by --disable-build-nscd and defaults to $use_nscd.
60563         * configure: Regenerated.
60564         * config.make.in (build-nscd): New substituted variable.
60565         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60566         Change conditional to require [$(build-nscd) = yes] as well.
60567         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60569         [BZ# 13696]
60570         * configure.in (use_nscd): New substituted variable, set by
60571         --disable-nscd.  If enabled, define USE_NSCD.
60572         * configure: Regenerated.
60573         * config.h.in: Add USE_NSCD.
60574         * config.make.in (use-nscd): New substituted variable.
60575         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60576         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60577         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60578         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60579         (CFLAGS-getgrnam_r.c): Likewise.
60580         (CFLAGS-initgroups.c): Likewise.
60581         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60582         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60583         Variables removed.
60584         * inet/getnetgrent_r.c
60585         (nscd_setnetgrent): New function, broken out of ...
60586         (setnetgrent): ... here.  Call it.
60587         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60588         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60589         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60590         * nscd/Makefile (routines, aux): Move definitions after include of
60591         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60592         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60593         Conditionalize on [USE_NSCD].
60594         (is_nscd, nscd_init_cb): Likewise.
60595         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60596         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60597         * nss/nss_db/db-init.c: Likewise.
60598         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60599         [USE_NSCD].
60600         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60601         (make_request): Use it.
60602         (cache_valid_p): New function.
60603         (__check_pf): Use it.
60604         * NEWS: Add item for --disable-nscd.
60606 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60608         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60609         to support sed >= 4.2.1-20-ga9bf076.
60610         * configure: Regenerated.
60612 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60614         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60615         Conditionalize whole body on [IREL].
60617 2012-08-22  Jeff Law <law@redhat.com>
60619         [BZ #14505]
60620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60621         if the family is PF_UNSPEC.
60623 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60625         * Makerules (lib-version): Rename from V.
60626         (install-lib-nosubdir): Change V to lib-version.
60628 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60630         [BZ #14252]
60631         * powerpc32/power6/wcschr.c: New file.
60632         * powerpc32/power6/wcscpy.c: New file.
60633         * powerpc32/power6/wcsrchr.c: New file.
60634         * powerpc64/power6/wcschr.c: New file.
60635         * powerpc64/power6/wcscpy.c: New file.
60636         * powerpc64/power6/wcsrchr.c: New file.
60638 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60640         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60641         (two_way_short_needle): Use it.
60642         * string/strstr.c (AVAILABLE1_USES_J): Define.
60643         * string/strcasestr.c: Likewise.
60645         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60646         array references.
60647         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60649         [BZ #11607]
60650         * NEWS: Add an entry.
60651         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60652         define their defaults.
60653         (two_way_short_needle): Detect end-of-string on-the-fly.
60654         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60655         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60656         * string/bug-strcasestr1.c: New test.
60657         * string/Makefile: Run it.
60659 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60661         [BZ #11607]
60662         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60663         the first character.
60665 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60667         * csu/elf-init.c (__libc_csu_irel): Function removed.
60668         * csu/libc-start.c (apply_irel): New function.
60669         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60671 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60673         * sysdeps/unix/sysv/linux/kernel-features.h
60674         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60675         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60676         <kernel-features.h>.
60677         [__NR_fadvise64_64]: Make code unconditional.
60678         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60679         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60680         !__NR_fadvise64_64)]: Likewise.
60681         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60682         !__NR_fadvise64_64))]: Likewise.
60683         [__NR_fadvise64]: Make code unconditional.
60684         [!__NR_fadvise64]: Remove conditional code.
60685         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60686         <kernel-features.h>.
60687         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60688         unconditional.
60689         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60690         conditional code.
60691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60692         not include <kernel-features.h>.
60693         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60694         unconditional.
60695         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60696         conditional code.
60697         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60698         include <kernel-features.h>.
60699         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60700         unconditional.
60701         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60702         conditional code.
60704 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60706         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60707         slight instruction rearrangements per scrollpipe analysis.
60708         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60710 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60712         * manual/syslog.texi (syslog; vsyslog, closelog):
60713         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60714         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60716         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60717         DSOCAPS to match condition on defining it.
60719 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60721         * sysdeps/unix/sysv/linux/kernel-features.h
60722         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60724         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60725         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60727         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60728         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60730         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60731         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60733         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60734         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60736         * sysdeps/unix/sysv/linux/kernel-features.h
60737         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60738         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60739         unconditional.
60740         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60741         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60742         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60743         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60744         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60745         Make code unconditional.
60746         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60747         (__mmap64) [!__NR_mmap2]: Likewise.
60748         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60749         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60750         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60751         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60752         [__NR_mmap2]: Make code unconditional.
60753         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60754         (__mmap64) [!__NR_mmap2]: Likewise.
60756 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60758         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60760 2012-08-18  Andreas Jaeger  <aj@suse.de>
60762         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60764 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60766         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60767         * include/unistd.h (__have_sock_cloexec): Likewise.
60768         (__have_pipe2): Likewise.
60769         (__have_dup3): Likewise.
60771 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60773         [BZ #9685]
60774         * include/unistd.h (__have_pipe2): Change define into an extern int.
60775         (__have_dup3): Likewise.
60776         * socket/have_sock_cloexec.c: Include fcntl.h.
60777         (__have_pipe2): New variable.
60778         (__have_dup3): Likewise.
60780 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
60782         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60784 2012-08-17  Marek Polacek  <polacek@redhat.com>
60786         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60787         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60789 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60791         * configure.in: Add AC_SUBST for sysheaders.
60792         * configure: Regenerated.
60793         * config.make.in (sysheaders): New substituted variable.
60795         * sysdeps/unix/mkfifo.c: Moved ...
60796         * sysdeps/posix/mkfifo.c: ... here.
60797         * sysdeps/unix/mkfifoat.c: Moved ...
60798         * sysdeps/posix/mkfifoat.c: ... here.
60800         * sysdeps/unix/utime.c: Moved ...
60801         * sysdeps/posix/utime.c: ... here.
60803         * sysdeps/unix/time.c: Moved ...
60804         * sysdeps/posix/time.c: ... here.
60805         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60806         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60808         * sysdeps/unix/nice.c: Moved ...
60809         * sysdeps/posix/nice.c: ... here.
60811         * sysdeps/unix/alarm.c: Moved ...
60812         * sysdeps/posix/alarm.c: ... here.
60814         * intl/Makefile ($(codeset_mo)): Depend on the input file.
60816 2012-08-17  Jeff Law <law@redhat.com>
60818         * intl/Makefile (codeset_mo): New variable.
60819         ($(codeset_mo)): New target.
60820         (tst-codeset.out): Depend on that.  Remove explicit rule.
60821         (tst-gettext3.out, tst-gettext5.out): Likewise.
60822         (LOCPATH-ENV, tst-codeset-ENV): New variables.
60823         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60824         * intl/tst-codeset.sh: Remove.
60825         * intl/tst-gettext3.sh: Likewise.
60826         * intl/tst-gettext5.sh: Likewise.
60828 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60830         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
60831         * sysdeps/unix/syscalls.list: ... here.
60833         * sysdeps/posix/getaddrinfo.c
60834         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60835         (gaiconf_init, gaiconf_reload): Use them.
60836         [!_STATBUF_ST_NSEC]
60837         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60838         Define using time_t rather than struct timespec.
60840         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60841         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60842         Macros removed.
60843         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60844         [!NO_THREADS].
60845         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60846         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60847         Likewise.
60849         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60850         __libc_cleanup_push argument.
60852         * bits/param.h: New file.
60853         * misc/sys/param.h: New file.
60854         * include/sys/param.h: New file.
60855         * misc/Makefile (headers): Add bits/param.h.
60856         * sysdeps/generic/sys/param.h: File removed.
60857         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60858         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60859         * sysdeps/mach/hurd/bits/param.h: New file.
60860         * sysdeps/mach/hurd/sys/param.h: File removed.
60862         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60863         last change.
60865         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60866         [_IO_MTSAFE_IO].
60867         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60868         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60869         New macros.
60871         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60872         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60873         rather than -D_IO_MTSAFE_IO conditionally.
60874         * stdio-common/Makefile (CPPFLAGS): Likewise.
60875         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60876         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60877         Use $(libio-mtsafe).
60878         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60879         of -D_IO_MTSAFE_IO.
60880         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60881         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60882         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60883         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60884         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60885         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60886         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60887         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60888         (CFLAGS-fread_u_chk.c): Likewise.
60889         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60890         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60891         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60892         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60893         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60894         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60895         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60896         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60897         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60899         * libio/Makefile: Test [$(libc-reentrant) = yes]
60900         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60902         * Makeconfig
60903         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60904         * sysdeps/pthread/configure: File removed.
60905         * sysdeps/pthread/Makeconfig: New file.
60906         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60907         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60909 2012-08-16  Gary Benson  <gbenson@redhat.com>
60911         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60912         unmapping the first object in a namespace.
60914 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60916         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60917         (__internal_setnetgrent): ... this.  Add internal_function to
60918         definition.  Add libc_hidden_def.
60919         (setnetgrent): Update caller.
60920         (internal_endnetgrent): Renamed to ...
60921         (__internal_endnetgrent): ... this.  Add internal_function to
60922         definition.  Add libc_hidden_def.
60923         (endnetgrent): Update caller.
60924         (internal_getnetgrent_r): Renamed to ...
60925         (__internal_getnetgrent_r): ... this.  Add internal_function to
60926         definition.  Add libc_hidden_def.
60927         (__getnetgrent_r): Update caller.
60928         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60930 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60932         * stdlib/longlong.h: Update from GCC.
60934 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60936         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60937         on _QL, which is set by umul_ppmm but never used.
60938         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60939         variables, which are set by GMP macros but never used.
60940         * stdio-common/_itowa.c (_itowa): Likewise.
60941         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60942         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60944 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60946         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60947         struct La_sh_regs is not constant.
60948         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60949         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60950         and struct La_sparc64_regs are not constant.
60952 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60954         * sysdeps/unix/sysv/linux/kernel-features.h
60955         (__ASSUME_POSIX_TIMERS): Remove.
60956         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60957         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60958         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60959         Make code unconditional.
60960         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60961         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60962         Make code unconditional.
60963         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60964         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60965         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60966         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60967         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60968         Make code unconditional.
60969         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60970         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60971         (__libc_missing_posix_timers): Remove.
60973 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60975         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60976         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60978         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60980         * elf/dl-sym.c: Include <stdlib.h>.
60982         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60983         constants, which avoids warnings in 32-bit builds.
60985         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60986         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60988         * misc/lseek.c: File moved to ...
60989         * io/lseek.c: ... here.
60991         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60993         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60994         shifting LEN more than 31 bits at once.
60996 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60998         [BZ #14195]
60999         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61000         segmentation fault for a case of two empty input strings.
61001         * string/test-strncasecmp.c (check1): Renamed to...
61002         (bz12205): ...this.
61003         (bz14195): Add new testcase for two empty input strings and N > 0.
61004         (test_main): Call new testcase, adapt for renamed function.
61006 2012-08-15  Andreas Jaeger  <aj@suse.de>
61008         [BZ #14090]
61009         * crypt/md5test2.c: New test, based on test supplied by Serge
61010         Belyshev <belyshev@depni.sinp.msu.ru>.
61011         * crypt/Makefile (xtests): Add md5test-giant..
61012         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61014 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61016         [BZ #14090]
61017         * crypt/md5.c (md5_process_block): Don't assume the buffer
61018         length is less than 2**32.
61019         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61020         length is less than 2**64.
61022 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61024         * string/str-two-way.h: Include <sys/param.h>.
61025         (MAX): Macro removed.
61027         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61028         Move #define and #undef of memmove to just before and after
61029         including <string.h>.
61031         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61032         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61033         and after including <string.h>.  Move declarations of
61034         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61035         to before #include "string/memmove.c".
61037         * include/dirent.h: Declare __getdirentries.
61039         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61040         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61042 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61044         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61045         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61046         * sysdeps/i386/configure: Regenerated.
61047         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61048         STABS_CURRENT_FILE, and STABS_FUN.
61049         (END): Remove call to STABS_FUN_END.
61050         (STABS_CURRENT_FILE1): Delete.
61051         (STABS_CURRENT_FILE): Likewise.
61052         (STABS_FUN): Likewise.
61053         (STABS_FUN_END): Likewise.
61054         (STABS_FUN2): Likewise.
61055         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61056         * sysdeps/x86_64/configure: Regenerated.
61058 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61060         * elf/dl-open.c: Include <atomic.h>.
61061         * elf/dl-lookup.c: Likewise.
61063 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61065         * sysdeps/unix/sysv/linux/kernel-features.h
61066         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61067         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61068         unconditionally.
61069         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61070         unconditionally.
61071         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61072         condition on __ASSUME_CLONE_THREAD_FLAGS.
61074 2012-08-14  Andreas Jaeger  <aj@suse.de>
61076         * sysdeps/i386/fpu/libm-test-ulps: Update.
61078 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61080         * include/atomic.h (atomic_exchange_and_add): Split into ...
61081         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61082         New atomic macros.
61084 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61088 2012-08-13  Jeff Law <law@redhat.com>
61090         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61091         null byte in the output string.
61093 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61095         * sysdeps/unix/sysv/linux/kernel-features.h
61096         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61097         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61098         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61099         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61100         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61101         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61102         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61104 2012-08-09  Jeff Law <law@redhat.com>
61106         [BZ #13939]
61107         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61108         When avoid_arena is set, don't retry in the that arena.  Pick the
61109         next one, whatever it might be.
61110         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61111         (arena_lock): Pass in new parameter to arena_get2.
61112         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61113         arena_get2.
61114         (__libc_malloc): Unify retrying after main arena failure with
61115         __libc_memalign version.
61116         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61118 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61120         [BZ #14166]
61121         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61122         to __redirect_strstr.
61123         (__strstr_sse42): Use typeof __redirect_strstr.
61124         (__strstr_ia32): Likewise.
61125         (__libc_strstr): New prototype.
61126         (strstr): Renamed to ...
61127         (__libc_strstr): This.
61128         (strstr): New strong alias of __libc_strstr.
61129         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61130         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61131         __redirect_time.
61132         Include <time.h>.
61133         (__libc_time): New prototype.
61134         (time_ifunc): Replace time with __libc_time.
61135         (time): New strong alias and hidden definition of __libc_time.
61136         (__GI_time): Remove strong alias.
61137         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61138         Include <stddef.h>.
61139         (memmove): Redefined to __redirect_memmove.
61140         (__memmove_sse2): Use typeof __redirect_memmove.
61141         (__memmove_ssse3): Likewise.
61142         (__memmove_ssse3_back): Likewise.
61143         (__libc_memmove): New prototype.
61144         (memmove): Renamed to ...
61145         (__libc_memmove): This.
61146         (memmove): New strong alias of __libc_memmove.
61148 2012-08-08  Mark Salter  <msalter@redhat.com>
61150         * elf/elf.h
61151         (R_MN10300_TLS_GD): Define.
61152         (R_MN10300_TLS_LD): Likewise.
61153         (R_MN10300_TLS_LDO): Likewise.
61154         (R_MN10300_TLS_GOTIE): Likewise.
61155         (R_MN10300_TLS_IE): Likewise.
61156         (R_MN10300_TLS_LE): Likewise.
61157         (R_MN10300_TLS_DTPMOD): Likewise.
61158         (R_MN10300_TLS_DTPOFF): Likewise.
61159         (R_MN10300_TLS_TPOFF): Likewise.
61160         (R_MN10300_SYM_DIFF): Likewise.
61161         (R_MN10300_ALIGN): Likewise.
61162         (R_MN10300_NUM): Update.
61164 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61166         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61167         Remove.
61169 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61171         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61173         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61174         sysdeps/unix -> sysdeps/posix move.
61175         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61177 2012-08-07      Allan McRae     <allan@archlinux.org>
61179         [BZ #14303]
61180         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61181         (SUNOS_CPP): Likewise.
61182         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61183         not found.
61184         (open_input): Call CPP using execvp.
61186 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61188         * sysdeps/unix/sysv/linux/kernel-features.h
61189         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61190         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61191         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61192         (__ASSUME_WAITID_SYSCALL): Likewise.
61193         * sysdeps/unix/sysv/linux/dl-execstack.c
61194         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61195         code unconditional.
61196         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61197         conditional code.
61198         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61199         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61200         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61201         code.
61202         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61203         unconditional.
61204         [__ASSUME_WAITID_SYSCALL]: Likewise.
61205         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61207 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61209         * sysdeps/unix/closedir.c: Renamed to ...
61210         * sysdeps/posix/closedir.c: ... here.
61211         * sysdeps/unix/dirfd.c: Renamed to ...
61212         * sysdeps/posix/dirfd.c: ... here.
61213         * sysdeps/unix/dirstream.h: Renamed to ...
61214         * sysdeps/posix/dirstream.h: ... here.
61215         * sysdeps/unix/fdopendir.c: Renamed to ...
61216         * sysdeps/posix/fdopendir.c: ... here.
61217         * sysdeps/unix/opendir.c: Renamed to ...
61218         * sysdeps/posix/opendir.c: ... here.
61219         * sysdeps/unix/readdir.c: Renamed to ...
61220         * sysdeps/posix/readdir.c: ... here.
61221         * sysdeps/unix/readdir_r.c: Renamed to ...
61222         * sysdeps/posix/readdir_r.c: ... here.
61223         * sysdeps/unix/rewinddir.c: Renamed to ...
61224         * sysdeps/posix/rewinddir.c: ... here.
61225         * sysdeps/unix/seekdir.c: Renamed to ...
61226         * sysdeps/posix/seekdir.c: ... here.
61227         * sysdeps/unix/telldir.c: Renamed to ...
61228         * sysdeps/posix/telldir.c: ... here.
61229         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61230         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61231         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61232         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61234         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61235         * bits/fcntl.h: ... here.
61237         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61238         not 0.
61239         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61240         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61241         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61242         (struct flock): Move l_start, l_len to the beginning.
61243         Use __pid_t for l_pid.
61244         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61245         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61246         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61247         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61248         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61249         [__USE_LARGEFILE64] (struct flock64): New type.
61250         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61252         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61253         * bits/dirent.h: ... here.
61255         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61256         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61258 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61260         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61261         Change from 2.6.0 to 2.6.16.
61262         * sysdeps/unix/sysv/linux/configure: Regenerated.
61263         * sysdeps/unix/sysv/linux/kernel-features.h
61264         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61265         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61266         version.
61267         (__ASSUME_UTIMES): Likewise.
61268         (__ASSUME_CLONE_STOPPED): Remove.
61269         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61270         architectures, not kernel version.
61271         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61272         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61273         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61274         (__ASSUME_WAITID_SYSCALL): Likewise.
61275         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61276         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61277         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61278         refer to older versions.
61280 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61282         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61283         Define alphasort64 as an alias.
61284         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61285         Define versionsort64 as an alias.
61286         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61287         Define scandir64 as an alias.
61288         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61289         Define scandirat64 as an alias.
61290         * dirent/alphasort64.c (alphasort64):
61291         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61292         * dirent/versionsort64.c: Likewise.
61293         * dirent/scandir64.c: Likewise.
61294         * dirent/scandirat64.c: Likewise.
61295         * sysdeps/wordsize-64/alphasort.c: File removed.
61296         * sysdeps/wordsize-64/alphasort64.c: File removed.
61297         * sysdeps/wordsize-64/scandir.c: File removed.
61298         * sysdeps/wordsize-64/scandir64.c: File removed.
61299         * sysdeps/wordsize-64/scandirat.c: File removed.
61300         * sysdeps/wordsize-64/scandirat64.c: File removed.
61301         * sysdeps/wordsize-64/versionsort.c: File removed.
61302         * sysdeps/wordsize-64/versionsort64.c: File removed.
61303         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61304         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61305         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61306         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61307         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61308         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61309         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61310         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61312         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61313         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61314         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61315         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61316         [defined __arch64__ || defined __sparcv9]
61317         (__INO_T_MATCHES_INO64_T): New macro.
61318         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61319         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61320         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61321         * sysdeps/unix/sysv/linux/bits/dirent.h
61322         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61323         (_DIRENT_MATCHES_DIRENT64): New macro.
61325         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61326         Define lockf64 as an alias.
61327         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61328         Define fseeko64 as an alias.
61329         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61330         Define ftello64 as an alias.
61331         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61332         Define _IO_fgetpos64 and fgetpos64 as aliases.
61333         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61334         Define _IO_fsetpos64 and fsetpos64 as aliases.
61335         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61336         Conditionalize body on this.
61337         * libio/fseeko64.c: Likewise.
61338         * libio/ftello64.c: Likewise.
61339         * libio/iofgetpos64.c: Likewise.
61340         * libio/iofsetpos64.c: Likewise.
61341         * sysdeps/wordsize-64/lockf.c: File removed.
61342         * sysdeps/wordsize-64/lockf64.c: File removed.
61343         * sysdeps/wordsize-64/fseeko.c: File removed.
61344         * sysdeps/wordsize-64/fseeko64.c: File removed.
61345         * sysdeps/wordsize-64/ftello.c: File removed.
61346         * sysdeps/wordsize-64/ftello64.c: File removed.
61347         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61348         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61349         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61350         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61351         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61352         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61353         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61354         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61355         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61356         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61357         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61358         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61359         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61360         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61362         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61363         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61364         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61366         [defined __arch64__ || defined __sparcv9]
61367         (__OFF_T_MATCHES_OFF64_T): New macro.
61368         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61369         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61371         (__OFF_T_MATCHES_OFF64_T): New macro.
61373 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61375         * stdlib/secure-getenv.c (__secure_getenv): Replace
61376         GLIBC_2_16 with GLIBC_2_17.
61378 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61380         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61381         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61383 2012-08-03  David S. Miller  <davem@davemloft.net>
61385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61387 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61389         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61390         Remove.
61391         (__ASSUME_CORRECT_SI_PID): Likewise.
61392         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61393         (__ASSUME_TMPFS_NAME): Likewise.
61394         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61395         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61396         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61397         (HAVE_AUX_SECURE): Make definition unconditional.
61398         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61399         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61401 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61403         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61404         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61405         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61406         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61407         __eloop_threshold instead of SYMLOOP_MAX.
61409         * sysdeps/generic/eloop-threshold.h: New file.
61410         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61411         of MAXSYMLINKS.
61412         * elf/chroot_canon.c (chroot_canon): Likewise.
61414 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61416         [BZ #13717]
61417         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61418         Change to 2.6.0 everywhere.
61419         * sysdeps/unix/sysv/linux/configure: Regenerated.
61420         * sysdeps/unix/sysv/linux/kernel-features.h
61421         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61422         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61423         kernel versions.
61424         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61425         (__ASSUME_FUTEX_REQUEUE): Remove.
61426         (__ASSUME_STATFS64): Define unconditionally.
61427         (__ASSUME_AT_SECURE): Likewise.
61428         (__ASSUME_CORRECT_SI_PID): Likewise.
61429         (__ASSUME_TGKILL): Define without depending on kernel version for
61430         i386.
61431         (__ASSUME_UTIMES): Likewise.
61432         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61433         kernel version.
61434         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61435         (__ASSUME_TMPFS_NAME): Likewise.
61436         * README: Update reference to Linux kernel versions.
61438 2012-08-02  Marek Polacek  <polacek@redhat.com>
61440         [BZ# 14150]
61441         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61442         libc_cv_asm_type_prefix with %.
61443         * configure: Regenerated.
61444         * include/libc-symbols.h: Remove comment about
61445         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61446         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61447         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61448         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61449         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61450         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61451         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61452         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61453         * elf/tst-unique2mod1.c: Likewise.
61454         * elf/tst-unique1mod2.c: Likewise.
61455         * elf/tst-unique1mod1.c: Likewise.
61456         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61457         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61458         Replace ASM_TYPE_DIRECTIVE with .type.
61459         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61460         * sysdeps/i386/sysdep.h: Likewise.
61461         * sysdeps/x86_64/sysdep.h: Likewise.
61462         * sysdeps/sh/sysdep.h: Likewise.
61463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61464         Do not define ASM_TYPE_DIRECTIVE.
61465         * sysdeps/powerpc/sysdep.h: Likewise.
61466         * sysdeps/powerpc/powerpc32/sysdep.h:
61467         Replace ASM_TYPE_DIRECTIVE with .type.
61468         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61469         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61470         * sysdeps/i386/fpu/e_powf.S: Likewise.
61471         * sysdeps/i386/fpu/e_expl.S: Likewise.
61472         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61473         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61474         * sysdeps/i386/fpu/e_pow.S: Likewise.
61475         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61476         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61477         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61478         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61479         * sysdeps/i386/fpu/e_log2.S: Likewise.
61480         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61481         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61482         * sysdeps/i386/fpu/e_powl.S: Likewise.
61483         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61484         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61485         * sysdeps/i386/fpu/e_logl.S: Likewise.
61486         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61487         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61488         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61489         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61490         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61491         * sysdeps/i386/fpu/e_log.S: Likewise.
61492         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61493         * sysdeps/i386/fpu/e_logf.S: Likewise.
61494         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61495         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61496         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61497         * sysdeps/i386/fpu/e_log10.S: Likewise.
61498         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61499         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61500         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61501         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61502         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61503         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61504         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61505         * sysdeps/i386/i686/strtok.S: Likewise.
61506         * sysdeps/i386/i386-mcount.S: Likewise.
61507         * sysdeps/i386/strtok.S: Likewise.
61508         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61509         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61510         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61511         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61512         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61513         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61514         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61515         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61516         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61517         * sysdeps/x86_64/_mcount.S: Likewise.
61518         * sysdeps/x86_64/strtok.S: Likewise.
61519         * sysdeps/sh/_mcount.S: Likewise.
61521 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61523         * libio/iofopen.c: Include <fcntl.h>.
61524         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61525         (_IO_fopen64, fopen64): Define as aliases.
61526         * libio/iofopen64.c: Include <fcntl.h>.
61527         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61528         Conditionalize body on this.
61529         * sysdeps/wordsize-64/iofopen.c: File removed.
61530         * sysdeps/wordsize-64/iofopen64.c: File removed.
61532 2012-08-01  Marek Polacek  <polacek@redhat.com>
61534         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61535         Use dlfcn directly instead of a variable.
61536         (binfmt-subdir): Do not define.
61537         (dlfcn): Likewise.
61539 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61541         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61542         Remove all definitions.
61543         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61544         <kernel-features.h>.
61545         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61546         (miss_F_GETOWN_EX): Remove all definitions.
61547         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61548         macro definition.
61549         [!__ASSUME_FCNTL64]: Remove conditional code.
61550         [__ASSUME_FCNTL64]: Make code unconditional.
61551         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61552         <kernel-features.h>.
61553         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61554         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61555         (lockf64) [__NR_fcntl64]: Make code unconditional.
61556         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61558         * sysdeps/unix/sysv/linux/kernel-features.h
61559         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61560         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61561         Make code unconditional.
61562         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61563         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61565         [__NR_vfork]: Make code unconditional.
61566         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61567         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61569         [__NR_vfork]: Make code unconditional.
61570         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61571         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61573 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61575         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61576         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61578         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61579         Define mkstemp64 as an alias.
61580         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61581         Define mkstemps64 as an alias.
61582         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61583         Define mkostemp64 as an alias.
61584         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61585         Define mkostemps64 as an alias.
61586         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61587         Conditionalize body on this.
61588         * misc/mkostemp64.c: Likewise.
61589         * misc/mkostemps64.c: Likewise.
61590         * misc/mkstemps64.c: Likewise.
61591         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61592         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61593         * sysdeps/wordsize-64/mkostemp.c: File removed.
61594         * sysdeps/wordsize-64/mkstemp.c: File removed.
61595         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61596         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61597         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61598         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61600         [BZ #14138]
61601         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61602         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61603         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61604         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61606         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61607         compat_symbol macros from <shlib-compat.h> rather than the underlying
61608         default_symbol_version and symbol_version macros, so that DEFAULT
61609         lines in shlib-versions are respected.
61610         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61612 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61614         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61615         Declare with warn_unused_result.
61616         (setgid, setregid, setegid, setresgid): Likewise.
61617         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61618         Likewise.
61619         * WUR-REPORT: Remove set*id functions.
61621 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61623         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61625 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61627         [BZ #10191]
61628         * include/sys/socket.h (__libc_accept, __libc_accept4):
61629         Add attribute_hidden.
61630         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61632         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61633         use of PTR_MANGLE.
61634         * inet/getnetgrent_r.c (setup): Likewise.
61636         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61638 2012-07-31  David S. Miller  <davem@davemloft.net>
61640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61642 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61644         [BZ #13629]
61645         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61646         value between 1.0 and 2.0 and smaller part has absolute value less
61647         than 1.0.
61648         * math/s_clog10.c (__clog10): Likewise.
61649         * math/s_clog10f.c (__clog10f): Likewise.
61650         * math/s_clog10l.c (__clog10l): Likewise.
61651         * math/s_clogf.c (__clogf): Likewise.
61652         * math/s_clogl.c (__clogl): Likewise.
61653         * math/libm-test.inc (clog_test): Add more tests.
61654         (clog10_test): Likewise.
61655         * sysdeps/i386/fpu/libm-test-ulps: Update.
61656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61658 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61660         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61661         Exit with zero in case no suitable GID is found, and write a
61662         message to standard error.
61664 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61666         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61667         rather than to 1.
61668         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61669         (MAXPATHLEN): Removed.
61670         (NOGROUP, NODEV): New macros.
61671         (setbit, clrbit, isset, isclr): New macros.
61672         (howmany, roundup, powerof2): New macros.
61673         (DEV_BSIZE): New macro.
61675         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61676         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61678         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61679         definition on [!__NO_LONG_DOUBLE_MATH].
61681         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61682         PTR_MANGLE and PTR_DEMANGLE.
61684         * socket/accept4.c (accept4): Rename to __libc_accept4.
61685         Define accept4 as a weak alias.
61687         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61688         on [_DIRENT_HAVE_D_TYPE].
61689         * io/ftw.c (ftw_dir): Likewise.
61691         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61693         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61695         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61696         Use the BSD numbers rather than the arbitrary ones we had.
61697         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61698         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61699         (SIGXCPU, SIGXFSZ): New macros.
61700         (_NSIG): Now 32.
61702         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61703         initializer on [_LIBC_REENTRANT].
61705         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61706         definitions inside [_POSIX_MAPPED_FILES].
61708         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61710         * dirent/opendir.c: Include <fcntl.h>.
61712         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61713         (__libc_getspecific): Likewise.
61714         (__libc_key_create): Likewise.
61716         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61717         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61718         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61719         (tmpfile64): Define as alias.
61720         * sysdeps/wordsize-64/tmpfile.c: File removed.
61721         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61722         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61723         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61725         * stdio-common/vfscanf.c: Include <stdbool.h>.
61726         * nss/makedb.c: Likewise.
61727         * stdio-common/_i18n_number.h: Likewise.
61728         * argp/argp-help.c: Likewise.
61729         * posix/wordexp.c: Likewise.
61730         * sysdeps/posix/spawni.c: Likewise.
61731         * nss/nss_files/files-initgroups.c: Likewise.
61732         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61733         * nss/nss_files/files-initgroups.c: Likewise.
61734         * nss/nss_db/db-netgrp.c: Likewise.
61735         * nss/nss_db/db-initgroups.c: Likewise.
61736         * io/fchmodat.c: Include <sys/stat.h>.
61738         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61739         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61741         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61742         [HAVE_MMAP].
61744         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61745         Add multiple inclusion protection.
61747 2012-07-27  David S. Miller  <davem@davemloft.net>
61749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61751 2012-07-27  Gary Benson  <gbenson@redhat.com>
61753         [BZ #14298]
61754         * elf/rtld.c: Include <stap-probe.h>.
61755         (dl_main): Added static probes "init_start" and "init_complete".
61756         * elf/dl-load.c: Include <stap-probe.h>.
61757         (lose): Take new parameter "nsid".
61758         Added static probe "map_failed".
61759         (_dl_map_object_from_fd): Pass namespace id to lose.
61760         Added static probe "map_start".
61761         (open_verify): Pass namespace id to lose.
61762         * elf/dl-open.c: Include <stap-probe.h>.
61763         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61764         and "reloc_complete".
61765         * elf/dl-close.c: Include <stap-probe.h>.
61766         (_dl_close_worker): Added static probes "unmap_start" and
61767         "unmap_complete".
61768         * elf/rtld-debugger-interface.txt: New file documenting the above.
61770 2012-07-26  Roland McGrath  <roland@hack.frob.com>
61772         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61773         rather than a string variable.
61774         * sunrpc/rpc_main.c (h_output): Likewise.
61775         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61777 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
61779         * inet/check_native.c: New file.
61781 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
61783         [BZ #13629]
61784         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61785         if larger part has absolute value 1.0.
61786         * math/s_clog10.c (__clog10): Likewise.
61787         * math/s_clog10f.c (__clog10f): Likewise.
61788         * math/s_clog10l.c (__clog10l): Likewise.
61789         * math/s_clogf.c (__clogf): Likewise.
61790         * math/s_clogl.c (__clogl): Likewise.
61791         * math/libm-test.inc (clog_test): Add more tests.
61792         (clog10_test): Likewise.
61793         * sysdeps/i386/fpu/libm-test-ulps: Update.
61794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61796         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61797         (pltexit): Likewise.
61798         (La_regs): Likewise.
61799         (La_retval): Likewise.
61800         (int_retval): Likewise.
61801         Update #error for removed macros to refer only to definitions in
61802         tst-audit.h.
61803         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61804         macro.
61805         (pltexit): Likewise.
61806         (La_regs): Likewise.
61807         (La_retval): Likewise.
61808         (int_retval): Likewise.
61809         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61810         macro.
61811         (pltexit): Likewise.
61812         (La_regs): Likewise.
61813         (La_retval): Likewise.
61814         (int_retval): Likewise.
61815         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61816         macro.
61817         (pltexit): Likewise.
61818         (La_regs): Likewise.
61819         (La_retval): Likewise.
61820         (int_retval): Likewise.
61821         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61822         macro.
61823         (pltexit): Likewise.
61824         (La_regs): Likewise.
61825         (La_retval): Likewise.
61826         (int_retval): Likewise.
61827         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61828         macro.
61829         (pltexit): Likewise.
61830         (La_regs): Likewise.
61831         (La_retval): Likewise.
61832         (int_retval): Likewise.
61833         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61834         macro.
61835         (pltexit): Likewise.
61836         (La_regs): Likewise.
61837         (La_retval): Likewise.
61838         (int_retval): Likewise.
61839         * sysdeps/generic/tst-audit.h: Update comment to refer only to
61840         macro definitions in tst-audit.h.
61841         * sysdeps/i386/tst-audit.h: New file.
61842         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61843         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61844         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61845         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61846         * sysdeps/sh/tst-audit.h: Likewise.
61847         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61848         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61849         * sysdeps/x86_64/tst-audit.h: Likewise.
61851 2012-07-26  Andreas Jaeger  <aj@suse.de>
61853         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61854         ptrace.
61856         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61857         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61858         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61859         PTRACE_O_MASK.
61860         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61861         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61862         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61864         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61865         value.
61867         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61868         _sigsys.
61869         (si_call_addr, si_syscall, si_arch): Define new macro.
61870         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61871         _sigsys.
61872         (si_call_addr, si_syscall, si_arch): Define new marcro.
61873         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61874         _sigsys.
61875         (si_call_addr, si_syscall, si_arch): Define new macro.
61876         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61877         _sigsys.
61878         (si_call_addr, si_syscall, si_arch): Define new macro.
61880 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61882         [BZ #13717]
61883         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61884         Change to 2.4.21 where previously 2.4.1.
61885         * sysdeps/unix/sysv/linux/configure: Regenerated.
61886         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61887         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61888         Linux kernel version.
61889         (__ASSUME_STD_AUXV): Remove.
61890         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61891         kernel version.
61892         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61893         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61894         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61895         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61896         (__ASSUME_NETLINK_SUPPORT): Likewise.
61897         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61898         (__no_netlink_support): Remove conditional definition.
61899         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61900         Remove.
61901         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61902         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61903         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61904         (if_nameindex_ioctl): Remove.
61905         (if_nameindex_netlink): Do not handle __no_netlink_support.
61906         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61907         code.
61908         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61909         Remove conditional code.
61910         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61911         code.
61912         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61913         unconditional.
61914         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61915         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61916         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61917         Remove.
61918         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61919         [!__ASSUME_STD_AUXV]: Remove conditional code.
61920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61921         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61922         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61924         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61925         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61926         code.
61927         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61929         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61930         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61931         conditional code.
61932         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61934         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61935         code.
61936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61937         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61938         conditional code.
61939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61940         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61941         code unconditional.
61942         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61943         conditional code.
61944         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61945         unconditional.
61946         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61947         conditional code.
61948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61949         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61950         unconditional.
61951         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61952         conditional code.
61953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61954         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61955         code unconditional.
61956         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61957         conditional code.
61958         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61959         unconditional.
61960         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61961         conditional code.
61962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61963         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61964         code unconditional.
61965         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61966         conditional code.
61967         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61968         unconditional.
61969         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61970         conditional code.
61972 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61974         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61975         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61976         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61977         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61978         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61979         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61980         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61981         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61982         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61983         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61984         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61985         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61986         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61987         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61988         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61989         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61990         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61991         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61992         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61993         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61994         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61995         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61996         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61998 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62000         * Versions.def: Add GLIBC_2.17.
62001         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62002         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62003         Introduce __libc_secure_getenv.
62004         * stdlib/Versions (2.17): Add secure_getenv
62005         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62006         * stdlib/secure-getenv.c: Rename __secure_getenv to
62007         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62008         symbol __secure_getenv for GLIBC_2.0.
62009         * stdlib/tst-secure-getenv.c: New.
62010         * stdlib/Makefile (tests): Add testcase.
62011         * manual/startup.texi (Environment Access): Document
62012         secure_getenv.
62013         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62014         __libc_secure_getenv.
62015         * inet/ruserpass.c (ruserpass): Likewise.
62016         * malloc/mtrace.c (mtrace): Likewise.
62017         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62018         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62019         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62020         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62021         HAVE_SECURE_GETENV.
62022         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62023         __secure_getenv to __libc_secure_getenv.
62024         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62026         Likewise.
62027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62028         Likewise.
62029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62031         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62037 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62039         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62040         (struct La_i86_retval): Likewise.
62041         (struct La_x86_64_regs): Likewise.
62042         (struct La_x86_64_retval): Likewise.
62043         (struct La_x32_regs): Likewise.
62044         (struct La_x32_retval): Likewise.
62045         (struct La_ppc32_regs): Likewise.
62046         (struct La_ppc32_retval): Likewise.
62047         (struct La_ppc64_regs): Likewise.
62048         (struct La_ppc64_retval): Likewise.
62049         (struct La_sh_regs): Likewise.
62050         (struct La_sh_retval): Likewise.
62051         (struct La_s390_32_regs): Likewise.
62052         (struct La_s390_32_retval): Likewise.
62053         (struct La_s390_64_regs): Likewise.
62054         (struct La_s390_64_retval): Likewise.
62055         (struct La_sparc32_regs): Likewise.
62056         (struct La_sparc32_retval): Likewise.
62057         (struct La_sparc64_regs): Likewise.
62058         (struct La_sparc64_retval): Likewise.
62059         (struct audit_ifaces): Remove architecture-specific pltenter and
62060         pltexit members.
62061         * sysdeps/i386/ldsodefs.h: New file.
62062         * sysdeps/powerpc/ldsodefs.h: Likewise.
62063         * sysdeps/s390/ldsodefs.h: Likewise.
62064         * sysdeps/sh/ldsodefs.h: Likewise.
62065         * sysdeps/sparc/ldsodefs.h: Likewise.
62066         * sysdeps/x86_64/ldsodefs.h: Likewise.
62068 2012-07-25  Marek Polacek  <polacek@redhat.com>
62070         [BZ #6808]
62071         * math/libm-test.inc (yn_test): Add another test.
62072         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62073         to ERANGE when the result is +-Inf.
62074         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62075         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62076         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62077         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62079 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62081         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62082         equal to 0.
62083         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62084         clock_t.
62085         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62087 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62089         * configure.in <sysdeps resolving>: Correct printing
62090         Implies_before.
62091         * configure: Regenerate.
62093 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62095         * math/w_ilogb.c: Include <limits.h>.
62096         * math/w_ilogbl.c: Likewise.
62098 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62100         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62101         va_copy.  Document allowing for unavailable va_copy only as
62102         pre-C99 compatibility.
62103         * manual/string.texi (Copying and Concatenation): Use va_copy
62104         instead of __va_copy in concat example.
62106 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62108         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62109         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62110         it if not null.
62112         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62113         with O_NOLINK passed to __file_name_lookup.
62115         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62116         with O_NOLINK passed to __file_name_lookup.
62118         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62119         negative N or less than NGIDS.
62121         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62122         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62123         enough.  Use memcpy instead of strncpy.
62125 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62127         * elf/Makefile (check-data): Remove.
62128         (localplt.data): New vpath directive.
62129         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62130         instead of $(check-data).
62131         * scripts/data/localplt-generic.data: Move to ...
62132         * sysdeps/generic/localplt.data: ... here.
62133         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62134         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62135         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62137         ... here.
62138         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62140         ... here.
62141         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62143         ... here.
62144         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62146         ... here.
62147         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62149         ... here.
62150         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62152         ... here.
62154 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62156         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62157         PPC32 and PPC64 files.
62158         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62159         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62161 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62163         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62164         __makecontext_ret to ...
62165         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62166         ... here and call exit if uc_link is NULL.  New file.
62167         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62168         __makecontext_ret.S.
62169         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62170         __makecontext_ret to ...
62171         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62172         ... here and call exit if uc_link is NULL.  New file.
62173         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62174         __makecontext_ret.S.
62176 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62178         * elf/elf.h (R_390_IRELATIVE): New definition.
62179         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62180         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62181         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62182         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62183         (elf_machine_lazy_rel): Likewise.
62184         * sysdeps/s390/dl-irel.h: New file.
62185         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62186         * sysdeps/s390/s390-64/memset.S: New asm code.
62187         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62188         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62189         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62190         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62191         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62192         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62193         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62194         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62195         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62196         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62197         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62198         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62199         * sysdeps/s390/s390-32/memset.S: New asm code.
62200         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62202 2012-07-17  Marek Polacek  <polacek@redhat.com>
62204         [BZ #14349]
62205         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62206         * sysdeps/s390/s390-64/configure.in: Likewise.
62207         * sysdeps/sparc/configure.in: Likewise.
62208         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62209         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62210         * sysdeps/i386/configure.in: Likewise.
62211         * sysdeps/x86_64/configure.in: Likewise.
62212         * sysdeps/sh/configure.in: Likewise.
62213         * sysdeps/s390/s390-32/configure: Regenerated.
62214         * sysdeps/s390/s390-64/configure: Likewise.
62215         * sysdeps/x86_64/configure: Likewise.
62216         * sysdeps/sh/configure: Likewise.
62217         * sysdeps/powerpc/powerpc64/configure: Likewise.
62218         * sysdeps/powerpc/powerpc32/configure: Likewise.
62219         * sysdeps/sparc/configure: Likwise.
62220         * sysdeps/i386/configure: Likewise.
62222         * elf/dl-open.c: Comment fixes.
62224 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62226         * Makefile [CXX] (check-data): Remove.
62227         [CXX] (c++-types.data): New vpath directive.
62228         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62229         vpath.  Do not allow for C++ type data being missing.
62230         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62231         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62232         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62233         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62234         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62235         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62236         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62238         ... here.
62239         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62241         ... here.
62242         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62244         ... here.
62245         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62247         ... here.
62248         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62250         ... here.
62251         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62253         ... here.
62254         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62256         ... here.
62257         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62260         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62261         definitions to architecture-specific files.
62262         (TLS_IE): Likewise.
62263         (TLS_LD): Likewise.
62264         (TLS_GD): Likewise.
62265         * sysdeps/i386/tls-macros.h: New file.
62266         * sysdeps/powerpc/tls-macros.h: Likewise.
62267         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62268         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62269         * sysdeps/sh/tls-macros.h: Likewise.
62270         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62271         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62272         * sysdeps/x86_64/tls-macros.h: Likewise.
62274 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62276         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62277         zero value for regular exit case.
62279         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62280         (__start_context): Preserve zero value for regular exit case.
62282 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62283             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62285         * manual/setjmp.texi (setcontext): Clarify normal process
62286         termination when uc_link is the null pointer.
62287         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62288         exit call.
62290 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62292         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62293         preprocessor.  Test for each exception mask separately.
62295 2012-07-16  Andreas Jaeger  <aj@suse.de>
62297         * po/ru.po: Update from translation team.
62299 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62301         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62302         equal to 0.
62303         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62304         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62305         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62306         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62307         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62309 2012-07-13  Andreas Jaeger  <aj@suse.de>
62311         * po/fr.po: Update from translation team.
62313 2012-07-12  Marek Polacek  <polacek@redhat.com>
62315         [BZ #14173]
62316         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62317         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62318         loop condition.
62320 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62322         [BZ #13717]
62323         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62324         Change to 2.4.1 where previously 2.4.0.
62325         * sysdeps/unix/sysv/linux/configure: Regenerated.
62326         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62327         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62328         version.
62329         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62330         (__ASSUME_AT_CLKTCK): Remove.
62331         (__ASSUME_AT_PAGESIZE): Likewise.
62332         (__ASSUME_AT_XID): Likewise.
62333         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62334         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62335         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62336         unconditionally.
62337         (HAVE_AUX_PAGESIZE): Likewise.
62338         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62339         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62340         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62342 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62344         [BZ #14307]
62345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62346         the temporary buffer used to invoke __gethostbyname2_r,
62347         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62348         host_data / struct gaih_addrtuple.
62349         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62350         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62351         header file nss/nsswitch.h.
62352         * nss/nsswitch.h (global scope): Add definition of implementation
62353         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62354         resolv/nss_dns/dns-host.c).
62356 2012-07-11  Andreas Jaeger  <aj@suse.de>
62358         * po/fr.po: Update from translation team.
62360         * po/sv.po: Update from translation team
62361         * po/fr.po: Another update from translation team.
62363 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62365         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62366         for subnormals or multiply small sinh result by itself.
62367         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62370 2012-07-11  David S. Miller  <davem@davemloft.net>
62372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62374 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62376         [BZ #14347]
62377         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62378         (INTERNAL_MARK): Shift it here.
62380 2012-07-10  Marek Polacek  <polacek@redhat.com>
62382         [BZ #14151]
62383         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62384         libc_cv_asm_global_directive with .globl.
62385         * configure: Regenerated.
62386         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62387         with .globl.
62388         * sysdeps/i386/configure: Regenerated.
62389         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62390         with .globl.
62391         * sysdeps/x86_64/configure: Regenerated.
62392         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62393         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62394         * elf/tst-unique2mod2.c: Likewise.
62395         * elf/tst-unique2mod1.c: Likewise.
62396         * elf/tst-unique1mod2.c: Likewise.
62397         * elf/tst-unique1mod1.c: Likewise.
62398         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62399         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62400         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62401         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62402         * sysdeps/mach/sysdep.h: Likewise.
62403         * sysdeps/i386/sysdep.h: Likewise.
62404         * sysdeps/i386/i386-mcount.S: Likewise.
62405         * sysdeps/x86_64/_mcount.S: Likewise.
62406         * sysdeps/x86_64/sysdep.h: Likewise.
62407         * sysdeps/sh/_mcount.S: Likewise.
62408         * sysdeps/sh/sysdep.h: Likewise.
62409         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62410         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62411         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62412         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62413         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62414         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62415         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62416         * locale/localeinfo.h: Likewise.
62417         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62418         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62420 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62422         [BZ #14336]
62423         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62424         system".
62425         * manual/message.texi (The Uniforum approach): Likewise.
62426         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62427         (glibc iconv Implementation): Likewise.
62429 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62431         [BZ #14337]
62432         * math/s_clog.c (__clog): Avoid scaling a value down where that
62433         could result in underflow.
62434         * math/s_clog10.c (__clog10): Likewise.
62435         * math/s_clog10f.c (__clog10f): Likewise.
62436         * math/s_clog10l.c (__clog10l): Likewise.
62437         * math/s_clogf.c (__clogf): Likewise.
62438         * math/s_clogl.c (__clogl): Likewise.
62439         * math/libm-test.inc (clog_test): Add more tests.
62440         (clog10_test): Likewise.
62441         * sysdeps/i386/fpu/libm-test-ulps: Update.
62442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62444 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62446         [BZ #14283]
62447         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62448         by 7 not 8 to examine high bit of fractional part.
62450         [BZ #14042]
62451         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62452         for call to __mcount_internal.
62453         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62454         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62455         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62457 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62459         [BZ #14154]
62460         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62461         approximation for values within 0x1p-13f of an odd multiple of
62462         pi/4.
62463         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62464         exception.  Add more tests.
62465         * sysdeps/i386/fpu/libm-test-ulps: Update.
62467         [BZ #6778]
62468         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62469         inputs and return -1 for them.  Do not check for +Inf in case not
62470         reachable for +Inf.
62471         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62472         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62473         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62474         and return -1 for them.  Do not check for +Inf in case not
62475         reachable for +Inf.
62476         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62477         define.
62478         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62479         and return -1 for them.  Do not check for +Inf in case not
62480         reachable for +Inf.
62481         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62482         spurious underflow.
62483         * sysdeps/i386/fpu/libm-test-ulps: Update.
62484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62486 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62488         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62490 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62492         [BZ #14157]
62493         [BZ #14331]
62494         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62495         could result in spurious underflow.  Scale down values above
62496         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62497         * math/s_csqrtf.c (__csqrtf): Likewise.
62498         * math/s_csqrtl.c (__csqrtl): Likewise.
62499         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62500         spurious underflow.
62501         * sysdeps/i386/fpu/libm-test-ulps: Update.
62502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62504 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62506         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62507         xopen-msg.sed.
62508         * catgets/xopen-msg.awk: New file.
62509         * catgets/xopen-msg.sed: Removed.
62511         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62512         po2text.sed.
62513         * intl/po2test.awk: New file.
62514         * intl/po2test.sed: Removed.
62516 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62518         [BZ #14328]
62519         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62520         or multiply small sinh result by itself.
62521         * math/s_ctanf.c (__ctanf): Likewise.
62522         * math/s_ctanh.c (__ctanh): Likewise.
62523         * math/s_ctanhf.c (__ctanhf): Likewise.
62524         * math/s_ctanhl.c (__ctanhl): Likewise.
62525         * math/s_ctanl.c (__ctanl): Likewise.
62526         * math/libm-test.inc (ctan_test_tonearest): New function.
62527         (ctan_test_towardzero): Likewise.
62528         (ctan_test_downward): Likewise.
62529         (ctan_test_upward): Likewise.
62530         (ctanh_test_tonearest): Likewise.
62531         (ctanh_test_towardzero): Likewise.
62532         (ctanh_test_downward): Likewise.
62533         (ctanh_test_upward): Likewise.
62534         (main): Call these new functions.
62535         * sysdeps/i386/fpu/libm-test-ulps: Update.
62536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62538 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62540         * .gitignore: Delete /ports entry.
62542 2012-07-03  Andreas Jaeger  <aj@suse.de>
62544         * po/bg.po: Update from translation team.
62545         * po/cs.po: Likewise.
62546         * po/de.po: Likewise.
62547         * po/hr.po: Likewise.
62548         * po/nl.pl: Likewise.
62549         * po/pl.po: Likewise.
62550         * po/vi.po: Likewise.
62552 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62554         * Makeconfig [!+link] (+link-before-libc): New variable.
62555         [!+link] (+link-after-libc): Likewise.
62556         [!+link] (+link-tests): Likewise.
62557         [!+link] (+link): Define in terms of $(+link-before-libc) and
62558         $(+link-after-libc).
62559         [!+link-static] (+link-static-before-libc): New variable.
62560         [!+link-static] (+link-static-after-libc): Likewise.
62561         [!+link-static] (+link-static-tests): Likewise.
62562         [!+link-static] (+link-static): Define in terms of
62563         $(+link-static-before-libc) and $(+link-static-after-libc).
62564         [build-shared] (link-libc-before-gnulib): New variable.
62565         [build-shared] (link-libc-tests): Likewise.
62566         [build-shared] (link-libc): Define in terms of
62567         $(link-libc-before-gnulib).
62568         [!build-shared] (link-libc-tests): New variable.
62569         (link-libc-static-tests): New variable.
62570         [!gnulib] (gnulib-arch): New variable.
62571         [!gnulib] (gnulib-tests): Likewise.
62572         [!gnulib] (static-gnulib-arch): Likewise.
62573         [!gnulib] (static-gnulib-tests): Likewise.
62574         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62575         Define with "=" instead of ":=".
62576         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62577         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62578         * Rules (binaries-all-notests): New variable.
62579         (binaries-all-tests): Likewise.
62580         (binaries-static-notests): Likewise.
62581         (binaries-static-tests): Likewise.
62582         (binaries-all): Define using $(binaries-all-notests) and
62583         $(binaries-all-tests).
62584         (binaries-static): Define using $(binaries-static-notests) and
62585         $(binaries-static-tests).
62586         (binaries-shared-tests): New variable.
62587         (binaries-shared-notests): Likewise.
62588         (binaries-shared): Remove variable.
62589         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62590         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62591         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62592         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62593         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62594         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62595         * elf/Makefile (sln-modules): New variable.
62596         (extra-objs): Add $(sln-modules:=.o).
62597         (ldconfig-modules): Add static-stubs.
62598         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62599         * elf/static-stubs.c: New file.
62601         [BZ #14283]
62602         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62603         by 7 not 8 to examine high bit of fractional part.  Use volatile
62604         variables when splitting into final array of floats if
62605         __FLT_EVAL_METHOD__ != 0.
62606         * math/libm-test.inc (cos_test): Add another test.
62607         (sin_test): Likewise.
62608         * sysdeps/i386/fpu/libm-test-ulps: Update.
62610         [BZ #14273]
62611         * math/libm-test.inc (cosh_test): Add more tests.
62613         * version.h (RELEASE): Set to "development".
62614         (VERSION): Set to "2.16.90".
62616 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62618         * NEWS: Update copyright. Remove last-updated date.
62619         Mention math library bug fixes and timezone data changes.
62620         * README: Mention GNU/Hurd, x32, and HPPA support status.
62622 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62624         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62626 2012-06-27  Andreas Jaeger  <aj@suse.de>
62628         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62630 2012-06-25  Andreas Jaeger  <aj@suse.de>
62632         * sysdeps/s390/fpu/libm-test-ulps: Update.
62634 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62635             Thomas Schwinge  <thomas@codesourcery.com>
62637         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62638         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62639         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62640         fanotify_mark.
62642 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62644         * sysdeps/mach/start.c: Remove file.
62645         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62646         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62647         * sysdeps/sh/init-first.c: Likewise.
62649         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62650         registers for frame unwinding purposes, add CFI directives.
62651         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62652         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62653         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62654         Likewise.
62656         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62657         __fortify_fail returning.
62658         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62660         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62661         sysdeps/sh/____longjmp_chk.S.
62662         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62663         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62664         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62665         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62667         * sysdeps/sh/abort-instr.h: New file.
62668         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62669         process in case exit returns.
62671         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62672         initialize the GOT register before use.
62674         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62675         calculation of ARGC > 4.
62677         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62678         meaningful names to some local labels.
62680 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62681             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62683         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62684         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62685         (__arch_compare_and_exchange_val_16_acq): Likewise.
62686         (__arch_compare_and_exchange_val_32_acq): Likewise.
62687         (atomic_exchange_and_add): Fix gUSA sequence.
62688         (atomic_add): Likewise.
62689         (atomic_add_negative): Likewise.
62690         (atomic_add_zero): Likewise.
62691         (atomic_bit_test_set): Likewise.
62693 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62695         [BZ #13579]
62696         * include/link.h (struct link_map): Add l_free_initfini.
62697         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62698         l_initfini.
62699         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62700         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62701         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62702         set.
62704 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62706         * configure.in: Use AC_LANG_SOURCE.
62707         * configure: Regenerate.
62709 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62711         * configure.in (libc_cv_localstatedir): New substituted variable.
62712         * configure: Regenerated.
62713         * config.make.in (localstatedir): New variable, substituted from
62714         libc_cv_localstatedir.
62715         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62716         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62717         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62718         * sysdeps/gnu/configure: Regenerated.
62720 2012-06-21  Jeff Law  <law@redhat.com>
62722         [BZ #14277]
62723         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62724         free.  Simplify list management for _LIBC case.
62726 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62728         [BZ #14273]
62729         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62730         Clear sign bit of 64-bit integer value before comparing against
62731         overflow value.
62733         * sysdeps/mach/configure: Regenerated.
62735 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62737         [BZ #14278]
62738         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62740 2012-06-21  Jeff Law  <law@redhat.com>
62742         [BZ #13882]
62743         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62744         uint16_t for elements in the "seen" array to avoid char overflows.
62745         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62746         * elf/dl-open.c (dl_open_worker): Likewise.
62748 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62750         * scripts/list-sources.sh: Scan PORTS for translations.
62751         * po/libc.pot: Regenerated.
62753 2012-06-21  Andreas Jaeger  <aj@suse.de>
62755         [BZ #12194]
62756         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62757         warning.
62758         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62759         * bits/byteswap-16.h (__bswap_16): Likewise.
62760         * bits/byteswap.h (__bswap_constant_16): Likewise.
62762 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62764         [BZ #14117]
62765         * sysdeps/i386/fpu_control.h: Removed.
62766         * sysdeps/x86_64/fpu_control.h: Moved to ...
62767         * sysdeps/x86/fpu_control.h: Here.
62769         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62770         (_FPU_SETCW): Likewise.
62772 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
62774         [BZ #14117]
62775         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62776         * sysdeps/x86/fpu/bits/mathinline.h: This.
62777         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62779         [BZ #14050]
62780         [BZ #14117]
62781         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62782         functions if __x86_64__ is defined.
62784 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
62786         * string/endian.h: Add !__ASSEMBLER__ condition for including
62787         conversion interfaces.
62789 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
62791         [BZ #14241]
62792         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62793         of ABS(x) in calculating zero to negative powers other than odd
62794         integers.
62795         * math/libm-test.inc (pow_test): Add more tests.
62797 2012-06-15  Andreas Jaeger  <aj@suse.de>
62799         * manual/contrib.texi (Contributors): Update entry of Liubov
62800         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62801         Machado Filho.
62803 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
62805         * string/string.h: Add __wur to GNU version of strerror_r.
62807 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
62809         [BZ #14229]
62810         * string/Makefile (tests): Add tst-strtok_r.
62811         * string/tst-strtok_r.c: New file.
62812         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62813         RAX_LP/RDX_LP on SAVE_PTR.
62815 2012-06-14  Roland McGrath  <roland@hack.frob.com>
62817         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62819 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
62821         * libm_test.inc (csqrt_test): Allow more spurious underflow
62822         exceptions.
62823         (j0_test): Likewise.
62824         (j1_test): Likewise.
62825         (y0_test): Likewise.
62826         (y1_test): Likewise.
62828 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
62830         * po/Makefile (libc.pot): Use UTF-8 charset.
62832 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
62834         [BZ #14210]
62835         Suppress sign-conversion warning from FD_SET.
62836         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62837         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62838         not unsigned long int.
62839         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62841 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
62843         [BZ #14050]
62844         [BZ #14117]
62845         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62846         __extern_always_inline instead of __extern_inline.
62847         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62848         (__signbit): Likewise.
62849         (__signbitl): Support C++ namespace.
62850         (lrintf): New inline function.
62851         (lrint): Likewise.
62852         (llrintf): Likewise.
62853         (llrint): Likewise.
62854         (fmaxf): Likewise.
62855         (fmax): Likewise.
62856         (fminf): Likewise.
62857         (fmin): Likewise.
62858         (rint): Likewise.
62859         (rintf): Likewise.
62860         (ceil): Likewise.
62861         (ceilf): Likewise.
62862         (floor): Likewise.
62863         (floorf): Likewise.
62864         (nearbyint): Likewise.
62865         (nearbyintf): Likewise.
62867 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62869         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62870         non-default versions.
62872 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62874         [BZ #14218]
62875         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62877 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62879         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62880         (FE_UPWARD, FE_DOWNWARD): Don't define.
62881         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62882         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62884         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62885         reading it.
62886         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62887         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62889 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62891         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62893         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62894         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62896 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62898         [BZ #14117]
62899         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62900         * sysdeps/i386/fpu/Implies: New file.
62901         * sysdeps/x86_64/fpu/Implies: Likewise.
62902         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62903         * sysdeps/x86/fpu/bits/fenv.h: This.
62905         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62906         __SSE_MATH__.
62908 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62910         [BZ #14134]
62911         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62912         character 0xffff that matches the last element of the
62913         conversion table.
62915 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62917         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62918         fmodl commit.
62920 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62922         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62923         values higher than 25.6283.
62925 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62927         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62928         subnormal exponent extraction and add some __builtin_expect.
62929         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62930         Fix for subnormal mantissa calculation.
62932 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62934         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62935         cpu2 is -1 and errno is not ENOSYS.
62937 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62939         [BZ #14117]
62940         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62941         * sysdeps/x86/bits/string.h: This.
62942         * sysdeps/x86_64/bits/string.h: Removed.
62944         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62945         if not compiling for x86-64, but compiling for >= i486.
62947         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62948         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62950         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62951         New macro from Linux kernel 3.4.0.
62952         (FP_XSTATE_MAGIC2): Likewise.
62953         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62954         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62955         (struct _fpx_sw_bytes): New struct.
62956         (struct _xsave_hdr): Likewise.
62957         (struct _ymmh_state): Likewise.
62958         (struct _xstate): Likewise.
62960         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62961         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62962         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62963         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62964         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62965         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62967         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62968         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62969         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62970         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62971         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62972         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62974 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62976         [BZ #13743]
62977         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62978         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62979         (sysdep_headers): Include sys/platform/ppc.h.
62980         * sysdeps/powerpc/test-gettimebase.c: Test for
62981         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62982         * manual/Makefile (appendices): Include platform.texi.
62983         * manual/contrib.texi (Contributors): Update @node pointers.
62984         * manual/maint.texi (Maintenance): Likewise.
62985         (Platform): New node.
62986         * manual/platform.texi: New file.  Document the new features.
62988 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62989             Jakub Jelinek  <jakub@redhat.com>
62991         [BZ #14188]
62992         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62993         where __builtin_expect is unavailable.
62995 2012-06-03  David S. Miller  <davem@davemloft.net>
62997         * stdlib/longlong.h: Updated from GCC.
62999 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63001         [BZ #14042]
63002         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63003         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63004         __mcount_internal.
63005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63006         (GLIBC_2.16): Likewise.
63008 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63010         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63012 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63015         (default-abi): New variable.
63016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63017         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63018         variable.
63019         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63020         Likewise.
63021         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63022         Likewise.
63023         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63024         Likewise.
63026         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63027         definition.  Document in comment.
63029 2012-06-01  David S. Miller  <davem@davemloft.net>
63031         * stdlib/longlong.h: Updated from GCC.
63033 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63035         [BZ #14117]
63036         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63037         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63038         sys/debugreg.h sys/io.h here.
63039         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63040         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63041         sys/io.h.
63042         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63043         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63044         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63045         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63046         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63047         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63049         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63050         Define only if __x86_64__ is defined.
63052 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63054         [BZ #14048]
63055         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63056         Use int64_t for variable i.
63057         * math/libm-test.inc (fmod_test): Add more tests.
63059         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63060         z computation is not scheduled after fetestexcept.
63061         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63062         Use math_force_eval instead of asm to ensure calculation scheduled
63063         before exception test.
63064         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63065         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63067 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63070         computation is not scheduled after fetestexcept.
63072 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63074         [BZ #14117]
63075         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63076         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63078 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63080         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63081         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63083 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63085         [BZ #14117]
63086         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63087         <bits/wordsize.h>.
63088         (__WCHAR_MIN): Support __WORDSIZE == 64.
63089         (__WCHAR_MAX): Likewise.
63091         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63092         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63094         [BZ #14183]
63095         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63096         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63098         [BZ #14117]
63099         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63100         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63102         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63103         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63105         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63106         Defined to 1 if __x86_64__ isn't defined.
63107         (_STAT_VER_LINUX_OLD): New.
63108         (st_atime): Remove duplicate.
63109         (st_mtime): Likewise.
63110         (st_ctime): Likewise.
63112 2012-05-31  David S. Miller  <davem@davemloft.net>
63114         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63115         entries.
63117 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63119         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63120         gen-libm-test.pl.
63122         [BZ #14132]
63123         * elf/dl-reloc.c: Include <_itoa.h>.
63124         (_dl_reloc_bad_type): Remove use of INTUSE.
63125         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63126         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63127         * stdio-common/psiginfo.c (psiginfo): Likewise.
63128         * stdio-common/psignal.c (psignal): Likewise.
63129         * string/strsignal.c (strsignal): Likewise.
63130         * include/signal.h (_sys_siglist): Declare hidden proto.
63131         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63132         INTVARDEF with libc_hidden_data_def.
63133         * stdio-common/itoa-udigits.c: Likewise.
63134         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63135         (_itoa_lower_digits_internal): Remove declaration.
63136         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63137         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63138         (_sys_sigabbrev_internal): Remove aliases.
63139         (_sys_siglist): Define hidden alias.
63141 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63144         bits/sysctl.h.
63146 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63148         [BZ #14117]
63149         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63150         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63152         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63153         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63154         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63155         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63156         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63157         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63159         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63160         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63161         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63163         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63164         with __addr.
63165         (insw): Likewise.
63166         (insl): Likewise.
63167         (outsb): Likewise.
63168         (outsw): Likewise.
63169         (outsl): Likewise.
63171         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63172         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63173         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63175         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63176         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63177         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63178         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63179         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63180         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63182         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63183         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63185         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63186         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63188         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63189         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63190         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63192         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63193         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63194         to ...
63195         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63197         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63198         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63199         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63201         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63202         for x86-64.
63203         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63205 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63207         * math/math.h (M_El): Use two more decimal places.
63208         (M_LOG2El): Likewise.
63209         (M_LOG10El): Likewise.
63210         (M_LN2l): Likewise.
63211         (M_LN10l): Likewise.
63212         (M_PIl): Likewise.
63213         (M_PI_2l): Likewise.
63214         (M_PI_4l): Likewise.
63215         (M_1_PIl): Likewise.
63216         (M_2_PIl): Likewise.
63217         (M_2_SQRTPIl): Likewise.
63218         (M_SQRT2l): Likewise.
63219         (M_SQRT1_2l): Likewise.
63221 2012-05-31  David S. Miller  <davem@davemloft.net>
63223         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63224         values between float registers.
63225         * sysdeps/sparc/sparc64/memset.S: Likewise.
63226         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63228 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63230         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63231         -D_FORTIFY_SOURCE=1.
63232         (CPPFLAGS-tst-longjmp_chk.c): Define.
63233         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63234         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63235         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63236         CFLAGS-tst-wchar-h.c.
63238 2012-05-31  Marek Polacek  <polacek@redhat.com>
63240         [BZ #14132]
63241         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63242         __endmntent_internal): Remove declaration.
63243         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63244         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63245         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63247 2012-05-30  David S. Miller  <davem@davemloft.net>
63249         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63250         (___Q_simulate_exceptions): Use real FP ops rather than writing
63251         into the %fsr.
63252         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63253         Likewise.
63255 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63257         [BZ #14117]
63258         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63259         * sysdeps/x86/bits/xtitypes.h: This.
63261         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63262         * sysdeps/x86/bits/wordsize.h: This.
63264         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63265         * sysdeps/x86/bits/huge_vall.h: This.
63267         * sysdeps/i386/bits/select.h: Removed.
63268         * sysdeps/x86_64/bits/select.h: Renamed to ...
63269         * sysdeps/x86/bits/select.h: This.
63271         * sysdeps/i386/bits/setjmp.h: Removed.
63272         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63273         * sysdeps/x86/bits/setjmp.h: This.
63275         * sysdeps/i386/bits/mathdef.h: Removed.
63276         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63277         * sysdeps/x86/bits/mathdef.h: This.
63279 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63281         [BZ #14132]
63282         * include/sys/socket.h (__connect_internal)
63283         (__libc_sa_len_internal): Remove declaration.
63284         (__connect, __libc_sa_len): Declare hidden_proto.
63285         (SA_LEN): Remove use of INTUSE.
63286         * socket/connect.c: Add libc_hidden_def.
63287         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63288         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63289         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63290         alias.
63291         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63292         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63293         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63294         of adding _internal alias.
63296 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63298         [BZ #14117]
63299         * sysdeps/i386/bits/link.h: Removed.
63300         * sysdeps/i386/bits/linkmap.h: Likewise.
63301         * sysdeps/x86_64/bits/link.h: Renamed to ...
63302         * sysdeps/x86/bits/link.h: This.
63303         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63304         * sysdeps/x86/bits/linkmap.h: This.
63306         * sysdeps/i386/bits/endian.h: Removed.
63307         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63308         * sysdeps/x86/bits/endian.h: This.
63310         * sysdeps/i386/bits/byteswap.h: Removed.
63311         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63312         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63313         * sysdeps/x86/bits/byteswap.h: This.
63314         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63315         * sysdeps/x86/bits/byteswap-16.h: This.
63316         * sysdeps/i386/Implies: Add x86.
63317         * sysdeps/x86_64/Implies: Likewise.
63319 2012-05-30  David S. Miller  <davem@davemloft.net>
63321         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63322         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63323         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63324         (FP_TRAPPING_EXCEPTIONS): Define.
63325         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63326         (FP_TRAPPING_EXCEPTIONS): Define.
63327         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63328         subnormals only when inexact has been signalled or underflow
63329         exceptions are enabled.
63330         (_FP_PACK_CANONICAL): Likewise.
63332 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63334         [BZ #14183]
63335         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63336         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63338 2012-05-30  Richard Henderson  <rth@twiddle.net>
63340         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63341         with #ifndef NOT_IN_libc.
63343         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63344         marked to avoid plt entry.
63346 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63348         [BZ #14112]
63349         * Makeconfig (default-abi): New macro.
63350         (abi-includes): Likewise.
63351         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63352         $(abi-$(default-abi)-lib-soname) for soname if defined.
63353         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63354         abi-variants.
63355         * Makefile (installed-stubs): Likewise.
63356         * include/stubs-biarch.h: Removed.
63357         * scripts/lib-names.awk: Only handle one library at a time.
63358         * scripts/soversions.awk: Remove WORDSIZE support.
63359         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63360         entries.
63361         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63362         Removed.
63363         (syscall-list-default-condition): Likewise.
63364         (syscall-list-default-condition): Likewise.
63365         (syscall-list-includes): Likewise.
63366         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63367         syscall-list-* with abi-*.  Handle undefined abi-variants.
63368         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63369         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63370         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63371         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63372         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63373         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63374         Removed.
63375         (syscall-list-32-options): Likewise.
63376         (syscall-list-32-condition): Likewise.
63377         (syscall-list-64-options): Likewise.
63378         (syscall-list-64-condition): Likewise.
63379         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63380         macro.
63381         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63382         Renamed to ...
63383         (abi-*): This.
63384         (abi-64-ld-soname): New macro.
63385         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63386         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63387         Renamed to ...
63388         (abi-*): This.
63389         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63390         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63392 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63394         * sysdeps/unix/sysv/linux/kernel-features.h
63395         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63396         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63397         include <kernel-features.h>.
63398         [!__NR_ftruncate64]: Remove conditional code.
63399         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63400         [__NR_ftruncate64]: Make code unconditional.
63401         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63402         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63403         include <kernel-features.h>.
63404         [!__NR_ftruncate64]: Remove conditional code.
63405         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63406         [__NR_ftruncate64]: Make code unconditional.
63407         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63409         include <kernel-features.h>.
63410         [!__NR_ftruncate64]: Remove conditional code.
63411         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63412         [__NR_ftruncate64]: Make code unconditional.
63413         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63415         include <kernel-features.h>.
63416         [!__NR_ftruncate64]: Remove conditional code.
63417         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63418         [__NR_ftruncate64]: Make code unconditional.
63419         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63421         * configure.in (libc_cv_fpie): Weaken to a compile test using
63422         LIBC_TRY_CC_OPTION.
63423         * configure: Regenerated.
63425 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63431         Refreshed.
63432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63438         Refreshed.
63440 2012-05-27  David S. Miller  <davem@davemloft.net>
63442         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63443         (___Q_zero): New.
63444         (__Q_simulate_exceptions): Return void.  Change to simulate
63445         exceptions by writing into the %fsr.
63446         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63447         (__Qp_handle_exceptions): Likewise.
63448         (numbers): Delete.
63449         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63450         __Qp_handle_exceptions.
63451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63452         __Qp_handle_exceptions.
63453         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63454         as unused and give dummy FP_RND_NEAREST initializer.
63455         (FP_INHIBIT_RESULTS): Define.
63456         (___Q_simulate_exceptions): Update declaration.
63457         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63458         formatting.
63459         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63460         as unused and give dummy FP_RND_NEAREST initializer.
63461         (__Qp_handle_exceptions): Update declaration.
63462         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63463         formatting.
63465 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63467         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63468         the temporary FPU control word.
63469         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63470         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63471         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63472         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63473         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63474         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63475         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63476         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63477         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63478         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63479         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63481 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63483         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63484         fields.
63486 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63488         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63489         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63490         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63491         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63492         Likewise.
63493         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63494         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63495         Likewise.
63497 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63499         * po/h.po: Update from translation team.
63501 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63503         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63505         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63506         handling of denormals.
63507         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63508         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63509         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63510         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63511         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63512         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63513         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63514         Likewise.
63516 2012-05-26  Marek Polacek  <polacek@redhat.com>
63518         [BZ #14152]
63519         * math/libm-test.inc (fma_test): Don't always expect underflow
63520         exception.
63522 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63524         [BZ #12416]
63525         * elf/tst-execstack.c: Include stackinfo.h.
63526         (do_test): Adjust test case to ensure that pthread_getattr_np
63527         behaviour remains the same after marking stack executable.
63529 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63531         * sysdeps/unix/sysv/linux/kernel-features.h
63532         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63533         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63534         kernel-features.h.
63535         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63536         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63537         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63538         kernel-features.h.
63539         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63540         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63542 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63544         * configure.in: Define the default includes to being none.
63545         * configure: Regenerated.
63547 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63549         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63550         * sysdeps/x86_64/setjmp.S: Likewise.
63551         * sysdeps/i386/bsd-setjmp.S: Likewise.
63552         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63553         * sysdeps/i386/setjmp.S: Likewise.
63554         * sysdeps/i386/__longjmp.S: Likewise.
63555         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63556         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63558         * include/stap-probe.h: New file.
63559         * configure.in: Handle --enable-systemtap.
63560         * configure: Regenerated.
63561         * config.h.in (USE_STAP_PROBE): New #undef.
63562         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63563         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63564         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63566 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63568         [BZ #13717]
63569         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63570         to 2.4.0 where earlier.
63571         * sysdeps/unix/sysv/linux/configure: Regenerated.
63572         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63573         <kernel-features.h>.
63574         [__ASSUME_32BITUIDS]: Make code unconditional.
63575         [!__ASSUME_32BITUIDS]: Remove conditional code.
63576         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63577         <kernel-features.h>.
63578         [__ASSUME_32BITUIDS]: Make code unconditional.
63579         [!__ASSUME_32BITUIDS]: Remove conditional code.
63580         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63581         [__ASSUME_32BITUIDS]: Make code unconditional.
63582         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63583         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63584         <kernel-features.h>.
63585         [__ASSUME_32BITUIDS]: Make code unconditional.
63586         [!__ASSUME_32BITUIDS]: Remove conditional code.
63587         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63588         <kernel-features.h>.
63589         [__ASSUME_32BITUIDS]: Make code unconditional.
63590         [!__ASSUME_32BITUIDS]: Remove conditional code.
63591         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63592         <kernel-features.h>.
63593         [__ASSUME_32BITUIDS]: Make code unconditional.
63594         [!__ASSUME_32BITUIDS]: Remove conditional code.
63595         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63596         <kernel-features.h>.
63597         [__ASSUME_32BITUIDS]: Make code unconditional.
63598         [!__ASSUME_32BITUIDS]: Remove conditional code.
63599         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63600         <kernel-features.h>.
63601         [__ASSUME_32BITUIDS]: Make code unconditional.
63602         [!__ASSUME_32BITUIDS]: Remove conditional code.
63603         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63604         <kernel-features.h>.
63605         [__ASSUME_32BITUIDS]: Make code unconditional.
63606         [!__ASSUME_32BITUIDS]: Remove conditional code.
63607         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63608         <kernel-features.h>.
63609         [__ASSUME_32BITUIDS]: Make code unconditional.
63610         [!__ASSUME_32BITUIDS]: Remove conditional code.
63611         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63612         <kernel-features.h>.
63613         [__ASSUME_32BITUIDS]: Make code unconditional.
63614         [!__ASSUME_32BITUIDS]: Remove conditional code.
63615         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63616         <kernel-features.h>.
63617         [__ASSUME_32BITUIDS]: Make code unconditional.
63618         [!__ASSUME_32BITUIDS]: Remove conditional code.
63619         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63620         <kernel-features.h>.
63621         [__ASSUME_32BITUIDS]: Make code unconditional.
63622         [!__ASSUME_32BITUIDS]: Remove conditional code.
63623         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63624         <kernel-features.h>.
63625         [__NR_setresgid] (__setresgid): Do not declare.
63626         [__ASSUME_32BITUIDS]: Make code unconditional.
63627         [!__ASSUME_32BITUIDS]: Remove conditional code.
63628         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63629         <kernel-features.h>.
63630         [__NR_setresuid] (__setresuid): Do not declare.
63631         [__ASSUME_32BITUIDS]: Make code unconditional.
63632         [!__ASSUME_32BITUIDS]: Remove conditional code.
63633         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63634         <kernel-features.h>.
63635         [__ASSUME_32BITUIDS]: Make code unconditional.
63636         [!__ASSUME_32BITUIDS]: Remove conditional code.
63637         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63638         <kernel-features.h>.
63639         [__ASSUME_32BITUIDS]: Make code unconditional.
63640         [!__ASSUME_32BITUIDS]: Remove conditional code.
63641         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63642         <kernel-features.h>.
63643         [__ASSUME_32BITUIDS]: Make code unconditional.
63644         [!__ASSUME_32BITUIDS]: Remove conditional code.
63645         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63646         <kernel-features.h>.
63647         [__ASSUME_32BITUIDS]: Make code unconditional.
63648         [!__ASSUME_32BITUIDS]: Remove conditional code.
63649         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63650         <kernel-features.h>.
63651         [__ASSUME_32BITUIDS]: Make code unconditional.
63652         [!__ASSUME_32BITUIDS]: Remove conditional code.
63653         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63654         <kernel-features.h>.
63655         [__ASSUME_32BITUIDS]: Make code unconditional.
63656         [!__ASSUME_32BITUIDS]: Remove conditional code.
63657         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63658         <kernel-features.h>.
63659         [__ASSUME_32BITUIDS]: Make code unconditional.
63660         [!__ASSUME_32BITUIDS]: Remove conditional code.
63661         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63662         <kernel-features.h>.
63663         [__ASSUME_32BITUIDS]: Make code unconditional.
63664         [!__ASSUME_32BITUIDS]: Remove conditional code.
63665         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63666         <kernel-features.h>.
63667         [__ASSUME_32BITUIDS]: Make code unconditional.
63668         [!__ASSUME_32BITUIDS]: Remove conditional code.
63669         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63670         <kernel-features.h>.
63671         [__ASSUME_32BITUIDS]: Make code unconditional.
63672         [!__ASSUME_32BITUIDS]: Remove conditional code.
63673         * sysdeps/unix/sysv/linux/kernel-features.h
63674         (__ASSUME_SETRESUID_SYSCALL): Remove.
63675         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63676         (__ASSUME_32BITUIDS): Likewise.
63677         (__ASSUME_LDT_WORKS): Likewise.
63678         (__ASSUME_O_DIRECTORY): Likewise.
63679         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63680         architecture but not kernel version.
63681         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63682         (__ASSUME_MMAP2_SYSCALL): Likewise.
63683         (__ASSUME_STAT64_SYSCALL): Likewise.
63684         (__ASSUME_IPC64): Likewise.
63685         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63686         <kernel-features.h>.
63687         [__ASSUME_32BITUIDS]: Make code unconditional.
63688         [!__ASSUME_32BITUIDS]: Remove conditional code.
63689         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63690         <kernel-features.h>.
63691         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63692         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63693         132096]: Remove conditional code.
63694         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63695         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63696         <kernel-features.h>.
63697         [__ASSUME_32BITUIDS]: Make code unconditional.
63698         [!__ASSUME_32BITUIDS]: Remove conditional code.
63699         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63700         <kernel-features.h>.
63701         [__ASSUME_32BITUIDS]: Make code unconditional.
63702         [!__ASSUME_32BITUIDS]: Remove conditional code.
63703         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63704         <kernel-features.h>.
63705         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63706         unconditional.
63707         (__setresgid): Do not declare.
63708         [__ASSUME_32BITUIDS]: Make code unconditional.
63709         [!__ASSUME_32BITUIDS]: Remove conditional code.
63710         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63711         <kernel-features.h>.
63712         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63713         unconditional.
63714         (__setresuid): Do not declare.
63715         [__ASSUME_32BITUIDS]: Make code unconditional.
63716         [!__ASSUME_32BITUIDS]: Remove conditional code.
63717         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63718         <kernel-features.h>.
63719         [__ASSUME_32BITUIDS]: Make code unconditional.
63720         [!__ASSUME_32BITUIDS]: Remove conditional code.
63721         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63722         <kernel-features.h>.
63723         [__ASSUME_32BITUIDS]: Make code unconditional.
63724         [!__ASSUME_32BITUIDS]: Remove conditional code.
63726 2012-05-25  Richard Henderson  <rth@twiddle.net>
63728         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63729         dl_hwcap to ifunc resolver.
63730         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63731         elf_ifunc_invoke.
63732         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63733         dl_hwcap to ifunc resolver.
63734         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63736 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63738         [BZ #14153]
63739         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63740         for |x| <= 2**-26, not 2**-57.
63741         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63742         exception.
63744 2012-05-24  Jeff Law  <law@redhat.com>
63746         * stdio-common/Makefile (tests): Add bug25.
63747         * stdio-common/bug25.c: New test.
63749 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63751         [BZ #13576]
63752         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63753         multiple of MALLOC_ALIGNMENT in size.
63754         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63756 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63758         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63759         Require >= 256.
63760         (FILENAME_MAX): Use macro-int-constant.
63761         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63762         (_IOFBF): Use macro-int-constant.
63763         (_IOLBF): Likewise.
63764         (_IONBF): Likewise.
63765         (SEEK_CUR): Likewise.
63766         (SEEK_END): Likewise.
63767         (SEEK_SET): Likewise.
63768         (TMP_MAX): Likewise.
63769         (EOF): Use macro-int-constant.  Require < 0.
63770         (NULL): Use macro-constant.  Require == 0.
63771         (stdin): Require type to be FILE *.
63772         (stdout): Likewise.
63773         (stderr): Likewise.
63774         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63775         macro-int-constant.
63776         (EXIT_SUCCESS): Likewise.
63777         (NULL): Use macro-constant.  Require == 0.
63778         (RAND_MAX): Use macro-int-constant.
63779         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63780         [C99-based standards] (strtof): Require function.
63781         [C99-based standards] (strtold): Likewise.
63782         [C99-based standards] (strtoll): Likewise.
63783         [C99-based standards] (strtoull): Likewise.
63784         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63785         [ISO || ISO99 || ISO11] (limits.h): Likewise.
63786         [ISO || ISO99 || ISO11] (math.h): Likewise.
63787         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63788         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63789         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63791 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
63793         [BZ #14132]
63794         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63795         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63796         * intl/dgettext.c (DCGETTEXT): Likewise.
63797         * intl/gettext.c (DCGETTEXT): Likewise.
63798         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63799         * posix/regex_internal.h (gettext): Likewise.
63800         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63801         Remove declaration.
63802         * include/argz.h (__argz_count_internal)
63803         (__argz_stringify_internal): Remove declaration.
63804         (__argz_count, __argz_stringify): Declare hidden proto.
63805         * intl/dcgettext.c: Remove use of INTDEF.
63806         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63807         * string/argz-stringify.c: Likewise.
63808         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63809         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63810         Declare hidden proto.
63811         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63812         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63813         Declare hidden proto.
63814         * include/stdio.h (__asprintf_internal): Don't declare.
63815         (__asprintf): Don't define as macro.  Declare hidden proto.
63816         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63817         (__fsetlocking): Declare hidden proto.
63818         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63819         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63820         hidden proto.
63821         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63822         (_IO_setlinebuf): Remove use of INTUSE.
63823         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63824         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63825         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63826         Remove declaration.
63827         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63828         (_IO_do_flush): Remove use of INTUSE.
63829         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63830         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63831         (_IO_adjust_column, _IO_least_wmarker)
63832         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63833         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63834         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63835         (_IO_default_doallocate, _IO_wdefault_doallocate)
63836         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63837         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63838         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63839         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63840         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63841         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63842         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63843         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63844         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63845         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63846         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63847         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63848         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63849         proto.
63850         (_IO_flush_all_internal, _IO_adjust_column_internal)
63851         (_IO_default_uflow_internal, _IO_default_finish_internal)
63852         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63853         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63854         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63855         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63856         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63857         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63858         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63859         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63860         (_IO_file_close_internal, _IO_file_close_it_internal)
63861         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63862         (_IO_file_init_internal, _IO_file_attach_internal)
63863         (_IO_file_fopen_internal, _IO_file_read_internal)
63864         (_IO_file_sync_internal, _IO_file_seek_internal)
63865         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63866         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63867         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63868         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63869         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63870         (_IO_list_all_internal, _IO_link_in_internal)
63871         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63872         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63873         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63874         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63875         (_IO_do_write_internal, _IO_padn_internal)
63876         (_IO_getline_info_internal, _IO_getline_internal)
63877         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63878         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63879         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63880         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63881         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63882         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63883         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63884         with libc_hidden_ver, remove use of INTUSE.
63885         * libio/genops.c: Likewise.
63886         * libio/freopen.c: Likewise.
63887         * libio/freopen64.c: Likewise.
63888         * libio/iofclose.c: Likewise.
63889         * libio/iofdopen.c: Likewise.
63890         * libio/iofflush.c: Likewise.
63891         * libio/iofflush_u.c: Likewise.
63892         * libio/iofgets.c: Likewise.
63893         * libio/iofgets_u.c: Likewise.
63894         * libio/iofopen.c: Likewise.
63895         * libio/iofopncook.c: Likewise.
63896         * libio/iofread.c: Likewise.
63897         * libio/iofread_u.c: Likewise.
63898         * libio/ioftell.c: Likewise.
63899         * libio/iofwrite.c: Likewise.
63900         * libio/iogetline.c: Likewise.
63901         * libio/iogets.c: Likewise.
63902         * libio/iogetwline.c: Likewise.
63903         * libio/iopadn.c: Likewise.
63904         * libio/iopopen.c: Likewise.
63905         * libio/ioseekoff.c: Likewise.
63906         * libio/ioseekpos.c: Likewise.
63907         * libio/iosetbuffer.c: Likewise.
63908         * libio/iosetvbuf.c: Likewise.
63909         * libio/ioungetc.c: Likewise.
63910         * libio/ioungetwc.c: Likewise.
63911         * libio/iovdprintf.c: Likewise.
63912         * libio/iovsprintf.c: Likewise.
63913         * libio/iovsscanf.c: Likewise.
63914         * libio/memstream.c: Likewise.
63915         * libio/obprintf.c: Likewise.
63916         * libio/oldfileops.c: Likewise.
63917         * libio/oldiofclose.c: Likewise.
63918         * libio/oldiofdopen.c: Likewise.
63919         * libio/oldiofopen.c: Likewise.
63920         * libio/oldiopopen.c: Likewise.
63921         * libio/oldstdfiles.c: Likewise.
63922         * libio/putc.c: Likewise.
63923         * libio/setbuf.c: Likewise.
63924         * libio/setlinebuf.c: Likewise.
63925         * libio/stdfiles.c: Likewise.
63926         * libio/strops.c: Likewise.
63927         * libio/vasprintf.c: Likewise.
63928         * libio/vscanf.c: Likewise.
63929         * libio/vsnprintf.c: Likewise.
63930         * libio/vswprintf.c: Likewise.
63931         * libio/wfiledoalloc.c: Likewise.
63932         * libio/wfileops.c: Likewise.
63933         * libio/wgenops.c: Likewise.
63934         * libio/wmemstream.c: Likewise.
63935         * libio/wstrops.c: Likewise.
63936         * libio/__fpurge.c: Likewise.
63937         * libio/__fsetlocking.c: Likewise.
63938         * assert/assert.c: Likewise.
63939         * debug/fgets_chk.c: Likewise.
63940         * debug/fgets_u_chk.c: Likewise.
63941         * debug/fread_chk.c: Likewise.
63942         * debug/fread_u_chk.c: Likewise.
63943         * debug/gets_chk.c: Likewise.
63944         * debug/obprintf_chk.c: Likewise.
63945         * debug/vasprintf_chk.c: Likewise.
63946         * debug/vdprintf_chk.c: Likewise.
63947         * debug/vsnprintf_chk.c: Likewise.
63948         * debug/vsprintf_chk.c: Likewise.
63949         * malloc/mtrace.c: Likewise.
63950         * misc/error.c: Likewise.
63951         * misc/syslog.c: Likewise.
63952         * stdio-common/asprintf.c: Likewise.
63953         * stdio-common/fxprintf.c: Likewise.
63954         * stdio-common/getw.c: Likewise.
63955         * stdio-common/isoc99_fscanf.c: Likewise.
63956         * stdio-common/isoc99_scanf.c: Likewise.
63957         * stdio-common/isoc99_vfscanf.c: Likewise.
63958         * stdio-common/isoc99_vscanf.c: Likewise.
63959         * stdio-common/isoc99_vsscanf.c: Likewise.
63960         * stdio-common/printf-prs.c: Likewise.
63961         * stdio-common/printf_fp.c: Likewise.
63962         * stdio-common/printf_fphex.c: Likewise.
63963         * stdio-common/printf_size.c: Likewise.
63964         * stdio-common/putw.c: Likewise.
63965         * stdio-common/scanf.c: Likewise.
63966         * stdio-common/sprintf.c: Likewise.
63967         * stdio-common/tmpfile.c: Likewise.
63968         * stdio-common/vfprintf.c: Likewise.
63969         * stdio-common/vfscanf.c: Likewise.
63970         * stdlib/strfmon_l.c: Likewise.
63971         * sunrpc/openchild.c: Likewise.
63972         * sunrpc/xdr_stdio.c: Likewise.
63973         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63974         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63976 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63978         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63980         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63981         in the third column, to generate for the shared library an IFUNC
63982         that uses _dl_vdso_vsym.
63983         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63984         * Makeconfig (object-suffixes-noshared): New variable.
63986         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63987         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63988         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63989         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63991         [BZ #14132]
63992         * include/sys/time.h (__gettimeofday): Remove macro.
63993         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63994         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63995         Remove INTDEF.
63996         (__gettimeofday): Add libc_hidden_def.
63997         (gettimeofday): Add libc_hidden_weak.
63998         * sysdeps/mach/gettimeofday.c: Likewise.
63999         * sysdeps/posix/gettimeofday.c: Likewise.
64000         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64001         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64002         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64003         (__gettimeofday_internal): Remove strong_alias.
64004         (__gettimeofday): Add libc_hidden_def.
64005         (gettimeofday): Add libc_hidden_weak.
64006         * sysdeps/unix/syscalls.list (gettimeofday):
64007         Remove __gettimeofday_internal alias.
64009 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64010             H.J. Lu  <hongjiu.lu@intel.com>
64012         [BZ #12495]
64013         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64014         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64015         (largebin_index_32_big): New.
64016         (largebin_index): Use it for 16-byte alignment.
64017         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64018         correction with front_misalign.
64020 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64024         Likewise.
64025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64026         Likewise.
64027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64028         Likewise.
64029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64030         Likewise.
64031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64032         Likewise.
64033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64034         Likewise.
64035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64036         Likewise.
64037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64038         Likewise.
64039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64040         Likewise.
64041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64042         Likewise.
64043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64044         Likewise.
64045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64046         Likewise.
64048         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64049         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64051 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64053         [BZ #10846]
64054         [BZ #14036]
64055         * math/libm-test.inc (exp_test): Add test from bug 14036.
64056         (pow_test): Add test from bug 10846.
64058         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64059         and other flags.
64060         (special_function): Do not include flags in test name.
64061         (parse_args): Likewise.
64062         * sysdeps/i386/fpu/libm-test-ulps: Update.
64063         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64064         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64065         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64068         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64069         exceptions.
64070         * math/libm-test.inc ("Philosophy"): Update comment about
64071         exception testing.
64072         (UNDERFLOW_EXCEPTION): New macro.
64073         (UNDERFLOW_EXCEPTION_OK): Likewise.
64074         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64075         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64076         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64077         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64078         (INVALID_EXCEPTION_OK): Update value.
64079         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64080         (OVERFLOW_EXCEPTION_OK): Likewise.
64081         (IGNORE_ZERO_INF_SIGN): Likewise.
64082         (test_exceptions): Handle underflow exceptions.
64083         (acos_test): Update for underflow exception expectations.
64084         (cexp_test): Likewise.
64085         (clog_test): Likewise.
64086         (clog10_test): Likewise.
64087         (csqrt_test): Likewise.
64088         (ctan_test): Likewise.
64089         (ctanh_test): Likewise.
64090         (exp_test): Likewise.
64091         (exp10_test): Likewise.
64092         (exp2_test): Likewise.
64093         (expm1_test): Likewise.
64094         (fma_test): Likewise.
64095         (j0_test): Likewise.
64096         (jn_test): Likewise.
64097         (nexttoward_test): Likewise.
64098         (pow_test): Likewise.
64099         (scalbn_test): Likewise.
64100         (scalbln_test): Likewise.
64101         (tan_test): Likewise.
64102         (y1_test): Likewise.
64103         * sysdeps/i386/fpu/libm-test-ulps: Update.
64104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64106 2012-05-23  David S. Miller  <davem@davemloft.net>
64108         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64109         (__libc_sigaction): Remove unused local variables.
64111 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64113         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64115 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64117         mktime: avoid signed integer overflow
64118         * time/mktime.c (__mktime_internal): Do not mishandle the case
64119         where diff == INT_MIN.
64121         mktime: simplify computation of average
64122         * time/mktime.c (ranged_convert): Use new time_t_avg function
64123         instead of rolling our own (probably-slower) code.
64125         mktime: do not assume signed right shift propagates sign bit
64126         * time/mktime.c (isdst_differ): New static function.
64127         (__mktime_internal): No need to normalize tm_isdst now.
64128         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64129         tm_isdst values.
64131         mktime: merge another wrapv change from gnulib
64132         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64133         from some compilers.
64135         mktime: remove incorrect attempt at unusual arithmetics
64136         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64137         The code didn't really work on such machines anyway.
64138         (TYPE_MINIMUM): Assume two's complement.
64139         (twos_complement_arithmetic): Verify that long_int and time_t
64140         are two's complement (or unsigned, in the latter case).
64142         mktime: check signed shifts on long_int and time_t, too
64143         * time/mktime.c (SHR): Check that shifts work as desired
64144         on the types long_int and time_t too, as SHR is used on
64145         such types.
64147         mktime: do not assume 'long' is wide enough
64148         * time/mktime.c (verify): Move decl up.
64149         (long_int): New type.
64150         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64151         to remove assumption in the code that 'long' is wide enough to
64152         store year values.  This assumption is not true on x32 and on
64153         some non-glibc platforms.
64155         mktime: merge wrapv change from gnulib
64156         * time/mktime.c (WRAPV): New macro.
64157         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64158         (guess_time_tm, __mktime_internal): Do not assume that signed
64159         integer overflow wraps around; modern compilers generate code
64160         where this assumption is no longer valid.
64162 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64164         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64165         Replace "jmp L(pseudo_end)" with "ret".
64166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64167         Likewise.
64169 2012-05-23  Andreas Jaeger  <aj@suse.de>
64171         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64172         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64174 2012-05-23  Andreas Jaeger  <aj@suse.de>
64175             Maximilian Attems  <max@stro.at>
64177         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64178         New macros.
64180 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64182         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64183         code so that pseudo_end is just ret and the stack pointer is
64184         correct also for static library in error case.
64186 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64188         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64189         move to syscalls.list.
64190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64195         * manual/install.texi (Running make install): Do not mention Linux
64196         kernel version for which pt_chown is not needed.
64197         (Linux): Do not mention problems with nscd with 2.0 kernels.
64198         * INSTALL: Regenerated.
64200 2012-05-23  Andreas Jaeger  <aj@suse.de>
64202         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64203         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64204         macro.
64205         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64206         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64207         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64208         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64209         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64210         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64211         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64212         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64213         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64214         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64215         * sysdeps/unix/sysv/linux/bits/in.h
64216         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64218 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64220         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64221         (PREPARE_VERSION): Just use assert instead, it will be elided
64222         under [NDEBUG] anyway.
64224 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64226         * sysdeps/unix/sysv/linux/Makefile: Include
64227         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64228         (sysdep_routines): Remove sysctl.
64229         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64230         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64231         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64232         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64233         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64235 2012-05-22  Andreas Jaeger  <aj@suse.de>
64237         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64238         that pseudo_end is just ret and the stack pointer is correct also
64239         for static library in error case.
64241 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64243         [BZ #14122]
64244         * nss/nsswitch.c (defconfig_entries): New variable.
64245         (__nss_database_lookup): Don't leak defconfig entries.
64246         (nss_parse_service_list): Don't leak on error paths.
64247         (free_database_entries): New function.
64248         (free_defconfig): New function.
64249         (free_mem): Move common code to free_database_entries.
64251 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64253         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64254         Add arch_prctl.
64255         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64257         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64258         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64260         New macro.
64261         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64262         (INTERNAL_SYSCALL_TYPES): Likewise.
64263         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64264         (LOAD_REGS_TYPES_[1-6]): Likewise.
64265         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64266         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64268 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64270         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64271         copysignl for GLIBC_2_0.
64272         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64273         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64274         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64275         logbl for GLIBC_2_0.
64276         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64277         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64279 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64282         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64284         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64285         Use "neg %eax".
64287         * time/mktime.c: Update copyright years.
64289 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64291         mktime: merge comment-quoting-style change from gnulib
64292         * time/mktime.c: Quote 'like this' in comments.
64293         The GNU coding standards suggest that we no longer quote `like this',
64294         as "`" and "'" are typically rendered asymmetrically nowadays.
64295         The typical gnulib style is to quote 'like this' when quoting
64296         code, and "like this" when quoting English.
64298         * time/mktime.c (compile-command): Add "-I.".
64300         mktime: merge mktime-internal.h change from gnulib
64301         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64303         mktime: merge time_r change from gnulib
64304         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64306         mktime: merge DEBUG change from gnulib
64307         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64308         case system <time.h> has a #define.
64310         mktime: merge <sys/types.h> change from gnulib
64311         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64312         since <time.t> is now guaranteed to define time_t.
64314         mktime: merge HAVE_CONFIG_H change from gnulib
64315         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64317 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64320         Use "neg %eax".
64322         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64323         __rlim_t cast.
64324         (struct rusage): Use anonymous union to pad each field to
64325         __syscall_slong_t.
64327 2012-05-21  David S. Miller  <davem@davemloft.net>
64329         * Makefules (o-iterator): Remove .s cases.
64330         (compile-command.s): Delete.
64331         (COMPILE.s): Delete.
64332         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64334 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64336         * configure.in (libc_cv_predef_stack_protector): Only consider
64337         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64338         * configure: Regenerated.
64340 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64343         New macro.  Use R*LP on int and pointer.
64344         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64345         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64346         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64347         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64349         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64350         [__WORDSIZE_TIME64_COMPAT32] instead of
64351         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64352         (struct utmp): Likewise.
64353         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64354         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64355         Renamed to ...
64356         (__WORDSIZE_TIME64_COMPAT32): This.
64357         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64358         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64359         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64360         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64361         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64362         (__WORDSIZE_TIME64_COMPAT32): New macro.
64364 2012-05-21  Andreas Jaeger  <aj@suse.de>
64366         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64367         only if [SHARED]. Add prototype for __wcschr_ia32.
64369 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64371         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64372         of %rbp unmolested in the jmp_buf while mangling the low bits.
64373         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64374         unmolested high bits of %rbp while demangling the low bits.
64375         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64377 2012-05-21  Andreas Jaeger  <aj@suse.de>
64379         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64380         * sunrpc/svc_simple.c: Use it for registerrpc.
64381         * sunrpc/xcrypt.c: Use it for passwd2des.
64383         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64385 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64387         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64388         Don't define if [__SYSCALL_WORDSIZE != 32].
64389         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64390         New macro.
64392 2012-05-21  Bruno Haible  <bruno@clisp.org>
64393             Andreas Jaeger  <aj@suse.de>
64395         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64396         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64397         inptr and inend for must_buffer_ch.
64398         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64399         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64400         * stdio-common/Makefile (tests): Remove bug15.
64401         (bug15-ENV): Remove macro.
64402         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64403         anymore.
64405 2012-05-19  Andreas Jaeger  <aj@suse.de>
64406             Roland McGrath  <roland@hack.frob.com>
64408         * manual/contrib.texi: Completely rewritten. It contains now an
64409         alphabetical list of contributors and their contributions.
64411 2012-05-21  Richard Henderson  <rth@twiddle.net>
64413         * misc/getauxval.c (__getauxval): Use unsigned long int.
64414         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64415         (getauxval): Use unsigned long int.
64417 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64419         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64421 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64423         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64424         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64425         __alignof__ (long double).
64427 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64431 2012-05-20  Richard Henderson  <rth@twiddle.net>
64433         * misc/getauxval.c: New file.
64434         * misc/sys/auxv.h: New file.
64435         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64436         (routines): Add getauxval.
64437         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64438         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64439         * elf/dl-sysdep.c (_dl_auxv): Remove.
64440         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64441         * elf/dl-support.c (_dl_auxv): New variable.
64442         (_dl_aux_init): Initialize it.
64443         * manual/startup.texi (Auxiliary Vector): New node.
64444         * sysdeps/generic/bits/hwcap.h: New file.
64445         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64446         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64447         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64448         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64449         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64450         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64452         Update.
64453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64456         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64462 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64466 2012-05-19  David S. Miller  <davem@davemloft.net>
64468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64470 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64472         [BZ #14123]
64473         * math/s_ccosh.c: Include <float.h>
64474         (__ccosh): Avoid internal overflow calculating sinh and cosh
64475         values before multiplying by sin and cos values.
64476         * math/s_ccoshf.c: Likewise.
64477         * math/s_ccoshl.c: Likewise.
64478         * math/s_csin.c: Likewise.
64479         * math/s_csinf.c: Likewise.
64480         * math/s_csinl.c: Likewise.
64481         * math/s_csinh.c: Likewise.
64482         * math/s_csinhf.c: Likewise.
64483         * math/s_csinhl.c: Likewise.
64484         * math/libm-test.inc (ccos_test): Add more tests.
64485         (ccosh_test): Likewise.
64486         (csin_test): Likewise.
64487         (csinh_test): Likewise.
64488         * sysdeps/i386/fpu/libm-test-ulps: Update.
64489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64491 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64493         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64494         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64496         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64498 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64500         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64501         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64502         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64503         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64504         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64505         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64506         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64507         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64508         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64509         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64510         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64511         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64512         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64513         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64514         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64515         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64516         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64517         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64518         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64519         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64520         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64521         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64522         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64523         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64524         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64525         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64526         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64527         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64528         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64529         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64530         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64532 2012-05-18  Andreas Jaeger  <aj@suse.de>
64534         * csu/.gitignore: Delete.
64536 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64538         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64539         (timex): Use __syscall_slong_t.
64541 2012-05-18  Andreas Jaeger  <aj@suse.de>
64542             Carlos O'Donell  <carlos_odonell@mentor.com>
64544         * manual/install.texi (Configuring and compiling): Update
64545         description about files modified in the source directory.
64546         * INSTALL: Regenerated.
64548 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64550         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64551         value.  Use "or" to set return value to -1.
64552         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64553         negate return value.
64555 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64557         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64558         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64559         failure if the compiler has Graphite support disabled.
64560         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64561         Likewise.
64562         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64563         (CFLAGS-memmove.c): Likewise.
64564         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64565         Likewise.
64567 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64569         * sysdeps/x86_64/x32/_itoa.h: New file.
64571         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64572         getdents system call only if kernel and user dirents have the
64573         same d_ino and d_off.
64575         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64576         LLONG_MAX != LONG_MAX.
64577         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64578         (_fitoa_word): Likewise.
64580         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64581         years.
64582         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64583         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64584         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64586         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64587         include <bits/wordsize.h>.  Check __x86_64__ instead of
64588         __WORDSIZE.
64589         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64590         if __x86_64__ is defined.  Use anonymous union on fpstate.
64592         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64593         anonymous union.
64595 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64597         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64598         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64599         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64600         Refer to _rtld_local_ro instead of _rtld_global_ro.
64601         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64602         Likewise.
64603         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64604         Likewise.
64605         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64606         Likewise.
64607         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64608         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64609         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64611         [BZ #10882]
64612         * sysdeps/powerpc/powerpc32/dl-machine.c
64613         (__elf_machine_runtime_setup) [PROF]: Don't reference
64614         _dl_prof_resolve.
64616 2012-05-18  Andreas Jaeger  <aj@suse.de>
64618         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64619         function only available for GCCs before 3.4 since GCC 3.4
64620         introduced a builtin.
64621         (lrint): Likewise.
64622         (llrintf): Likewise.
64623         (llrint): Likewise.
64624         (fmaxf): Likewise.
64625         (fmax): Likewise.
64626         (fminf): Likewise.
64627         (fmin): Likewise.
64628         (rint): Likewise.
64629         (rintf): Likewise.
64630         (nearbyint): Likewise.
64631         (nearbyintf): Likewise.
64632         (ceil): Likewise.
64633         (ceilf): Likewise.
64634         (floor): Likewise.
64635         (floorf): Likewise.
64637 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64639         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64640         on both fields and cast pointer to __syscall_ulong_t.
64642         * bits/types.h (__fsword_t): New type.
64643         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64644         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64645         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64646         (__FSWORD_T_TYPE): Likewise.
64647         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64648         (__FSWORD_T_TYPE): Likewise.
64649         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64650         (__FSWORD_T_TYPE): Likewise.
64651         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64652         (__FSWORD_T_TYPE): Likewise.
64653         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64654         __SWORD_TYPE with __fsword_t.
64655         (statfs64): Likewise.
64657 2012-05-17  David S. Miller  <davem@davemloft.net>
64659         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64661 2012-05-17  Andreas Jaeger  <aj@suse.de>
64663         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64664         warning.
64666 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64668         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64670 2012-05-17  Andreas Jaeger  <aj@suse.de>
64672         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64673         when it is used.
64675 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64677         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64679 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64681         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64682         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64684 2012-05-17  Andreas Jaeger  <aj@suse.de>
64685             Carlos O'Donell  <carlos_odonell@mentor.com>
64687         [BZ #14059]
64688         * sysdeps/x86_64/multiarch/init-arch.h
64689         (bit_YMM_Usable): Rename to...
64690         (bit_AVX_Usable): ... this.
64691         (bit_FMA4_Usable): New macro.
64692         (bit_XMM_state): New macro.
64693         (bit_YMM_state): New macro.
64694         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64695         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64696         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64697         (CPUID_OSXSAVE): New macro.
64698         (CPUID_AVX): New macro.
64699         (CPUID_FMA4): New macro.
64700         (index_YMM_Usable): Rename to...
64701         (index_AVX_Usable): ... this.
64702         (HAS_AVX): Use HAS_ARCH_FEATURE.
64703         (HAS_FMA4): Likewise.
64704         (HAS_YMM_USABLE): Remove.
64705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64706         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64707         are present.
64708         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64709         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64710         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64711         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64712         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64714 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64716         * math/libm-test.c: Support platforms without multiple rounding modes.
64717         * math/bug-nextafter.c: Support platforms without FP exceptions.
64718         * math/bug-nexttoward.c: Likewise.
64719         * math/test-fenv.c: Likewise.
64720         * math/test-misc.c: Likewise.
64721         * stdlib/bug-getcontext.c: Likewise.
64723 2012-05-17  Andreas Jaeger  <aj@suse.de>
64725         * manual/examples/search.c (critter_cmp): Change signature to
64726         avoid warnings.
64727         * manual/string.texi (Collation Functions): Likewise.
64729 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64731         * bits/types.h: Fold copyright years.
64732         * bits/typesizes.h: Likewise.
64733         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64734         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64735         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64736         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64737         * time/time.h: Likewise.
64739 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64741         [BZ #208]
64742         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64743         in instead of returning them.  Return void.
64744         (__libc_mallinfo): Accumulate over all arenas.
64745         (__malloc_stats): Adjust for change in int_mallinfo interface.
64747 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64749         [BZ #10375]
64750         * configure.in (NM): Add AC_CHECK_TOOL for it.
64751         (libc_extra_cflags): New substituted variable.
64752         Check for -fstack-protector being used implicitly.
64753         * configure: Regenerated.
64754         * config.make.in (config-extra-cflags): New variable,
64755         gets @libc_extra_cflags@.
64756         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64758         [BZ #10375]
64759         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64760         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64761         * configure: Regenerated.
64762         * config.make.in (CPPUNDEFS): New substituted variable.
64763         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64764         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64765         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64767 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64769         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64770         (mq_attr): Use __syscall_slong_t.
64772 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64774         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64775         Check __x86_64__ instead of __WORDSIZE.
64776         (_STAT_VER_LINUX): Likewise.
64777         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
64778         __syscall_ulong_t and __syscall_slong_t.
64779         (stat64): Likewise.
64781 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64783         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64785 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64787         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64789 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64791         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64792         __syscall_ulong_t.
64794         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64795         include <bits/wordsize.h>.  Check __x86_64__ instead of
64796         __WORDSIZE.
64797         (greg_t): Use "__extension__ long long int" if __x86_64__ is
64798         defined.
64799         (mcontext_t): Replace "unsigned long" with "unsigned long long".
64801         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64802         include <bits/wordsize.h>.  Check __x86_64__ instead of
64803         __WORDSIZE.
64804         (user_regs_struct): Use "__extension__ unsigned long long"
64805         instead of "unsigned long" if __x86_64__ is defined.
64806         (user): Likewise.  Pad after pointer field if __ILP32__ is
64807         defined.
64809 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
64811         * configure.in (makeinfo): Require version 4.5 or later.  Allow
64812         versions 5 to 9.
64813         * configure: Regenerated.
64814         * manual/install.texi (texinfo): Increase version requirement to
64815         4.5 or later.
64816         * INSTALL: Regenerated.
64818         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64820 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64822         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64824         * sysdeps/x86_64/x32/ffs.c: New file.
64826         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64827         __syscall_ulong_t.
64828         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64829         defined.  Use __syscall_ulong_t.
64830         (shminfo): Use __syscall_ulong_t.
64831         (shm_info): Likewise.
64833         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64834         __syscall_ulong_t.
64836         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64837         <bits/wordsize.h>.
64838         (msgqnum_t): Use __syscall_ulong_t.
64839         (msglen_t): Likewise.
64840         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
64841         __syscall_ulong_t.
64843         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64844         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64846         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64848         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64849         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64851         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64852         __syscall_slong_t.
64854         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64855         include <bits/wordsize.h>.  Check __x86_64__ instead of
64856         __WORDSIZE.
64858         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64859         "unsigned long long int" if __x86_64__ is defined.
64860         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64862         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64863         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64864         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64866         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64867         <stdint.h>.
64868         (GET_PC): Cast to uintptr_t first.
64869         (GET_FRAME): Likewise.
64870         (GET_STACK): Likewise.
64872         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64873         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64874         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64875         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64876         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64877         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64878         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64879         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64880         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64881         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64882         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64883         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64884         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64885         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64886         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64887         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64888         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64889         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64890         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64891         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64892         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64893         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64894         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64895         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64896         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64897         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64898         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64899         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64900         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64902 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64904         * Makerules (+depfiles): Also collect depfiles from .oS in
64905         $(extra-objs).
64906         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64907         .oS, $(libnldbl-routines)).
64909         * Makerules (native-compile-mkdep-flags): Define.
64910         * sunrpc/Makefile (extra-objs): Add $(addprefix
64911         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64912         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64913         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64914         calling $(make-target-directory).
64916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64918         * bits/types.h (__snseconds_t): Removed.
64919         * time/time.h (struct timespec): Replace __snseconds_t with
64920         __syscall_slong_t.
64921         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64922         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64923         Likewise.
64924         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64925         (__SNSECONDS_T_TYPE): Likewise.
64926         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64927         (__SNSECONDS_T_TYPE): Likewise.
64928         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64929         (__SNSECONDS_T_TYPE): Likewise.
64931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64933         * sysdeps/mach/hurd/bits/typesizes.h
64934         (__SYSCALL_SLONG_TYPE): New macro.
64935         (__SYSCALL_ULONG_TYPE): Likewise.
64937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64939         * bits/types.h (__syscall_slong_t): New type.
64940         (__syscall_ulong_t): Likewise.
64942         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64943         (__SYSCALL_ULONG_TYPE): Likewise.
64944         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64945         (__SYSCALL_SLONG_TYPE): Likewise.
64946         (__SYSCALL_ULONG_TYPE): Likewise.
64947         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64948         (__SYSCALL_SLONG_TYPE): Likewise.
64949         (__SYSCALL_ULONG_TYPE): Likewise.
64950         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64951         (__SYSCALL_SLONG_TYPE): Likewise.
64952         (__SYSCALL_ULONG_TYPE): Likewise.
64954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64956         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64957         Add sigaltstack-offsets.sym.
64958         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64959         <sigaltstack-offsets.h>.
64960         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64961         longjmp_msg pointer.
64962         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64963         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64964         signal stack.
64965         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64967 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64969         * elf/stackguard-macros.h: Remove file.
64970         * sysdeps/generic/stackguard-macros.h: New file.
64971         * sysdeps/i386/stackguard-macros.h: Likewise.
64972         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64973         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64974         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64975         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64976         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64977         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64978         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64979         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64980         <elf/stackguard-macros.h>.
64982         [BZ #14109]
64983         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64984         __aligned__ in attribute.
64985         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64986         (gregset_t): Likewise.
64988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64990         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64991         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64992         * sysdeps/x86_64/x32/Implies-after: New file.
64994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64996         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64997         and access return value for _dl_profile_fixup.  Use R10_LP to
64998         load frame size.
65000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65002         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65006         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65007         * sysdeps/x86_64/x32/sysdep.h: New file.
65009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65011         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65012         * sysdeps/x86_64/setjmp.S: Likewise.
65014 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65016         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65017         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65018         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65019         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65020         remove unused global constant.
65022 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65024         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65025         include of <not-cancel.h>.
65027 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65029         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65031 2012-05-15  Jeff Law  <law@redhat.com>
65032             Andreas Jaeger  <aj@suse.de>
65034         [BZ #13594]
65035         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65036         out from...
65037         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65038         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65039         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65040         code changing __hst_map_handle.map.
65042 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65044         * configure.in (sysnames): Look for Implies-before and Implies-after
65045         files.
65046         * configure: Regenerated.
65048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65050         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65051         8-byte data alignment with LP_SIZE alignment.
65053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65055         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65056         into R10_LP.
65058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65060         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65064         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65065         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65066         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65067         Likewise.
65068         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65070 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65072         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65073         (stackinfo_sub_sp): Likewise.
65075 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65077         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65078         RAX_LP.
65080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65082         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65083         into R*_LP.
65085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65087         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65088         sizes into R*_LP.
65090 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65092         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65096         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65097         into R11_LP and load __x86_64_shared_cache_size_half into
65098         R8_LP.
65100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65102         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65103         R8_LP.
65105 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65107         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65108         logb for POWER7.
65109         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65110         logbf for POWER7.
65111         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65112         logbl for POWER7.
65113         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65114         powerpc32/power7/fpu/s_logb.c via #include.
65115         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65116         powerpc32/power7/fpu/s_logbf.c via #include.
65117         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65118         powerpc32/power7/fpu/s_logbl.c via #include.
65120 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65122         * README.libm: Remove file.
65124 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65126         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65127         count for x32.  Use R*_LP and omit operand-size suffix.
65129 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65131         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65132         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65133         * sysdeps/x86_64/x32/shlib-versions: New file.
65135 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65137         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65138         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65139         Use _dl_fatal_printf instead.
65141 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65143         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65144         set if not set by the user.  Do not allow for being unset.
65145         * sysdeps/unix/sysv/linux/configure: Regenerated.
65147 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65149         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65150         the `q' suffix from lea and replace .quad with ASM_ADDR.
65152 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65155         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65156         instead of $17.
65157         (PTR_DEMANGLE): Likewise.
65159 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65161         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65162         (LP_OP): Likewise.
65163         (ASM_ADDR): Likewise.
65164         (RAX_LP): Likewise.
65165         (RBP_LP): Likewise.
65166         (RBX_LP): Likewise.
65167         (RCX_LP): Likewise.
65168         (RDI_LP): Likewise.
65169         (RSI_LP): Likewise.
65170         (RSP_LP): Likewise.
65171         (R8_LP): Likewise.
65172         (R9_LP): Likewise.
65173         (R10_LP): Likewise.
65174         (R10_LP): Likewise.
65175         (R11_LP): Likewise.
65176         (R12_LP): Likewise.
65177         (R13_LP): Likewise.
65178         (R14_LP): Likewise.
65179         (R15_LP): Likewise.
65181 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65183         * sysdeps/x86_64/x32/dl-machine.h: New file.
65185 2012-05-14  Andreas Jaeger  <aj@suse.de>
65187         * manual/Makefile (subdir): Remove export of subdir.
65188         (all): Remove target.
65189         (.PHONY): Remove all from list.
65190         (mkinstalldirs): Remove.
65191         (.PHONY): Remove installdirs from list.
65192         ($(inst_infodir)/libc.info): Use make-target-directory.
65193         (installdirs): Remove.
65194         (subdir_%): Remove.
65195         (glibc-targets): Remove.
65196         (lib): Remove.
65197         (stubs): Remove.
65198         ($(objpfx)stubs ../po/manual.pot): Remove.
65199         ($(objpfx)stamp%): Remove.
65200         (make-target-directory): Remove.
65201         (subdir_install): Remove.
65202         (routines): Remove.
65203         (aux): Remove.
65204         (sources): Remove.
65205         (objects): Remove.
65206         (headers): Remove.
65208         [BZ #13750]
65209         * manual/.gitignore: Remove, it's not needed anymore.
65210         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65211         all files in it.
65212         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65213         directory.
65214         (texis): Renamed to $(objpfx)texis.
65215         (texis-path): New, contains path to generated files.
65216         (chapters.%): Use texis-path for complete path, add extra argument
65217         libc-texinfo.sh.
65218         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65219         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65220         (summary,texi, stamp-summary): Use complete path of
65221         files. Generate files in build dir.
65222         (dir-add.texi): Build in build dir.
65223         (libm-err.texi,stamp-libm-err): Likewise.
65224         (version.texi, stamp-version): Likewise.
65225         (.%c.texi): Likewise.
65226         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65227         (mostlyclean): Remove target.
65228         (realclean): Remove target.
65229         (generated): Add new variable with contents from mostlyclean and
65230         realclean, remove entries duplicated in common-mostlyclean, add
65231         stamp-libm-err and stamp-version.
65232         (generated-dirs): Add libc directory.
65233         ($(inst_infodir)/libc.info): Install files from build dir.
65235         * manual/install.texi (Configuring and compiling): Adjust since
65236         the info files are not part of the tar ball anymore.
65238 2012-05-14  Andreas Jaeger  <aj@suse.de>
65240         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65241         variable.
65243 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65245         [BZ #13717]
65246         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65247         to 2.2.0 where earlier.
65248         * sysdeps/unix/sysv/linux/configure: Regenerated.
65249         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65250         Remove conditional code.
65251         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65252         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65253         Remove conditional code.
65254         [!__NR_lchown]: Likewise.
65255         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65256         [__NR_lchown]: Likewise.
65257         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65258         comment referencing __ASSUME_LCHOWN_SYSCALL.
65259         * sysdeps/unix/sysv/linux/i386/sigaction.c
65260         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65261         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65262         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65263         Remove conditional code.
65264         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65265         (__protocol_available): Remove #if 0 code.
65266         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65267         conditional code.
65268         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65269         * sysdeps/unix/sysv/linux/kernel-features.h
65270         (__ASSUME_GETCWD_SYSCALL): Don't define.
65271         (__ASSUME_REALTIME_SIGNALS): Likewise.
65272         (__ASSUME_PREAD_SYSCALL): Likewise.
65273         (__ASSUME_PWRITE_SYSCALL): Likewise.
65274         (__ASSUME_POLL_SYSCALL): Likewise.
65275         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65276         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65277         non-SPARC.
65278         (__ASSUME_SIOCGIFNAME): Don't define.
65279         (__ASSUME_MSG_NOSIGNAL): Likewise.
65280         (__ASSUME_SENDFILE): Define unconditionally.
65281         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65282         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65283         conditional code.
65284         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65285         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65286         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65287         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65288         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65289         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65290         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65292         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65293         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65295         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65296         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65298         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65299         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65301         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65302         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65304         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65305         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65307         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65308         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65310         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65311         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65313         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65314         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65315         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65316         Remove conditional code.
65317         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65318         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65319         Remove conditional code.
65320         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65321         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65322         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65323         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65324         Remove conditional code.
65325         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65326         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65327         Remove conditional code.
65328         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65329         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65330         Remove conditional code.
65331         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65332         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65333         Remove conditional code.
65334         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65335         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65336         Remove conditional code.
65337         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65338         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65339         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65340         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65341         * sysdeps/unix/sysv/linux/sigaction.c
65342         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65343         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65344         * sysdeps/unix/sysv/linux/sigpending.c
65345         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65346         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65347         * sysdeps/unix/sysv/linux/sigprocmask.c
65348         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65349         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65350         * sysdeps/unix/sysv/linux/sigsuspend.c
65351         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65352         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65353         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65354         (__libc_missing_rt_sigs): Remove.
65355         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65356         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65357         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65358         Remove conditional code.
65359         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65360         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65361         return 1.
65362         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65363         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65364         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65365         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65367 2012-05-14  Andreas Jaeger  <aj@suse.de>
65369         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65370         it's not used in glibc.
65371         (__coshm1): Likewise.
65372         (__acosh1p): Likewise.
65373         (__sgn): Likewise.
65375         * manual/string.texi (Copying and Concatenation): Add missing
65376         variable in concat example.
65377         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65379 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65381         [BZ #14103]
65382         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65383         __builtin_clzl with __builtin_clzll.
65385 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65387         [BZ #14104]
65388         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65389         libc_freeres_ptr.
65391 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65393         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65394         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65395         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65396         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65398 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65400         * NEWS: Update ia64 info.
65402 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65404         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65405         used as bcopy.
65407 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65409         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65410         * sysdeps/unix/syscalls.list (dup3): Likewise.
65411         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65412         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65414 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65416         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65417         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65419 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65421         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65422         thread pointer.
65423         (TLS_IE): Use mov/add instead of movq/addq to load thread
65424         pointer.
65425         (TLS_GD_PREFIX): New.
65426         (TLS_GD): Use it.
65428 2012-05-11  David S. Miller  <davem@davemloft.net>
65430         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65431         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65432         (_FPU_SETCW): Likewise.
65434 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65436         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65437         is 32-byte aligned.
65439 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65441         [BZ #11837]
65442         * iconvdata/gb18030.c: Update tables.
65443         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65444         characters specially.
65445         (BODY for TO_LOOP): Add encoding of missing ranges.
65447 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65449         [BZ #13673]
65450         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65451         * sysdeps/mach/hurd/dup3.c: Likewise.
65452         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65453         * sysdeps/powerpc/memmove.c:: Likewise.
65455 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65457         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65458         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65460 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65462         * elf/elf.h (R_X86_64_RELATIVE64): New.
65463         (R_X86_64_NUM): Updated.
65464         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65465         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65466         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65467         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65468         tst-quad1pie tst-quad2pie
65469         (modules-names): Add tst-quadmod1 tst-quadmod2.
65470         ($(objpfx)tst-quad1): New dependency.
65471         ($(objpfx)tst-quad2): Likewise.
65472         ($(objpfx)tst-quad1pie): Likewise.
65473         ($(objpfx)tst-quad2pie): Likewise.
65474         * sysdeps/x86_64/tst-quad1.c: New file.
65475         * sysdeps/x86_64/tst-quad1pie.c: New file.
65476         * sysdeps/x86_64/tst-quad2.c: Likewise.
65477         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65478         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65479         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65480         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65481         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65483 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65485         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65486         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65487         * streams/stropts.h (t_scalar_t): Define type.
65489         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65490         (_PATH_PRESERVE): Set to "/var/lib".
65491         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65493         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65494         instead of int.
65496         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65497         if __dir_mkfile succeeded.
65499         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65500         checking for _hurd_dtablesize.  Unlock it right after having
65501         finished _hurd_dtable allocation.
65503 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65505         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65506         * sysdeps/mach/hurd/configure: Regenerated.
65507         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65508         special-casing to...
65509         * sysdeps/gnu/configure.in: ... this new file.
65510         * sysdeps/unix/sysv/linux/configure: Regenerated.
65511         * sysdeps/gnu/configure: New generated file.
65513         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65514         for Linux: use nsec instead of usec, as well as:
65515         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65516         members of type struct timespec.
65517         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65518         New macros.
65519         (struct stat64): Likewise.
65520         (_STATBUF_ST_NSEC): New macro.
65521         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65523         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65524         __strtoul_internal rather than strtoul.
65526 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65528         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65529         and reject them.
65531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65533         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65534         which preserves existing values.
65535         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65537 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65539         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65540         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65541         greater than FD_SETSIZE.
65543 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65545         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65546         allocated, call __vm_protect to finish enabling the existing space, and
65547         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65548         allocate the remainder.
65550 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65552         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65553         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65557         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65558         sysdeps/mach/hurd/readlink.c.
65560         * posix/tst-sysconf.c (posix_options): Only use
65561         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65562         _POSIX_SYNCHRONIZED_IO when they are defined
65563         * sysdeps/mach/hurd/bits/posix_opt.h:
65564         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65565         (_XOPEN_REALTIME): Undefine macro.
65566         (_XOPEN_REALTIME_THREADS): Undefine macro.
65567         (_XOPEN_SHM): Undefine macro.
65568         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65569         macro to -1.
65570         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65571         macro to -1.
65572         (_POSIX_ASYNC_IO): Undefine macro.
65573         (_POSIX_PRIORITIZED_IO): Undefine macro.
65574         (_POSIX_SPIN_LOCKS): Define macro to -1.
65576         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65577         SA_NODEFER, SA_RESETHAND.
65578         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65579         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65580         F_DUPFD_CLOEXEC.
65582 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65584         * elf/Makefile (pldd-modules): Define unconditionally.
65586 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65588         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65590 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65592         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65593         Return ENOENT when name is empty.
65594         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65596 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65598         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65600         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65602 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65604         Fix mlock in all cases except non-readable pages.
65605         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65606         instead of VM_PROT_ALL as parameter to __vm_wire function.
65608         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65609         (__mkdir): When path is `/', just fail with EEXIST.
65610         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65612 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65614         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65615         <sys/uio.h> (for writev).
65616         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65617         and <sys/param.h> (for MIN).
65619 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65621         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65622         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65623         if interrupted.
65625 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65627         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65628         Depend on against $(link-rpcuserlibs).
65630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65632         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65633         (__libc_stack_end): Do not use attribute_relro.
65634         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65635         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65636         to libthread-provided value.
65637         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65638         attribute_relro.
65640 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65642         [BZ #3748]
65643         * bits/libc-lock.h (__libc_once_get): New macro.
65644         * sysdeps/mach/bits/libc-lock.h: Likewise.
65645         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65646         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65647         instead of using implementation details.
65649         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65650         * libio/freopen.c: Likewise.
65651         * libio/freopen64.c: Likewise.
65652         * misc/syslog.c: Likewise.
65653         * nscd/connections.c: Likewise.
65654         * nscd/netgroupcache.c: Likewise.
65655         * sysdeps/posix/getcwd.c: Likewise.
65657 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65659         * math/w_ilogbf.c: Add #include <limits.h>.
65661 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65663         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65664         path instead of returning without unlocking.
65666         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65667         immediate-write ioctls.
65668         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65672         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65673         __builtin_frame_address instead of making assumptions about the
65674         location of the return address relative to DATA.  Force early load of
65675         the return address.
65676         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65677         __builtin_frame_address.
65679         dup3 for GNU Hurd.
65680         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65681         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65682         implement dup3 and do some further code clean-ups.
65683         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65684         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65688         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65690         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65691         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65692         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65693         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65694         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65695         d->port.lock.
65697         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65698         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65699         when handler == SIG_ERR, not when handler != SIG_ERR.
65701 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65703         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65704         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65705         definitions.
65707         accept4 for GNU Hurd.
65708         * include/sys/socket.h (__libc_accept4): New prototype.
65709         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65710         to implement __libc_accept4.
65711         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65712         __libc_accept4.
65713         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65715         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65716         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65717         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65718         signal-defines.sym.
65720 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65722         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65726         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65727         assertion on O_CLOEXEC flag.
65728         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65729         * hurd/intern-fd.c: Likewise.
65730         * hurd/port2fd.c: Likewise.
65732 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65734         [BZ #3906]
65735         * bits/in.h (IPV6_PKTINFO): Define new macro.
65736         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65738 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65740         [BZ #13954]
65741         [BZ #13955]
65742         [BZ #13956]
65743         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65744         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65745         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65746         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65747         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65748         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65749         * math/libm-test.inc (logb_test) : Additional logb tests.
65751 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65752             Andreas Jaeger  <aj@suse.de>
65754         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65755         * configure: Regenerated.
65756         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65757         * config.make.in (link-obsolete-rpc): New substituted variable.
65758         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65759         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65760         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65761         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65762         so that libc.a contains the symbols.
65763         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65764         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65765         * sunrpc/auth_none.c: Likewise.
65766         * sunrpc/auth_unix.c: Likewise.
65767         * sunrpc/authdes_prot.c: Likewise.
65768         * sunrpc/authuxprot.c: Likewise.
65769         * sunrpc/clnt_gen.c: Likewise.
65770         * sunrpc/clnt_perr.c: Likewise.
65771         * sunrpc/clnt_raw.c: Likewise.
65772         * sunrpc/clnt_simp.c: Likewise.
65773         * sunrpc/clnt_tcp.c: Likewise.
65774         * sunrpc/clnt_udp.c: Likewise.
65775         * sunrpc/clnt_unix.c: Likewise.
65776         * sunrpc/des_crypt.c: Likewise.
65777         * sunrpc/des_soft.c: Likewise.
65778         * sunrpc/get_myaddr.c: Likewise.
65779         * sunrpc/key_call.c: Likewise.
65780         * sunrpc/key_prot.c: Likewise.
65781         * sunrpc/netname.c: Likewise.
65782         * sunrpc/pm_getmaps.c: Likewise.
65783         * sunrpc/pm_getport.c: Likewise.
65784         * sunrpc/pmap_clnt.c: Likewise.
65785         * sunrpc/pmap_prot.c: Likewise.
65786         * sunrpc/pmap_prot2.c: Likewise.
65787         * sunrpc/pmap_rmt.c: Likewise.
65788         * sunrpc/publickey.c: Likewise.
65789         * sunrpc/rpc_cmsg.c: Likewise.
65790         * sunrpc/rpc_common.c: Likewise.
65791         * sunrpc/rpc_dtable.c: Likewise.
65792         * sunrpc/rpc_prot.c: Likewise.
65793         * sunrpc/rpc_thread.c: Likewise.
65794         * sunrpc/rtime.c: Likewise.
65795         * sunrpc/svc.c: Likewise.
65796         * sunrpc/svc_auth.c: Likewise.
65797         * sunrpc/svc_raw.c: Likewise.
65798         * sunrpc/svc_run.c: Likewise.
65799         * sunrpc/svc_tcp.c: Likewise.
65800         * sunrpc/svc_udp.c: Likewise.
65801         * sunrpc/svc_unix.c: Likewise.
65802         * sunrpc/svcauth_des.c: Likewise.
65803         * sunrpc/xcrypt.c: Likewise.
65804         * sunrpc/xdr.c: Likewise.
65805         * sunrpc/xdr_array.c: Likewise.
65806         * sunrpc/xdr_float.c: Likewise.
65807         * sunrpc/xdr_intXX_t.c: Likewise.
65808         * sunrpc/xdr_mem.c: Likewise.
65809         * sunrpc/xdr_rec.c: Likewise.
65810         * sunrpc/xdr_ref.c: Likewise.
65811         * sunrpc/xdr_sizeof.c: Likewise.
65812         * sunrpc/xdr_stdio.c: Likewise.
65814 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65816         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65817         change.  Update copyright years.
65819 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65821         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65823 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
65824             Joseph Myers  <joseph@codesourcery.com>
65825             Paul Pluzhnikov  <ppluzhnikov@google.com>
65827         [BZ #14012]
65828         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65829         requiring rpcgen.
65830         [cross-compiling] (extra-libs): Likewise.
65831         [cross-compiling] (extra-libs-others): Likewise.
65832         [cross-compiling] (librpcsvc-routines): Likewise.
65833         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65834         [cross-compiling] (omit-deps): Likewise.
65835         (sunrpc-CPPFLAGS): New variable.
65836         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65837         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65838         (cross-rpcgen-objs): New variable.
65839         (extra-objs): Append $(cross-rpcgen-objs).
65840         ($(cross-rpcgen-objs)): New rule.
65841         ($(objpfx)cross-rpcgen): Likewise.
65842         (rpcgen-cmd): Define to use $(built-program-file).  Expand
65843         comment.
65844         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65845         ($(objpfx)x%.stmp): Likewise.
65846         * sunrpc/proto.h [IS_IN_build] (_): Define.
65847         [IS_IN_build] (_libc_intl_domainname): Likewise.
65849 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65851         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65852         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65853         and R_X86_64_TPOFF64.
65855 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65857         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65858         sysdeps/unix/sysv/syscalls.list.
65859         (stime): Likewise.
65860         (utime): Likewise.
65861         * sysdeps/unix/sysv/syscalls.list: Remove file.
65863 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65865         [BZ #3440]
65866         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65867         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65868         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65869         (__LC_IDENTIFICATION): Make these macros useful in #if
65870         expressions, as required by C99.
65872 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65874         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65875         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65876         after this.
65878 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65880         * stdlib/longlong.h: Updated from GCC.
65882 2012-05-09  Andreas Jaeger  <aj@suse.de>
65884         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65885         default is first entry.
65886         (run_mode): Set type.
65887         (main): Remove informal message about syslog.
65888         (options): Fix typo.
65890         [BZ #14053]
65891         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65892         to asm.
65893         (lrint): Likewise.
65894         (llrintf): Likewise.
65895         (llrint): Likewise.
65896         (rint): Likewise.
65897         (rintf): Likewise.
65898         (nearbyint): Likewise.
65899         (nearbyintf): Likewise.
65901 2012-05-09  Andreas Jaeger  <aj@suse.de>
65902             Pedro Alves  <palves@redhat.com>
65904         * nscd/nscd.c (run_mode): Use enum.
65905         (main): Cleanup coding style issue.
65907 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65908             Andreas Jaeger  <aj@suse.de>
65910         * nscd/nscd.c (go_background): Replaced with...
65911         (run_mode): ... this.
65912         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65913         (options): Add -F --foreground.
65914         (main): Implement it.
65915         (parse_opt): Parse it.
65917 2012-05-09  Andreas Jaeger  <aj@suse.de>
65919         [BZ #14083]
65920         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65921         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65922         -Wconversion warning.
65923         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65924         Likewise.
65926 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65928         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65929         == 0.
65930         (LC_ALL): Use macro-int-constant.
65931         (LC_COLLATE): Likewise.
65932         (LC_CTYPE): Likewise.
65933         (LC_MESSAGES): Likewise.
65934         (LC_MONETARY): Likewise.
65935         (LC_NUMERIC): Likewise.
65936         (LC_TIME): Likewise.
65937         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65938         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65939         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65940         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65941         Specify type.
65942         [C99-based standards] (float_t): Expect type.
65943         [C99-based standards] (double_t): Expect type.
65944         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65945         type.
65946         [C99-based standards] (HUGE_VALL): Likewise.
65947         [C99-based standards] (INFINITY): Likewise.
65948         [C99-based standards] (NAN): Likewise.
65949         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65950         [C99-based standards] (FP_NAN): Likewise.
65951         [C99-based standards] (FP_NORMAL): Likewise.
65952         [C99-based standards] (FP_SUBNORMAL): Likewise.
65953         [C99-based standards] (FP_ZERO): Likewise.
65954         [C99-based standards] (FP_FAST_FMA): Use
65955         optional-macro-int-constant.  Specify type.  Require == 1.
65956         [C99-based standards] (FP_FAST_FMAF): Likewise.
65957         [C99-based standards] (FP_FAST_FMAL): Likewise.
65958         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65959         [C99-based standards] (FP_ILOGBNAN): Likewise.
65960         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65961         Specify type.
65962         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65963         [C99-based standards] (math_errhandling): Specify type.
65964         [ISO99 || ISO11] (signgam): Do not allow.
65965         [non-C99-based standards] (copysignf): Do not allow.
65966         [non-C99-based standards] (exp2f): Likewise.
65967         [non-C99-based standards] (log2f): Likewise.
65968         [non-C99-based standards] (modff): Allow.
65969         [non-C99-based standards] (erff): Do not allow.
65970         [non-C99-based standards] (erfcf): Likewise.
65971         [non-C99-based standards] (gammaf): Likewise.
65972         [non-C99-based standards] (hypotf): Likewise.
65973         [non-C99-based standards] (j0f): Likewise.
65974         [non-C99-based standards] (j1f): Likewise.
65975         [non-C99-based standards] (jnf): Likewise.
65976         [non-C99-based standards] (lgammaf): Likewise.
65977         [non-C99-based standards] (tgammaf): Likewise.
65978         [non-C99-based standards] (y0f): Likewise.
65979         [non-C99-based standards] (y1f): Likewise.
65980         [non-C99-based standards] (ynf): Likewise.
65981         [non-C99-based standards] (isnanf): Likewise.
65982         [non-C99-based standards] (acoshf): Likewise.
65983         [non-C99-based standards] (asinhf): Likewise.
65984         [non-C99-based standards] (atanhf): Likewise.
65985         [non-C99-based standards] (cbrtf): Likewise.
65986         [non-C99-based standards] (expm1f): Likewise.
65987         [non-C99-based standards] (ilogbf): Likewise.
65988         [non-C99-based standards] (log1pf): Likewise.
65989         [non-C99-based standards] (logbf): Likewise.
65990         [non-C99-based standards] (nextafterf): Likewise.
65991         [non-C99-based standards] (remainderf): Likewise.
65992         [non-C99-based standards] (rintf): Likewise.
65993         [non-C99-based standards] (scalbf): Likewise.
65994         [non-C99-based standards] (copysignl): Likewise.
65995         [non-C99-based standards] (exp2l): Likewise.
65996         [non-C99-based standards] (log2l): Likewise.
65997         [non-C99-based standards] (modfl): Allow.
65998         [non-C99-based standards] (erfl): Do not allow.
65999         [non-C99-based standards] (erfcl): Likewise.
66000         [non-C99-based standards] (gammal): Likewise.
66001         [non-C99-based standards] (hypotl): Likewise.
66002         [non-C99-based standards] (j0l): Likewise.
66003         [non-C99-based standards] (j1l): Likewise.
66004         [non-C99-based standards] (jnl): Likewise.
66005         [non-C99-based standards] (lgammal): Likewise.
66006         [non-C99-based standards] (tgammal): Likewise.
66007         [non-C99-based standards] (y0l): Likewise.
66008         [non-C99-based standards] (y1l): Likewise.
66009         [non-C99-based standards] (ynl): Likewise.
66010         [non-C99-based standards] (isnanl): Likewise.
66011         [non-C99-based standards] (acoshl): Likewise.
66012         [non-C99-based standards] (asinhl): Likewise.
66013         [non-C99-based standards] (atanhl): Likewise.
66014         [non-C99-based standards] (cbrtl): Likewise.
66015         [non-C99-based standards] (expm1l): Likewise.
66016         [non-C99-based standards] (ilogbl): Likewise.
66017         [non-C99-based standards] (log1pl): Likewise.
66018         [non-C99-based standards] (logbl): Likewise.
66019         [non-C99-based standards] (nextafterl): Likewise.
66020         [non-C99-based standards] (remainderl): Likewise.
66021         [non-C99-based standards] (rintl): Likewise.
66022         [non-C99-based standards] (scalbl): Likewise.
66023         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66024         [non-C99-based standards] (FP_*): Do not allow.
66025         [C99-based standards] (FP_*): Change to
66026         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66027         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66028         allow.
66029         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66030         (SIG_ERR): Likewise.
66031         [X/Open-based standards] (SIG_HOLD): Likewise.
66032         (SIG_IGN): Likewise.
66033         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66034         positive value.
66035         (SIGFPE): Likewise.
66036         (SIGILL): Likewise.
66037         (SIGINT): Likewise.
66038         (SIGSEGV): Likewise.
66039         (SIGTER): Likewise.
66040         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66041         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66042         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66043         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66044         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66045         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66046         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66047         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66048         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66049         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66050         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66051         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66052         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66053         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66054         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66055         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66056         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66057         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66058         [X/Open-based standards] (SIGTRAP): Likewise.
66059         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66060         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66061         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66062         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66063         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66064         allow.
66066 2012-05-08  Ian Wienand  <ianw@vmware.com>
66068         [BZ #14080]
66069         * time/tzset.c (__tzset_parse_tz): Update default rules for
66070         daylight time changes in the Energy Policy Act of 2005.
66072 2012-05-09  Andreas Jaeger  <aj@suse.de>
66074         [BZ #13983]
66075         * elf/ldconfig.c (parse_conf): Change string to make clear that
66076         ldconfig only issued a warning if ld.so.conf does not exist.
66078 2012-05-08  David S. Miller  <davem@davemloft.net>
66080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66081         movxtod instead of popping the value on the stack.
66083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66085 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66087         * config.h.in: Add HAVE_ARM_PCS_VFP.
66089 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66091         [BZ #13979]
66092         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66093         checking but the checks are disabled for any reason.
66095 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66097         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66098         and ELF64_R_TYPE with ELFW(R_TYPE).
66100 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66102         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66103         (ulimit): Likewise.
66105         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66106         (settimeofday): Likewise.
66108 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66110         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66111         a struct th_u2 inside the union, and move tu_block/tu_code into
66112         a new th_u3 union of tu_block/tu_code inside of that.  Move
66113         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66114         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66115         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66116         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66117         (th_stuff): Change to th_u1.tu_stuff.
66118         (th_data): Define.
66119         (th_msg): Change to th_u1.th_u2.tu_data.
66121 2012-05-07  David S. Miller  <davem@davemloft.net>
66123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66125         [BZ #14074]
66126         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66127         (SETUP_PIC_REG): Use it.
66128         (SETUP_PIC_REG_LEAF): Use it.
66130 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66132         [BZ #13885]
66133         [BZ #13923]
66134         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66135         USE_AS_EXPM1L.
66136         (EXPL_FINITE): Likewise.
66137         (FLDLOG): Likewise.
66138         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66139         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66140         e_expl.S.
66141         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66142         USE_AS_EXPM1L.
66143         (EXPL_FINITE): Likewise.
66144         (FLDLOG): Likewise.
66145         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66146         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66147         e_expl.S.
66148         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66149         test of -max_value argument for long double.
66150         * sysdeps/i386/fpu/libm-test-ulps: Update.
66151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66153 2012-05-06  David S. Miller  <davem@davemloft.net>
66155         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66156         quad soft-float symbols whose references which are compiler
66157         generated.
66158         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66160 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66162         [BZ #13884]
66163         [BZ #13914]
66164         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66165         USE_AS_EXP10L.
66166         (EXPL_FINITE): Likewise.
66167         (FLDLOG): Likewise.
66168         (c0): Likewise.
66169         (c1): Likewise.
66170         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66171         Adjust comments for base varying.
66172         (__expl_finite): Change alias to EXPL_FINITE.
66173         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66174         e_expl.S.
66175         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66176         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66177         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66178         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66179         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66180         USE_AS_EXP10L.
66181         (EXPL_FINITE): Likewise.
66182         (FLDLOG): Likewise.
66183         (c0): Likewise.
66184         (c1): Likewise.
66185         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66186         Adjust comments for base varying.
66187         (__expl_finite): Change alias to EXPL_FINITE.
66188         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66189         tests for bugs.
66190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66192         [BZ #14064]
66193         * math/libm-test.inc (check_float_internal): Correct ulp
66194         calculation for subnormal expected results.
66196 2012-05-06  Andreas Jaeger  <aj@suse.de>
66198         * Makeconfig (+math-flags): New, set to -frounding-math.
66199         (+cflags): Add +math-flags so that all of glibc gets compiled with
66200         it.
66202         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66204 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66206         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66207         Disable one test.
66209         [BZ #13787]
66210         [BZ #13922]
66211         [BZ #14036]
66212         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66213         (__ieee754_expl): Allow for and saturate large arguments.
66214         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66215         (u_threshold): Likewise.
66216         (__exp): Call __ieee754_exp before checking for overflow and
66217         underflow.
66218         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66219         (u_threshold): Likewise.
66220         (__expf): Call __ieee754_expf before checking for overflow and
66221         underflow.
66222         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66223         (u_threshold): Likewise.
66224         (__expl): Call __ieee754_expl before checking for overflow and
66225         underflow.
66226         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66227         (__ieee754_expl): Allow for and saturate large arguments.
66228         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66229         missing overflow exception on overflow.
66230         (expm1_test): Do not allow missing overflow exception on overflow.
66232         * sysdeps/i386/fpu/e_expl.c: Move to ...
66233         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66234         rather than using inline asm.
66235         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66236         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66237         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66239         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66240         (nice): Likewise.
66241         (poll): Likewise.
66242         (signal): Likewise.
66243         (time): Likewise.
66244         (times): Likewise.
66246 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66248         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66249         sysdeps/unix/common/syscalls.list.
66250         (fchmod): Likewise.
66251         (fchown): Likewise.
66252         (ftruncate): Likewise.
66253         (getrusage): Likewise.
66254         (gettimeofday): Likewise.
66255         (setpgid): Likewise.
66256         (setregid): Likewise.
66257         (setreuid): Likewise.
66258         (sigaction): Likewise.
66259         (truncate): Likewise.
66260         (vhangup): Likewise.
66261         * sysdeps/unix/common/syscalls.list: Remove file.
66262         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66263         * sysdeps/unix/sysv/linux/Implies: Likewise.
66265 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66267         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66269         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66270         Moved to ...
66271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66272         Here.
66273         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66274         to ...
66275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66276         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66277         to ...
66278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66279         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66280         to ...
66281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66282         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66283         to ...
66284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66285         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66286         to ...
66287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66288         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66289         to ...
66290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66291         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66292         to ...
66293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66294         Here.
66295         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66296         to ...
66297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66298         Here.
66299         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66300         to ...
66301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66302         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66303         Moved to ...
66304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66305         Here.
66306         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66307         to ...
66308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66310 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66312         * sysdeps/unix/common/bits/dirent.h: Remove file.
66313         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66315         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66316         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66317         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66318         * sysdeps/unix/bsd/isatty.c: Likewise.
66319         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66320         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66321         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66323 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66325         [BZ #13563]
66326         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66327         long double comparison inaccuracies.
66328         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66331 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66333         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66334         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66336 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66338         [BZ #14049]
66339         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66340         nonzero digits before rounding a hex value.
66341         * stdlib/tst-strtod.c (tests): Add another test.
66343 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66345         * sysdeps/s390/fpu/libm-test-ulps: Update.
66347 2012-05-03  Andreas Jaeger  <aj@suse.de>
66349         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66350         does not get optimized out.
66351         (malloc_opt_barrier): New.
66353 2012-05-03  Andreas Jaeger  <aj@suse.de>
66354             Roland McGrath  <roland@hack.frob.com>
66356         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66357         intermediate file deletion.
66358         (generated): Add .symlist files.
66360 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66362         [BZ #13775]
66363         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66364         Redirect under this condition.
66365         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66366         [__USE_GNU] (__dprintf_chk): Not under this condition.
66367         [__USE_GNU] (__vdprintf_chk): Likewise.
66368         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66369         under this condition.
66370         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66371         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66372         [__USE_XOPEN2K8] (vdprintf): Likewise.
66373         [__USE_GNU] (__dprintf_chk): Not under this condition.
66374         [__USE_GNU] (__vdprintf_chk): Likewise.
66375         [__USE_GNU] (dprintf): Likewise.
66376         [__USE_GNU] (vdprintf): Likewise.
66378 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66380         * elf/Makefile (common-generated): Set this instead of generated for
66381         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66382         $(all-built-dso)-derived lists.
66384 2012-05-03  Andreas Jaeger  <aj@suse.de>
66386         * sysdeps/i386/fpu/libm-test-ulps: Update.
66388         * FAQ: Removed.
66389         * FAQ.in: Likewise.
66390         * scripts/gen-FAQ.pl: Likewise.
66391         * manual/install.texi (Installation): Point to online location of
66392         FAQ.
66393         * Makefile (files-for-dist): Remove FAQ.
66394         (FAQ): Remove.
66396 2012-05-02  Allan McRae  <allan@archlinux.org>
66398         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66399         (LDFLAGS-reldepmod5.so): Likewise.
66400         (LDFLAGS-reldep6mod1.so): Likewise.
66401         (LDFLAGS-reldep6mod4.so): Likewise.
66402         (LDFLAGS-reldep8mod3.so): Likewise.
66403         (LDFLAGS-unload4mod1.so): Likewise.
66404         (LDFLAGS-unload4mod2.so): Likewise.
66405         (LDFLAGS-tst-initorder): Likewise.
66406         (LDFLAGS-tst-initordera2.so): Likewise.
66407         (LDFLAGS-tst-initordera3.so): Likewise.
66408         (LDFLAGS-tst-initordera4.so): Likewise.
66409         (LDFLAGS-tst-initorderb2.so): Likewise.
66410         (LDFLAGS-noload): Likewise.
66411         (LDFLAGS-next): Likewise.
66412         (LDFLAGS-order2mod1.so): Likewise.
66413         (LDFLAGS-order2mod2.so): Likewise.
66414         (LDFLAGS-tst-initorder2): Likewise.
66415         (LDFLAGS-tst-initorder2a.so): Likewise.
66416         (LDFLAGS-tst-initorder2b.so): Likewise.
66417         (LDFLAGS-tst-initorder2c.so): Likewise.
66418         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66420 2012-05-02  David S. Miller  <davem@davemloft.net>
66422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66424 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66426         [BZ #14055]
66427         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66429 2012-05-02  Andreas Jaeger  <aj@suse.de>
66431         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66432         since we manipulate rounding mode.
66433         (CPPFLAGS-test-idouble.c): Likewise.
66434         (CPPFLAGS-test-ifloat.c): Likewise.
66435         (CFLAGS-test-ldouble.c): Likewise.
66436         (CFLAGS-test-double.c): Likewise.
66437         (CFLAGS-test-float.c): Likewise.
66438         (CFLAGS-test-misc.c): Likewise.
66439         (CFLAGS-test-test-fenv.c): Likewise.
66441 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66443         [BZ #2550]
66444         [BZ #2570]
66445         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66446         comparisons to determine direction to adjust input.
66448 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66450         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66451         output to the target.
66453         * scripts/localplt.awk: New file.
66454         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66455         (check-localplt-CFLAGS): Variable removed.
66456         ($(all-built-dso:=.jmprel)): New static pattern rule.
66457         (generated): Add those targets.
66458         (localplt-built-dso): New variable.
66459         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66461         * elf/check-localplt.c: File removed.
66463         * scripts/check-execstack.awk: New file.
66464         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66465         (check-execstack-CFLAGS): Variable removed.
66466         ($(objpfx)check-execstack.h): Target removed.
66467         ($(objpfx)execstack-default): New target.
66468         (generated): Add that instead of check-execstack.h.
66469         ($(all-built-dso:=.phdr)): New static pattern rule.
66470         (generated): Add those targets.
66471         * elf/check-execstack.c: File removed.
66473         * scripts/check-textrel.awk: New file.
66474         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66475         (check-textrel-CFLAGS): Variable removed.
66476         (all-built-dso): Use := to define.o
66477         ($(all-built-dso:=.dyn)): New static pattern rule.
66478         (generated): Add those targets.
66479         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66480         * config.make.in (READELF): New substituted variable.
66481         * elf/check-textrel.c: File removed.
66483 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66485         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66486         allow.
66487         * conform/data/ctype.h-data [C99-based standards] (isblank):
66488         Expect function.
66489         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66490         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66491         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66492         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66493         Specify type.  Require positive value.
66494         (EILSEQ): Likewise.
66495         (ERANGE): Likewise.
66496         [ISO || POSIX] (EILSEQ): Do not expect.
66497         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66498         Specify type.  Require positive value.
66499         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66500         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66501         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66502         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66503         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66504         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66505         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66506         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66507         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66508         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66509         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66510         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66511         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66512         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66513         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66514         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66515         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66516         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66517         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66518         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66519         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66520         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66521         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66522         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66523         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66524         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66525         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66526         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66527         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66528         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66529         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66530         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66531         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66532         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66533         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66534         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66535         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66536         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66537         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66538         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66539         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66540         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66541         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66542         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66543         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66544         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66545         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66546         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66547         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66548         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66549         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66550         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66551         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66552         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66553         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66554         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66555         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66556         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66557         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66558         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66559         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66560         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66561         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66562         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66563         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66564         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66565         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66566         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66567         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66568         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66569         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66570         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66571         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66572         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66573         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66574         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66575         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66576         Require >= 2.
66577         (FLT_ROUNDS): Expect as macro, not constant.
66578         (FLT_MANT_DIG): Use macro-int-constant.
66579         (DBL_MANT_DIG): Likewise.
66580         (LDBL_MANT_DIG): Likewise.
66581         (FLT_DIG): Likewise.
66582         (DBL_DIG): Likewise.
66583         (LDBL_DIG): Likewise.
66584         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66585         (DBL_MIN_EXP): Likewise.
66586         (LDBL_MIN_EXP): Likewise.
66587         (FLT_MAX_EXP): Use macro-int-constant.
66588         (DBL_MAX_EXP): Likewise.
66589         (LDBL_MAX_EXP): Likewise.
66590         (FLT_MAX_10_EXP): Likewise.
66591         (DBL_MAX_10_EXP): Likewise.
66592         (LDBL_MAX_10_EXP): Likewise.
66593         (FLT_MAX): Use macro-constant.
66594         (DBL_MAX): Likewise.
66595         (LDBL_MAX): Likewise.
66596         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66597         (DBL_EPSILON): Likewise.
66598         (LDBL_EPSILON): Likewise.
66599         (FLT_MIN): Likewise.
66600         (DBL_MIN): Likewise.
66601         (LDBL_MIN): Likewise.
66602         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66603         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66604         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66605         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66606         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66607         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66608         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66609         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66610         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66611         [ISO11] (FLT_TRUE_MIN): Likewise.
66612         [ISO11] (LDBL_TRUE_MIN): Likewise.
66613         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66614         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66615         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66616         (SCHAR_MAX): Likewise.
66617         (UCHAR_MAX): Likewise.
66618         (CHAR_MIN): Likewise.
66619         (CHAR_MAX): Likewise.
66620         (MB_LEN_MAX): Use macro-int-constant.
66621         (SHRT_MIN): Use macro-int-constant.  Specify type.
66622         (SHRT_MAX): Likewise.
66623         (USHRT_MAX): Likewise.
66624         (INT_MAX): Likewise.
66625         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66626         bound negative.
66627         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66628         bound with "U".
66629         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66630         bound with "L".
66631         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66632         bound negative.  Suffix upper bound with "L".
66633         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66634         bound with "UL".
66635         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66636         Specify type.
66637         [C99-based standards] (LLONG_MAX): Likewise.
66638         [C99-based standards] (ULLONG_MAX): Likewise.
66639         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66640         == 0.
66641         [ISO11] (max_align_t): Require type.
66642         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66644         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66645         from $CFLAGS, without defining away __attribute__ calls.
66646         (checknamespace): Use $CFLAGS_namespace.
66648         * conform/conformtest.pl (@keywords): Only include C99 keywords
66649         for standards based on C99 or C11.
66651         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66652         Disable tests.
66653         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66654         UNIX98]: Likewise.
66656         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66657         usability of symbols in #if.
66659         * conform/conformtest.pl: If macro or constant types start
66660         "promoted:", expect the symbol to be of the following type
66661         promoted by the integer promotions.
66663         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66664         in one place.  Also handle "macro-constant".
66666         * conform/conformtest.pl: Only accept expected macro values with
66667         "==".  Parse all "macro" lines in one place.
66668         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66670         * conform/conformtest.pl: Handle braced types on "constant" lines
66671         instead of handling "typed-constant".
66672         * conform/data/signal.h-data: Use "constant" instead of
66673         "typed-constant".
66675         * conform/conformtest.pl: Handle "optional-" at start of lines in
66676         one place rather than duplicating several cases.  Handle each
66677         format of "macro" line with initial "optional-".
66679         * conform/conformtest.pl: Only accept expected constant or
66680         optional-constant values with "==".  Parse all "constant" lines in
66681         one place.  Parse all "optional-constant" lines in one place.
66682         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66683         * conform/data/fmtmsg.h-data: Likewise.
66684         * conform/data/netinet/in.h-data: Likewise.
66685         * conform/data/tar.h-data: Likewise.
66686         * conform/data/limits.h-data: Use "==" form on "constant" and
66687         "optional-constant" lines.
66689         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66690         Use -std=c99 for XOPEN2K.
66691         (@knownproblems): Remove.
66692         (newtoken): Don't check %isknown.
66694         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66695         Do not expect macro.
66696         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66697         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66698         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66699         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66700         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66701         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66702         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66703         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66704         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66705         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66706         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66707         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66708         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66709         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66710         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66711         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66712         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66713         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66714         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66715         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66716         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66717         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66718         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66719         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66720         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66721         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66722         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66723         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66724         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66725         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66726         [XPG3] (acosh): Likewise.
66727         [XPG3] (asinh): Likewise.
66728         [XPG3] (atanh): Likewise.
66729         [XPG3] (cbrt): Likewise.
66730         [XPG3] (expm1): Likewise.
66731         [XPG3] (ilogb): Likewise.
66732         [XPG3] (log1p): Likewise.
66733         [XPG3] (logb): Likewise.
66734         [XPG3] (nextafter): Likewise.
66735         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66736         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66737         [XPG3] (remainder): Likewise.
66738         [XPG3] (rint): Likewise.
66739         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66740         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66741         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66742         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66743         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66744         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66745         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66746         [UNIX98 || XOPEN2K] (scalb): Expect.
66747         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66748         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66749         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66750         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66751         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66752         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66753         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66754         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66755         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66756         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66757         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66758         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66759         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66760         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66761         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66762         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66763         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66764         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66765         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66766         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66767         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66768         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66769         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66770         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66771         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66772         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66773         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66774         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66775         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66776         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66777         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66778         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66779         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66780         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66781         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66782         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66783         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66784         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66785         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66786         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66787         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66788         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66789         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66790         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66791         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66792         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66793         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66794         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66795         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66796         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66797         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66798         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66799         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66800         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66801         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66802         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66803         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66804         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66805         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66806         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66807         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66808         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66809         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66810         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66811         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66812         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66813         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66814         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66815         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66816         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66817         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66818         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66819         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66820         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66821         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66822         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66823         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66824         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66825         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66826         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66827         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66828         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66829         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66830         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66831         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66832         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66833         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66834         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66835         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66836         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66837         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66838         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66839         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66840         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66841         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66842         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66843         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66844         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66845         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66846         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66847         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66848         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66849         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66850         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66851         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66852         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66853         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66854         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66855         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66856         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66857         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66858         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66859         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66860         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66861         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66862         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66863         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66864         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66865         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66866         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66867         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66868         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66869         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66870         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66871         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66872         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66873         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66874         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66875         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66876         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66877         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66878         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66879         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66880         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66881         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66882         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66883         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66885         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66886         _XOPEN_SOURCE_EXTENDED for XPG4.
66888         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66890         * Makeconfig (localtime): Remove variable.
66891         (inst_localtime-file): Likewise.
66893 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66896         Update.
66897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66898         Update.
66899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66900         Update.
66901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66902         Update.
66903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66904         Update.
66905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66906         Update.
66907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66908         Update.
66909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66910         Update.
66911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66912         Update.
66914 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66916         [BZ #2550]
66917         [BZ #2570]
66918         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66919         comparisons to determine direction to adjust input.
66920         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66921         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66922         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66923         Likewise.
66924         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66925         Likewise.
66926         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66927         Likewise.
66928         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66929         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66930         Likewise.
66931         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66932         Likewise.
66933         * math/libm-test.inc (nexttoward_test): Add more tests.
66935 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66937         [BZ #14040]
66938         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66939         in version GLIBC_2.1, not GLIBC_2.0.
66940         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66941         Likewise.
66943 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66945         [BZ #13942]
66946         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66947         (1 - x) * (1 + x).
66948         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66949         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66950         * math/libm-test.inc (acos_test): Add more tests.
66951         (asin_test): Likewise.
66952         * sysdeps/i386/fpu/libm-test-ulps: Update.
66953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66955         [BZ #14034]
66956         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66957         of square root.
66958         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66959         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66960         * math/libm-test.inc (acos_test_tonearest): New function.
66961         (acos_test_towardzero): Likewise.
66962         (acos_test_downward): Likewise.
66963         (acos_test_upward): Likewise.
66964         (asin_test_tonearest): Likewise.
66965         (asin_test_towardzero): Likewise.
66966         (asin_test_downward): Likewise.
66967         (asin_test_upward): Likewise.
66968         (main): Call the new functions.
66969         * sysdeps/i386/fpu/libm-test-ulps: Update.
66970         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66972         [BZ #13884]
66973         [BZ #13924]
66974         * math/e_exp10.c: Include <float.h>.
66975         (__ieee754_exp10): Handle underflow here rather than multiplying
66976         large negative argument by M_LN10.
66977         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66978         of __ieee754_expf.
66979         * math/e_exp10l.c: Include <float.h>.
66980         (__ieee754_exp10l): Handle underflow here rather than multiplying
66981         large negative argument by M_LN10l.
66982         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66983         spurious overflow exception on underflow.
66985 2012-04-29  Marek Polacek  <polacek@redhat.com>
66987         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66988         (__fortify_function): New macro.
66989         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66990         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66991         __extern_always_inline.
66992         * libio/bits/stdio2.h: Likewise.
66993         * libio/bits/stdio.h: Likewise.
66994         * string/string.h: Likewise.
66995         * string/bits/string3.h: Likewise.
66996         * include/stdio.h: Likewise.
66997         * stdlib/bits/stdlib.h: Likewise.
66998         * stdlib/stdlib.h: Likewise.
66999         * rt/bits/mqueue2.h: Likewise.
67000         * rt/mqueue.h: Likewise.
67001         * posix/bits/unistd.h: Likewise.
67002         * posix/unistd.h: Likewise.
67003         * io/bits/poll2.h: Likewise.
67004         * io/bits/fcntl2.h: Likewise.
67005         * io/fcntl.h: Likewise.
67006         * io/sys/poll.h: Likewise.
67007         * misc/bits/syslog.h: Likewise.
67008         * misc/bits/syslog-ldbl.h: Likewise.
67009         * misc/sys/syslog.h: Likewise.
67010         * socket/bits/socket2.h: Likewise.
67011         * socket/sys/socket.h: Likewise.
67012         * debug/tst-chk1.c: Likewise.
67013         * wcsmbs/bits/wchar2.h: Likewise.
67014         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67015         * wcsmbs/wchar.h: Likewise.
67017 2012-04-29  Andreas Jaeger  <aj@suse.de>
67019         * Makerules (tests): Remove enable-check-abi protection.
67020         (check-abi-warn): Remove.
67021         (check-abi-%): Remove check-abi-warn usage.
67023         * configure.in: Remove check-abi configure option.
67024         * configure: Regenerated.
67025         * config.make.in (enable-check-abi): Remove.
67027 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67029         [BZ #14033]
67030         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67031         double functions to double *_finite functions.
67033         [BZ #13941]
67034         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67035         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67036         LDBL_MIN_EXP.
67037         * stdio-common/Makefile (tests): Add tst-sprintf3.
67038         * stdio-common/tst-sprintf3.c: New file.
67040         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67041         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67043 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67045         * conform/conformtest.pl: Remove duplicate typed-constant
67046         handling.
67048 2012-04-28  David S. Miller  <davem@davemloft.net>
67050         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67051         (check-abi-%): Remove AWK script prerequisite and explicit
67052         abilist directory.
67053         (check-abi): Rewrite to just diff the symlist with the abilist.
67054         (config-tls, config-abi-config): Delete, no longer used.
67055         (update-abi-%): Remove AWK script and explicit abilist directory.
67056         (update-abi): Rewrite to simply compare and conditionally copy the
67057         symlist and the sysdep abilist file.  Remove update-abi-config
67058         checks.
67059         * abilist/ld.abilist: Remove.
67060         * abilist/libBrokenLocale.abilist: Remove.
67061         * abilist/libanl.abilist: Remove.
67062         * abilist/libcrypt.abilist: Remove.
67063         * abilist/libdl.abilist: Remove.
67064         * abilist/librt.abilist: Remove.
67065         * abilist/libthread_db.abilist: Remove.
67066         * abilist/libutil.abilist: Remove.
67067         * scripts/extract-abilist.awk: Remove.
67068         * scripts/merge-abilist.awk: Remove.
67069         * sysdeps/generic/libcidn.abilist: New file.
67070         * sysdeps/generic/libnss_compat.abilist: New file.
67071         * sysdeps/generic/libnss_db.abilist: New file.
67072         * sysdeps/generic/libnss_dns.abilist: New file.
67073         * sysdeps/generic/libnss_files.abilist: New file.
67074         * sysdeps/generic/libnss_hesiod.abilist: New file.
67075         * sysdeps/generic/libnss_nis.abilist: New file.
67076         * sysdeps/generic/libnss_nisplus.abilist: New file.
67077         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67078         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67079         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67080         file.
67081         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67082         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67083         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67084         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67085         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67086         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67087         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67088         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67089         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67090         file.
67091         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67092         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67093         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67094         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67095         file.
67096         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67097         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67098         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67099         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67100         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67101         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67102         file.
67103         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67104         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67105         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67106         file.
67107         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67108         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67109         New file.
67110         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67111         New file.
67112         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67113         New file.
67114         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67115         New file.
67116         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67117         New file.
67118         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67119         New file.
67120         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67121         New file.
67122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67123         New file.
67124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67125         New file.
67126         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67127         New file.
67128         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67129         New file.
67130         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67131         New file.
67132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67133         New file.
67134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67135         file.
67136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67137         New file.
67138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67139         New file.
67140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67141         file.
67142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67143         New file.
67144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67145         New file.
67146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67147         file.
67148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67149         New file.
67150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67151         New file.
67152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67153         New file.
67154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67155         New file.
67156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67157         New file.
67158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67159         New file.
67160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67162         file.
67163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67164         New file.
67165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67166         file.
67167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67168         file.
67169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67170         file.
67171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67172         file.
67173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67174         file.
67175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67176         New file.
67177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67178         file.
67179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67180         file.
67181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67182         New file.
67183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67184         file.
67185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67187         file.
67188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67189         New file.
67190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67191         file.
67192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67193         file.
67194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67195         file.
67196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67197         file.
67198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67199         file.
67200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67201         New file.
67202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67203         file.
67204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67205         file.
67206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67207         New file.
67208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67209         file.
67210         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67211         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67212         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67213         file.
67214         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67215         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67216         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67217         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67218         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67219         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67220         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67221         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67222         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67223         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67226         file.
67227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67228         New file.
67229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67230         file.
67231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67232         file.
67233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67234         file.
67235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67236         file.
67237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67238         file.
67239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67240         New file.
67241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67242         New file.
67243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67244         file.
67245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67246         New file.
67247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67248         file.
67249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67251         file.
67252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67253         New file.
67254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67255         file.
67256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67257         file.
67258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67259         file.
67260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67261         file.
67262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67263         file.
67264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67265         New file.
67266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67267         New file.
67268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67269         file.
67270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67271         New file.
67272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67273         file.
67275 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67277         * conform/conformtest.pl: Fix typo in handling typed-constant from
67278         allow-header.
67280 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67282         * README: Cut down references to pre-2.6 Linux kernels and
67283         Linuxthreads.  Update lists of configurations in libc and ports
67284         and sort alphabetically.  Say "or newer" with Linux kernel version
67285         requirements.
67287         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67289 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67291         [BZ #887]
67292         * math/libm-test.inc (logb_test_downward): New test to expose
67293         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67294         rounding mode.
67296 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67298         [BZ #14027]
67299         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67300         to be done.
67301         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67302         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67304 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67306         * sysdeps/unix/i386/brk.S: Remove file.
67307         * sysdeps/unix/i386/dl-brk.S: Likewise.
67308         * sysdeps/unix/i386/pipe.S: Likewise.
67309         * sysdeps/unix/i386/sigreturn.S: Likewise.
67310         * sysdeps/unix/i386/syscall.S: Likewise.
67311         * sysdeps/unix/i386/vfork.S: Likewise.
67312         * sysdeps/unix/i386/wait.S: Likewise.
67314         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67315         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67317         * configure.in (arm*-none*): Do not allow without
67318         --enable-hacker-mode.
67319         (netbsd*): Remove case setting base_os.
67320         (386bsd*): Likewise.
67321         (freebsd*): Likewise.
67322         (bsdi*): Likewise.
67323         (osf*): Likewise.
67324         (sunos*): Likewise.
67325         (ultrix*): Likewise.
67326         (newsos*): Likewise.
67327         (dynix*): Likewise.
67328         (*bsd*): Likewise.
67329         (sysv*): Likewise.
67330         (isc*): Likewise.
67331         (esix*): Likewise.
67332         (sco*): Likewise.
67333         (minix*): Likewise.
67334         (irix4*): Likewise.
67335         (irix6*): Likewise.
67336         (solaris[2-9]*): Likewise.
67337         (none): Likewise.
67338         * configure: Regenerated.
67340 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67342         [BZ #11521]
67343         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67344         overflow or cancellation in calculating denominator.
67345         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67346         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67347         down expression to avoid unexpected rounding in newer GCCs.
67348         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67350 2012-04-26  David S. Miller  <davem@davemloft.net>
67352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67353         long-double compat symbols.
67354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67368 2012-04-25  David S. Miller  <davem@davemloft.net>
67370         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67371         HWCAP_* values only after the memory barriers have been defined.
67372         (atomic_full_barrier): Define.
67373         (atomic_read_barrier): Define.
67374         (atomic_write_barrier): Define.
67376 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67378         * shlib-versions: Add libgcc_s version information.
67379         * sysdeps/generic/libgcc_s.h: Remove.
67380         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67381         libgcc_s.h.
67382         * sysdeps/gnu/unwind-resume.c: Likewise.
67383         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67385 2012-04-25  David S. Miller  <davem@davemloft.net>
67387         * sysdeps/unix/sparc/brk.S: Delete.
67388         * sysdeps/unix/sparc/dl-brk.S: Delete.
67389         * sysdeps/unix/sparc/pipe.S: Delete.
67390         * sysdeps/unix/sparc/sysdep.S: Delete.
67391         * sysdeps/unix/sparc/sysdep.h: Delete.
67392         * sysdeps/unix/sparc/vfork.S: Delete.
67393         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67394         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67395         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67396         (ret_ERRVAL, r0, r1, MOVE): Define.
67397         (JUMPTARGET): Remove.
67398         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67399         sysdeps/unix/sparc/sysdep.h
67400         (ENTRY, END): Remove.
67401         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67403 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67405         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67406         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67407         -DIS_IN_build.
67409         * timezone/README: Update upstream location and email address for
67410         tzcode and tzdata.
67411         * timezone/zdump.c: Update from tzcode 2012b.
67412         * timezone/zic.c: Likewise.
67414         * configure.in (libc_cv_as_needed): Remove test.
67415         * configure: Regenerated.
67416         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67417         conditional definition.
67418         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67419         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67420         * config.make.in (have-as-needed): Remove variable.
67422 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67423             Paul Pluzhnikov  <ppluzhnikov@google.com>
67425         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67426         strings correctly.
67428 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67430         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67431         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67432         * sysdeps/sh/strlen.S: Likewise.
67434 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67436         * sysdeps/unix/fork.S: Remove file.
67437         * sysdeps/unix/i386/fork.S: Likewise.
67438         * sysdeps/unix/sparc/fork.S: Likewise.
67440         * sysdeps/unix/system.c: Remove file.
67441         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67443         * sysdeps/unix/getegid.S: Remove file.
67444         * sysdeps/unix/geteuid.S: Likewise.
67446 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67448         * scripts/check-localplt.awk: New file.
67449         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67450         of diff.
67451         * scripts/data/localplt-generic.data: Add a comment.
67453         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67454         NODE when __dir_mkfile failed.
67455         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67456         Reported by Ludovic Courtès <ludo@gnu.org>.
67458 2012-04-24  Andreas Jaeger  <aj@suse.de>
67460         * Makerules (common-clean): Also remove gen-as-const-headers
67461         files.
67463 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67465         * Makerules (native-compile): Do not change working directory for
67466         build.  Use $(OUTPUT_OPTION) in command.
67467         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67469 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67471         [BZ #13886]
67472         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67473         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67474         * math/libm-test.inc (floor_test): Add more tests.
67475         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67477 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67479         * sysdeps/unix/getdents.c: Remove file.
67480         * sysdeps/unix/sysv/getdents.c: Likewise.
67481         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67483         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67484         sysdeps/unix/mman/syscalls.list.
67485         (mmap): Likewise.
67486         (mprotect): Likewise.
67487         (msync): Likewise.
67488         (munmap): Likewise.
67489         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67490         * sysdeps/unix/mman/syscalls.list: Remove.
67491         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67493         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67494         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67495         * configure: Regenerated.
67496         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67497         $(libgcc_s_suffix).
67498         * config.make.in (libgcc_s_suffix): Remove variable.
67500 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67502         * sysdeps/unix/sysv/gethostname.c: Move to ...
67503         * sysdeps/posix/gethostname.c: ... here.
67505         * sysdeps/unix/execve.S: Remove file.
67507         * sysdeps/unix/_exit.S: Remove file.
67509 2012-04-23  Andreas Jaeger  <aj@suse.de>
67511         [BZ #13739]
67512         * manual/Makefile: Remove make dist support, there's no
67513         need for a stand-alone documentation tar ball.
67514         (TEXI2DVI): Define always, it's not in Makeconfig.
67515         (dist): Removed.
67516         (tar-it): Removed.
67517         (edition): Removed.
67518         (glibc-doc-$(edition).tar): Removed
67519         (%.Z): Removed.
67520         (%.gz): Removed.
67521         (%.uu): Removed.
67522         (ETAGS): Remove, it's in Makeconfig.
67523         (move-if-change): Remove, it's in Makeconfig.
67525 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67527         [BZ #13970]
67528         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67529         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67530         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67531         (strtod_l, strtof_l, strtold_l): Remove __wur.
67532         It is not necessarily an error to ignore strtol's return value.
67533         One can reliably look at the stored endptr to decide whether
67534         the number had valid syntax.
67536 2012-04-21  Andreas Jaeger  <aj@suse.de>
67538         [BZ #13739]
67539         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67541 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67543         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67544         * sysdeps/unix/sysv/Versions: Remove file.
67546 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67548         [BZ #13927]
67549         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67551 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67553         [BZ #7064]
67554         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67555         version from __vm86.
67557 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67559         * sysdeps/unix/common/lxstat.c: Remove file.
67560         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67562         * sysdeps/unix/sysv/Makefile: Remove file.
67564         * sysdeps/unix/sysv/direct.h: Remove file.
67566         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67567         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67568         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67569         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67570         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67571         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67572         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67574         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67576         * sysdeps/unix/xmknod.c: Remove file.
67577         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67579         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67581         * sysdeps/unix/sysv/i386/time.S: Remove file.
67583         * sysdeps/unix/fxstat.c: Remove file.
67584         * sysdeps/unix/xstat.c: Likewise.
67585         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67587         * sysdeps/unix/sysv/sigaction.c: Remove file.
67589         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67590         (sysdep_headers): Remove variable.
67591         [termio.h not in sysdep_headers] (generated): Likewise.
67592         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67593         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67594         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67595         * sysdeps/unix/sysv/tcflow.c: Likewise.
67596         * sysdeps/unix/sysv/tcflush.c: Likewise.
67597         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67598         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67599         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67600         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67601         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67603         * sysdeps/unix/siglist.c: Remove file.
67605         * sysdeps/unix/getppid.S: Remove file.
67607         * sysdeps/unix/mkdir.c: Remove file.
67608         * sysdeps/unix/rmdir.c: Likewise.
67610 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67612         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67613         ERR_MAX value.
67614         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67615         errlist-compat value.
67617 2012-04-18  David S. Miller  <davem@davemloft.net>
67619         * sysdeps/generic/memcopy.h (reg_char): Delete.
67620         * debug/strcat_chk.c: Use char, not reg_char.
67621         * debug/strcpy_chk.c: Likewise.
67622         * debug/strncat_chk.c: Likewise.
67623         * debug/strncpy_chk.c: Likewise.
67624         * string/memchr.c: Likewise.
67625         * string/memrchr.c: Likewise.
67626         * string/rawmemchr.c: Likewise.
67627         * string/strcat.c: Likewise.
67628         * string/strchr.c: Likewise.
67629         * string/strchrnul.c: Likewise.
67630         * string/strcmp.c: Likewise.
67631         * string/strcpy.c: Likewise.
67632         * string/strncat.c: Likewise.
67633         * string/strncmp.c: Likewise.
67634         * string/strncpy.c: Likewise.
67636 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67638         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67639         __builtin_memcopy is called when src and dest ranges are known to not
67640         overlap.
67642 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67644         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67645         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67646         fwd_align_merge macro call.
67647         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67648         bwd_align_merge macro call.
67649         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67651 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67653         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67654         bwd_align_merge macros.
67655         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67656         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67657         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67659 2012-04-18  David S. Miller  <davem@davemloft.net>
67661         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67663 2012-04-18  Andreas Jaeger  <aj@suse.de>
67665         [BZ# 6794]
67666         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67667         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67668         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67670         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67671         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67672         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67674         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67675         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67676         Adjust for changed ldbl-128 files.
67678         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67679         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67680         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67682 2012-04-17  David S. Miller  <davem@davemloft.net>
67684         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67686 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67688         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67689         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67690         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67691         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67692         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67693         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67695 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67697         [BZ #6794]
67698         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67699         * math/libm-test.inc: Add ilogb errno and exception tests.
67700         * math/w_ilogb.c: New file: ilogb wrapper.
67701         * math/w_ilogbf.c: New file: ilogbf wrapper.
67702         * math/w_ilogbl.c: New file: ilogbl wrapper.
67703         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67704         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67705         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67706         exception being thrown with 0.0 as argument.
67707         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67708         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67709         exception being thrown with 0.0 as argument.
67710         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67711         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67712         exception being thrown with 0.0 as argument.
67713         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67714         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67715         exception being thrown with 0.0 as argument.
67716         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67717         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67718         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67719         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67720         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67721         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67722         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67723         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67724         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67726 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67728         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67729         with altivec.
67731 2012-04-16  Marek Polacek  <polacek@redhat.com>
67733         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67735 2012-04-16  Marek Polacek  <polacek@redhat.com>
67737         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67738         operands of fdivp instruction.
67740 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67742         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67743         * elf/tst-auditmod3b.c: Likewise.
67744         * elf/tst-auditmod4b.c: Likewise.
67745         * elf/tst-auditmod5b.c: Likewise.
67746         * elf/tst-auditmod6b.c: Likewise.
67747         * elf/tst-auditmod6c.c: Likewise.
67748         * elf/tst-auditmod7b.c: Likewise.
67749         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67750         * sysdeps/x86_64/preconfigure.in: Likewise.
67751         * sysdeps/x86_64/preconfigure: Regenerated.
67753 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67755         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67756         __ILP32__.
67758 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67760         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67761         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67763 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67765         [BZ #13973]
67766         * locale/iso-639.def: Fix gl language name. Spotted by
67767         Yaron Shahrabani.
67769 2012-04-12  Roland McGrath  <roland@hack.frob.com>
67771         [BZ #2074]
67772         * libio/libio.h (__io_write_fn): Update comment.
67774 2012-04-12  Petr Baudis  <pasky@ucw.cz>
67776         [BZ #2074]
67777         * stdio.texi (Hook Functions): The user provided writer function
67778         is not allowed to return -1.
67780 2012-04-11  David S. Miller  <davem@davemloft.net>
67782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67784 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
67786         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67787         Add a leading slash to rtkaio.
67789 2012-04-11  Jim Meyering  <meyering@redhat.com>
67791         [BZ #11959]
67792         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67793         It is not necessarily an error to ignore fwrite's return
67794         value.  One can reliably use ferror to test for errors after
67795         the fact.
67797 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67799         * bits/types.h (__snseconds_t): New type.
67800         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67802         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67803         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67804         (__SNSECONDS_T_TYPE): Likewise.
67805         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67806         (__SNSECONDS_T_TYPE): Likewise.
67807         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67808         (__SNSECONDS_T_TYPE): Likewise.
67810 2012-04-10  Andreas Jaeger  <aj@suse.de>
67812         [BZ #2636]
67813         * manual/time.texi (Processor Time): Return type of times is
67814         elapsed real time since an arbitrary point in the past.
67815         (CPU Time): Move CLK_TCK from here...
67816         (Processor Time): ...to here.  Correct description.
67817         * manual/conf.texi (Constants for Sysconf): Correct description of
67818         _SC_CLK_TCK.
67820 2012-04-10  David S. Miller  <davem@davemloft.net>
67822         [BZ #13967]
67823         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67824         where the is a gap between DT_REL(A) and DT_JMPREL.
67826 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67828         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67829         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67830         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67832 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67834         * elf/dl-support.c (_dl_inhibit_cache): New variable.
67835         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67836         (dl_main): Handle --inhibit-cache.
67837         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67838         _dl_inhibit_cache.
67839         * elf/dl-load.c (_dl_map_object): Use it.
67840         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67842 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67844         [BZ #13872]
67845         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67846         (__ieee754_powl): Saturate large exponents rather than testing for
67847         overflow of y*log2(x).
67848         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67849         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67850         exceptions.
67852         [BZ #11521]
67853         * math/s_ctan.c: Include <float.h>.
67854         (__ctan): Avoid internal overflow or cancellation in calculating
67855         denominator.
67856         * math/s_ctanf.c: Likewise.
67857         * math/s_ctanl.c: Likewise.
67858         * math/s_ctanh.c: Likewise.
67859         * math/s_ctanhf.c: Likewise.
67860         * math/s_ctanhl.c: Likewise.
67861         * math/libm-test.inc (ctan_test): Add more tests.
67862         (ctanh_test): Likewise.
67863         * sysdeps/i386/fpu/libm-test-ulps: Update.
67864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67866 2012-04-09  Andreas Jaeger  <aj@suse.de>
67868         [BZ #6894]
67869         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67870         is an optional BSD extension.
67872         [BZ #10254]
67873         * manual/stdio.texi (Opening Streams): Document additional fopen
67874         parameters.
67876 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67878         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67879         %eax without telling the compiler.
67881 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67883         [BZ # 13963]
67884         * manual/install.texi: Use sourceware.org.
67886 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67888         [BZ #13873]
67889         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67890         (__ieee754_pow): Generate overflow and underflow using huge*huge
67891         and tiny*tiny rather than just returning constant infinity or zero
67892         for large exponents.
67893         * math/libm-test.inc (pow_test): Require overflow exceptions for
67894         applicable cases of large exponents.
67896         [BZ #706]
67897         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67898         (__ieee754_pow): Use iterative multiplication algorithm only for
67899         integer exponents with absolute value below 1024.  Check for odd
67900         integer exponents when using algorithm for real exponents.
67901         * math/libm-test.inc (pow_test): Add more tests.
67902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67904 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67906         [BZ #13705]
67907         * math/libm-test.inc (exp_test): Do not allow overflow exception
67908         on underflow test.
67910 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67912         [BZ #13705]
67913         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67914         instead of __kernel_standard_f.
67916 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67918         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67919         * sysdeps/x86_64/memset_chk.S: Likewise.
67921 2012-04-08  Andreas Jaeger  <aj@suse.de>
67923         [BZ #10153]
67924         * manual/startup.texi (Environment Access): Describe return value
67925         for putenv and setenv.
67927         [BZ #6895]
67928         * manual/filesys.texi (Directory Entries): Add description for
67929         DT_LNK.
67931         [BZ #6890]
67932         * manual/filesys.texi (Directory Entries): Clarify that it's file
67933         system not operating system in the description of DT_UNKNOWN.
67935         [BZ #6578]
67936         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67938 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67940         [BZ #6649]
67941         * manual/llio.texi (Opening and Closing Files): Add cross
67942         reference to explain mode argument.
67944 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67946         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67947         * sysdeps/x86_64/memset_chk.S: Likewise.
67949 2012-04-07  David S. Miller  <davem@davemloft.net>
67951         * elf/elf.h (R_SPARC_WDISP10): Define.
67952         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67953         R_SPARC_SIZE32.
67954         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67955         R_SPARC_SIZE64 and R_SPARC_H34.
67957 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67959         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67960         conditions and remove no longer applicable assertion.
67962 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67964         * bits/byteswap.h: Include <features.h>.
67965         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67966         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67968 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67970         * bits/byteswap.h (__bswap_16): Removed.
67971         Include <bits/byteswap-16.h> to get __bswap_16.
67972         * sysdeps/i386/bits/byteswap.h: Likewise.
67973         * sysdeps/s390/bits/byteswap.h: Likewise.
67974         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67975         * bits/byteswap-16.h: New file.
67976         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67977         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67978         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67979         * string/Makefile (headers): Add bits/byteswap-16.h.
67981 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67983         [BZ #13895]
67984         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67985         extra indirection.
67986         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67987         * nss/tst-nss-static.c: New.
67989 2012-04-06  Robert Millan  <rmh@gnu.org>
67991         [BZ #6486]
67992         * manual/llio.texi (File Position Primitive): lseek
67993         refers to WHENCE when it really means OFFSET.
67995 2012-04-06  Andreas Jaeger  <aj@suse.de>
67997         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67998         strncmp declarations.
68000         * abilist/libc.abilist: Add __poll and __ppoll.
68002 2012-04-05  David S. Miller  <davem@davemloft.net>
68004         * scripts/check-local-headers.sh: Accept a host triplet in the
68005         path matched by the exclude regexp.
68007         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68008         definition.
68009         * sysdeps/powerpc/powerpc32/dl-machine.h
68010         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68011         * sysdeps/s390/s390-32/dl-machine.h
68012         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68013         * sysdeps/sparc/sparc32/dl-machine.h
68014         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68015         * sysdeps/sparc/sparc64/dl-machine.h
68016         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68018         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68019         lazy binding.
68020         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68021         undefined symbol errors.
68023         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68024         DT_NEEDED entries.
68026 2012-04-05  Michael Matz  <matz@suse.de>
68028         [BZ #13592]
68029         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68031 2012-04-05  Andreas Jaeger  <aj@suse.de>
68033         [BZ #13908]
68034         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68035         comment.
68037 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68039         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68040         which ROUND is no valid rounding mode.
68042 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68044         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68045         read again.
68046         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68048 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68050         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68051         an exception using FPU order intentionally.
68053 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68055         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68056         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68057         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68058         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68060 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68062         [BZ #12340]
68063         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68064         EINVAL when BUFLEN is too smal.
68066 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68068         [BZ #13553]
68069         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68070         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68072 2012-04-03  Andreas Jaeger  <aj@suse.de>
68074         [BZ #13938]
68075         * manual/setjmp.texi (System V contexts): Fix sentence.
68077         [BZ #13926]
68078         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68079         New macro for this case.
68080         [!__GNUC__] (__bswap_64): New inline function for this case.
68081         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68082         * bits/byteswap.h: Likewise.
68083         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68084         ull, guard with __GLIBC_HAVE_LONG_LONG.
68086         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68087         __GLIBC_HAVE_LONG_LONG.
68089         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68090         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68092 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68094         [BZ #13691]
68095         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68096         inptr and inend, rather than using last_ch.
68098 2012-04-02  David S. Miller  <davem@davemloft.net>
68100         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68101         * stdio-common/printf-parse.h (read_int): Change return type to
68102         'int', return -1 on INT_MAX overflow.
68103         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68104         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68105         overflows INT_MAX.  Check for overflow of in-format-string precision
68106         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68107         SIZE_MAX not INT_MAX for integer overflow test.
68108         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68109         skip the construct in the format string but do not record anything.
68110         * stdio-common/bug22.c: Adjust to test both width/prevision
68111         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68112         explicitly for proper errno values.
68114 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68116         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68117         CHAR_MAX.
68118         * string/test-strcmp.c [! WIDE]: Likewise.
68119         * time/tst-mktime2.c: Likewise for INT_MAX.
68120         * string/test-string.h: #include <sys/param.h> for MIN.
68122         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68123         * sysdeps/i386/init-first.c (init): Likewise.
68124         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68125         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68126         * sysdeps/sh/init-first.c (init): Likewise.
68128 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68130         * po/ru.po: Update from translation team.
68131         * po/vi.po: Likewise.
68133 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68135         * resolv/nss_dns/dns-host.c: Merge copyright years.
68137 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68139         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68140         Optimize memcpy with prefetch if
68141         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68142         src, dst pointers have unequal 16 byte alignments.
68144 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68146         [BZ #13928]
68147         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68148         from a CNAME entry and return the minimum ttl for the query.
68149         (gaih_getanswer_slice): Likewise.
68151 2012-03-30  Jeff Law  <law@redhat.com>
68153         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68154         due to long keys.
68155         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68156         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68158         * resolv/nss_dns/dns-host.c: Update copyright year.
68160 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68162         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68163         requests to save a system call.  Fix check that all bytes are sent.
68165         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68166         comments for sendmmsg.
68168 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68170         [BZ #13691]
68171         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68172         with only 1 character between 0x0041 and 0x01b0.
68173         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68174         * wcsmbs/tst-mbsnrtowcs.c: New file.
68176 2012-03-29  David S. Miller  <davem@davemloft.net>
68178         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68179         small copies by hand.
68181 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68183         [BZ #13761]
68184         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68185         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68186         group memberships.
68188 2012-03-28  David S. Miller  <davem@davemloft.net>
68190         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68191         that branches into memcpy.
68192         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68193         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68194         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68195         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68196         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68197         bits.
68198         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68199         implementation too.
68200         * sysdeps/sparc/mempcpy.S: New file.
68202         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68203         the IFUNC routine in the libc case.
68204         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68206         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68207         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68208         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68209         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68210         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68211         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68212         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68213         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68215         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68216         loop to 256 bytes instead of 64 bytes and fix test signedness.
68218         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68219         * sysdeps/sparc/sparc32/Makefile: rather than here...
68220         * sysdeps/sparc/sparc64/Makefile: and here.
68222 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68224         * malloc/mallocbug.c: Avoid warnings about unused variables.
68226 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68228         [BZ #13760]
68229         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68230         in the right place. Discard and retry query if response is
68231         larger than input buffer size.
68233 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68235         [BZ #369]
68236         [BZ #2678]
68237         [BZ #3866]
68238         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68239         x for large integer exponent.
68240         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68241         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68242         sign of result as needed afterwards.
68243         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68244         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68245         result for underflowing pow the same as for overflow.
68246         (__kernel_standard_l): Handle powl overflow and underflow here
68247         rather than calling __kernel_standard.
68248         * math/libm-test.inc (pow_test): Add more tests.
68250         [BZ #3868]
68251         [BZ #13879]
68252         [BZ #13910]
68253         [BZ #13911]
68254         [BZ #13912]
68255         [BZ #13913]
68256         [BZ #13915]
68257         [BZ #13916]
68258         [BZ #13917]
68259         [BZ #13918]
68260         [BZ #13919]
68261         [BZ #13920]
68262         [BZ #13921]
68263         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68264         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68265         (__kernel_standard_l): New function.
68266         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68267         __kernel_standard.
68268         * math/w_acosl.c (__acosl): Likewise.
68269         * math/w_asinl.c (__asinl): Likewise.
68270         * math/w_atan2l.c (__atan2l): Likewise.
68271         * math/w_atanhl.c (__atanhl): Likewise.
68272         * math/w_coshl.c (__coshl): Likewise.
68273         * math/w_exp10l.c (__exp10l): Likewise.
68274         * math/w_exp2l.c (__exp2l): Likewise.
68275         * math/w_fmodl.c (__fmodl): Likewise.
68276         * math/w_hypotl.c (__hypotl): Likewise.
68277         * math/w_j0l.c (__j0l, __y0l): Likewise.
68278         * math/w_j1l.c (__j1l, __y1l): Likewise.
68279         * math/w_jnl.c (__jnl, __ynl): Likewise.
68280         * math/w_lgammal.c (__lgammal): Likewise.
68281         * math/w_log10l.c (__log10l): Likewise.
68282         * math/w_log2l.c (__log2l): Likewise.
68283         * math/w_logl.c (__logl): Likewise.
68284         * math/w_powl.c (__powl): Likewise.
68285         * math/w_remainderl.c (__remainderl): Likewise.
68286         * math/w_scalbl.c (sysv_scalbl): Likewise.
68287         * math/w_sinhl.c (__sinhl): Likewise.
68288         * math/w_sqrtl.c (__sqrtl): Likewise.
68289         * math/w_tgammal.c (__tgammal): Likewise.
68290         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68291         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68292         * math/libm-test.inc (acos_test): Add more tests.
68293         (acosh_test): Likewise.
68294         (asin_test): Likewise.
68295         (atanh_test): Likewise.
68296         (exp_test): Likewise.
68297         (exp10_test): Likewise.
68298         (exp2_test): Likewise.
68299         (expm1_test): Likewise.
68300         (lgamma_test): Likewise.
68301         (log_test): Likewise.
68302         (log10_test): Likewise.
68303         (log1p_test): Likewise.
68304         (log2_test): Likewise.
68305         (pow_test): Do not allow some spurious overflow exceptions.
68306         (sqrt_test): Add more tests.
68307         (tgamma_test): Likewise.
68308         (y0_test): Likewise.
68309         (y1_test): Likewise.
68310         (yn_test): Likewise.
68312 2012-03-27  Anton Blanchard  <anton@samba.org>
68314         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68315         MAP_HUGETLB.
68316         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68317         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68318         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68320 2012-03-27  David S. Miller  <davem@davemloft.net>
68322         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68324         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68325         have-as-vis3 check.
68327 2012-03-27  Andreas Jaeger  <aj@suse.de>
68329         * sysdeps/x86_64/elf/configure.in: Moved to ...
68330         * sysdeps/x86_64/configure.in: ... here.
68331         * sysdeps/x86_64/elf/start.S: Moved to ...
68332         * sysdeps/x86_64/start.S: ... here.
68333         * sysdeps/x86_64/elf/configure: Delete.
68335         * sysdeps/x86_64/configure.in: Merge contents from
68336         sysdeps/i386/configure.in (without i686 check).
68338         * sysdeps/i386/elf/Versions: Merge into ...
68339         * sysdeps/i386/Versions: ... this.
68340         * sysdeps/i386/elf/Versions: Delete file.
68341         * sysdeps/i386/elf/start.S: Moved to ...
68342         * sysdeps/i386/start.S: ...here.
68343         * sysdeps/i386/elf/configure.in: Merge into...
68344         * sysdeps/i386/configure.in: ...here.
68345         * sysdeps/i386/elf/configure.in: Delete file.
68346         * sysdeps/i386/elf/configure: Delete file.
68348         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68349         * debug/backtracesyms.c: ... here.
68350         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68351         * debug/backtracesymsfd.c: ... here.
68352         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68353         * sysdeps/generic/ifunc-sel.h: ... here.
68355         * sysdeps/unix/i386/start.c: Delete file.
68356         * sysdeps/unix/sparc/start.c: Delete file.
68357         * sysdeps/unix/start.c: Delete file.
68359         * sysdeps/sh/elf/configure.in: Moved to ...
68360         * sysdeps/sh/configure.in: ... here.
68361         * sysdeps/sh/elf/start.S: Moved to ...
68362         * sysdeps/sh/start.S: ... here.
68363         * sysdeps/sh/elf/configure: Delete file.
68365         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68366         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68367         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68368         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68369         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68370         * sysdeps/powerpc/powerpc64/start.S: here.
68371         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68372         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68373         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68374         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68375         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68377         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68378         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68379         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68380         * sysdeps/powerpc/powerpc32/start.S: ... here.
68381         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68382         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68383         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68385         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68386         * sysdeps/powerpc/ifunc-sel.h: ... here.
68387         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68388         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68390         * sysdeps/sparc/elf/configure.in: Moved to ...
68391         * sysdeps/sparc/configure.in: ... here.
68392         * sysdeps/sparc/elf/configure: Delete file.
68393         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68394         * sysdeps/sparc/sparc32/start.S: ... here.
68395         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68396         * sysdeps/sparc/sparc64/start.S: ... here.
68397         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68398         * sysdeps/sparc/sparc32/Makefile: ... this.
68399         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68400         * sysdeps/sparc/sparc64/Makefile: ... this.
68402         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68403         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68404         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68405         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68406         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68407         * sysdeps/s390/s390-32/setjmp.S: ... here.
68408         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68409         * sysdeps/s390/s390-32/configure.in: ... here.
68410         * sysdeps/s390/s390-32/elf/configure: Delete file.
68411         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68412         * sysdeps/s390/s390-32/start.S: ... here.
68414         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68415         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68416         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68417         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68418         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68419         * sysdeps/s390/s390-64/setjmp.S: ... here.
68420         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68421         * sysdeps/s390/s390-64/configure.in: ... here
68422         * sysdeps/s390/s390-64/elf/configure: Delete file.
68423         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68424         * sysdeps/s390/s390-64/start.S: ... here.
68425         * sysdeps/s390/s390-64/elf/configure: Delete.
68427         * configure.in: Remove support for elf directories in sysdeps.
68429         * configure: Regenerated.
68430         * sysdeps/i386/configure: Regenerated.
68431         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68432         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68433         * sysdeps/s390/s390-32/configure: Regenerated.
68434         * sysdeps/s390/s390-64/configure: Regenerated.
68435         * sysdeps/sh/configure: Regenerated.
68436         * sysdeps/sparc/configure: Regenerated.
68437         * sysdeps/x86_64/configure: Regenerated.
68439 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68443         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68444         denormal result into account.
68446 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68448         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68449         Reported by Allan McRae <allan@archlinux.org>.
68451 2012-03-23  Jeff Law  <law@redhat.com>
68453         * nss/getnssent.c (__nss_getent): Fix typo.
68455 2012-03-23  David S. Miller  <davem@davemloft.net>
68457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68459 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68461         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68462         to pad to uint64_t for each field.
68463         (dl_tls_index): Replace unsigned long with uint64_t.
68465 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68466         Paul Pluzhnikov  <ppluzhnikov@google.com>
68468         [BZ #6528]
68469         * grp/Makefile (otherlibs): Don't set it.
68470         * inet/Makefile (otherlibs): Likewise.
68471         * login/Makefile (otherlibs): Likewise.
68472         * nscd/Makefile (otherlibs): Likewise.
68473         * posix/Makefile (otherlibs): Likewise.
68474         * pwd/Makefile (otherlibs): Likewise.
68475         * rt/Makefile (otherlibs): Likewise.
68476         * sunrpc/Makefile (otherlibs): Likewise.
68477         * nss/Makefile (otherlibs): Likewise.
68478         Add libnss_files to routines and static-only-routines.
68479         ($(objpfx)getent): Remove rule.
68480         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68481         static-only-routines.
68483 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68485         [BZ #13892]
68486         * math/s_cexp.c: Include <float.h>.
68487         (__cexp): Handle exp result overflowing not necessarily
68488         overflowing both real and imaginary parts of result.
68489         * math/s_cexpf.c: Likewise.
68490         * math/s_cexpl.c: Likewise.
68491         * math/libm-test.inc (cexp_test): Add more tests.
68492         * sysdeps/i386/fpu/libm-test-ulps: Update.
68493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68495 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68497         * include/link.h (ELFW): New macro.
68498         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68499         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68501 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68503         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68504         with uint64_t.
68506 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68508         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68509         declaration.
68510         (struct La_x32_retval): Likewise.
68512 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68514         * sysdeps/x86_64/preconfigure.in: New file.
68515         * sysdeps/x86_64/preconfigure: New generated file.
68517 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68519         [BZ #13824]
68520         * math/e_exp2l.c: Include <float.h>.
68521         (__ieee754_exp2l): Handle overflow and underflow cases
68522         separately.  Only pass fractional part of argument to
68523         __ieee754_expl.
68524         * math/libm-test.inc (exp2_test): Add more tests.
68526         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68527         negating x to take absolute value.
68528         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68529         Likewise.
68530         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68531         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68532         Likewise.
68533         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68534         computing low part if x was negated.
68535         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68537 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68539         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68540         la_x32_gnu_pltexit.
68541         (pltexit): Cast int_retval to ptrdiff_t.
68542         * elf/tst-auditmod3b.c: Likewise.
68543         * elf/tst-auditmod4b.c: Likewise.
68544         * elf/tst-auditmod5b.c: Likewise.
68545         * elf/tst-auditmod6b.c: Likewise.
68546         * elf/tst-auditmod6c.c: Likewise.
68547         * elf/tst-auditmod7b.c: Likewise.
68549         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68550         and x32_gnu_pltexit.
68552         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68553         __ELF_NATIVE_CLASS.
68554         (La_x32_regs): New macro.
68555         (La_x32_retval): Likewise.
68556         (la_x32_gnu_pltenter): New function prototype.
68557         (la_x32_gnu_pltexit): Likewise.
68559 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68561         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68562         exponent.
68564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68566         * configure.in (libc_cv_cc_nofma): Check for option to disable
68567         generation of FMA instructions.
68568         * configure: Regenerate.
68569         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68570         * sysdeps/ieee754/dbl-64/Makefile: New file.
68571         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68572         Remove brandred-fma4.
68573         (CFLAGS-brandred-fma4.c): Remove.
68574         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68575         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68576         define.
68577         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68578         define.
68580 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68582         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68583         LLONG_MAX != LONG_MAX.
68584         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68585         (_fitoa_word): Likewise.
68586         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68587         LLONG_MAX != LONG_MAX.
68588         * stdio-common/_itowa.h: Include <_itoa.h>.
68589         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68590         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68591         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68592         only if not defined.
68593         (_ITOA_WORD_TYPE): Likewise.
68594         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68595         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68597 2012-03-21  David S. Miller  <davem@davemloft.net>
68599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68601 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68603         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68604         of x86_64 when setting libc_cv_slibdir, libdir and
68605         libc_cv_localedir.
68606         * sysdeps/unix/sysv/linux/configure: Regenerated.
68608 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68610         * manual/lang.texi (Old Varargs): Remove section.
68611         (How Variadic): Update menu.
68612         (va_start): Do not mention varargs.h.
68614 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68615             Joseph Myers  <joseph@codesourcery.com>
68617         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68618         link test.
68619         * configure: Regenerated.
68621 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68623         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68624         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68625         conformtest.pl
68627 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68629         * NOTES: Remove.
68630         * Makefile (files-for-dist): Remove NOTES.
68631         (NOTES): Remove rule.
68632         * README: Don't refer to NOTES.
68633         * manual/creature.texi: Don't include macros.texi.
68634         * manual/intro.texi (creature.texi): Remove comment referring to
68635         NOTES.
68637         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68638         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68639         * configure: Regenerated.
68640         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68641         LIBC_TRY_CC_OPTION.
68642         (libc_cv_as_i686): Likewise.
68643         (libc_cv_cc_avx): Likewise.
68644         (libc_cv_cc_sse2avx): Likewise.
68645         (libc_cv_cc_fma4): Likewise.
68646         (libc_cv_cc_novzeroupper): Likewise.
68647         * sysdeps/i386/configure: Regenerated.
68649         [BZ #13883]
68650         * sysdeps/i386/fpu/s_cexp.S: Remove.
68651         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68652         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68653         * math/libm-test.inc (cexp_test): Add more tests.
68654         * sysdeps/i386/fpu/libm-test-ulps: Update.
68655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68657 2012-03-21  Allan McRae  <allan@archlinux.org>
68659         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68661 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68663         [BZ #13871]
68664         * math/w_exp2.c: Do not include <float.h>.
68665         (o_threshold, u_threshold): Remove.
68666         (__exp2): Calculate result before checking finiteness and calling
68667         __kernel_standard.
68668         * math/w_exp2f.c: Likewise.
68669         * math/w_exp2l.c: Likewise.
68670         * math/libm-test.inc (exp2_test): Require overflow exception for
68671         1e6 input.
68673         [BZ #3866]
68674         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68675         range of signed 64-bit integers before using fistpll.  Remove
68676         checks for whether integers fit in mantissa bits.
68677         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68678         the range of signed 32-bit integers before using fistpl.  Remove
68679         checks for whether integers fit in mantissa bits.
68680         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68681         (__ieee754_powl): Test for y outside the range of signed 64-bit
68682         integers before using fistpll.  Reduce 64-bit values to 63-bit
68683         ones as needed.
68684         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68685         divide-by-zero is raised for zero to large negative powers.
68686         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68687         (__ieee754_powl): Test for y outside the range of signed 64-bit
68688         integers before using fistpll.  Reduce 64-bit values to 63-bit
68689         ones as needed.
68690         * math/libm-test.inc (pow_test): Add more tests.
68692 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68694         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68695         <stdio-common/_itoa.h>.
68696         * debug/segfault.c: Likewise.
68697         * elf/dl-cache.c: Likewise.
68698         * elf/dl-minimal.c: Likewise.
68699         * elf/dl-misc.c: Likewise.
68700         * elf/dl-sysdep.c: Likewise.
68701         * elf/dl-version.c: Likewise.
68702         * elf/rtld.c: Likewise.
68703         * hurd/hurdsock.c: Likewise.
68704         * hurd/lookup-retry.c: Likewise.
68705         * malloc/malloc.c: Likewise.
68706         * malloc/mtrace.c: Likewise.
68707         * nscd/nscd_getgr_r.c: Likewise.
68708         * nscd/nscd_getpw_r.c: Likewise.
68709         * nscd/nscd_getserv_r.c: Likewise.
68710         * posix/getopt_init.c: Likewise.
68711         * posix/wordexp.c: Likewise.
68712         * stdio-common/_itoa.c: Likewise.
68713         * stdio-common/printf_fphex.c: Likewise.
68714         * stdio-common/vfprintf.c: Likewise.
68715         * string/_strerror.c: Likewise.
68716         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68717         * sysdeps/i386/i686/hp-timing.h: Likewise.
68718         * sysdeps/mach/_strerror.c: Likewise.
68719         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68720         * sysdeps/mach/hurd/sethostid.c: Likewise.
68721         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68722         * sysdeps/mach/xpg-strerror.c: Likewise.
68723         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68724         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68725         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68726         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68727         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68728         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68729         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68730         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68731         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68732         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68733         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68734         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68735         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68736         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68737         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68738         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68739         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68740         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68741         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68742         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68743         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68745         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68747         * stdio-common/_itoa.h: Moved to ...
68748         * sysdeps/generic/_itoa.h: Here.
68750         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68752         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68753         instead of "_itoa.h" and "_itowa.h".
68754         * stdio-common/vfprintf.: Likewise.
68756 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68758         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68759         <bits/wordsize.h>.
68760         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68761         (__signbit): Likwise.
68762         (llrintf): Likwise.
68763         (llrint): Likwise.
68765 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68767         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68768         __WORDSIZE != 64.
68770 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
68772         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68773         OVERFLOW_EXCEPTION_OK.
68774         * math/libm-test.inc ("Philosophy"): Update comment about
68775         exception testing.
68776         (OVERFLOW_EXCEPTION): Define.
68777         (OVERFLOW_EXCEPTION_OK): Likewise.
68778         (INVALID_EXCEPTION_OK): Renumber.
68779         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68780         (IGNORE_ZERO_INF_SIGN): Likewise.
68781         (test_exceptions): Handle FE_OVERFLOW.
68782         (exp10_test): Expect overflow exceptions.
68783         (exp2_test): Likewise.
68784         (expm1_test): Likewise.
68785         (nextafter_test): Likewise.
68786         (pow_test): Likewise.
68787         (scalbn_test): Likewise.
68788         (scalbln_test): Likewise.
68790 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68792         * sysdeps/x86_64/bits/atomic.h
68793         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68794         64bit integer.
68795         (atomic_exchange_acq): Likewise.
68796         (__arch_exchange_and_add_body): Likewise.
68797         (__arch_add_body): Likewise.
68798         (atomic_add_negative): Likewise.
68799         (atomic_add_zero): Likewise.
68801 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68803         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68804         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68806 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68808         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68809         Check __x86_64__ instead of __WORDSIZE.
68811 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68813         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68815 2012-03-19  David S. Miller  <davem@davemloft.net>
68817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68819         * sysdeps/sparc/fpu/fenv_private.h: New file.
68820         * sysdeps/sparc/fpu/math_private.h: Use it.
68821         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68822         Remove.
68823         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68824         (libc_feholdexcept_setroundl): Remove.
68825         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68826         Remove.
68827         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68828         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68830 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68832         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68833         int64_t instead of long int.
68834         (INSERT_WORDS64): Likwise.
68836 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68838         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68839         _Unwind_GetCFA return to _Unwind_Ptr first.
68841 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
68843         [BZ #13629]
68844         * math/s_clog.c: Include <float.h>.
68845         (__clog): Scale large or subnormal inputs.
68846         * math/s_clogf.c: Likewise.
68847         * math/s_clogl.c: Likewise.
68848         * math/s_clog10.c: Include <float.h>.
68849         (M_LOG10_2): Define.
68850         (__clog10): Scale large or subnormal inputs.
68851         * math/s_clog10f.c: Likewise.
68852         * math/s_clog10l.c: Likewise.
68853         * math/libm-test.inc (clog_test): Add more tests.
68854         (clog10_test): Likewise.
68855         * sysdeps/i386/fpu/libm-test-ulps: Update.
68856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68858         [BZ #11451]
68859         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68860         x and y.
68861         * math/libm-test.inc (atan2_test): Add another test.
68863         * Makerules (common-objdir-compile): Remove.
68864         * sysdeps/unix/Makefile (config-generated): Do not add
68865         $(unix-generated) to variable.
68866         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68867         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68868         Remove rule.
68869         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68870         Likewise.
68871         [generic bits/local_lim.h] (before-compile): Do not append to
68872         variable.
68873         [generic bits/local_lim.h] (common-generated): Likewise.
68874         [generic sys/param.h] (before-compile): Do not append to variable.
68875         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68876         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68877         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68878         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68879         include.
68880         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68881         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68882         [generic sys/param.h] ($(addprefix
68883         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68884         [generic sys/param.h] (common-generated): Do not append to
68885         variable.
68886         [generic sys/param.h] (sysdep_headers): Likewise.
68887         [generic bits/errno.h] (before-compile): Do not append to
68888         variable.
68889         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68890         rule.
68891         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68892         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68893         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68894         [generic bits/errno.h] (common-generated): Do not append to
68895         variable.
68896         [generic bits/ioctls.h] (before-compile): Do not append to
68897         variable.
68898         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68899         rule.
68900         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68901         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68902         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68903         rule.
68904         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68905         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68906         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68907         [generic bits/ioctls.h] (common-generated): Do not append to
68908         variable.
68909         [generic sys/syscall.h] (syscall.h): Remove variable.
68910         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68911         rule.
68912         [generic sys/syscall.h] (before-compile): Do not append to
68913         variable.
68914         [generic sys/syscall.h] (common-generated): Likewise.
68915         * sysdeps/unix/errnos-tmpl.c: Remove file.
68916         * sysdeps/unix/errnos.awk: Likewise.
68917         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68918         * sysdeps/unix/ioctls.awk: Likewise.
68919         * sysdeps/unix/mk-local_lim.c: Likewise.
68920         * sysdeps/unix/snarf-ioctls: Likewise.
68922 2012-03-19  Richard Henderson  <rth@twiddle.net>
68924         * sysdeps/i386/fpu/fenv_private.h: New file.
68925         * sysdeps/i386/fpu/math_private.h: Use it.
68926         (math_opt_barrier, math_force_eval): Remove.
68927         (libc_feholdexcept_setround_53bit): Remove.
68928         (libc_feupdateenv_53bit): Remove.
68929         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68930         (math_opt_barrier, math_force_eval): Remove.
68931         (libc_feholdexcept): Remove.
68932         (libc_feholdexcept_setround): Remove.
68933         (libc_fetestexcept, libc_fesetenv): Remove.
68934         (libc_feupdateenv_test): Remove.
68935         (libc_feupdateenv, libc_feholdsetround): Remove.
68936         (libc_feresetround): Remove.
68938         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68939         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68941         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68942         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68943         (libc_feupdateenv_testl): New.
68944         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68945         (libc_feupdateenv_testf): New.
68946         (libc_feupdateenv): Use libc_feupdateenv_test.
68947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68948         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68950         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68951         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68952         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68953         (libc_feresetround_noex): New.
68954         (libc_feresetround_noexf): New.
68955         (libc_feresetround_noexl): New.
68956         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68957         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68958         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68959         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68960         SET_RESTORE_ROUND.
68961         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68962         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68963         (__cos): Likewise.
68964         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68965         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68966         SET_RESTORE_ROUND_NOEX.
68967         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68968         SET_RESTORE_ROUND_NOEXF.
68969         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68970         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68971         (libc_feholdsetroundf): New.
68972         (libc_feresetround, libc_feresetroundf): New.
68974         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68975         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68976         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68978         * sysdeps/generic/math_private.h: Include <fenv.h>.
68979         (default_libc_feholdexcept): New.
68980         (default_libc_feholdexcept_setround): New.
68981         (default_libc_fesetenv, default_libc_feupdateenv): New.
68982         (libc_feholdexcept): Only define if undefined.
68983         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68984         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68985         (libc_feholdexcept_setroundl): Likewise.
68986         (libc_feholdexcept_setround_53bit): Likewise.
68987         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68988         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68989         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68990         (libc_feupdateenv_53bit): Likewise.
68991         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68992         (libc_feholdexcept): Convert from macro to inline function.
68993         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68994         (libc_fesetenv, libc_feupdateenv): Likewise.
68996         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68997         not previously defined.
68998         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68999         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69000         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69001         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69002         * sysdeps/ieee754/flt-32/math_private.h: New file.
69003         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69004         math_private.h below SET_FLOAT_WORD.
69005         (__isnan, __isinf_ns, __finite): Remove.
69006         (__isnanf, __isinf_nsf, __finitef): Remove.
69008 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69012 2012-03-17  David S. Miller  <davem@davemloft.net>
69014         [BZ #6471]
69015         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69016         for 2.16.
69018 2012-03-16  David S. Miller  <davem@davemloft.net>
69020         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69021         warnings.
69023         [BZ #6471]
69024         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69025         properly.
69026         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69027         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69028         sysdep_routines when subdir is sysvipc.
69029         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69030         __getshmlba helper.
69032         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69034 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69036         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69037         [__LP64__].
69039 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69041         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69042         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69043         (__lround): Renamed to ...
69044         (__llround): This.  Replace long int with long long int.
69045         Define lround functions as aliases of llround functions.
69046         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69048 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69050         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69051         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69052         adresses to uintptr_t.  Replace "long int" and "unsigned long
69053         int" with "greg_t" on va_arg.
69055 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69057         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69058         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69060         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69061         Move e_machine check before EI_CLASS check.  Handle x32
69062         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69063         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69064         SKIP_EM_IA_64 and include
69065         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69067         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69068         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69069         (add_system_dir): New macro.
69071         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69072         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69074 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69076         [BZ #2551]
69077         [BZ #2552]
69078         [BZ #2553]
69079         [BZ #2554]
69080         [BZ #2562]
69081         [BZ #2563]
69082         [BZ #2565]
69083         [BZ #2566]
69084         [BZ #2576]
69085         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69086         (y0): Likewise.
69087         * math/w_j0f.c (j0f): Likewise.
69088         (y0f): Likewise.
69089         * math/w_j0l.c (__j0l): Likewise.
69090         (__y0l): Likewise.
69091         * math/w_j1.c (j1): Likewise.
69092         (y1): Likewise.
69093         * math/w_j1f.c (j1f): Likewise.
69094         (y1f): Likewise.
69095         * math/w_j1l.c (__j1l): Likewise.
69096         (__y1l): Likewise.
69097         * math/w_jn.c (jn): Likewise.
69098         (yn): Likewise.
69099         * math/w_jnf.c (jnf): Likewise.
69100         (ynf): Likewise.
69101         * math/w_jnl.c (__jnl): Likewise.
69102         (__ynl): Likewise.
69103         * math/libm-test.inc (j0_test): Add more tests.
69104         (j1_test): Likewise.
69105         (jn_test): Likewise.  Add trailing semicolon to existing test.
69106         (y0_test): Likewise.
69107         (y1_test): Likewise.
69108         * sysdeps/i386/fpu/libm-test-ulps: Update.
69109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69111         [BZ #13851]
69112         [BZ #13854]
69113         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69114         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69115         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69116         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69117         (__tanl): Set errno for infinite argument.
69118         * sysdeps/i386/fpu/mptan.c: Remove.
69119         * sysdeps/i386/fpu/s_tan.S: Likewise.
69120         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69121         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69122         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69123         * math/libm-test.inc (tan_test): Add more tests and enable more
69124         tests for double and long double.
69125         * sysdeps/i386/fpu/libm-test-ulps: Update.
69126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69128 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69130         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69131         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69133 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69135         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69136         * configure.in: Use it for both main tree and add-ons.
69137         * configure: Regenerated.
69139 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69141         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69143 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69145         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69146         in comment.
69148         [BZ #13851]
69149         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69150         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69151         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69152         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69153         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69154         infinite argument.
69155         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69156         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69157         != 0 for prec == 2.
69158         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69159         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69160         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69161         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69162         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69163         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69164         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69165         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69166         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69167         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69168         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69169         * math/libm-test.inc (cos_test): Add more tests and enable more
69170         tests for long double.
69171         (sin_test): Likewise.
69172         (sincos_test): Likewise.
69173         * sysdeps/i386/fpu/libm-test-ulps: Update.
69174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69176 2012-03-16  David S. Miller  <davem@davemloft.net>
69178         * sysdeps/sparc/fpu/math_private.h: New file.
69180 2012-03-15  David S. Miller  <davem@davemloft.net>
69182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69183         file.
69184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69186         file.
69187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69188         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69192         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69193         sysdep routines.
69194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69196         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69197         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69199         * sysdeps/sparc/sparc-ifunc.h: New file.
69200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69201         sparc-ifunc.h
69202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69204         Likewise.
69205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69206         Likewise.
69207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69211         Likewise.
69212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69217         Likewise.
69218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69219         Likewise.
69220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69226         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69227         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69234         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69235         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69236         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69238         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69239         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69240         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69241         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69242         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69243         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69245 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69247         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69248         scaling.
69249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69251 2012-03-15  Andreas Jaeger  <aj@suse.de>
69253         [BZ #13852]
69254         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69255         ieee754/flt-32 implementation for sin, cos and sincos.
69256         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69257         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69258         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69259         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69260         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69261         ieee754/flt-32 implementation for tan.
69263         * math/libm-test.inc (cos_test): Enable some large input tests for
69264         float as well
69265         (sin_test): Likewise.
69266         (sincos_test): Likewise.
69267         (tan_test): Add tests for large input.
69269         * sysdeps/i386/fpu/libm-test-ulps: Update.
69271 2012-03-15  Andreas Jaeger  <aj@suse.de>
69273         [BZ #13658]
69274         * math/libm-test.inc (cos_test): Add more test cases.
69275         (sin_test): Likewise.
69276         (sincos_test): Likewise.
69278 2012-03-15  Andreas Jaeger  <aj@suse.de>
69280         [BZ #13837]
69281         * math/libm-test.inc (cos_test): Add a test case for large input
69282         value.
69283         (sin_test): Likewise.
69284         (sincos_test): Likewise.
69286 2012-03-15  Andreas Jaeger  <aj@suse.de>
69287             Joseph Myers  <joseph@codesourcery.com>
69289         [BZ #13658]
69290         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69291         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69292         * sysdeps/i386/fpu/branred.c: Likewise.
69293         * sysdeps/i386/fpu/dosincos.c: Likewise.
69294         * sysdeps/i386/fpu/mpa.c: Likewise.
69295         * sysdeps/i386/fpu/s_cos.S: Likewise.
69296         * sysdeps/i386/fpu/s_sin.S: Likewise.
69297         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69298         * sysdeps/i386/fpu/sincos32.c: Likewise.
69300         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69301         Define.
69302         (libc_feupdateenv_53bit): Define.
69303         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69304         Define.
69305         (libc_feupdateenv_53bit): Define.
69307         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69308         53 bit (without extend i386 double precision).
69310         * math/libm-test.inc (sincos_test): Add tests for large input.
69311         (sin): Likewise.
69312         (cos): Likewise.
69314         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69316 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69320 2012-03-15  David S. Miller  <davem@davemloft.net>
69322         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69323         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69324         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69325         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69338         file.
69339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69341         file.
69342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69344         file.
69345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69347         file.
69348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69349         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69350         fmin/fmax sysdep routines.
69351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69353 2012-03-14  David S. Miller  <davem@davemloft.net>
69355         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69358         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69359         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69360         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69361         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69362         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69363         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69364         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69365         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69366         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69367         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69368         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69369         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69370         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69371         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69372         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69373         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69374         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69375         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69376         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69377         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69378         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69379         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69380         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69381         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69382         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69383         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69384         routines.
69385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69386         file.
69387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69389         file.
69390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69392         file.
69393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69395         file.
69396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69398         file.
69399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69401         file.
69402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69403         file.
69404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69405         file.
69406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69407         file.
69408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69409         New file.
69410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69411         file.
69412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69413         file.
69414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69416         file.
69417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69419         file.
69420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69422         file.
69423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69425         VIS3 routines.
69427         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69428         New file.
69430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69432         * sysdeps/sparc/configure.in: New file.
69433         * sysdeps/sparc/configure: Generate.
69434         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69435         * configure: Regenerate.
69436         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69437         * config.make.in (have-as-vis3): New.
69438         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69439         available use -Av9d instead of -Av9a.
69440         * sysdeps/sparc/sparc64/Makefile: Likewise.
69441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69443         New file.
69444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69445         file.
69446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69447         New file.
69448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69449         file.
69450         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69451         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69452         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69453         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69454         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69456         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69457         fzeros/fnegs to load 0x80000000 into a float register instead of
69458         using the stack.
69459         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69461 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69463         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69464         bits/syscall.h.
69465         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69466         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69467         ($(inst_includedir)/bits/syscall.h): Remove rule.
69468         ($(objpfx)bits/syscall.d): Include instead of
69469         $(objpfx)syscall-list.d.
69470         (generated): Change syscall-list.h and syscall-list.d to
69471         bits/syscall.h and bits/syscall.d.
69473 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69475         [BZ #13846]
69476         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69478 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69480         [BZ #13841]
69481         * math/s_csqrt.c: Include <float.h>.
69482         (__csqrt): Scale large or subnormal inputs.
69483         * math/s_csqrtf.c: Likewise.
69484         * math/s_csqrtl.c: Likewise.
69485         * math/libm-test.inc (csqrt_test): Add more tests.
69486         * sysdeps/i386/fpu/libm-test-ulps: Update.
69487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69489         [BZ #13840]
69490         * math/libm-test.inc (hypot_test): Add more tests.
69492 2012-03-13  David S. Miller  <davem@davemloft.net>
69494         [BZ #13840]
69495         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69496         double-precision for the calculation instead of scaling.
69498 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69500         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69501         manipulate bits before adding and subtracting TWO52[sx].
69502         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69503         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69504         Likewise.
69505         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69507 2012-03-13  David S. Miller  <davem@davemloft.net>
69509         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69510         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69511         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69512         rtld-global-offsets.h
69513         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69515         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69516         large parameters.
69518         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69520         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69521         'err' in the ifdef scope in which it is actually used.
69523         * nss/nss_db/db-init.c: Include string.h
69525 2012-03-12  David S. Miller  <davem@davemloft.net>
69527         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69528         masking out of the most significant byte of random value used.
69529         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69530         Fix coding style in previous change.
69532         * sysdeps/unix/sysv/linux/kernel-features.h
69533         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69534         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69535         expression.
69536         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69537         later.
69539 2012-03-11  David S. Miller  <davem@davemloft.net>
69541         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69542         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69543         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69544         for 'resultvar' otherwise things get truncated on 64-bit.
69546         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69547         Fix masking out of the most significant byte of random value used.
69549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69551 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69555 2012-03-09  David S. Miller  <davem@davemloft.net>
69557         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69558         variables with appropriate CPP guards.
69559         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69560         from the frame pointer, not the stack pointer.  Correct layout
69561         comments.  Fix test on resulting framesize and the management of
69562         the outregs buffer for pltexit.  Preserve floating point return
69563         values across _dl_call_pltexit call.
69564         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69565         framesize and the management of the outregs buffer for pltexit.
69566         Preserve floating point return values across _dl_call_pltexit
69567         call.
69568         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69569         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69570         (la_sparc64_gnu_pltexit): New functions.
69571         (print_exit): Fix format string for return register value.
69573 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69575         * sunrpc/Makefile (others): Add rpcgen.
69576         ($(objpfx)rpcgen): Remove special build rule and dependency on
69577         libc.
69578         * sunrpc/rpcgen.c: New file.
69580 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69582         [BZ #13673]
69583         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69584         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69585         * sysdeps/i386/crti.S: Likewise.
69586         * sysdeps/i386/crtn.S: Likewise.
69587         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69588         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69589         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69590         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69591         * sysdeps/sh/crti.S: Likewise.
69592         * sysdeps/sh/crtn.S: Likewise.
69593         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69595         [BZ #13673]
69596         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69597         with URL.
69598         * locale/programs/locfile-kw.gperf: Likewise.
69599         * locale/programs/charmap-kw.h: Regenerated.
69600         * locale/programs/locfile-kw.h: Likewise.
69602         [BZ #13673]
69603         * intl/plural.y: Replace FSF snail mail address with URL.
69604         * intl/plural.c: Regenerated.
69606 2012-03-09  Richard Henderson  <rth@twiddle.net>
69608         * include/math_private.h: Remove file.
69609         * math/math_private.h: Move file ...
69610         * sysdeps/generic/math_private.h: ... here.
69612         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69613         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69614         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69616         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69617         and <math_private.h>.
69618         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69619         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69620         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69621         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69622         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69623         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69624         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69625         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69626         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69627         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69629         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69630         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69631         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69632         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69633         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69634         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69635         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69636         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69637         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69639         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69640         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69641         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69642         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69643         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69644         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69645         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69646         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69647         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69648         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69649         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69650         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69651         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69652         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69653         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69654         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69655         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69656         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69657         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69658         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69659         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69660         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69661         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69662         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69663         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69664         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69665         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69666         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69667         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69668         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69669         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69670         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69671         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69672         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69673         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69674         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69675         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69676         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69677         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69678         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69679         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69680         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69681         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69682         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69683         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69684         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69685         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69686         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69687         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69688         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69689         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69690         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69691         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69692         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69693         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69694         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69695         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69696         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69697         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69698         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69699         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69700         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69701         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69702         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69703         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69704         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69705         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69706         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69707         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69708         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69709         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69710         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69711         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69712         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69713         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69714         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69715         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69716         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69717         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69718         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69719         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69720         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69721         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69722         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69723         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69724         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69725         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69726         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69727         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69728         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69729         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69730         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69731         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69732         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69733         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69734         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69735         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69736         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69737         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69738         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69739         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69740         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69741         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69742         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69743         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69744         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69745         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69746         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69747         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69748         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69749         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69750         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69751         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69752         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69753         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69754         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69755         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69756         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69757         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69758         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69759         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69760         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69761         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69762         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69763         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69764         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69765         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69766         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69767         * sysdeps/ieee754/k_standard.c: Likewise.
69768         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69769         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69770         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69771         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69772         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69773         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69774         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69775         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69776         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69777         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69778         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69779         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69780         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69781         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69782         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69783         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69784         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69785         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69786         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69787         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69788         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69789         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69790         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69791         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69792         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69793         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69794         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69795         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69796         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69797         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69798         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69799         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69800         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69801         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69802         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69803         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69804         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69805         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69806         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69807         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69808         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69809         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69810         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69811         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69812         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69813         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69814         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69815         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69816         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69817         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69818         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69819         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69820         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69821         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69822         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69823         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69824         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69825         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69826         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69827         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69828         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69829         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69830         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69831         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69832         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69833         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69834         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69835         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69836         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69837         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69838         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69839         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69840         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69841         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69842         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69843         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69844         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69845         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69846         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69847         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69848         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69849         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69850         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69851         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69852         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69853         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69854         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69855         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69856         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69857         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69858         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69859         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69860         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69861         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69862         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69863         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69864         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69865         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69866         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69867         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69868         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69869         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69870         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69871         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69872         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69873         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69874         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69875         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69876         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69877         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69878         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69879         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69880         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69881         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69882         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69883         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69884         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69885         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69886         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69887         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69888         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69889         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69890         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69891         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69892         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69893         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69894         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69895         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69896         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69897         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69898         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69899         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69900         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69901         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69902         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69903         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69904         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69905         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69906         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69907         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69908         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69909         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69910         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69911         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69912         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69913         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69914         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69915         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69916         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69917         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69918         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69919         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69920         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69921         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69922         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69923         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69924         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69925         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69926         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69927         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69928         * sysdeps/ieee754/s_lib_version.c: Likewise.
69929         * sysdeps/ieee754/s_matherr.c: Likewise.
69930         * sysdeps/ieee754/s_signgam.c: Likewise.
69931         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69932         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69933         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69934         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69935         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69936         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69937         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69938         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69939         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69940         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69941         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69942         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69943         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69944         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69945         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69946         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69947         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69948         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69949         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69950         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69951         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69953 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69955         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69956         * sunrpc/rpc_main.c: Likewise.
69957         * sunrpc/rpc_svcout.c: Likewise.
69959 2012-03-09  David S. Miller  <davem@davemloft.net>
69961         * include/math_private.h: New file.
69963 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69965         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69966         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69967         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69968         from <bits/socket_type.h>.
69969         (enum __socket_type): Don't define here.
69970         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69972         bits/socket_type.h.
69974         [BZ #13566]
69975         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69976         checking __USE_GNU.
69978         * Makerules ($(inst_includedir)/%.h): New rule.
69979         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69980         (install-others): Remove variable setting.
69981         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69983 2012-03-08  Richard Henderson  <rth@twiddle.net>
69985         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69986         from macro to inline function; merge with the
69987         !__LIBC_INTERNAL_MATH_INLINES version.
69988         (__ieee754_sqrtf): Likewise.
69990         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69991         to inline function.
69992         (__rintf, __floor, __floorf): Likewise.
69994         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69995         macro to inline function.
69996         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69998         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69999         not <math/math_private.h>.
70001 2012-03-08  David S. Miller  <davem@davemloft.net>
70003         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70004         copyright year.
70005         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70007 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70009         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70010         normalization.
70011         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70012         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70014 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70016         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70017         be defined individually, they must be defined as a block.  Define
70018         S for printing a string instead of hidint the different by using a
70019         macro for adding the 'l'.
70020         * stdio-common/tst-fphex-wide.c: Adjust.
70022 2012-03-07  Marek Polacek  <polacek@redhat.com>
70024         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70026 2012-03-08  Marek Polacek  <polacek@redhat.com>
70028         [BZ #13806]
70029         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70030         * stdio-common/tst-fphex.c: Define a few macros to make the
70031         test reusable.  Use them.
70032         * stdio-common/tst-fphex-wide.c: New file.
70034 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70036         [BZ #6911]
70037         * manual/macros.texi (gnusystems): New macro.
70038         (nongnusystems): Likewise.
70039         (gnulinuxhurdsystems): Likewise.
70040         (gnuhurdsystems): Likewise..
70041         (gnulinuxsystems): Likewise.
70042         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70043         variants of the GNU system, not "GNU system".
70044         * manual/conf.texi: Likewise.
70045         * manual/errno.texi: Likewise.  Update example of errno macro
70046         expansion.
70047         * manual/filesys.texi: Likewise.
70048         (getumask): Document as specific to GNU/Hurd.
70049         * manual/install.texi: Likewise.  Reword some references to
70050         GNU/Linux.
70051         * manual/intro.texi: Likewise.
70052         * manual/io.texi: Likewise.
70053         (File Name Portability): Detail which constraints are inapplicable
70054         to all GNU systems and which are only inapplicable to GNU/Hurd.
70055         * manual/job.texi: Likewise.
70056         * manual/llio.texi: Likewise.
70057         (O_NOCTTY): Document as present on GNU/Linux.
70058         * manual/maint.texi: Likewise.
70059         * manual/memory.texi: Likewise.
70060         * manual/pattern.texi: Likewise.
70061         * manual/pipe.texi: Likewise.
70062         * manual/process.texi: Likewise.
70063         * manual/resource.texi: Likewise.
70064         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70065         child on GNU/Hurd.
70066         * manual/setjmp.texi: Likewise.
70067         * manual/signal.texi: Likewise.
70068         * manual/startup.texi: Likewise.
70069         * manual/stdio.texi: Likewise.
70070         * manual/terminal.texi: Likewise.
70071         (ONLCR): Document as POSIX.
70072         (OXTABS): Document availability on GNU/Linux as XTABS.
70073         (ONOEOT): Document availability separately from other bits.
70074         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70075         * manual/time.texi: Likewise.
70076         * manual/users.texi: Likewise.
70077         * INSTALL: Regenerated.
70078         * sysdeps/gnu/errlist.c: Regenerated.
70080         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70081         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70082         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70083         puts.
70084         * configure: Regenerated.
70086 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70088         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70089         default includes instead of AC_HEADER_CHECK.
70090         * sysdeps/i386/configure: Regenerated.
70092         [BZ #10716]
70093         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70094         * math/s_cacoshf.c (__cacoshf): Likewise.
70095         * math/s_cacoshl.c (__cacoshl): Likewise.
70096         * math/s_casinh.c (__casinh): Set signs of result from argument.
70097         * math/s_casinhf.c (__casinhf): Likewise.
70098         * math/s_casinhl.c (__casinhl): Likewise.
70099         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70100         (casinh_test): Add more tests.
70101         * sysdeps/i386/fpu/libm-test-ulps: Update.
70102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70104 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70106         * po/zh_TW.po: Update from translation team.
70108         * login/Makefile (distribute): Remove variable.
70109         * catgets/Makefile: Likewise.
70110         * mach/Makefile: Likewise.
70111         * malloc/Makefile: Likewise.
70112         * misc/Makefile: Likewise.
70113         * iconv/Makefile: Likewise.
70114         * nscd/Makefile: Likewise.
70115         * hurd/Makefile: Likewise.
70116         * manual/Makefile: Likewise.
70117         * locale/Makefile: Likewise.
70118         * intl/Makefile: Likewise.
70119         * conform/Makefile: Likewise.
70120         * nss/Makefile: Likewise.
70121         * time/Makefile: Likewise.
70122         * soft-fp/Makefile: Likewise.
70123         * dirent/Makefile: Likewise.
70124         * gmon/Makefile: Likewise.
70125         * po/Makefile: Likewise.
70126         * rt/Makefile: Likewise.
70127         * socket/Makefile: Likewise.
70128         * math/Makefile: Likewise.
70129         * signal/Makefile: Likewise.
70130         * debug/Makefile: Likewise.
70131         * elf/Makefile: Likewise.
70132         * timezone/Makefile: Likewise.
70133         * stdlib/Makefile: Likewise.
70134         * iconvdata/Makefile: Likewise.
70135         * sunrpc/Makefile: Likewise.
70136         * io/Makefile: Likewise.
70137         * argp/Makefile: Likewise.
70138         * inet/Makefile: Likewise.
70139         * hesiod/Makefile: Likewise.
70140         * grp/Makefile: Likewise.
70141         * csu/Makefile: Likewise.
70142         * wctype/Makefile: Likewise.
70143         * crypt/Makefile: Likewise.
70144         * libio/Makefile: Likewise.
70145         * string/Makefile: Likewise.
70146         * nis/Makefile: Likewise.
70147         * resolv/Makefile: Likewise.
70148         * stdio-common/Makefile: Likewise.
70149         * wcsmbs/Makefile: Likewise.
70150         * dlfcn/Makefile: Likewise.
70151         * posix/Makefile: Likewise.
70153         [BZ #6959]
70154         * timezone/Makefile: Don't install timezone files, just the programs
70155         and scripts.
70157 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70159         * nss/databases.def: Add missing gshadow entry.
70161         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70163 2012-03-06  Marek Polacek  <polacek@redhat.com>
70165         [BZ #13726]
70166         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70167         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70168         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70169         * stdio-common/tst-long-dbl-fphex.c: New file.
70171 2012-03-06  David S. Miller  <davem@davemloft.net>
70173         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70174         (set_obp_int): New function.
70175         (get_obp_int): New function.
70176         (__get_clockfreq_via_dev_openprom): Likewise.
70177         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70178         Avoid unused variable warnings on 'val' and use builtin_expect.
70179         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70180         __builtin_expect.
70181         (INLINE_CLONE_SYSCALL): Likewise.
70183 2012-03-05  David S. Miller  <davem@davemloft.net>
70185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70187 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70191         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70192         only for |x| >= 40.
70193         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70195 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70197         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70198         Replace gettimeofday with __vdso_gettimeofday.
70200         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70201         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70202         __vdso_clock_gettime and __vdso_getcpu.
70204         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70205         time with __vdso_time.
70207 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70209         * manual/lang.texi (size_t): Note types to which size_t may be
70210         equivalent with the GNU C Library, but do not describe when
70211         differences between them are significant.
70213 2012-03-05  Andreas Jaeger  <aj@suse.de>
70215         * sysdeps/i386/fpu/libm-test-ulps: Update.
70217 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70219         [BZ #3976]
70220         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70221         (__ieee754_pow): Save and restore rounding mode and use
70222         round-to-nearest for main computations.
70223         * math/libm-test.inc (pow_test_tonearest): New function.
70224         (pow_test_towardzero): Likewise.
70225         (pow_test_downward): Likewise.
70226         (pow_test_upward): Likewise.
70227         (main): Call the new functions.
70228         * sysdeps/i386/fpu/libm-test-ulps: Update.
70229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70231         [BZ #3976]
70232         * math/libm-test.inc (cosh_test_tonearest): New function.
70233         (cosh_test_towardzero): Likewise.
70234         (cosh_test_downward): Likewise.
70235         (cosh_test_upward): Likewise.
70236         (sinh_test_tonearest): Likewise.
70237         (sinh_test_towardzero): Likewise.
70238         (sinh_test_downward): Likewise.
70239         (sinh_test_upward): Likewise.
70240         (main): Call the new functions.
70241         * sysdeps/i386/fpu/libm-test-ulps: Update.
70242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70244 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70246         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70247         default stack guard is set in last bytes.
70248         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70250 2012-03-05  Kees Cook  <keescook@chromium.org>
70252         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70254         [BZ #13656]
70255         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70256         possibly allocate from heap instead of stack.
70257         * stdio-common/bug-vfprintf-nargs.c: New file.
70258         * stdio-common/Makefile (tests): Add nargs overflow test.
70260 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70264 2012-03-03  Marek Polacek  <polacek@redhat.com>
70266         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70267         * math/math_private.h: Likewise.
70268         * stdlib/tst-strtod.c: Likewise.
70269         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70270         * sysdeps/x86_64/bits/atomic.h: Likewise.
70272 2012-03-02  David S. Miller  <davem@davemloft.net>
70274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70278         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70279         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70280         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70281         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70283 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70285         [BZ #13792]
70286         * manual/examples/README: New file, says the example source files
70287         can be used under GPL>=2.
70288         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70289         line containing just "*/".
70290         * manual/examples/add.c: Add copyright header (GPL>=2).
70291         * manual/examples/argp-ex1.c: Likewise.
70292         * manual/examples/argp-ex2.c: Likewise.
70293         * manual/examples/argp-ex3.c: Likewise.
70294         * manual/examples/argp-ex4.c: Likewise.
70295         * manual/examples/atexit.c: Likewise.
70296         * manual/examples/db.c: Likewise.
70297         * manual/examples/dir.c: Likewise.
70298         * manual/examples/dir2.c: Likewise.
70299         * manual/examples/execinfo.c: Likewise.
70300         * manual/examples/filecli.c: Likewise.
70301         * manual/examples/filesrv.c: Likewise.
70302         * manual/examples/fmtmsgexpl.c: Likewise.
70303         * manual/examples/genpass.c: Likewise.
70304         * manual/examples/inetcli.c: Likewise.
70305         * manual/examples/inetsrv.c: Likewise.
70306         * manual/examples/isockad.c: Likewise.
70307         * manual/examples/longopt.c: Likewise.
70308         * manual/examples/memopen.c: Likewise.
70309         * manual/examples/memstrm.c: Likewise.
70310         * manual/examples/mkfsock.c: Likewise.
70311         * manual/examples/mkisock.c: Likewise.
70312         * manual/examples/mygetpass.c: Likewise.
70313         * manual/examples/pipe.c: Likewise.
70314         * manual/examples/popen.c: Likewise.
70315         * manual/examples/rprintf.c: Likewise.
70316         * manual/examples/search.c: Likewise.
70317         * manual/examples/select.c: Likewise.
70318         * manual/examples/setjmp.c: Likewise.
70319         * manual/examples/sigh1.c: Likewise.
70320         * manual/examples/sigusr.c: Likewise.
70321         * manual/examples/stpcpy.c: Likewise.
70322         * manual/examples/strdupa.c: Likewise.
70323         * manual/examples/strftim.c: Likewise.
70324         * manual/examples/strncat.c: Likewise.
70325         * manual/examples/subopt.c: Likewise.
70326         * manual/examples/swapcontext.c: Likewise.
70327         * manual/examples/termios.c: Likewise.
70328         * manual/examples/testopt.c: Likewise.
70329         * manual/examples/testpass.c: Likewise.
70330         * manual/examples/timeval_subtract.c: Likewise.
70332         [BZ #13792]
70333         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70334         function to ...
70335         * manual/timeval_subtract.c.texi: ... here, new file.
70337 2012-03-02  David S. Miller  <davem@davemloft.net>
70339         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70341 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70343         [BZ #3976]
70344         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70345         (__sin): Save and restore rounding mode and use round-to-nearest
70346         for all computations.
70347         (__cos): Save and restore rounding mode and use round-to-nearest
70348         for all computations.
70349         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70350         <fenv.h>.
70351         (tan): Save and restore rounding mode and use round-to-nearest for
70352         all computations.
70353         * math/libm-test.inc (cos_test_tonearest): New function.
70354         (cos_test_towardzero): Likewise.
70355         (cos_test_downward): Likewise.
70356         (cos_test_upward): Likewise.
70357         (sin_test_tonearest): Likewise.
70358         (sin_test_towardzero): Likewise.
70359         (sin_test_downward): Likewise.
70360         (sin_test_upward): Likewise.
70361         (tan_test_tonearest): Likewise.
70362         (tan_test_towardzero): Likewise.
70363         (tan_test_downward): Likewise.
70364         (tan_test_upward): Likewise.
70365         (main): Call the new functions.
70366         * sysdeps/i386/fpu/libm-test-ulps: Update.
70367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70369         [BZ #10135]
70370         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70371         small n, then large n, before computing and testing k+n.
70372         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70373         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70374         Likewise.
70375         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70376         Likewise.
70377         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70378         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70379         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70380         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70381         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70382         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70383         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70384         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70385         * math/libm-test.inc (scalbn_test): Add more tests.
70386         (scalbln_test): Likewise.
70388         * manual/filesys.texi (mode_t): Describe constraints on size and
70389         signedness, not exact equivalence to a particular type.
70390         (ino_t): Likewise.
70391         (ino64_t): Likewise.
70392         (dev_t): Likewise.
70393         (nlink_t): Likewise.
70394         (blkcnt_t): Likewise.
70395         (blkcnt64_t): Likewise.
70396         * manual/llio.texi (off_t): Likewise.
70398         [BZ #3976]
70399         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70400         (__ieee754_exp): Save and restore rounding mode and use
70401         round-to-nearest for all computations.
70402         * math/libm-test.inc (exp_test_tonearest): New function.
70403         (exp_test_towardzero): Likewise.
70404         (exp_test_downward): Likewise.
70405         (exp_test_upward): Likewise.
70406         (main): Call the new functions.
70407         * sysdeps/i386/fpu/libm-test-ulps: Update.
70408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70410 2012-03-01  Chris Demetriou  <cgd@google.com>
70412         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70413         have predictable order.
70415 2012-03-01  David S. Miller  <davem@davemloft.net>
70417         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70419         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70420         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70421         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70422         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70424         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70425         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70426         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70428         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70429         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70430         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70431         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70432         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70436         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70437         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70438         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70440         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70441         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70442         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70443         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70444         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70445         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70446         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70447         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70448         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70449         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70450         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70451         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70452         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70453         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70454         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70455         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70456         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70457         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70458         * sysdeps/sparc/elf/configure: Regenerated.
70460 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70462         * configure.in (AS, LD): Require binutils 2.20 or later.
70463         * configure: Regenerated.
70464         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70465         as required minimum version.
70466         * INSTALL: Regenerated.
70468         [BZ #2541]
70469         [BZ #4108]
70470         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70471         before squaring exponent.
70472         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70473         bottom long double and 27 bits of top long double before squaring
70474         exponent.
70475         * math/libm-test.inc (erfc_test): Add more tests.
70476         * sysdeps/i386/fpu/libm-test-ulps: Update.
70477         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70480 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70482         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70483         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70484         containing bit-fields.
70485         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70486         * soft-fp/single.h (_FP_UNION_S): Likewise.
70487         * soft-fp/double.h (_FP_UNION_D): Likewise.
70489 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70491         [BZ #13786]
70492         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70493         not include ../strcmp.S.
70494         [USE_AS_STRNCASECMP_L]: Likewise.
70495         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70496         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70497         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70498         (__strncasecmp_l_ia32): Define as alias to
70499         __strncasecmp_l_nonascii.
70501         [BZ #5794]
70502         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70503         * sysdeps/i386/fpu/libm-test-ulps: Update.
70504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70506         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70509 2012-02-29  Jeff Law  <law@redhat.com>
70511         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70512         out of bounds read.
70514 2012-02-29  Marek Polacek  <polacek@redhat.com>
70516         [BZ #13706]
70517         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70518         * elf/Makefile: Add rules to run tst-unused-dep.out.
70520 2012-02-28  David S. Miller  <davem@davemloft.net>
70522         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70523         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70524         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70525         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70526         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70527         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70529 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70531         * math/libm-test.inc (llround_test): Move one test from
70532         lround_test.  Use TEST_f_L in moved test.
70533         (lround_test): Move misplaced test to llround_test.  Add testcase
70534         from bug 2561.
70536 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70538         * sysdeps/x86_64/fpu/e_expf.S: New file.
70539         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70541 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70543         [BZ #13637]
70544         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70545         of remain_len that may cause incomplete multi-byte character and
70546         false match.
70547         * posix/bug-regex33.c: New file.
70548         * posix/Makefile (tests): Add bug-regex33.
70550 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70552         * manual/macros.texi: New file.
70553         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70554         * manual/libc.texinfo: Include macros.texi.
70555         * manual/creatute.texi: Likewise.
70556         * manual/install.texi: Likewise.
70557         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70558         @glibcadj{} in references to the GNU C Library.
70559         * manual/charset.texi: Likewise.
70560         * manual/conf.texi: Likewise.
70561         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70562         when not using those macros.
70563         * manual/creature.texi: Likewise.
70564         * manual/crypt.texi: Likewise.
70565         * manual/errno.texi: Likewise.
70566         * manual/filesys.texi: Likewise.
70567         * manual/header.texi: Likewise.
70568         * manual/install.texi: Likewise.
70569         * manual/intro.texi: Likewise.
70570         * manual/io.texi: Likewise.
70571         * manual/job.texi: Likewise.
70572         * manual/lang.texi: Likewise.
70573         * manual/libc.texiinfo: Likewise.
70574         * manual/llio.texi: Likewise.
70575         * manual/locale.texi: Likewise.
70576         * manual/maint.texi: Likewise.
70577         * manual/math.texi: Likewise.
70578         * manual/memory.texi: Likewise.
70579         * manual/message.texi: Likewise.
70580         * manual/nss.texi: Likewise.
70581         * manual/pattern.texi: Likewise.
70582         * manual/process.texi: Likewise.
70583         * manual/resource.texi: Likewise.
70584         * manual/search.texi: Likewise.
70585         * manual/setjmp.texi: Likewise.
70586         * manual/signal.texi: Likewise.
70587         * manual/socket.texi: Likewise.
70588         * manual/startup.texi: Likewise.
70589         * manual/stdio.texi: Likewise.
70590         * manual/string.texi: Likewise.
70591         * manual/sysinfo.texi: Likewise.
70592         * manual/syslog.texi: Likewise.
70593         * manual/terminal.texi: Likewise.
70594         * manual/time.texi: Likewise.
70595         * manual/users.texi: Likewise.
70596         * INSTALL: Regenerated.
70597         * NOTES: Regenerated.
70598         * sysdeps/gnu/errlist.c: Regenerated.
70600 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70602         * include/dirent.h: Include <dirstream.h> before
70603         <dirent/dirent.h>.
70605 2012-02-28  David S. Miller  <davem@davemloft.net>
70607         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70608         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70609         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70610         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70612 2012-02-27  David S. Miller  <davem@davemloft.net>
70614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70616         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70617         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70620         frame pointer instead of stack pointer relative arg slot.
70621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70622         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70623         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70625 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70627         [BZ #3992]
70628         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70630 2012-02-27  David S. Miller  <davem@davemloft.net>
70632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70636         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70637         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70638         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70639         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70641 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70643         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70644         later.  Allow versions 5-9.
70645         * configure: Regenerated.
70646         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70647         required minimum version and 4.6 as recommended version.  Do not
70648         mention bugs in GCC 2.7 and 2.8.
70649         * INSTALL: Regenerated.
70651 2012-02-27  David S. Miller  <davem@davemloft.net>
70653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70657         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70658         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70659         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70660         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70662         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70663         manipulate bits before adding and subtracting TWO112[sx].
70664         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70666 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70668         [BZ #13775]
70669         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70670         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70671         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70672         being in POSIX, because they are in 1003.1-2008.
70674         * rt/tst-aio.c: Include <fcntl.h>.
70675         * rt/tst-aio7.c: Likewise.
70676         * rt/tst-aio64.c: Likewise.
70678         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70680 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70682         * manual/install.texi (--with-headers): Describe headers as
70683         interface headers, not private headers.
70684         (Specific advice for GNU/Linux systems): Describe use of headers
70685         from "make headers_install", not private headers from older
70686         kernels.
70687         * INSTALL: Regenerated.
70688         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70689         Change to 2.6.19.
70690         * sysdeps/unix/sysv/linux/configure: Regenerated.
70692         * manual/llio.texi (fclean): Remove documentation.
70694         * manual/Makefile (libc-texi-generated): New variable.  Include
70695         version.texi.
70696         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70697         $(libc-texi-generated), not duplicated list of files.
70698         (version.texi, stamp-version): New rules.
70699         (realclean): Remove $(libc-texi-generated), not individual files
70700         from that list.  Do not remove dir-add.texinfo.
70701         * manual/libc.texinfo: Comment out uses of edition numbers and
70702         references to printed manual.  Remove last-updated dates.
70703         (EDITION): Comment out.
70704         (ISBN): Likewise.
70705         (VERSION, UPDATED): Remove.
70706         (version.texi): Include.
70708 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70710         * sysdeps/posix/spawni.c: Include <signal.h>.
70711         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70712         * sysdeps/pthread/aio_fsync.c: Likewise.
70714 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70716         * conform/Makefile (tests): Run only when not cross-compiling and
70717         when fast-check is not defined.
70719         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70720         * conform/data/limits.h-data: Fixes for POSIX2008.
70721         * conform/run-conformtest.sh: Run all tests.
70722         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70723         headers.
70724         * include/bits/dlfcn.h: Likewise.
70725         * include/langinfo.h: Likewise.
70726         * include/monetary.h: Likewise.
70727         * include/sys/poll.h: Likewise.
70729         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70730         for __USE_GNU.
70731         * posix/spawn.h: Define __need_sigset_t.
70732         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70733         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70734         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70735         to get sigevent_t only.
70736         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70737         only for __USE_GNU.
70738         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70739         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70740         process_vm_writev only for __USE_GNU.
70741         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70743         * conform/Makefile: For now ignore errors from run-conformtest.
70744         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70745         POSIX to avoid namespace pollution.  Don't prepend headers.
70746         * conform/data/aio.h-data: Fixes for POSIX testing.
70747         * conform/data/fcntl.h-data: Likewise.
70748         * conform/data/glob.h-data: Likewise.
70749         * conform/data/grp.h-data: Likewise.
70750         * conform/data/pthread.h-data: Likewise.
70751         * conform/data/pwd.h-data: Likewise.
70752         * conform/data/signal.h-data: Likewise.
70753         * conform/data/spawn.h-data: Likewise.
70754         * conform/data/stdio.h-data: Likewise.
70755         * conform/data/stdlib.h-data: Likewise.
70756         * conform/data/stropts.h-data: Likewise.
70757         * conform/data/sys/mman.h-data: Likewise.
70758         * conform/data/sys/stat.h-data: Likewise.
70759         * conform/data/sys/types.h-data: Likewise.
70760         * conform/data/sys/wait.h-data: Likewise.
70761         * conform/data/time.h-data: Likewise.
70762         * conform/data/unistd.h-data: Likewise.
70763         * conform/data/utime.h-data: Likewise.
70765         * io/sys/stat.h: fchmod was always in POSIX.
70766         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70767         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70768         * rt/aio.h: Define __need_timespec before including <time.h>.
70769         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70770         struct.  Add forward declaration of pthread_attr_t and use it in
70771         sigevent.
70772         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70773         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70774         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70775         always remove CLK_TCK definition.
70777 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
70779         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70781 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
70783         * conform/run-conformtest.sh: New file.
70784         * conform/Makefile: Run run-conformtest for tests.
70785         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
70786         support.
70788         * conform/data/uchar.h-data: New file.
70789         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70790         * conform/data/arpa/inet.h-data: Likewise.
70791         * conform/data/assert.h-data: Likewise.
70792         * conform/data/complex.h-data: Likewise.
70793         * conform/data/cpio.h-data: Likewise.
70794         * conform/data/ctype.h-data: Likewise.
70795         * conform/data/dirent.h-data: Likewise.
70796         * conform/data/dlfcn.h-data: Likewise.
70797         * conform/data/errno.h-data: Likewise.
70798         * conform/data/fcntl.h-data: Likewise.
70799         * conform/data/float.h-data: Likewise.
70800         * conform/data/fmtmsg.h-data: Likewise.
70801         * conform/data/fnmatch.h-data: Likewise.
70802         * conform/data/ftw.h-data: Likewise.
70803         * conform/data/glob.h-data: Likewise.
70804         * conform/data/grp.h-data: Likewise.
70805         * conform/data/iconv.h-data: Likewise.
70806         * conform/data/inttypes.h-data: Likewise.
70807         * conform/data/langinfo.h-data: Likewise.
70808         * conform/data/libgen.h-data: Likewise.
70809         * conform/data/limits.h-data: Likewise.
70810         * conform/data/locale.h-data: Likewise.
70811         * conform/data/math.h-data: Likewise.
70812         * conform/data/monetary.h-data: Likewise.
70813         * conform/data/mqueue.h-data: Likewise.
70814         * conform/data/ndbm.h-data: Likewise.
70815         * conform/data/net/if.h-data: Likewise.
70816         * conform/data/netdb.h-data: Likewise.
70817         * conform/data/netinet/in.h-data: Likewise.
70818         * conform/data/nl_types.h-data: Likewise.
70819         * conform/data/poll.h-data: Likewise.
70820         * conform/data/pthread.h-data: Likewise.
70821         * conform/data/pwd.h-data: Likewise.
70822         * conform/data/regex.h-data: Likewise.
70823         * conform/data/sched.h-data: Likewise.
70824         * conform/data/search.h-data: Likewise.
70825         * conform/data/semaphore.h-data: Likewise.
70826         * conform/data/setjmp.h-data: Likewise.
70827         * conform/data/signal.h-data: Likewise.
70828         * conform/data/spawn.h-data: Likewise.
70829         * conform/data/stdarg.h-data: Likewise.
70830         * conform/data/stdio.h-data: Likewise.
70831         * conform/data/stdlib.h-data: Likewise.
70832         * conform/data/string.h-data: Likewise.
70833         * conform/data/strings.h-data: Likewise.
70834         * conform/data/stropts.h-data: Likewise.
70835         * conform/data/sys/ipc.h-data: Likewise.
70836         * conform/data/sys/mman.h-data: Likewise.
70837         * conform/data/sys/msg.h-data: Likewise.
70838         * conform/data/sys/resource.h-data: Likewise.
70839         * conform/data/sys/select.h-data: Likewise.
70840         * conform/data/sys/sem.h-data: Likewise.
70841         * conform/data/sys/shm.h-data: Likewise.
70842         * conform/data/sys/socket.h-data: Likewise.
70843         * conform/data/sys/stat.h-data: Likewise.
70844         * conform/data/sys/statvfs.h-data: Likewise.
70845         * conform/data/sys/time.h-data: Likewise.
70846         * conform/data/sys/timeb.h-data: Likewise.
70847         * conform/data/sys/times.h-data: Likewise.
70848         * conform/data/sys/types.h-data: Likewise.
70849         * conform/data/sys/uio.h-data: Likewise.
70850         * conform/data/sys/un.h-data: Likewise.
70851         * conform/data/sys/utsname.h-data: Likewise.
70852         * conform/data/sys/wait.h-data: Likewise.
70853         * conform/data/syslog.h-data: Likewise.
70854         * conform/data/tar.h-data: Likewise.
70855         * conform/data/termios.h-data: Likewise.
70856         * conform/data/utime.h-data: Likewise.
70857         * conform/data/utmpx.h-data: Likewise.
70858         * conform/data/varargs.h-data: Likewise.
70859         * conform/data/wchar.h-data: Likewise.
70860         * conform/data/wctype.h-data: Likewise.
70861         * conform/data/wordexp.h-data: Likewise.
70863         * include/stropts.h: New file.
70864         * include/uchar.h: New file.
70865         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70866         * include/assert.h: Likewise.
70867         * include/ctype.h: Likewise.
70868         * include/dirent.h: Likewise.
70869         * include/dlfcn.h: Likewise.
70870         * include/fcntl.h: Likewise.
70871         * include/fnmatch.h: Likewise.
70872         * include/glob.h: Likewise.
70873         * include/grp.h: Likewise.
70874         * include/libio.h: Likewise.
70875         * include/locale.h: Likewise.
70876         * include/math.h: Likewise.
70877         * include/net/if.h: Likewise.
70878         * include/netdb.h: Likewise.
70879         * include/netinet/in.h: Likewise.
70880         * include/pthread.h: Likewise.
70881         * include/pwd.h: Likewise.
70882         * include/regex.h: Likewise.
70883         * include/sched.h: Likewise.
70884         * include/search.h: Likewise.
70885         * include/setjmp.h: Likewise.
70886         * include/signal.h: Likewise.
70887         * include/stdio.h: Likewise.
70888         * include/stdlib.h: Likewise.
70889         * include/string.h: Likewise.
70890         * include/sys/cdefs.h: Likewise.
70891         * include/sys/mman.h: Likewise.
70892         * include/sys/msg.h: Likewise.
70893         * include/sys/resource.h: Likewise.
70894         * include/sys/select.h: Likewise.
70895         * include/sys/socket.h: Likewise.
70896         * include/sys/stat.h: Likewise.
70897         * include/sys/statvfs.h: Likewise.
70898         * include/sys/time.h: Likewise.
70899         * include/sys/times.h: Likewise.
70900         * include/sys/uio.h: Likewise.
70901         * include/sys/utsname.h: Likewise.
70902         * include/sys/wait.h: Likewise.
70903         * include/termios.h: Likewise.
70904         * include/time.h: Likewise.
70905         * include/ulimit.h: Likewise.
70906         * include/unistd.h: Likewise.
70907         * include/utime.h: Likewise.
70908         * include/wchar.h: Likewise.
70909         * include/wctype.h: Likewise.
70910         * include/wordexp.h: Likewise.
70912         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70914         * time/time.h: TIME_UTC must be a macro.
70915         Make timespec_get available for ISO C11 only as well.
70917 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70919         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70920         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70922 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70924         * configure.in: Use -o not -a in test for unsupported multi-arch.
70926 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70928         * manual/texinfo.tex: Update to version 2012-01-19.16.
70930 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70932         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70934 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70936         [BZ #13738]
70937         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70938         * manual/fdl-1.3.texi: New file.
70939         * manual/fdl-1.1.texi: File removed.
70941         [BZ #13738]
70942         * manual/libc.texinfo (FDL_VERSION): New @set.
70943         Use it for mention of FDL in cover text.
70944         (Documentation License): Use it in @include file name.
70946 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70947             Roland McGrath  <roland@hack.frob.com>
70949         [BZ #5461]
70950         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70951         (not LONG_LONG_MAX and LONG_LONG_MIN.
70952         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70953         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70954         name.
70955         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70957 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70959         [BZ #2547]
70960         [BZ #11365]
70961         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70962         manipulate bits before adding and subtracting TWO23[sx].
70963         * math/libm-test.inc (nearbyint_test): Add more tests.
70965 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70967         [BZ #2548]
70968         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70969         bits before adding and subtracting TWO23[sx].
70970         * math/libm-test.inc (rint_test): Add more tests.
70971         (rint_test_tonearest): Likewise.
70972         (rint_test_towardzero): Likewise.
70973         (rint_test_downward): Likewise.
70974         (rint_test_upward: Likewise.
70976 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70978         [BZ #10110]
70979         * include/stdc-predef.h: New file.  Extracted from features.h.
70980         * include/features.h: Include stdc-predef.h.
70981         * Makefile (headers): Add stdc-predef.h.
70982         * CONFORMANCE (Compiler limitations): Update.
70984 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70986         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70988 2012-02-21  David S. Miller  <davem@davemloft.net>
70990         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70991         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70993 2012-02-20  David S. Miller  <davem@davemloft.net>
70995         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70996         using a normal save/restore sequence, rather than allocating a
70997         dummy stack frame just to store a frame pointer and restore.
70998         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71000 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71002         * manual/install.texi: Fix stray word in line-wrapped comment.
71004 2012-02-20  David S. Miller  <davem@davemloft.net>
71006         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71007         both binutils and gcc support GOTDATA.
71009         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71010         "rd %pc" in the PIC register setup sequences.
71012         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71013         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71014         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71015         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71016         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71017         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71018         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71019         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71020         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71021         (SYSCALL_ERROR_HANDLER): Likewise.
71022         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71023         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71024         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71025         (SYSCALL_ERROR_HANDLER): Likewise.
71027         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71028         (HAVE_GCC_GOTDATA): New.
71029         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71030         relocation support in both binutils and gcc.
71031         * sysdeps/sparc/elf/configure: Regenerate.
71033         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71034         * sysdeps/sparc/sparc32/elf/configure: Delete.
71035         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71036         * sysdeps/sparc/sparc64/elf/configure: Delete.
71037         * sysdeps/sparc/elf/configure.in: New file.
71038         * sysdeps/sparc/elf/configure: Generate.
71040         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71041         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71042         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71043         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71044         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71046 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71048         * manual/install.texi: Do not mention specific glibc version
71049         numbers.
71050         * manual/libc.texinfo (VERSION, UPDATED): Update.
71051         (@copying): Use @copyright{} and range of years.
71053 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71055         [BZ #13695]
71056         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71057         [crti.S not in sysdirs] (generated): Do not append.
71058         [crti.S not in sysdirs] (omit-deps): Likewise.
71059         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71060         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71061         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71062         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71063         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71064         Likewise.
71065         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71066         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71067         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71068         * csu/defs.awk: Remove file.
71069         * sysdeps/generic/initfini.c: Likewise.
71070         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71071         variable.
71072         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71073         Likewise.
71075 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71077         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71078         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71079         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71080         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71081         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71082         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71083         <bits/epoll.h>.
71084         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71085         (__EPOLL_PACKED): Define to empty if not defined by
71086         <bits/epoll.h>.
71087         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71088         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71089         bits/epoll.h.
71091 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71093         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71094         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71095         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71096         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71097         <bits/timerfd.h>.
71098         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71100         bits/timerfd.h.
71102 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71104         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71105         in C locale.
71106         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71107         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71108         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71111 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71113         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71114         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71116 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71118         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71119         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71120         defined.
71121         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71122         Likewise.
71123         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71124         entry for 2.16.
71126 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71128         * math/w_acos.c: Use non-signaling floating-point comparisons.
71129         * math/w_acosf.c: Likewise.
71130         * math/w_acosh.c: Likewise.
71131         * math/w_acoshf.c: Likewise.
71132         * math/w_acoshl.c: Likewise.
71133         * math/w_acosl.c: Likewise.
71134         * math/w_asin.c: Likewise.
71135         * math/w_asinf.c: Likewise.
71136         * math/w_asinl.c: Likewise.
71137         * math/w_atanh.c: Likewise.
71138         * math/w_atanhf.c: Likewise.
71139         * math/w_atanhl.c: Likewise.
71140         * math/w_exp2.c: Likewise.
71141         * math/w_exp2f.c: Likewise.
71142         * math/w_exp2l.c: Likewise.
71143         * math/w_j0.c: Likewise.
71144         * math/w_j0f.c: Likewise.
71145         * math/w_j0l.c: Likewise.
71146         * math/w_j1.c: Likewise.
71147         * math/w_j1f.c: Likewise.
71148         * math/w_j1l.c: Likewise.
71149         * math/w_jn.c: Likewise.
71150         * math/w_jnf.c: Likewise.
71151         * math/w_log.c: Likewise.
71152         * math/w_log10.c: Likewise.
71153         * math/w_log10f.c: Likewise.
71154         * math/w_log10l.c: Likewise.
71155         * math/w_log2.c: Likewise.
71156         * math/w_log2f.c: Likewise.
71157         * math/w_log2l.c: Likewise.
71158         * math/w_logf.c: Likewise.
71159         * math/w_logl.c: Likewise.
71160         * math/w_sqrt.c: Likewise.
71161         * math/w_sqrtf.c: Likewise.
71162         * math/w_sqrtl.c: Likewise.
71163         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71164         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71165         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71166         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71167         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71169 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71171         [BZ #9739]
71172         * manual/string.texi (strnlen): Use correct parameter name in
71173         equivalent expression.
71175 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71177         [BZ #11174]
71178         * manual/users.texi (seteuid): Consistently use neweuid for
71179         argument name.
71181 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71183         [BZ #13704]
71184         * manual/nss.texi (Services in the NSS configuration): Correct
71185         list of services in example configuration file.
71187 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71189         [BZ #11322]
71190         * manual/arith.texi: Remove statements about negative zero
71191         behaving identically to zero.
71193 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71195         [BZ #5993]
71196         * manual/install.texi: Do not document upgrading from libc5.
71198 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71200         [BZ #4596]
71201         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71203 2012-02-18  David S. Miller  <davem@davemloft.net>
71205         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71206         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71207         %o7 across the call.
71208         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71209         instead.
71210         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71211         SETUP_PIC_REG_LEAF.
71212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71213         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71214         * sysdeps/sparc/crtn.S: Likewise.
71216 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71218         * aout/Makefile: Remove.
71220 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71222         [BZ #13058]
71223         * manual/examples/argp-ex1.c (main): Format definition in GNU
71224         style.
71225         * manual/examples/argp-ex2.c (main): Likewise.
71226         * manual/examples/argp-ex3.c (main): Likewise.
71227         * manual/examples/argp-ex4.c (main): Likewise.
71228         * manual/examples/longopt.c (main): Use new-style prototype
71229         definition.
71230         * manual/examples/strncat.c (main): Specify return type and use
71231         (void) for arguments.
71232         * manual/examples/subopt.c (main): Use char **argv argument.
71234 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71236         [BZ #5077]
71237         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71238         rounding modes.
71240 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71242         [BZ #6907]
71243         * manual/string.texi (strchr): Change when strchrnul is
71244         recommended.
71246 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71248         [BZ #174]
71249         * manual/locale.texi (setlocale): Document LOCPATH.
71251 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71253         [BZ #10210]
71254         * manual/process.texi (execle): Move @dots{} before last argument.
71256 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71258         [BZ #12047]
71259         * manual/charset.texi (Generic Charset Conversion): Fix typo
71260         (LC_TYPE -> LC_CTYPE).
71262 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71264         [BZ #5805]
71265         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71266         (scalbnf): Likewise.
71267         (scalbnl): Likewise.
71268         (scalbln): Likewise.
71269         (scalblnf): Likewise.
71270         (scalblnl): Likewise.
71271         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71272         (vwarnx): Likewise.
71273         (verr): Likewise.
71274         (verrx): Likewise.
71275         * manual/filesys.texi (telldir): Use braces around return type.
71276         * manual/llio.texi (mmap): Add space after comma.
71277         (mmap64): Likewise.
71278         * manual/math.texi (jn): Use @var{} on parameter names.
71279         (jnf): Likewise.
71280         (jnl): Likewise.
71281         (yn): Likewise.
71282         (ynf): Likewise.
71283         (ynl): Likewise.
71284         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71285         line.
71286         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71287         "...".
71288         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71289         (sched_get_priority_max): Likewise.
71290         * manual/signal.texi (sigvec): Add space after comma.
71291         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71292         names.
71293         (if_indextoname): Likewise.
71294         (if_freenameindex): Likewise.
71295         (sendto): Use ',' instead of '.' in prototype.
71296         * manual/startup.texi (syscall): Use @dots{} instead of literal
71297         "...".
71298         * manual/stdio.texi (__fpending): Separate initial words of
71299         paragraph from @deftypefun line.
71300         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71301         "...".
71302         (vsyslog): Use @var{} on parameter names.
71303         * manual/terminal.texi (stty): Use @var{} on parameter names.
71304         * manual/users.texi (getutmp): Use @var{} on parameter names.
71305         (getutmpx): Likewise.
71307 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71309         [BZ #6884]
71310         * manual/stdio.texi (fopen): Fix typos in description of
71311         ",ccs=STRING".
71313 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71315         [BZ #4026]
71316         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71317         get clock_id definition.
71319 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71321         [BZ #4822]
71322         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71323         (madvise): Cast every argument to void on its own.
71325 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71327         [BZ #9902]
71328         * manual/startup.texi (Exit Status): Fix typo.
71330 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71332         [BZ #10140]
71333         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71334         * manual/examples/argp-ex2.c: Likewise.
71335         * manual/examples/argp-ex3.c: Likewise.
71337 2012-02-16  Richard Henderson  <rth@redhat.com>
71339         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71340         * sysdeps/s390/s390-32/initfini.c: Remove.
71341         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71342         * sysdeps/s390/s390-64/initfini.c: Remove.
71344 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71346         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71347         compiler output for sysdeps/generic/initfini.c.
71348         * sysdeps/sh/elf/initfini.c: Remove file.
71350 2012-02-16  David S. Miller  <davem@davemloft.net>
71352         [BZ #11494]
71353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71355         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71356         * sysdeps/sparc/crti.S: New file.
71357         * sysdeps/sparc/crtn.S: New file.
71358         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71359         * sysdeps/sparc/sparc64/Makefile: Likewise.
71361 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71363         [BZ #3335]
71364         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71366 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71368         [BZ #4822]
71369         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71371         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71372         (write, read, close): Likewise.
71373         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71375 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71377         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71378         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71379         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71380         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71381         <bits/signalfd.h>.
71382         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71383         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71384         bits/signalfd.h.
71386 2012-02-14  Marek Polacek  <polacek@redhat.com>
71388         * sysdeps/x86_64/crti.S: New file.
71389         * sysdeps/x86_64/crtn.S: New file.
71390         * sysdeps/x86_64/elf/initfini.c: Remove file.
71392 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71394         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71395         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71396         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71397         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71398         <bits/inotify.h>.
71399         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71400         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71401         bits/inotify.h.
71403 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71405         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71406         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71407         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71408         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71409         <bits/eventfd.h>.
71410         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71412         bits/eventfd.h.
71414 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71416         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71417         __feraiseexcept instead of feraiseexcept.
71419         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71420         nanosleep invocations.
71421         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71422         strings, and add error checking for a nanosleep invocations.
71424 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71426         Replace FSF snail mail address with URLs, as per GNU coding standards.
71427         Most of the snail mail addresses were wrong anyway, and omitting
71428         them makes the source code easier to maintain.  Almost all of the
71429         changes are to license notices and to locale LC_IDENTIFICATION
71430         addresses, except for this one:
71431         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71432         not its snail mail address.
71434 2012-02-09  Richard Henderson  <rth@twiddle.net>
71436         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71437         of kernel-features.h.
71439         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71441 2012-02-08  Marek Polacek  <polacek@redhat.com>
71443         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71444         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71445         * sysdeps/gnu/_G_config.h: Likewise.
71446         * sysdeps/generic/_G_config.h: Likewise.
71448 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71450         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71451         tests.
71452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71454         * sysdeps/powerpc/powerpc32/crti.S: New file.
71455         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71456         * sysdeps/powerpc/powerpc64/crti.S: New file.
71457         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71459         * Makeconfig (have-initfini): Don't set.
71460         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71461         * configure.in (nopic_initfini): Don't substitute.
71462         * config.h.in (HAVE_INITFINI): Don't #undef.
71463         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71464         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71466 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71468         Support crti.S and crtn.S provided directly by architectures.
71469         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71470         [crti.S in sysdirs] (omit-deps): Likewise.
71471         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71472         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71473         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71474         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71475         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71476         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71477         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71478         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71479         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71480         compiler output for sysdeps/generic/initfini.c.
71481         * sysdeps/i386/elf/Makefile: Remove file.
71482         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71484 2012-02-07  Marek Polacek  <polacek@redhat.com>
71486         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71487         * sysdeps/gnu/_G_config.h: Likewise.
71488         * sysdeps/mach/hurd/_G_config.h: Likewise.
71490 2012-02-07  Marek Polacek  <polacek@redhat.com>
71492         * math/Makefile (tests): Add tst-CMPLX2.
71493         * math/tst-CMPLX2.c: New file.
71495 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71497         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71499         * math/libm-test.inc (jn_test): Add missing L suffix.
71501 2012-02-06  Marek Polacek  <polacek@redhat.com>
71503         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71504         * sysdeps/i386/fpu/e_powf.S: Likewise.
71505         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71506         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71507         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71508         * sysdeps/i386/fpu/e_pow.S: Likewise.
71509         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71510         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71511         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71512         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71513         * sysdeps/i386/fpu/e_log2.S: Likewise.
71514         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71515         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71516         * sysdeps/i386/fpu/e_powl.S: Likewise.
71517         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71518         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71519         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71520         * sysdeps/i386/fpu/e_logl.S: Likewise.
71521         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71522         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71523         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71524         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71525         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71526         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71527         * sysdeps/i386/fpu/e_log.S: Likewise.
71528         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71529         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71530         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71531         * sysdeps/i386/fpu/e_logf.S: Likewise.
71532         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71533         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71534         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71535         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71536         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71537         * sysdeps/i386/fpu/e_log10.S: Likewise.
71538         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71539         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71540         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71541         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71542         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71543         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71544         * sysdeps/i386/asm-syntax.h: Likewise.
71545         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71546         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71547         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71548         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71549         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71550         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71551         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71552         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71553         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71554         * sysdeps/powerpc/sysdep.h: Likewise.
71555         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71556         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71558 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71560         [BZ #411]
71561         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71563 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71565         * sysdeps/i386/sysdep.h: Include <features.h>.
71566         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71567         version.
71569 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71571         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71572         Define.
71573         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71574         LOAD_PIC_REG_STR.
71576 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71578         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71579         (SETUP_PIC_REG): Use GET_PC_THUNK.
71580         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71581         macro.
71583 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71585         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71586         for non-PIC compilation.
71587         (SETUP_PIC_REG): Add .p2align directive.
71588         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71589         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71590         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71591         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71592         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71593         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71594         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71595         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71596         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71597         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71598         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71599         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71600         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71601         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71602         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71603         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71604         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71605         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71606         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71607         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71608         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71609         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71610         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71611         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71612         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71613         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71614         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71615         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71616         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71617         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71618         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71619         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71620         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71621         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71622         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71623         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71624         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71625         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71626         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71627         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71628         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71630 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71632         * math/tst-CMPLX.c: Include <stdio.h>.
71634 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71636         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71637         float.
71638         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71639         * sysdeps/sparc/bits/mathdef.h: Likewise.
71641 2012-01-31  Marek Polacek  <polacek@redhat.com>
71643         * libio/libio.h: Don't define _PARAMS.
71644         * locale/programs/config.h: Don't define PARAMS.
71645         * stdlib/strtol_l.c: Likewise.
71646         (__strtol_l): Remove PARAMS from the prototype.
71648 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71650         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71651         names.  Just use the correct names.  Remove unnecessary wrapper
71652         functions.
71653         * malloc/arena.c: Likewise.
71654         * malloc/hooks.c: Likewise.
71656         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71657         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71658         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71660 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71662         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71663         into tail calls.
71664         (update_get_addr): New function.
71665         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71666         GET_ADDR_MODULE parameter.
71668 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71670         * crypt/cert.c: Remove __STDC__ conditionals.
71671         * crypt/crypt-entry.c: Likewise.
71672         * crypt/crypt_util.c: Likewise.
71673         * libio/filedoalloc.c: Likewise.
71674         * libio/fileops.c: Likewise.
71675         * libio/genops.c: Likewise.
71676         * libio/iofclose.c: Likewise.
71677         * libio/iofdopen.c: Likewise.
71678         * libio/iofopen.c: Likewise.
71679         * libio/iofopen64.c: Likewise.
71680         * libio/iogetdelim.c: Likewise.
71681         * libio/iopopen.c: Likewise.
71682         * libio/obprintf.c: Likewise.
71683         * libio/oldfileops.c: Likewise.
71684         * libio/oldiofclose.c: Likewise.
71685         * libio/oldiofdopen.c: Likewise.
71686         * libio/oldiofopen.c: Likewise.
71687         * libio/oldiopopen.c: Likewise.
71688         * libio/wfiledoalloc.c: Likewise.
71689         * libio/wgenops.c: Likewise.
71690         * locale/programs/xmalloc.c: Likewise.
71691         * misc/syslog.c: Likewise.
71692         * stdio-common/xbug.c: Likewise.
71693         * string/memchr.c: Likewise.
71694         * string/memcmp.c: Likewise.
71695         * string/memrchr.c: Likewise.
71696         * string/rawmemchr.c: Likewise.
71697         * sysdeps/posix/getcwd.c: Likewise.
71698         * time/strftime_l.c: Likewise.
71700 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71702         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71703         * config.make.in (config-cflags-sse2avx): Define.
71704         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71705         Fix typo.
71707 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71709         * scripts/config.guess: Update from upstream config git repository.
71710         * scripts/config.sub: Likewise.
71712 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71714         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71715         (EM_NUM): Update.
71716         (R_TILEPRO_*, R_TILEGX_*): New macros.
71718         * scripts/firstversions.awk: Fix bug in version range handling.
71720         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71722         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71724         * include/sys/epoll.h: New file.
71725         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71726         libc_hidden_def.
71728 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71730         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71731         Avoid unnecessary __WORDSIZE == 64 test.
71732         (fmaxf): Use VEX format if possible.
71733         (fmax): Likewise.
71734         (fminf): Likewise.
71735         (fmin): Likewise.
71737         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71738         * math/math_private.h: Remove libc_fegetround* and
71739         libc_fesetround*.
71740         * sysdeps/i386/configure.in: Check for -msse2avx.
71741         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71742         also if SSE2AVX is defined.
71743         Remove libc_fegetround* and libc_fesetround*.
71744         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71745         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71746         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71747         of HAS_YMM_USABLE.
71748         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71749         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71750         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71751         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71752         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71754         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71756 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71758         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71759         size is not set.
71760         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71762 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71764         [BZ #13618]
71765         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71766         relocation.
71767         * Makeconfig (libm): Define.
71768         * elf/Makefile: Add rules to build and run tst-relsort1.
71769         * elf/tst-relsort1.c: New file.
71770         * elf/tst-relsort1mod1.c: New file.
71771         * elf/tst-relsort1mod2.c: New file.
71773 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
71775         * math/s_ldexp.c: Remove __STDC__ conditionals.
71776         * math/s_ldexpf.c: Likewise.
71777         * math/s_ldexpl.c: Likewise.
71778         * math/s_nextafter.c: Likewise.
71779         * math/s_nexttowardf.c: Likewise.
71780         * math/s_significand.c: Likewise.
71781         * math/s_significandf.c: Likewise.
71782         * math/s_significandl.c: Likewise.
71783         * math/w_jnl.c: Likewise.
71784         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71785         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71786         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71787         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71788         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71789         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71790         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71791         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71792         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71793         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71794         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71795         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71796         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71797         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71798         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71799         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71800         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71801         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71803         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71804         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71805         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71806         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71807         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71808         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71809         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71810         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71811         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71812         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71813         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71814         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71815         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71816         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71817         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71818         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71819         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71820         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71821         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71822         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71823         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71824         * sysdeps/ieee754/k_standard.c: Likewise.
71825         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71826         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71827         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71828         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71829         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71830         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71831         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71832         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71833         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71834         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71835         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71836         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71837         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71838         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71839         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71840         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71841         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71842         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71843         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71844         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71845         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71846         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71847         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71848         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71849         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71850         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71851         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71852         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71854         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71855         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71856         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71857         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71858         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71859         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71860         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71861         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71862         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71863         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71864         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71865         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71866         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71867         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71868         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71869         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71870         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71871         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71872         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71873         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71874         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71875         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71876         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71877         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71878         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71879         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71880         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71881         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71882         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71883         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71884         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71885         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71886         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71887         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71888         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71889         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71890         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71891         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71892         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71893         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71894         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71895         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71896         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71897         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71898         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71899         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71900         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71901         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71902         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71903         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71904         * sysdeps/ieee754/s_matherr.c: Likewise.
71905         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71906         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71907         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71908         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71910 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71912         * crypt/md5.h: Remove __STDC__ conditionals.
71913         * libio/libioP.h: Likewise.
71914         * locale/programs/config.h: Likewise.
71915         * sysdeps/generic/sysdep.h: Likewise.
71916         * sysdeps/i386/asm-syntax.h: Likewise.
71917         * sysdeps/s390/asm-syntax.h: Likewise.
71918         * sysdeps/unix/sysdep.h: Likewise.
71919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71922 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71924         * libio/libio.h: Remove __STDC__ conditionals.
71925         * malloc/obstack.h: Likewise.
71926         * math/complex.h: Likewise.
71927         * math/math.h: Likewise.
71928         * sysdeps/generic/_G_config.h: Likewise.
71929         * sysdeps/gnu/_G_config.h: Likewise.
71930         * sysdeps/mach/hurd/_G_config.h: Likewise.
71931         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71932         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71933         * sysdeps/sparc/bits/mathdef.h: Likewise.
71935 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71937         [BZ #13583]
71938         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71939         Clean up HAS_* macros.
71940         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71941         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71942         possible.
71943         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71944         HAS_AVX.
71945         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71946         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71947         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71948         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71949         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71951 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71953         * elf/tst-unique3.cc (gets): Remove declaration.
71954         * elf/tst-unique3lib.cc (gets): Likewise.
71955         * elf/tst-unique3lib2.cc (gets): Likewise.
71956         * elf/tst-unique4.cc (gets): Likewise.
71958 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71960         * include/stdio.h: Add C++ protection.  Add gets declarations and
71961         definitions.
71962         * debug/tst-chk1.c: Don't declare gets here.
71963         * stdio-common/tst-gets.c: Likewise.
71965 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71967         * posix/glob: Remove directory.
71969 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71971         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71973 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71975         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71976         of the non-standard EPFNOSUPPORT.
71978 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71980         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71981         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71982         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71984 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71986         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71988 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71990         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71991         transient errors.
71992         * nscd/grpcache.c (cache_addgr): Likewise.
71993         * nscd/hstcache.c (cache_addhst): Likewise.
71994         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71995         * nscd/pwdcache.c (cache_addpw): Likewise.
71996         * nscd/servicescache.c (cache_addserv): Likewise.
71998 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72000         * malloc/malloc.c: Various cleanups.
72001         * malloc/hooks.c: Likewise.
72003         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72004         * stdlib/bug-fmtmsg1.c: New file.
72006         * stdlib/fmtmsg.c (init): Add missing unlock.
72007         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72009 2012-01-12  Marek Polacek  <polacek@redhat.com>
72011         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72012         and _GNU_SOURCE.
72014 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72016         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72017         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72018         macro to ensure uniqueness of label name.
72019         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72020         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72022 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72024         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72026         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72027         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72028         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72029         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72031 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72033         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72035         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72036         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72037         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72039         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72041         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72042         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72043         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72044         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72046         * math/bits/math-finite.h: Add ldexp support.
72048 2012-01-10  Marek Polacek  <polacek@redhat.com>
72050         * locale/programs/localedef.h (show_archive_content): Add noreturn
72051         attribute.
72053 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72055         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72057 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72059         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72061         * io/Makefile (headers): Add bits/poll2.h.
72063 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72066         typo #include statement.
72068 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72070         * include/sys/cdefs.h: Define __attribute_alloc_size.
72071         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72072         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72073         * elf/pldd.c: Likewise.
72074         * iconv/iconv_charmap.c: Likewise.
72075         * iconv/iconvconfig.c: Likewise.
72076         * iconv/strtab.c: Likewise.
72077         * locale/programs/locale.c: Likewise.
72078         * locale/programs/localedef.h: Likewise.
72079         * locale/programs/simple-hash.c: Likewise.
72080         * nscd/nscd.h: Likewise.
72081         * nss/makedb.c: Likewise.
72082         * sysdeps/generic/ldconfig.h: Likewise.
72083         * locale/programs/localedef.c: Remove xmalloc prototype.
72084         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72086 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72088         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72089         appropriate.
72091 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72093         * math/Makefile (tests): Add tst-CMPLX.
72094         * math/tst-CMPLX.c: New file.
72096         * math/complex.h (CMPLXL): Fix typo.
72098         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72099         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72100         GLIBC_2.16.
72101         * debug/tst-chk1.c: Add poll and ppoll tests.
72102         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72103         * include/sys/poll.h: Add hidden proto for ppoll.
72104         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72105         * sysdeps/mach/hurd/ppoll.c: Likewise.
72106         * io/ppoll.c: Likewise.
72107         * debug/poll_chk.c: New file.
72108         * debug/ppoll_chk.c: New file.
72109         * include/bits/poll2.h: New file.
72110         * io/bits/poll2.h: New file.
72112         [BZ #1350]
72113         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72115         * configure.in: static is always set to yes.  Remove.
72116         * config.make.in: Don't set build-static.
72117         * Makeconfig: Remove use of build-static.
72118         * dlfcn/Makefile: Likewise.
72119         * elf/Makefile: Likewise.
72120         * math/Makefile: Likewise.
72121         * misc/Makefile: Likewise.
72122         * nptl/Makefile: Likewise.
72123         * sysdeps/mach/hurd/Makefile: Likewise.
72125         * configure.in: PWD_P is not used anymore.
72126         * config.make.in: Remove PWD_P entry.
72128         * configure.in: Remove last remnants of RANLIB.
72129         No need to check for signed size_t anymore.
72130         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72131         and IA-64.
72132         Remove __builtin_expect test because we require at least gcc 3.4.
72133         * aclocal.m4: Likewise.
72135         * wcsmbs/mbrtoc16.c: Implement using towc function.
72136         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72137         * wcsmbs/wcsmbsload.c: Likewise.
72138         * iconv/gconv_simple.c: Likewise.
72139         * iconv/gconv_int.h: Likewise.
72140         * iconv/gconv_builtin.h: Likewise.
72141         * iconv/iconv_prog.c: Remove CHAR16 handling.
72143         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72145         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72147         * configure.in: Remove --with-elf and --enable-bounded options.
72148         Dont set base_machine for ia64.  More non-ELF conditions removed.
72149         Remove testing and setting of leading underscore information.
72150         * config.make.in (build-bounded): Set to no.
72151         * config.h.in: Remove NO_UNDERSCORES entry.
72152         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72153         them.
72154         * csu/start.c: Remove !NO_UNDERSCORE code.
72155         * locale/localeinfo.h: Likewise.
72156         * sysdeps/generic/machine-gmon.h: Likewise.
72157         * sysdeps/generic/sysdep.h: Likewise.
72158         * sysdeps/i386/sysdep.h: Likewise.
72159         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72160         * sysdeps/mach/sysdep.h: Likewise.
72161         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72162         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72163         * sysdeps/sh/sysdep.h: Likewise.
72164         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72165         * sysdeps/unix/i386/sysdep.S: Likewise.
72166         * sysdeps/unix/sparc/start.c: Likewise.
72167         * sysdeps/unix/sparc/sysdep.S: Likewise.
72168         * sysdeps/unix/sparc/sysdep.h: Likewise.
72169         * sysdeps/unix/start.c: Likewise.
72170         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72171         * sysdeps/x86_64/sysdep.h: Likewise.
72173 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72175         [BZ #13553]
72176         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72177         for non-gcc.
72178         * argp/argp-fmtstream.h: Use const instead __const.
72179         * argp/argp.h: Likewise.
72180         * assert/assert.h: Likewise.
72181         * bits/fenv.h: Likewise.
72182         * bits/sched.h: Likewise.
72183         * bits/sigset.h: Likewise.
72184         * bits/sigthread.h: Likewise.
72185         * catgets/nl_types.h: Likewise.
72186         * conform/data/pthread.h-data: Likewise.
72187         * crypt/crypt-private.h: Likewise.
72188         * crypt/crypt.h: Likewise.
72189         * crypt/crypt_util.c: Likewise.
72190         * ctype/ctype.h: Likewise.
72191         * debug/execinfo.h: Likewise.
72192         * debug/mbsnrtowcs_chk.c: Likewise.
72193         * debug/mbsrtowcs_chk.c: Likewise.
72194         * debug/wcsnrtombs_chk.c: Likewise.
72195         * debug/wcsrtombs_chk.c: Likewise.
72196         * debug/wcstombs_chk.c: Likewise.
72197         * dirent/dirent.h: Likewise.
72198         * dlfcn/dlfcn.h: Likewise.
72199         * elf/neededtest4.c: Likewise.
72200         * grp/grp.h: Likewise.
72201         * gshadow/gshadow.h: Likewise.
72202         * iconv/gconv.h: Likewise.
72203         * iconv/gconv_int.h: Likewise.
72204         * iconv/gconv_simple.c: Likewise.
72205         * iconv/iconv.h: Likewise.
72206         * iconv/loop.c: Likewise.
72207         * iconv/skeleton.c: Likewise.
72208         * include/aio.h: Likewise.
72209         * include/aliases.h: Likewise.
72210         * include/argz.h: Likewise.
72211         * include/arpa/inet.h: Likewise.
72212         * include/assert.h: Likewise.
72213         * include/dirent.h: Likewise.
72214         * include/dlfcn.h: Likewise.
72215         * include/execinfo.h: Likewise.
72216         * include/fcntl.h: Likewise.
72217         * include/fenv.h: Likewise.
72218         * include/glob.h: Likewise.
72219         * include/grp.h: Likewise.
72220         * include/libintl.h: Likewise.
72221         * include/mntent.h: Likewise.
72222         * include/netdb.h: Likewise.
72223         * include/pwd.h: Likewise.
72224         * include/rpc/netdb.h: Likewise.
72225         * include/sched.h: Likewise.
72226         * include/search.h: Likewise.
72227         * include/shadow.h: Likewise.
72228         * include/signal.h: Likewise.
72229         * include/stdio.h: Likewise.
72230         * include/stdlib.h: Likewise.
72231         * include/string.h: Likewise.
72232         * include/sys/socket.h: Likewise.
72233         * include/sys/stat.h: Likewise.
72234         * include/sys/statfs.h: Likewise.
72235         * include/sys/statvfs.h: Likewise.
72236         * include/sys/syslog.h: Likewise.
72237         * include/sys/time.h: Likewise.
72238         * include/sys/uio.h: Likewise.
72239         * include/time.h: Likewise.
72240         * include/unistd.h: Likewise.
72241         * include/utmp.h: Likewise.
72242         * include/wchar.h: Likewise.
72243         * include/wctype.h: Likewise.
72244         * inet/aliases.h: Likewise.
72245         * inet/arpa/inet.h: Likewise.
72246         * inet/netinet/ether.h: Likewise.
72247         * inet/netinet/in.h: Likewise.
72248         * intl/libintl.h: Likewise.
72249         * io/bits/fcntl2.h: Likewise.
72250         * io/fcntl.h: Likewise.
72251         * io/ftw.h: Likewise.
72252         * io/sys/poll.h: Likewise.
72253         * io/sys/stat.h: Likewise.
72254         * io/sys/statfs.h: Likewise.
72255         * io/sys/statvfs.h: Likewise.
72256         * io/utime.h: Likewise.
72257         * libio/bits/stdio.h: Likewise.
72258         * libio/bits/stdio2.h: Likewise.
72259         * libio/libio.h: Likewise.
72260         * libio/libioP.h: Likewise.
72261         * libio/stdio.h: Likewise.
72262         * locale/lc-ctype.c: Likewise.
72263         * locale/locale.h: Likewise.
72264         * login/utmp.h: Likewise.
72265         * malloc/arena.c: Likewise.
72266         * malloc/malloc.c: Likewise.
72267         * malloc/malloc.h: Likewise.
72268         * malloc/mcheck.c: Likewise.
72269         * malloc/mtrace.c: Likewise.
72270         * math/bits/mathcalls.h: Likewise.
72271         * math/fenv.h: Likewise.
72272         * math/math_private.h: Likewise.
72273         * misc/bits/error.h: Likewise.
72274         * misc/bits/syslog.h: Likewise.
72275         * misc/err.h: Likewise.
72276         * misc/error.h: Likewise.
72277         * misc/fstab.h: Likewise.
72278         * misc/mntent.h: Likewise.
72279         * misc/regexp.h: Likewise.
72280         * misc/search.h: Likewise.
72281         * misc/sgtty.h: Likewise.
72282         * misc/sys/mman.h: Likewise.
72283         * misc/sys/syslog.h: Likewise.
72284         * misc/sys/uio.h: Likewise.
72285         * misc/sys/xattr.h: Likewise.
72286         * misc/ttyent.h: Likewise.
72287         * nis/rpcsvc/ypclnt.h: Likewise.
72288         * nss/nss.h: Likewise.
72289         * posix/bits/unistd.h: Likewise.
72290         * posix/fnmatch.h: Likewise.
72291         * posix/glob.h: Likewise.
72292         * posix/sched.h: Likewise.
72293         * posix/spawn.h: Likewise.
72294         * posix/sys/wait.h: Likewise.
72295         * posix/unistd.h: Likewise.
72296         * posix/wordexp.h: Likewise.
72297         * pwd/pwd.h: Likewise.
72298         * resolv/netdb.h: Likewise.
72299         * resource/sys/resource.h: Likewise.
72300         * rt/aio.h: Likewise.
72301         * rt/bits/mqueue2.h: Likewise.
72302         * rt/mqueue.h: Likewise.
72303         * shadow/shadow.h: Likewise.
72304         * signal/signal.h: Likewise.
72305         * socket/send.c: Likewise.
72306         * socket/sendto.c: Likewise.
72307         * socket/sys/socket.h: Likewise.
72308         * stdio-common/printf.h: Likewise.
72309         * stdlib/bits/stdlib.h: Likewise.
72310         * stdlib/fmtmsg.h: Likewise.
72311         * stdlib/monetary.h: Likewise.
72312         * stdlib/stdlib.h: Likewise.
72313         * stdlib/ucontext.h: Likewise.
72314         * streams/stropts.h: Likewise.
72315         * string/argz.h: Likewise.
72316         * string/bits/string2.h: Likewise.
72317         * string/string.h: Likewise.
72318         * string/strings.h: Likewise.
72319         * sunrpc/rpc/auth.h: Likewise.
72320         * sunrpc/rpc/auth_des.h: Likewise.
72321         * sunrpc/rpc/clnt.h: Likewise.
72322         * sunrpc/rpc/netdb.h: Likewise.
72323         * sunrpc/rpc/pmap_clnt.h: Likewise.
72324         * sunrpc/rpc/xdr.h: Likewise.
72325         * sysdeps/generic/inttypes.h: Likewise.
72326         * sysdeps/generic/net/if.h: Likewise.
72327         * sysdeps/generic/sys/swap.h: Likewise.
72328         * sysdeps/gnu/net/if.h: Likewise.
72329         * sysdeps/gnu/utmpx.h: Likewise.
72330         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72331         * sysdeps/i386/i486/bits/string.h: Likewise.
72332         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72333         * sysdeps/s390/bits/string.h: Likewise.
72334         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72335         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72336         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72337         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72338         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72339         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72340         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72341         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72342         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72343         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72344         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72345         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72346         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72347         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72348         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72349         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72350         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72351         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72352         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72353         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72354         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72355         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72356         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72357         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72358         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72359         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72360         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72361         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72362         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72363         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72364         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72365         * sysvipc/sys/ipc.h: Likewise.
72366         * sysvipc/sys/msg.h: Likewise.
72367         * sysvipc/sys/sem.h: Likewise.
72368         * sysvipc/sys/shm.h: Likewise.
72369         * termios/termios.h: Likewise.
72370         * time/sys/time.h: Likewise.
72371         * time/time.h: Likewise.
72372         * wcsmbs/bits/wchar2.h: Likewise.
72373         * wcsmbs/uchar.h: Likewise.
72374         * wcsmbs/wchar.h: Likewise.
72375         * wctype/wctype.h: Likewise.
72377         [BZ #13551]
72378         * Makeconfig: Remove all but ELF support including AIX support.
72379         * Makerules: Likewise.
72380         * config.h.in: Likewise.
72381         * config.make.in: Likewise.
72382         * configure: Likewise.
72383         * configure.in: Likewise.
72384         * csu/Makefile: Likewise.
72385         * csu/version.c: Likewise.
72386         * debug/Makefile: Likewise.
72387         * dlfcn/Makefile: Likewise.
72388         * elf/Makefile: Likewise.
72389         * extra-lib.mk: Likewise.
72390         * iconv/Makefile: Likewise.
72391         * include/libc-symbols.h: Likewise.
72392         * include/shlib-compat.h: Likewise.
72393         * resolv/Makefile: Likewise.
72394         * resolv/res_libc.c: Likewise.
72395         * rt/Makefile: Likewise.
72396         * sysdeps/i386/asm-syntax.h: Likewise.
72397         * sysdeps/i386/sysdep.h: Likewise.
72398         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72399         * sysdeps/mach/sysdep.h: Likewise.
72400         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72401         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72402         * sysdeps/s390/asm-syntax.h: Likewise.
72403         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72404         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72405         * sysdeps/sh/sysdep.h: Likewise.
72406         * sysdeps/unix/sparc/sysdep.h: Likewise.
72407         * sysdeps/wordsize-32/divdi3.c: Likewise.
72408         * sysdeps/x86_64/sysdep.h: Likewise.
72410         * argp/Versions: Remove _argp_unlock_xxx.
72412         [BZ #13559]
72413         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72414         * abilist/libBrokenLocale.abilist: Likewise.
72415         * abilist/libanl.abilist: Likewise.
72416         * abilist/libc.abilist: Likewise.
72417         * abilist/libcrypt.abilist: Likewise.
72418         * abilist/libdl.abilist: Likewise.
72419         * abilist/libm.abilist: Likewise.
72420         * abilist/libnsl.abilist: Likewise.
72421         * abilist/libpthread.abilist: Likewise.
72422         * abilist/libresolv.abilist: Likewise.
72423         * abilist/librt.abilist: Likewise.
72424         * abilist/libthread_db.abilist: Likewise.
72425         * abilist/libutil.abilist: Likewise.
72426         * abilist/libnss_db.abilist: New file.
72428         * scripts/abilist.awk: Add support for indirect functions.
72430         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72432         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72434         * shlib-versions: Remove entries for ports architectures.
72436         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72437         files in ports.
72438         * elf/stackguard-macros.h: Remove support for IA-64.
72439         * elf/tst-auditmod1.c: Likewise.
72440         * sysdeps/generic/ldsodefs.h: Likewise.
72442         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72443         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72444         configure files.
72446         [BZ #13552]
72447         * configure.in: Remove --enable-omitfp support.
72448         * FAQ.in: Adjust.
72449         * config.make.in: Likewise.
72450         * Makeconfig: Likewise.
72451         * manual/install.texi: Likewise.
72453         In case anyone cares, the IA-64 architecture could move to ports.
72454         * sysdeps/ia64/*: Removed.
72455         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72456         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72458         [BZ #13555]
72459         * configure.in: Remove entries for unsupported architectures.
72461         [BZ #13533]
72462         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72463         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72464         routines.
72465         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72466         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72467         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72468         fall back to using wcrtomb.
72469         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72470         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72471         renaming.
72472         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72473         * wcsmbs/tst-c16c32-1.c: New file.
72475         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72476         local variable.
72478         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72480         * elf/tst-unique3.cc: Add explicit declaration of gets.
72481         * elf/tst-unique3lib.cc: Likewise.
72482         * elf/tst-unique3lib2.cc: Likewise.
72483         * elf/tst-unique4.cc: Likewise.
72485         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72487 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72489         [BZ #13566]
72490         * assert/assert.h (static_assert): Don't define for C++.
72491         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72492         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72494 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72496         * iconv/loop.c (single loop): Fix assertion in storing of
72497         remaining bytes.
72499         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72501 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72503         * posix/getconf.c: Update copyright year.
72504         * nss/getent.c: Likewise.
72505         * nss/makedb.c: Likewise.
72506         * iconv/iconvconfig.c: Likewise.
72507         * iconv/iconv_prog.c: Likewise.
72508         * elf/ldconfig.c: Likewise.
72509         * elf/pldd.c: Likewise.
72510         * elf/sotruss.ksh: Likewise.
72511         * catgets/gencat.c: Likewise.
72512         * csu/version.c: Likewise.
72513         * elf/ldd.bash.in: Likewise.
72514         * elf/sprof.c (print_version): Likewise.
72515         * locale/programs/locale.c: Likewise.
72516         * locale/programs/localedef.c: Likewise.
72517         * login/programs/pt_chown.c: Likewise.
72518         * nscd/nscd.c (print_version): Likewise.
72519         * debug/xtrace.sh: Likewise.
72520         * malloc/memusage.sh: Likewise.
72521         * malloc/mtrace.pl: Likewise.
72522         * debug/catchsegv.sh: Likewise.
72524 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72526         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72527         pure attribute.
72529 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72531         [BZ #13533]
72532         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72533         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72534         transformations.
72535         * iconv/gconv_int.h: Likewise.
72536         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72537         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72538         from libc for GLIBC_2.16.
72539         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72540         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72541         * wcsmbs/uchar.h: Really define mbstate_t.
72542         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72543         * wcsmbs/c16rtomb.c: New file.
72544         * wcsmbs/mbrtoc16.c: New file.
72545         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72546         for C/POSIX locale.
72547         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72548         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72550         * wcsmbs/wchar.h: Add missing __restrict.
72552 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72554         [BZ #13532]
72555         * time/Makefile (routines): Add timespec_get.
72556         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72557         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72558         timespec for ISO C11.
72559         * time/timespec_get.c: New file.
72560         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72561         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72563         [BZ #13531]
72564         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72565         * stdlib/stdlib.h: Declare aligned_alloc.
72566         * Versions.def: Add GLIBC_2.16 for libc.
72567         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72569         [BZ 13527]
72570         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72571         ISO C11.
72573         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72574         code.
72576         [BZ #13528]
72577         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72579         [BZ #13529]
72580         * assert/assert.h (static_assert): Define.
72582         * version.h: Update for 2.16 development version.
72584         [BZ #13526]
72585         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72586         _ISOC11_SOURCE.
72588         * version.h (RELEASE): Bump for 2.15 release.
72589         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72591         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72592         Patch by Marek Polacek <mpolacek@redhat.com>.
72594         * bits/byteswap.h: Protect long long constants with __extension__.
72595         * sysdeps/i386/bits/byteswap.h: Likewise.
72596         * sysdeps/ia64/bits/byteswap.h: Likewise.
72597         * sysdeps/s390/bits/byteswap.h: Likewise.
72598         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72600 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72602         [BZ #13540]
72603         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72604         destination buffer.
72605         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72607 2011-12-23  Marek Polacek  <polacek@redhat.com>
72609         * elf/dl-addr.c (determine_info): Add inline keyword.
72610         * elf/tst-auditmod4b.c (check_avx): Likewise.
72611         * elf/tst-auditmod6b.c (check_avx): Likewise.
72612         * elf/tst-auditmod6c.c (check_avx): Likewise.
72613         * elf/tst-auditmod7b.c (check_avx): Likewise.
72615 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72617         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72618         !__SSE_MATH__.
72620 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72622         [BZ #13540]
72623         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72624         processing for last bytes.
72626 2011-08-06  Bruno Haible  <bruno@clisp.org>
72628         [BZ #13061]
72629         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72630         U+0385, not to U+1FEE.
72632         [BZ #13062]
72633         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72634         entry for U+00A5 U+0301.
72636 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72638         [BZ #13166]
72639         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72640         buffer for the output is too small.
72642         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72643         optimization.
72645         [BZ #13185]
72646         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72647         SSE flags if possible.
72649 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72651         [BZ #13540]
72652         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72653         processing for last bytes.
72655 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72657         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72658         (syscall-list-default-options, syscall-list-default-condition)
72659         (syscall-list-includes): Define.
72660         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72661         list of ABIs and options and #if conditions for each ABI.  Do not
72662         handle common syscalls between ABIs specially.
72663         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72664         Remove.
72665         (syscall-list-variants, syscall-list-32bit-options)
72666         (syscall-list-32bit-condition, syscall-list-64bit-options)
72667         (syscall-list-64bit-condition): Define.
72668         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72669         (syscall-list-variants, syscall-list-32bit-options)
72670         (syscall-list-32bit-condition, syscall-list-64bit-options)
72671         (syscall-list-64bit-condition): Define.
72672         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72673         Remove.
72674         (syscall-list-variants, syscall-list-32bit-options)
72675         (syscall-list-32bit-condition, syscall-list-64bit-options)
72676         (syscall-list-64bit-condition): Define.
72677         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72678         Remove.
72679         (syscall-list-variants, syscall-list-32bit-options)
72680         (syscall-list-32bit-condition, syscall-list-64bit-options)
72681         (syscall-list-64bit-condition): Define.
72683 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72685         * locale/iso-639.def: Add brx entry.
72687         [BZ #13328]
72688         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72689         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72691         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72692         __feraiseexcept_renamed.
72694 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72696         [BZ #13538]
72697         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72698         EPOLLET with unsigned values.
72699         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72700         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72702         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72703         to large cancellation.
72704         * math/s_cacoshf.c: Likewise.
72705         * math/s_cacoshl.c: Likewise.
72707 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72709         [BZ #13305]
72710         [BZ #12786]
72711         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72712         * math/s_cacoshf.c: Likewise.
72713         * math/s_cacoshl.c: Likewise.
72715 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72717         [BZ #13439]
72718         * iconv/gconv.h: Define __GCONV_SWAP.
72719         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72720         * iconvdata/utf-16.c: Likewise.
72721         * iconvdata/utf-32.c: Likewise.
72723 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72725         [BZ #13524]
72726         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72727         numerator after shifting it by one limb.
72729 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72731         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72732         under [__USE_EXTERN_INLINES].
72734 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72736         [BZ #13446]
72737         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72739 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72741         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72742         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72743         optimized code.
72744         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72745         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72746         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72747         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72748         for strncasecmp/strncasecmp_l compilation.
72749         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72750         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72752 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72754         [BZ #13484]
72755         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72756         of __asm__.
72758 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72760         [BZ #13506]
72761         * time/tzfile.c (__tzfile_read): Check values from file header.
72763 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72765         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72766         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72767         * powerpc/powerpc32/dl-start.S: Likewise.
72768         * powerpc/powerpc32/elf/start.S: Likewise.
72769         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72770         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72771         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72772         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72773         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72774         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72775         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72776         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72777         * powerpc/powerpc32/fpu/s_round.S: Likewise.
72778         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72779         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72780         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72781         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72782         * powerpc/powerpc32/memset.S: Likewise.
72783         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72784         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72785         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72786         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72787         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72788         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72789         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72790         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72791         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72792         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72793         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72794         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72795         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72797 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72799         * math/libm-test.inc: Added more nearbyint tests.
72800         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72801         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72802         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72803         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72805 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
72807         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72808         FD_CLOEXEC.
72810 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72812         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72813         Add wcscpy-ssse3 wcscpy-c.
72814         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72815         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72816         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72817         * sysdeps/x86_64/wcschr.S: New file.
72818         * sysdeps/x86_64/wcsrchr.S: New file.
72819         * string/test-strcmp.c: Remove checking of wcscmp function for
72820         wrong alignments.
72821         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72822         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72823         wcsrchr-sse2 wcsrchr-c.
72824         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72825         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72826         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72827         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72828         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72829         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72830         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72831         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72832         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72833         * wcsmbc/wcschr.c (WCSCHR): New macro.
72835 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72837         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72838         * wcsmbs/test-wcsrchr.c: New file.
72839         * string/test-strrchr.c: Add wcsrchr support.
72840         (WIDE): New macro.
72841         * wcsmbs/test-wcscpy.c: New file.
72842         * string/test-strcpy.c: Add wcscpy support.
72843         (WIDE): New macro.
72845 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72847         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72848         the inner loop.
72850 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72852         [BZ #13472]
72853         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72855 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72857         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72858         Minor optimizations.
72860         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72861         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72862         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72864 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72866         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72867         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72868         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72869         for gcc to avoid warnings.
72870         * inet/Makefile (tests): Add tst-checks.
72871         * inet/tst-checks.c: New file.
72873         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72874         warning.
72876         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72877         __wmemcmp_sse2.
72879         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72880         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72882         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72884 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72886         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72887         problem.
72889         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72891 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72893         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72894         conditional on GCC version.
72895         (__arch_compare_and_exchange_val_8_acq)
72896         (__arch_compare_and_exchange_val_16_acq)
72897         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72898         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72899         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72901 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72903         * sysdeps/sh/backtrace.c: New file.
72905 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72907         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72908         parenthesis.
72910 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72912         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72913         falling back to utime.
72915 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72917         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72918         expectations for float.
72920 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72922         * locale/weight.h (findidx): Add parameter len.
72923         * locale/weightwc.h (findidx): Likewise.
72924         * posix/fnmatch_loop.c (FCT): Adjust caller.
72925         * posix/regcomp.c (build_equiv_class): Likewise.
72926         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72927         * posix/regexec.c (check_node_accept_bytes): Likewise.
72928         * string/strcoll_l.c (STRCOLL): Likewise.
72929         * string/strxfrm_l.c (STRXFRM): Likewise.
72931 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72933         * Makefile.in: Remove CVSOPT handling.
72934         * configure.in: Remove use of AC_REVISION.
72935         * iconvdata/Makefile (distribute): No need to filter out CVS.
72936         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72937         handling.
72939 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72941         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72942         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72943         [USE_AS_STRNCASECMP_L]: Likewise.
72944         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72945         NO_TLS_DIRECT_SEG_REFS.
72946         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72947         Fix argument offsets for non-PIC.
72948         [USE_AS_STRNCASECMP_L]: Likewise.
72949         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72950         NO_TLS_DIRECT_SEG_REFS.
72952 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72954         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72955         O_CLOEXEC.
72956         * locale/loadlocale.c (_nl_load_locale): Likewise.
72958 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72960         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72961         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72962         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72963         (SYSCALL_GETTIME): Set errno on error.
72965         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72966         count references to noai6ai_cached.
72968 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72970         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72972         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72973         FD_CLOEXEC for /proc/self/maps.
72975         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72976         FD_CLOEXEC for /proc/meminfo.
72978         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72979         gai.conf.
72981         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72982         FD_CLOEXEC for given file.
72984         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72986         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72987         FD_CLOEXEC for /etc/hosts.
72988         (_gethtent): Likewise.
72990         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72992         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72993         cancellation and set FD_CLOEXEC for /etc/netgroup.
72995         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72996         reading /etc/publickey.
72998         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72999         allow cancellation when reading /etc/group.
73001         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73002         cancellation.
73003         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73005         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73006         when using data file.
73008         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73010         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73011         (write_nis_obj): Use "c" and "e" in fopen.
73013         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73015         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73017         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73019         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73021         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73022         locale.alias.
73024         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73026         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73028         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73030         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73031         file parsing and set FD_CLOEXEC.
73033 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73035         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73037 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73039         * malloc/arena.c (arena_get2): Don't call reused_arena when
73040         _int_new_arena failed.
73042 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73044         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73045         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73046         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73047         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73048         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73049         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73050         to compile strcasecmp and strncasecmp.
73051         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73052         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73054         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73056 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73058         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73059         locale-defines.sym to gen-as-const-headers.
73060         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73061         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73062         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73063         to compile strcasecmp and strncasecmp.
73064         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73065         strcasecmp_l and strncasecmp_l.
73066         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73067         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73068         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73069         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73070         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73071         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73072         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73073         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73074         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73075         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73076         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73078 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73080         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73081         result of SYSDEP_GETTIME_CPU to retval.
73082         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73083         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73085         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73086         variable.
73088         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73089         mantissa words.
73090         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73092         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73093         from unused variable.
73095         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73096         DWARF definitions.
73097         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73098         for assembling.
73100         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73101         over namespaces.
73103         * sunrpc/rpc_prot.c (rejected): Fix case value.
73105         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73106         unsigned long long int to avoid warnings in shift.
73108         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73109         of use of trans.
73110         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73111         variable tmp.
73113         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73114         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73115         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73117         * nis/nis_table.c (nis_list): Use variable of correct type for
73118         result of __follow_path call.
73120 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73122         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73123         of math functions ceil, trunc, floor, round, and sqrt, when
73124         avaliable on the platform.
73125         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73126         name clash.
73127         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73128         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73129         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73131 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73133         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73134         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73136 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73138         * include/unistd.h: Fix __readlink return type.
73139         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73141 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73143         * stdlib/ucontext.h: Undo last change for makecontext.
73145 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73147         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73149         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73150         * setjmp/setjmp.h: Mark functions as non-leaf.
73151         * setjmp/bits/setjmp2.h: Likewise.
73152         * stdlib/ucontext.h: Likewise.
73154 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73156         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73157         (reused_arena): Don't check arena limit.
73158         (arena_get2): Atomically check arena limit.
73160 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73162         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73163         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73166         instructions.
73168 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73170         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73171         handler when locking.
73173         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73174         Fix size of allocated buffer.
73176 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73178         [BZ #10103]
73179         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73180         declarations for long double functions.
73181         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73183         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73185 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73187         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73188         installed.
73190         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73191         is disabled.
73193 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73195         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73197 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73199         * include/alloca.h (stackinfo_alloca_round): Define.
73200         (extend_alloca): Use it.
73201         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73202         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73203         here.
73205         * scripts/check-local-headers.sh: Ignore libaudit.h.
73207         * nscd/Makefile (extra-objs): Make recursively expanded.
73209 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73211         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73212         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73214         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73215         * posix/tst-rfc3484-2.c: Likewise.
73216         * posix/tst-rfc3484-3.c: Likewise.
73218         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73219         process_vm_writev.
73220         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73221         process_vm_writev.
73222         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73223         process_vm_writev from libc using GLIBC_2.15 version.
73225         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73227 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73229         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73230         stack usage.
73232 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73234         [BZ #13367]
73235         * nss/getent.c (initgroups_keys): Show error message in case no group
73236         names are given.
73238         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73239         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73240         __bump_nl_timestamp.
73241         * nscd/connections (nscd_init): When host database is served open
73242         netlink socket and request notification about configuration changes.
73243         (main_loop_poll): Track netlink file descriptor and bump timestamp
73244         in case data becomes available.
73245         (main_loop_epoll): Likewise.
73246         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73247         (database_pers_head): Add extra_data fileds.
73248         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73249         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73250         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73251         Adjust caller.
73252         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73253         in6ai data, call __free_in6ai.
73254         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73255         Add -DHAVE_NETLINK.
73256         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73257         interface information.  Reuse previous data if netlink timestamp
73258         is not changed.
73259         (__bump_nl_timestamp): New function.
73260         (__free_in6ai): New function.
73262 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73264         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73265         close_not_cancel_no_status here.
73266         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73268 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73270         [BZ #13276]
73271         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73272         return value.
73274         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73275         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73276         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73278 2011-07-03  Andreas Jaeger  <aj@suse.de>
73280         [BZ #10709]
73281         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73282         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73283         * math/libm-test.inc (sin_test): Add test case.
73285 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73287         [BZ #13337]
73288         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73289         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73291         * elf/chroot_canon.c (chroot_canon): Cleanups.
73293         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73295         [BZ #13335]
73296         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73297         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73299         * string/test-strchr.c: Make usable for strchrnul testing.
73300         * string/test-strchrnul.c: New file.
73301         * string/Makefile (strop-tests): Add strchrnul.
73303         * po/it.po: Update from translation team.
73304         * po/es.po: Likewise.
73306 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73308         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73309         the three constants needed as parameters.  Drop the others.
73310         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73311         __m128i_strloadu_tolower.
73312         Create and initialize variable zero and use it in all the places
73313         where _mm_setzero_si128 was used.
73315         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73316         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73317         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73318         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73319         anymore.
73320         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73321         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73322         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73323         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73324         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73325         __mpranred, __mptan.
73326         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73327         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73328         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73329         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73330         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73331         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73332         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73333         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73334         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73336 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73338         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73339         redefine if SHARED.
73340         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73342         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73343         wide char related routines to wcsmbs subdir.
73345 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73347         [BZ #13344]
73348         * misc/sys/cdefs.h (__THROWNL): Define.
73349         * posix/unistd.h: Use __THREADNL instead of __THREAD
73350         for memory synchronization functions.
73352 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73354         [BZ #13349]
73355         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73356         doesn't exist.
73357         * manual/stdio.texi (Obstack Streams): Node removed.
73359 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73361         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73362         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73363         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73365         * math/math_private.h (math_force_eval): Allow non-addressable
73366         arguments.
73367         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73369 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73371         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73372         file is not needed.
73374         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73375         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73376         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73377         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73378         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73379         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73380         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73381         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73382         Add AVX variants.
73383         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73384         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73385         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73386         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73387         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73388         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73389         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73390         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73391         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73392         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73393         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73394         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73395         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73396         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73397         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73398         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73399         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73400         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73401         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73403         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73404         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73406         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73407         place.  Use VEX encoding when compiling for AVX.
73409 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73411         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73412         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73414         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73416 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73418         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73419         useless if() expression.
73420         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73421         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73422         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73423         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73424         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73425         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73426         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73427         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73428         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73429         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73430         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73431         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73432         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73433         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73434         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73435         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73436         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73437         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73438         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73440         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73442 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73444         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73445         condition.
73446         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73448 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73450         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73451         .text section.  Avoid duplicate constants.
73452         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73453         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73454         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73455         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73456         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73457         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73458         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73459         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73460         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73461         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73462         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73463         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73464         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73465         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73466         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73467         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73468         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73469         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73470         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73471         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73472         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73473         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73474         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73475         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73476         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73477         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73478         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73479         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73480         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73481         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73482         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73483         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73484         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73485         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73486         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73487         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73488         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73489         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73490         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73491         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73492         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73493         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73494         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73495         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73496         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73498 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73500         * sysdeps/x86_64/dla.h: Move to ...
73501         * sysdeps/x86_64/fpu/dla.h: ...here.
73502         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73503         situations.  Use __builtin_fma only for gcc 4.6 and up.
73505         * config.make.in: Add have-mfma4 entry.
73506         * configure.in: Substitute libc_cv_cc_fma4.
73507         * math/Makefile (dbl-only-routines): Add sincostab.
73508         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73509         Use __sincostab not sincos.
73510         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73511         name is a macro.
73512         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73513         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73514         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73516         using __copysign.
73517         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73518         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73519         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73520         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73521         and __inv.
73522         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73523         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73524         __copysign.
73525         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73526         define aliases when function name is a macro.
73527         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73528         sysdeps/ieee754/dbl-64/sincos.tbl.
73529         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73530         fma4-enabled routines.
73531         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73532         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73533         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73534         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73535         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73536         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73537         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73538         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73539         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73540         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73541         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73542         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73543         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73544         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73545         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73546         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73547         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73548         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73549         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73550         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73551         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73552         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73553         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73554         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73555         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73556         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73557         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73558         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73559         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73560         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73562         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73563         rename.
73564         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73565         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73567         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73568         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73569         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73570         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73571         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73573 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73575         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73577 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73579         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73581         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73582         prediction.
73583         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73585         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73586         Remove unused variable magic_bits.
73587         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73589         * string/strnlen.c: Define and use STRNLEN macro.
73590         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73591         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73592         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73593         * wcsmbs/wcslen.c: Define and use WCSLEN.
73594         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73595         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73596         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73597         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73598         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73599         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73600         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73602 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73605         strnlen-sse2-no-bsf.
73606         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73607         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73608         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73609         Add strnlen support.
73610         (USE_AS_STRNLEN): New macro.
73611         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73612         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73613         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73614         * sysdeps/x86_64/wcslen.S: New file.
73616 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73618         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73619         XMM-moves are used for copying on small sizes.
73621 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73623         * wcsmbs/Makefile (strop-tests): Add wcschr.
73624         * wcsmbs/test-wcschr.c: New file.
73625         * string/test-strchr.c: Update.
73626         Add wcschr support.
73627         (WIDE): New macro.
73629 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73631         * wcsmbs/Makefile (strop-tests): Add wcslen.
73632         * wcsmbs/test-wcslen.c: New file.
73633         * string/test-strlen.c: Update.
73634         Add wcslen support.
73635         (WIDE): New macro.
73637 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73639         * po/it.po: Update from translation team.
73641 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73643         * sysdeps/x86_64/wcscmp.S: Update.
73644         Fix wrong comparison semantics.
73645         wcscmp shall use signed comparison not unsigned.
73646         Don't use substraction to avoid overflow bug.
73647         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73648         * wcsmbc/wcscmp.c: Likewise.
73649         * string/test-strcmp.c: Likewise.
73650         Add new tests to check cases with negative values.
73652 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73654         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73655         * sysdeps/x86_64/dla.h: ...here.  New file.
73656         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73657         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73659         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73660         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73661         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73662         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73663         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73664         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73666 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73668         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73669         __ynl_finite aliases.
73671 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73675         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73676         define DLA_FMA.
73677         [DLA_FMA] (EMULV): Use DLA_FMA.
73678         [DLA_FMA] (MUL12): Use EMULV.
73679         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73680         that are not needed.
73681         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73682         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73683         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73684         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73685         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73686         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73687         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73689 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73691         * math/s_nan.c: Undef __nan.
73692         * math/s_nanf.c: Undef __nanf.
73693         * math/s_nanl.c: Undef __nanl.
73694         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73695         "math_private.h".
73697 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73699         * math/s_catan.c: Add branch predictions.
73700         * math/s_catanf.c: Likewise.
73701         * math/s_catanh.c: Likewise.
73702         * math/s_catanhf.c: Likewise.
73703         * math/s_catanhl.c: Likewise.
73704         * math/s_catanl.c: Likewise.
73705         * math/s_cexp.c: Likewise.
73706         * math/s_cexpf.c: Likewise.
73707         * math/s_cexpl.c: Likewise.
73708         * math/s_clog.c: Likewise.
73709         * math/s_clog10.c: Likewise.
73710         * math/s_clog10f.c: Likewise.
73711         * math/s_clog10l.c: Likewise.
73712         * math/s_clogf.c: Likewise.
73713         * math/s_clogl.c: Likewise.
73714         * math/s_csqrt.c: Likewise.
73715         * math/s_csqrtf.c: Likewise.
73716         * math/s_csqrtl.c: Likewise.
73717         * math/s_ctanf.c: Likewise.
73718         * math/s_ctanh.c: Likewise.
73719         * math/s_ctanhf.c: Likewise.
73720         * math/s_ctanhl.c: Likewise.
73721         * math/s_ctanl.c: Likewise.
73723         * math/math_private.h: Define __nan, __nanf, __nanl.
73724         * math/s_cacosh.c: Include <math_private.h>.
73725         * math/s_cacoshl.c: Likewise.
73726         * math/s_casinh.c: Likewise.
73727         * math/s_casinhf.c: Likewise.
73728         * math/s_casinhl.c: Likewise.
73729         * math/s_ccos.c: Rely entire on ccosh.
73730         * math/s_ccosf.c: Rely entire on ccoshf.
73731         * math/s_ccosl.c: Rely entirely on ccoshl.
73732         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73733         Remove tests for FE_INVALID.
73734         * math/s_ccoshf.c: Likewise.
73735         * math/s_ccoshl.c: Likewise.
73736         * math/s_csin.c: Likewise.
73737         * math/s_csinf.c: Likewise.
73738         * math/s_csinh.c Likewise.
73739         * math/s_csinhf.c: Likewise.
73740         * math/s_csinhl.c: Likewise.
73741         * math/s_csinl.c: Likewise.
73742         * math/s_ctan.c: Likewise.
73743         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73744         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73745         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73747 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73750         compilation problems.
73752         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73753         __builtin_expect.
73755 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73757         * sysdeps/i386/configure.in: Test for -mfma4 option.
73758         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73759         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73760         COMMON_CPUID_INDEX_80000001.
73761         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73762         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73763         use it if FMA3 is not supported.
73764         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73766         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73767         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73769 2011-10-20  Andreas Schwab  <schwab@redhat.com>
73771         [BZ #12892]
73772         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73773         it would create a cycle with a link time dependency.
73775 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
73777         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73778         instruction.
73779         * string/Makefile (strop-tests): Add rawmemchr.
73780         * string/test-rawmemchr.c: New file.
73782         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73783         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
73784         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
73785         when compiling str{,n}casecmp and when AVX is available.  Hook up
73786         new optimized code in initializers.
73788 2011-10-19  Andreas Schwab  <schwab@redhat.com>
73790         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73791         __feraiseexcept instead of feraiseexcept.
73793 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
73795         * math/math_private.h: Define defaults for libc_fetestexcept and
73796         libc_feupdateenv.
73797         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73798         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73799         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73800         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73801         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73802         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73803         libc_fetestexcept and libc_feupdateenv.
73805         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73806         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73807         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73808         * sysdeps/x86_64/fpu/math_private.h: Define special version of
73809         libc_feholdexcept_setround.
73811         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73812         Add s_nearbyint-c and s_nearbyintf-c.
73813         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73814         nearbyintf inlines.
73815         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73816         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73817         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73818         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73820         * math/math_private.h: Define defaults for libc_fegetround,
73821         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73822         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73823         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73824         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73825         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73826         standard functions.
73827         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73828         Remove comments and hacks for old compiler versions.
73829         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73830         libc_fegetround, libc_fesetround, libc_feholdexcept, and
73831         libc_feholdexceptl.
73833 2011-10-18  Andreas Schwab  <schwab@redhat.com>
73835         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73836         (__feraiseexcept_renamed): Add __NTH.
73837         (feraiseexcept): Add __NTH.  Rename local variables to fix
73838         namespace violations.
73840 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
73842         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73844         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73846         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73847         recently added interfaces.
73848         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73850         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73851         about macro parameter expansion.
73853         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73854         __NO_MATH_INLINES is defined.  Cleanups.
73856         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73857         and __floorf is target has SSE4.1.
73858         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73859         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73860         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73861         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73863         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73864         name.
73865         (floorf): Likewise.
73867         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73869 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73871         * misc/sys/cdefs.h: Fix last change.
73873         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73874         database lookup.
73876 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73878         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73880         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73881         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73882         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73883         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73884         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73885         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73886         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73887         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73888         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73889         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73890         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73891         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73892         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73893         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73894         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73895         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73896         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73897         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73898         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73899         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73900         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73901         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73903         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73904         ceil, ceilf, floor, floorf.
73906         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73907         Perform IRELATIVE relocations last.
73909         * elf/do-rel.h: Add another parameter nrelative, replacing the
73910         local variable with the same name.  Change name of the function
73911         to end in Rel or Rela (uppercase).
73912         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73913         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73914         elf_dynamic_do_##reloc function.
73916 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73918         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73919         is sufficient, at least on modern CPUs.
73921         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73923         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73924         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73926         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73927         __expl_finite.
73928         * math/bits/math-finite.h: Add entries for exp.
73929         * math/e_expl.c: Add __*_finite alias.
73930         * sysdeps/i386/fpu/e_exp.S: Likewise.
73931         * sysdeps/i386/fpu/e_expf.S: Likewise.
73932         * sysdeps/i386/fpu/e_expl.c: Likewise.
73933         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73934         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73935         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73936         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73937         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73938         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73939         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73941         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73942         is sufficient, at least on modern CPUs.
73944         * ctype/ctype-info.c (__ctype_init): Define.
73945         * include/ctype.h (__ctype_init): Declare.
73946         (__ctype_b_loc): The variable is always initialized.
73947         (__ctype_toupper_loc): Likewise.
73948         (__ctype_tolower_loc): Likewise.
73949         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73950         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73952 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73954         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73956         * configure.in: Also look in $cxxmachine/include for C++ system
73957         headers.
73959 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73961         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73962         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73963         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73964         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73965         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73966         (USE_AS_WMEMCMP): New macro.
73967         Fixing indents.
73968         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73969         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73970         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73971         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73972         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73973         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73974         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73975         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73976         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73977         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73978         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73979         (USE_AS_WMEMCMP): New macro.
73980         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73981         * sysdeps/string/test-memcmp.c: Update.
73982         Fix simple_wmemcmp.
73983         Add new tests.
73984         * wcsmbs/wmemcmp.c: Update.
73985         (WMEMCMP): New macro.
73986         Fix overflow bug.
73988 2011-10-12  Andreas Jaeger  <aj@suse.de>
73990         [BZ #13268]
73991         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73993 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73995         * libio/iofwide.c (do_length): Avoid warning.
73997         * ctype/ctype.h (__isctype_f): Add missing __THROW.
73999 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74001         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74003         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74004         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74005         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74006         * sysdeps/i386/i686/fpu/e_log.S: New file.
74007         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74008         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74010         * ctype/ctype.h: Add support for inlined isXXX functions when
74011         compiling C++ code.
74013 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74015         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74017         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74019 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74021         [BZ #13291]
74022         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74024 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74026         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74027         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74028         feraiseexcept.
74030         * sysdeps/x86_64/memrchr.S: Check for zero size.
74032         * string/stratcliff.c: Add memrchr tests.
74034 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74036         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74037         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74038         rawmemchr-sse2 rawmemchr-sse2-bsf.
74039         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74040         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74041         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74042         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74043         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74044         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74045         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74046         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74047         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74048         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74049         * string/memrchr.c (MEMRCHR): New macro.
74051 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74053         Add integration with gcc's -ffinite-math-only and optimize wrapper
74054         functions in libm.
74055         * Versions.def: Define GLIBC_2.15 version for libm.
74056         * math/Makefile (headers): Add bits/math-finite.h.
74057         * math/bits/math-finite.h: New file.
74058         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74059         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74060         * math/e_acoshl.c: Add __*_finite alias.
74061         * math/e_acosl.c: Likewise.
74062         * math/e_asinl.c: Likewise.
74063         * math/e_atan2l.c: Likewise.
74064         * math/e_atanhl.c: Likewise.
74065         * math/e_coshl.c: Likewise.
74066         * math/e_exp10.c: Likewise.
74067         * math/e_exp10f.c: Likewise.
74068         * math/e_exp10l.c: Likewise.
74069         * math/e_exp2l.c: Likewise.
74070         * math/e_fmodl.c: Likewise.
74071         * math/e_gammal_r.c: Likewise.
74072         * math/e_hypotl.c: Likewise.
74073         * math/e_j0l.c: Likewise.
74074         * math/e_j1l.c: Likewise.
74075         * math/e_jnl.c: Likewise.
74076         * math/e_lgammal_r.c: Likewise.
74077         * math/e_log10l.c: Likewise.
74078         * math/e_log2l.c: Likewise.
74079         * math/e_logl.c: Likewise.
74080         * math/e_powl.c: Likewise.
74081         * math/e_sinhl.c: Likewise.
74082         * math/e_sqrtl.c: Likewise.
74083         * math/e_scalb.c: Completely rewritten and optimized.
74084         * math/e_scalbf.c: Likewise.
74085         * math/e_scalbl.c: Likewise.
74086         * math/w_acos.c: Likewise.
74087         * math/w_acosf.c: Likewise.
74088         * math/w_acosl.c: Likewise.
74089         * math/w_acosh.c: Likewise.
74090         * math/w_acoshf.c: Likewise.
74091         * math/w_acoshl.c: Likewise.
74092         * math/w_asin.c: Likewise.
74093         * math/w_asinf.c: Likewise.
74094         * math/w_asinl.c: Likewise.
74095         * math/w_atan2.c: Likewise.
74096         * math/w_atan2f.c: Likewise.
74097         * math/w_atan2l.c: Likewise.
74098         * math/w_atanh.c: Likewise.
74099         * math/w_atanhf.c: Likewise.
74100         * math/w_atanhl.c: Likewise.
74101         * math/w_exp10.c: Likewise.
74102         * math/w_exp10f.c: Likewise.
74103         * math/w_exp10l.c: Likewise.
74104         * math/w_fmod.c: Likewise.
74105         * math/w_fmodf.c: Likewise.
74106         * math/w_fmodl.c: Likewise.
74107         * math/w_j0.c: Likewise.
74108         * math/w_j0f.c: Likewise.
74109         * math/w_j0l.c: Likewise.
74110         * math/w_j1.c: Likewise.
74111         * math/w_j1f.c: Likewise.
74112         * math/w_j1l.c: Likewise.
74113         * math/w_jn.c: Likewise.
74114         * math/w_jnf.c: Likewise.
74115         * math/w_log.c: Likewise.
74116         * math/w_logf.c: Likewise.
74117         * math/w_logl.c: Likewise.
74118         * math/w_log10.c: Likewise.
74119         * math/w_log10f.c: Likewise.
74120         * math/w_log10l.c: Likewise.
74121         * math/w_log2.c: Likewise.
74122         * math/w_log2f.c: Likewise.
74123         * math/w_log2l.c: Likewise.
74124         * math/w_pow.c: Likewise.
74125         * math/w_powf.c: Likewise.
74126         * math/w_powl.c: Likewise.
74127         * math/w_remainder.c: Likewise.
74128         * math/w_remainderf.c: Likewise.
74129         * math/w_remainderl.c: Likewise.
74130         * math/w_scalb.c: Likewise.
74131         * math/w_scalbf.c: Likewise.
74132         * math/w_scalbl.c: Likewise.
74133         * math/w_sqrt.c: Likewise.
74134         * math/w_sqrtf.c: Likewise.
74135         * math/w_sqrtl.c: Likewise.
74136         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74137         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74138         used.
74139         * math/math_private.h: Declare __kernel_standard_f.
74140         * math/w_cosh.c: Remove cruft and optimize a bit.
74141         * math/w_coshf.c: Likewise.
74142         * math/w_coshl.c: Likewise.
74143         * math/w_exp2.c: Likewise.
74144         * math/w_exp2f.c: Likewise.
74145         * math/w_exp2l.c: Likewise.
74146         * math/w_hypot.c: Likewise.
74147         * math/w_hypotf.c: Likewise.
74148         * math/w_hypotl.c: Likewise.
74149         * math/w_lgamma.c: Likewise.
74150         * math/w_lgamma_r.c: Likewise.
74151         * math/w_lgammaf.c: Likewise.
74152         * math/w_lgammaf_r.c: Likewise.
74153         * math/w_lgammal.c: Likewise.
74154         * math/w_lgammal_r.c: Likewise.
74155         * math/w_sinh.c: Likewise.
74156         * math/w_sinhf.c: Likewise.
74157         * math/w_sinhl.c: Likewise.
74158         * math/w_tgamma.c: Likewise.
74159         * math/w_tgammaf.c: Likewise.
74160         * math/w_tgammal.c: Likewise.
74161         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74162         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74163         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74164         Minor optimizations.  Pretty printing.  Remove cruft.
74165         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74166         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74167         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74168         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74169         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74170         * sysdeps/i386/fpu/e_asin.S: Likewise.
74171         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74172         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74173         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74174         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74175         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74176         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74177         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74178         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74179         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74180         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74181         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74182         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74183         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74184         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74185         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74186         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74187         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74188         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74189         * sysdeps/i386/fpu/e_log.S: Likewise.
74190         * sysdeps/i386/fpu/e_log10.S: Likewise.
74191         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74192         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74193         * sysdeps/i386/fpu/e_log2.S: Likewise.
74194         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74195         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74196         * sysdeps/i386/fpu/e_logf.S: Likewise.
74197         * sysdeps/i386/fpu/e_logl.S: Likewise.
74198         * sysdeps/i386/fpu/e_pow.S: Likewise.
74199         * sysdeps/i386/fpu/e_powf.S: Likewise.
74200         * sysdeps/i386/fpu/e_powl.S: Likewise.
74201         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74202         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74203         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74204         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74205         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74206         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74207         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74208         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74209         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74210         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74211         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74213         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74214         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74215         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74216         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74217         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74218         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74219         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74220         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74221         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74222         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74223         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74224         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74225         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74226         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74227         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74228         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74229         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74230         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74231         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74232         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74233         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74234         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74235         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74236         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74237         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74238         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74239         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74240         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74241         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74242         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74243         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74244         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74245         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74246         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74247         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74248         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74249         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74250         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74251         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74252         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74253         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74254         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74255         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74256         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74257         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74258         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74259         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74260         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74261         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74262         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74263         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74264         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74265         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74266         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74267         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74268         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74269         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74270         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74271         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74272         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74273         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74274         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74275         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74276         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74277         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74278         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74279         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74280         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74281         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74282         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74283         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74284         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74285         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74286         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74287         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74288         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74289         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74290         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74291         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74292         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74293         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74294         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74295         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74296         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74297         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74298         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74299         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74300         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74301         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74302         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74303         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74304         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74305         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74306         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74307         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74308         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74309         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74310         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74311         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74312         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74313         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74314         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74315         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74316         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74317         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74318         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74319         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74320         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74321         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74322         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74323         (__isnanf): Likewise.
74324         (__isinf_ns): Likewise.
74325         (__isinf_nsf): Likewise.
74326         (__finite): Likewise.
74327         (__finitef): Likewise.
74328         (__ieee754_sqrt): Define as macro.
74329         (__ieee754_sqrtf): Define as macro.
74330         (__ieee754_sqrtl): Define as macro.
74331         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74332         inlined copy.
74333         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74334         __FINITE_MATH_ONLY__ consistent.
74335         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74337 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74339         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74340         of rawmemchr.
74342         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74344 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74346         * po/ja.po: Update from translation team.
74348 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74350         * locale/programs/locarchive.c (prepare_address_space): New function.
74351         (create_archive, enlarge_archive, open_archive): Use it.
74353         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74354         inside [SHARED], where it is used.
74356         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74358         * nss/getent.c (netgroup_keys): Remove unused variable.
74359         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74361 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74363         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74364         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74365         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74366         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74367         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74368         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74369         * math/Makefile (libm-calls): Add s_isinf_ns.
74370         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74371         * math/multc3.c: Likewise.
74372         * math/s_casin.c: Likewise.
74373         * math/s_casinf.c: Likewise.
74374         * math/s_casinl.c: Likewise.
74375         * math/s_ccos.c: Likewise.
74376         * math/s_ccosf.c: Likewise.
74377         * math/s_ccosl.c: Likewise.
74378         * math/s_ctan.c: Likewise.
74379         * math/s_ctanf.c: Likewise.
74380         * math/s_ctanh.c: Likewise.
74381         * math/s_ctanhf.c: Likewise.
74382         * math/s_ctanhl.c: Likewise.
74383         * math/s_ctanl.c: Likewise.
74384         * math/w_fmod.c: Likewise.
74385         * math/w_fmodf.c: Likewise.
74386         * math/w_fmodl.c: Likewise.
74387         * math/w_remainder.c: Likewise.
74388         * math/w_remainderf.c: Likewise.
74389         * math/w_remainderl.c: Likewise.
74390         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74391         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74392         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74393         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74394         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74395         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74396         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74397         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74399         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74400         of the number.
74401         * stdio-common/printf_fphex.c: Likewise.
74402         * stdio-common/printf_size.c: Likewise.
74404         * math/e_exp10.c: Include math_private.h using <...> not "...".
74405         * math/e_exp10f.c: Likewise.
74406         * math/e_exp10l.c: Likewise.
74407         * math/e_exp2l.c: Likewise.
74408         * math/e_j0l.c: Likewise.
74409         * math/e_j1l.c: Likewise.
74410         * math/e_jnl.c: Likewise.
74411         * math/e_lgammal_r.c: Likewise.
74412         * math/e_rem_pio2l.c: Likewise.
74413         * math/e_scalb.c: Likewise.
74414         * math/e_scalbf.c: Likewise.
74415         * math/e_scalbl.c: Likewise.
74416         * math/k_cosl.c: Likewise.
74417         * math/k_sinl.c: Likewise.
74418         * math/k_tanl.c: Likewise.
74419         * math/s_cacoshf.c: Likewise.
74420         * math/s_catan.c: Likewise.
74421         * math/s_catanf.c: Likewise.
74422         * math/s_catanh.c: Likewise.
74423         * math/s_catanhf.c: Likewise.
74424         * math/s_catanhl.c: Likewise.
74425         * math/s_catanl.c: Likewise.
74426         * math/s_ccosh.c: Likewise.
74427         * math/s_ccoshf.c: Likewise.
74428         * math/s_ccoshl.c: Likewise.
74429         * math/s_cexp.c: Likewise.
74430         * math/s_cexpf.c: Likewise.
74431         * math/s_cexpl.c: Likewise.
74432         * math/s_clog.c: Likewise.
74433         * math/s_clog10.c: Likewise.
74434         * math/s_clog10f.c: Likewise.
74435         * math/s_clog10l.c: Likewise.
74436         * math/s_clogf.c: Likewise.
74437         * math/s_clogl.c: Likewise.
74438         * math/s_csin.c: Likewise.
74439         * math/s_csinf.c: Likewise.
74440         * math/s_csinh.c: Likewise.
74441         * math/s_csinhf.c: Likewise.
74442         * math/s_csinhl.c: Likewise.
74443         * math/s_csinl.c: Likewise.
74444         * math/s_csqrt.c: Likewise.
74445         * math/s_csqrtf.c: Likewise.
74446         * math/s_csqrtl.c: Likewise.
74447         * math/s_ctan.c: Likewise.
74448         * math/s_ctanf.c: Likewise.
74449         * math/s_ctanh.c: Likewise.
74450         * math/s_ctanhf.c: Likewise.
74451         * math/s_ctanhl.c: Likewise.
74452         * math/s_ctanl.c: Likewise.
74453         * math/s_ldexp.c: Likewise.
74454         * math/s_ldexpf.c: Likewise.
74455         * math/s_ldexpl.c: Likewise.
74456         * math/s_significand.c: Likewise.
74457         * math/s_significandf.c: Likewise.
74458         * math/s_significandl.c: Likewise.
74459         * math/w_acos.c: Likewise.
74460         * math/w_acosf.c: Likewise.
74461         * math/w_acosh.c: Likewise.
74462         * math/w_acoshf.c: Likewise.
74463         * math/w_acoshl.c: Likewise.
74464         * math/w_acosl.c: Likewise.
74465         * math/w_asin.c: Likewise.
74466         * math/w_asinf.c: Likewise.
74467         * math/w_asinl.c: Likewise.
74468         * math/w_atan2.c: Likewise.
74469         * math/w_atan2f.c: Likewise.
74470         * math/w_atan2l.c: Likewise.
74471         * math/w_atanh.c: Likewise.
74472         * math/w_atanhf.c: Likewise.
74473         * math/w_atanhl.c: Likewise.
74474         * math/w_cosh.c: Likewise.
74475         * math/w_coshf.c: Likewise.
74476         * math/w_coshl.c: Likewise.
74477         * math/w_dremf.c: Likewise.
74478         * math/w_exp10.c: Likewise.
74479         * math/w_exp10f.c: Likewise.
74480         * math/w_exp10l.c: Likewise.
74481         * math/w_exp2.c: Likewise.
74482         * math/w_exp2f.c: Likewise.
74483         * math/w_fmod.c: Likewise.
74484         * math/w_fmodf.c: Likewise.
74485         * math/w_fmodl.c: Likewise.
74486         * math/w_hypot.c: Likewise.
74487         * math/w_hypotf.c: Likewise.
74488         * math/w_hypotl.c: Likewise.
74489         * math/w_j0.c: Likewise.
74490         * math/w_j0f.c: Likewise.
74491         * math/w_j0l.c: Likewise.
74492         * math/w_j1.c: Likewise.
74493         * math/w_j1f.c: Likewise.
74494         * math/w_j1l.c: Likewise.
74495         * math/w_jn.c: Likewise.
74496         * math/w_jnf.c: Likewise.
74497         * math/w_jnl.c: Likewise.
74498         * math/w_lgamma.c: Likewise.
74499         * math/w_lgamma_r.c: Likewise.
74500         * math/w_lgammaf.c: Likewise.
74501         * math/w_lgammaf_r.c: Likewise.
74502         * math/w_lgammal.c: Likewise.
74503         * math/w_lgammal_r.c: Likewise.
74504         * math/w_log.c: Likewise.
74505         * math/w_log10.c: Likewise.
74506         * math/w_log10f.c: Likewise.
74507         * math/w_log10l.c: Likewise.
74508         * math/w_log2.c: Likewise.
74509         * math/w_log2f.c: Likewise.
74510         * math/w_log2l.c: Likewise.
74511         * math/w_logf.c: Likewise.
74512         * math/w_logl.c: Likewise.
74513         * math/w_pow.c: Likewise.
74514         * math/w_powf.c: Likewise.
74515         * math/w_powl.c: Likewise.
74516         * math/w_remainder.c: Likewise.
74517         * math/w_remainderf.c: Likewise.
74518         * math/w_remainderl.c: Likewise.
74519         * math/w_scalb.c: Likewise.
74520         * math/w_scalbf.c: Likewise.
74521         * math/w_scalbl.c: Likewise.
74522         * math/w_sinh.c: Likewise.
74523         * math/w_sinhf.c: Likewise.
74524         * math/w_sinhl.c: Likewise.
74525         * math/w_sqrt.c: Likewise.
74526         * math/w_sqrtf.c: Likewise.
74527         * math/w_sqrtl.c: Likewise.
74528         * math/w_tgamma.c: Likewise.
74529         * math/w_tgammaf.c: Likewise.
74530         * math/w_tgammal.c: Likewise.
74532         * po/ja.po: Update from translation team.
74534 2011-09-29  Andreas Jaeger  <aj@suse.de>
74536         [BZ #13179]
74537         * sunrpc/netname.c (netname2host): Fix logic.
74539         [BZ #6779]
74540         [BZ #6783]
74541         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74542         correctly.
74543         * math/w_remainder.c (__remainder): Likewise.
74544         * math/w_remainderf.c (__remainderf): Likewise.
74545         * math/libm-test.inc (remainder_test): Add test cases.
74547 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74549         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74550         sdiv_qrnnd.
74552 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74554         * string/test-memcmp.c: Avoid unncessary #defines.
74555         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74557 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74559         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74560         Use new sse2 version for core i3 - i7 as it's faster
74561         than sse42 version.
74562         (bit_Prefer_PMINUB_for_stringop): New.
74563         * sysdeps/x86_64/rawmemchr.S: Update.
74564         Replace with faster SSE2 version.
74565         * sysdeps/x86_64/memrchr.S: New file.
74566         * sysdeps/x86_64/memchr.S: Update.
74567         Replace with faster SSE2 version.
74569 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74571         * elf/dl-load.c (lose): Add cast to avoid warning.
74573 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74575         * po/ca.po: Update from translation team.
74577         * inet/getnetgrent_r.c: Hook up nscd.
74578         * nscd/Makefile (routines): Add nscd_netgroup.
74579         (nscd-modules): Add netgroupcache.
74580         (CFLAGS-netgroupcache.c): Define.
74581         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74582         (cache_search): Add const to second parameter.
74583         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74584         INNETGR.
74585         (dbs): Add netgrdb entry.
74586         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74587         (verify_persistent_db): Handle netgrdb.
74588         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74589         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74590         GETFDNETGR.
74591         (netgroup_response_header): Define.
74592         (innetgroup_response_header): Define.
74593         (datahead): Add netgroup_response_header and innetgroup_response_header
74594         elements.
74595         * nscd/nscd.conf: Add entries for netgroup cache.
74596         * nscd/nscd.h (dbtype): Add netgrdb.
74597         (_PATH_NSCD_NETGROUP_DB): Define.
74598         (netgroup_iov_disabled): Declare.
74599         (xmalloc, xcalloc, xrealloc): Move declarations here.
74600         (cache_search): Adjust prototype.
74601         Add netgroup-related prototypes.
74602         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74603         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74604         (__nscd_innetgr): Declare.
74605         * nscd/selinux.c (perms): Use access_vector_t as element type and
74606         add netgroup-related initializers.
74607         * nscd/netgroupcache.c: New file.
74608         * nscd/nscd_netgroup.c: New file.
74609         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74610         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74611         For four parameters use innetgr.
74612         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74613         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74614         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74615         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74617         * nscd/connections.c (register_traced_file): Don't register file
74618         for disabled databases.
74620 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74622         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74624         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74625         from tree and freeing node.
74627 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74629         * nss/nsswitch.c (__nss_database_lookup): Handle
74630         nss_parse_service_list out of memory case.
74632 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74634         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74635         out of memory case.
74637 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74639         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74640         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74641         pass it down.
74642         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74643         elf_machine_rela, elf_machine_lazy_rel.
74644         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74645         (ELF_DYNAMIC_DO_REL): Likewise.
74646         (ELF_DYNAMIC_DO_RELA): Likewise.
74647         (ELF_DYNAMIC_RELOCATE): Likewise.
74648         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74649         to ELF_DYNAMIC_DO_REL.
74650         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74651         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74652         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74653         elf_machine_rela.
74654         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74655         skip_ifunc, don't call ifunc function if non-zero.
74656         (elf_machine_rela): Likewise.
74657         (elf_machine_lazy_rel): Likewise.
74658         (elf_machine_lazy_rela): Likewise.
74659         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74660         (elf_machine_lazy_rel): Likewise.
74661         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74662         Likewise.
74663         (elf_machine_lazy_rel): Likewise.
74664         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74665         Likewise.
74666         (elf_machine_lazy_rel): Likewise.
74667         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74668         (elf_machine_lazy_rel): Likewise.
74669         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74670         (elf_machine_lazy_rel): Likewise.
74671         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74672         (elf_machine_lazy_rel): Likewise.
74673         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74674         (elf_machine_lazy_rel): Likewise.
74675         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74676         (elf_machine_lazy_rel): Likewise.
74677         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74678         (elf_machine_lazy_rel): Likewise.
74680 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74682         * nss/nss_files/files-init.c (_nss_files_init): Use static
74683         initialization for all the *_traced_file variables.
74685 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74687         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74689 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74691         [BZ #13226]
74692         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74694 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74696         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74697         Reread the line before reparsing it.
74699 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74701         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74703 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74704             Maxim Kuvyrkov  <maxim@codesourcery.com>
74705             Joseph Myers  <joseph@codesourcery.com>
74707         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74708         if needed for __stack_chk_guard.
74710 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74712         * sysdeps/posix/spawni.c (script_execute): Always define it.
74713         It will be optimized away if unused.
74714         (maybe_script_execute): New function.
74715         (__spawni): Call it.
74717         * Makerules: Don't include tls.make.
74718         (config-tls): Always set to thread.
74719         * tls.make.c: File removed.
74721 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74723         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74724         * config.make.in (CPPFLAGS-config): New substituted variable.
74726 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74728         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74730         [BZ #13192]
74731         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74732         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74734 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74736         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74737         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74738         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74739         (CALL_FAIL): Likewise.
74740         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74741         (CALL_FAIL): Macro removed.
74742         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74744 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74746         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74747         for __FINITE_MATH_ONLY__ == 1.
74749 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74751         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74752         __ieee754_sqrt instead of sqrt.
74753         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74754         __ieee754_sqrtf instead of sqrtf.
74755         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74756         __floorf instead of floorf.
74757         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74758         __floorf, __truncf instead of floorf, truncf.
74760 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74762         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74764         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74765         __extern_always_inline.
74766         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74767         32-bit.
74769 2011-09-14  Andreas Schwab  <schwab@redhat.com>
74771         * elf/rtld.c (dl_main): Also relocate in dependency order when
74772         doing symbol dependency testing.
74774 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
74776         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74777         Always define `refsym'.
74779 2011-09-13  Andreas Schwab  <schwab@redhat.com>
74781         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74782         (__FD_ELT): Renamed from __FDELT.
74783         * misc/bits/select2.h (__FD_ELT): Likewise.
74784         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74785         __FD_MASK instead of __FDELT, __FDMASK.
74786         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74787         Likewise.
74788         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74789         Likewise.
74791         * elf/Makefile (gen-ldd): Fix pattern.
74793         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74794         (init_tls): Likewise.
74796 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
74798         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74800 2011-09-12  Andreas Schwab  <schwab@redhat.com>
74802         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74803         `struct cmsghdr *' instead of `void *'.
74804         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74805         Likewise.
74807 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
74809         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74810         if non-absolute.
74811         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74812         ldd_rewrite_script.
74814 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
74816         * configure.in: Remove --with-tls option.
74817         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74818         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74819         out in case it is missing.
74820         * sysdeps/ia64/elf/configure.in: Likewise.
74821         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74822         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74823         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74824         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74825         * sysdeps/sh/elf/configure.in: Likewise.
74826         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74827         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74828         * sysdeps/x86_64/elf/configure.in: Likewise.
74829         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74830         * sysdeps/mach/hurd/tls.h: Likewise.
74832         [BZ #13067]
74833         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74835         [BZ #13090]
74836         * configure.in: Fix use of AC_INIT.
74838         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74840 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
74842         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74843         __set_errno.
74844         * malloc/hooks.c: Likewise.
74846         [BZ #11929]
74847         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74848         variables statically.
74849         (narenas): Initialize.
74850         (list_lock): Initialize.
74851         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74852         initializtion of main_arena and list_lock.  Small cleanups.
74853         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74854         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74855         Add initializers to main_arena and mp_.
74856         (malloc_state): Remove pagesize member.  Change all users to use
74857         GLRO(dl_pagesize).
74859         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74860         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74861         is always initialized.
74863         * malloc/malloc.c: Removed unused configurations and dead code.
74864         * malloc/arena.c: Likewise.
74865         * malloc/hooks.c: Likewise.
74866         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74868         * include/tls.h: Removed.  USE___THREAD must always be defined.
74869         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74870         * elf/dl-libc.c: Likewise.
74871         * elf/dl-tsd.c: Likewise.
74872         * include/errno.h: Likewise.
74873         * include/netdb.h: Likewise.
74874         * include/resolv.h: Likewise.
74875         * inet/herrno-loc.c: Likewise.
74876         * inet/herrno.c: Likewise.
74877         * malloc/arena.c: Likewise.
74878         * malloc/hooks.c: Likewise.
74879         * malloc/malloc.c: Likewise.
74880         * resolv/res-state.c: Likewise.
74881         * resolv/res_libc.c: Likewise.
74882         * sysdeps/i386/dl-machine.h: Likewise.
74883         * sysdeps/ia64/dl-machine.h: Likewise.
74884         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74885         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74886         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74887         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74888         * sysdeps/sh/dl-machine.h: Likewise.
74889         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74890         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74891         * sysdeps/unix/i386/sysdep.S: Likewise.
74892         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74893         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74894         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74895         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74896         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74897         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74898         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74899         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74902         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74903         * sysdeps/x86_64/dl-machine.h: Likewise.
74904         * tls.make.c: Likewise.
74906         * configure.in: Remove --with-__thread option.  Make tests for
74907         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74908         tls_model attribute fail if no support is available.  Remove
74909         USE_IN_LIBIO.
74910         * Makeconfig: Adjust for dropped configure option.  All features are
74911         now mandatory.
74912         * Makerules: Likewise.
74913         * Versions.def: Likewise.
74914         * argp/argp-fmtstream.c: Likewise.
74915         * argp/argp-fmtstream.h: Likewise.
74916         * argp/argp-help.c: Likewise.
74917         * assert/assert.c: Likewise.
74918         * config.h.in: Likewise.
74919         * config.make.in: Likewise.
74920         * configure: Likewise.
74921         * configure.in: Likewise.
74922         * csu/Versions: Likewise.
74923         * csu/init.c: Likewise.
74924         * elf/tst-audit2.c: Likewise.
74925         * elf/tst-tls10.c: Likewise.
74926         * elf/tst-tls10.h: Likewise.
74927         * elf/tst-tls11.c: Likewise.
74928         * elf/tst-tls12.c: Likewise.
74929         * elf/tst-tls14.c: Likewise.
74930         * elf/tst-tlsmod11.c: Likewise.
74931         * elf/tst-tlsmod12.c: Likewise.
74932         * elf/tst-tlsmod13.c: Likewise.
74933         * elf/tst-tlsmod13a.c: Likewise.
74934         * elf/tst-tlsmod14a.c: Likewise.
74935         * elf/tst-tlsmod15b.c: Likewise.
74936         * elf/tst-tlsmod16a.c: Likewise.
74937         * elf/tst-tlsmod16b.c: Likewise.
74938         * elf/tst-tlsmod7.c: Likewise.
74939         * elf/tst-tlsmod8.c: Likewise.
74940         * elf/tst-tlsmod9.c: Likewise.
74941         * gmon/gmon.c: Likewise.
74942         * grp/fgetgrent_r.c: Likewise.
74943         * grp/putgrent.c: Likewise.
74944         * hurd/fopenport.c: Likewise.
74945         * include/libc-symbols.h: Likewise.
74946         * include/tls.h: Likewise.
74947         * intl/gettextP.h: Likewise.
74948         * intl/loadinfo.h: Likewise.
74949         * locale/global-locale.c: Likewise.
74950         * locale/localeinfo.h: Likewise.
74951         * mach/devstream.c: Likewise.
74952         * malloc/arena.c: Likewise.
74953         * malloc/set-freeres.c: Likewise.
74954         * misc/err.c: Likewise.
74955         * misc/getttyent.c: Likewise.
74956         * misc/mntent_r.c: Likewise.
74957         * posix/getopt.c: Likewise.
74958         * posix/wordexp.c: Likewise.
74959         * pwd/fgetpwent_r.c: Likewise.
74960         * resolv/Versions: Likewise.
74961         * resolv/res_hconf.c: Likewise.
74962         * shadow/fgetspent_r.c: Likewise.
74963         * shadow/putspent.c: Likewise.
74964         * stdio-common/printf_fphex.c: Likewise.
74965         * stdio-common/tmpfile.c: Likewise.
74966         * stdlib/abort.c: Likewise.
74967         * stdlib/fmtmsg.c: Likewise.
74968         * sunrpc/auth_unix.c: Likewise.
74969         * sunrpc/clnt_perr.c: Likewise.
74970         * sunrpc/clnt_tcp.c: Likewise.
74971         * sunrpc/clnt_udp.c: Likewise.
74972         * sunrpc/clnt_unix.c: Likewise.
74973         * sunrpc/openchild.c: Likewise.
74974         * sunrpc/svc_simple.c: Likewise.
74975         * sunrpc/svc_tcp.c: Likewise.
74976         * sunrpc/svc_udp.c: Likewise.
74977         * sunrpc/svc_unix.c: Likewise.
74978         * sunrpc/xdr.c: Likewise.
74979         * sunrpc/xdr_array.c: Likewise.
74980         * sunrpc/xdr_rec.c: Likewise.
74981         * sunrpc/xdr_ref.c: Likewise.
74982         * sunrpc/xdr_stdio.c: Likewise.
74984 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74986         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74988 2011-07-03  Andreas Jaeger  <aj@suse.de>
74990         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74991         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74992         regenerate with gen-libm-tests.pl.
74994 2010-05-12  Petr Baudis  <pasky@suse.cz>
74996         [BZ #11589]
74997         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74998         around j0() zero points by switching to j1().
74999         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75000         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75001         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75002         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75004 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75006         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75007         instead of 0.
75008         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75009         instead of 0.
75010         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75011         Patch in part by Pavel Roskin <proski@gnu.org>.
75013         [BZ #13138]
75014         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75015         realloc.
75016         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75017         Free memory block if necessary.
75019         [BZ #12847]
75020         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75021         be NULL.  Don't lock in this case.
75023 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75025         * elf/elf.h (ELFOSABI_GNU): New macro.
75026         (ELFOSABI_LINUX): Define to that.
75028 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75030         * string/strncat.c (strncat): Undef the symbol in case it has been
75031         defined in bits/string.h.
75033 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75035         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75037         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75038         link map.
75040 2011-08-17  Andreas Jaeger  <aj@suse.de>
75042         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75044 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75045             Ian Lance Taylor  <iant@google.com>
75047         * math/libm-test.inc (lround_test): New testcase.
75048         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75050 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75052         * Makefile: Remove support for automatic cvs check-ins.
75053         * Makerules: Likewise.
75054         * config.make.in: Likewise.
75055         * configure.in: Likewise.
75056         * intl/Makefile: Likewise.
75057         * locale/Makefile: Likewise.
75058         * po/Makefile: Likewise.
75059         * posix/Makefile: Likewise.
75060         * sysdeps/gnu/Makefile: Likewise.
75061         * sysdeps/mach/hurd/Makefile: Likewise.
75062         * sysdeps/sparc/sparc32/Makefile: Likewise.
75064         [BZ #13118]
75065         * posix/Makefile (bug-regex32-ENV): Define.
75066         Patch by John Stanley <jpsinthemix@verizon.net>.
75068         * misc/Makefile (headers): Add bits/select2.h.
75069         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75070         * misc/bits/select2.h: New file.
75071         * include/bits/select2.h: New file.
75072         * debug/Makefile (routines): Add fdelt_chk.
75073         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75074         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75075         FD_ISSET.
75076         * debug/fdelt_chk.c: New file.
75078         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75079         * wcsmbs/test-wmemcmp.c: Likewise.
75080         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75081         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75083 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75085         * string/Makefile (strop-tests): Add memcmp.
75086         * string/test-wmemcmp.c: New file.
75087         * string/test-memcmp.c: Add wmemcmp support.
75089 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75091         [BZ #13153]
75092         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75093         2011-07-19 change.
75095         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75096         garbage value in a __mach_port_mod_refs call in the cases of the
75097         task-self and thread-self ports.
75099 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75101         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75103 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75105         * elf/dl-load.c (lose): Check for non-null L.
75107 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75109         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75111         * elf/dl-libc.c (dlerror_run): Pass back error code from
75112         dl_catch_error.
75114         [BZ #13123]
75115         * elf/dl-load.c (lose): Free l_origin if it is valid.
75117         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75118         names.
75119         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75120         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75121         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75122         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75123         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75124         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75126 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75128         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75129         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75130         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75131         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75132         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75133         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75134         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75135         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75136         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75137         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75139 2011-08-15  Alan Modra  <amodra@gmail.com>
75141         [BZ #13092]
75142         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75143         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75144         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75145         ppc_mcount to static-only-routines.
75146         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75147         __mcount_internal.
75148         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75149         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75151 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75153         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75154         for finite and infinity parameters.
75156 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75158         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75159         and add nop instructions for throughput optimization.
75160         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75162 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75164         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75165         aligned copy for power7 with vector-scalar instructions.
75166         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75168 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75170         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75171         AVX check.
75173 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75175         [BZ #13144]
75176         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75177         last change.
75179 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75181         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75182         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75183         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75184         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75185         clock_gettime.
75187 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75189         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75190         Forgot to demangle the pointer.
75192         * sysdeps/i386/sysdep.h: Define atom_text_section.
75193         * sysdeps/x86_64/sysdep.h: Likewise.
75194         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75195         section with atom_text_section.
75196         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75197         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75198         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75199         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75200         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75202         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75203         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75204         already be defined.  Change to take two parameters and don't assign
75205         result to variable.  Adjust all users.
75206         Define INTERNAL_GETTIME if not already defined.
75207         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75208         call.
75209         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75210         HAVE_CLOCK_GETTIME_VSYSCALL.
75211         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75213         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75214         gettimeofday vsyscall, just use time.
75216 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75218         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75219         <errno.h>.
75221 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75223         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75224         syscall on x86-64.
75225         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75226         syscall.
75227         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75228         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75229         syscall if possible.
75231 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75233         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75234         e_ident.  Don't pass to find_mapsXX.
75235         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75237 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75240         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75241         * sysdeps/x86_64/multiarch/strchr.S: Update.
75242         Check bit_slow_BSF bit.
75243         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75244         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75245         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75247 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75249         [BZ #13134]
75250         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75251         before glibc 2.15.
75252         (tryshell): Define.
75253         (__spawni): Change last parameter to be flag.  Test
75254         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75255         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75256         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75257         * posix/spawni.c: Likewise.
75258         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75259         * posix/spawnp.c: Likewise.  Change normal version to use
75260         SPAWN_XFLAGS_USE_PATH.
75261         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75262         SPAWN_XFLAGS_TRY_SHELL.
75264         [BZ #13150]
75265         * posix/glob.h: Remove gcc 1.x support.
75267         [BZ #13068]
75268         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75270 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75272         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75273         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75274         strrchr-sse2-bsf
75275         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75276         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75277         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75278         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75279         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75280         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75282 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75284         * sysdeps/x86_64/wcscmp.S: New file.
75286         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75287         wcscmp-c wcscmp-sse2
75288         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75289         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75290         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75291         * wcsmbs/wcscmp.c: Allow renaming.
75293 2011-09-05  David S. Miller  <davem@davemloft.net>
75295         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75296         stack slot, rather than the struct return pointer slot.
75297         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75298         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75300         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75302 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75304         * po/ja.po: Update from translation team.
75306         [BZ #13144]
75307         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75308         kernel in 64-bit binaries.
75310 2011-09-01  David S. Miller  <davem@davemloft.net>
75312         * elf/elf.h (HWCAP_SPARC_*): Move to..
75313         * sysdeps/sparc/sysdep.h: this new file and add new values.
75314         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75315         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75316         _DL_HWCAP_COUNT to 24.
75317         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75318         entries.
75319         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75320         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75321         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75322         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75323         instead of magic constants.
75324         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75326 2011-08-31  David S. Miller  <davem@davemloft.net>
75328         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75329         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75330         Reimplement to do errno handling inline.
75331         (SYSCALL_ERROR_HANDLER): New macro.
75332         (__SYSCALL_STRING): Do not do errno handling in asm.
75333         (__CLONE_SYSCALL_STRING): Delete.
75334         (__INTERNAL_SYSCALL_STRING): Delete.
75335         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75336         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75337         (PSEUDO): Reimplement to do errno handling inline.
75338         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75339         (SYSCALL_ERROR_HANDLER): New macro.
75340         (__SYSCALL_STRING): Do not do errno handling in asm.
75341         (__CLONE_SYSCALL_STRING): Delete.
75342         (__INTERNAL_SYSCALL_STRING): Delete.
75343         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75344         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75345         i386.
75346         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75347         (inline_syscall*): Add 'err' argument.
75348         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75349         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75350         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75351         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75353         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75354         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75356 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75358         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75360 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75362         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75363         directive.
75365 2011-08-24  David S. Miller  <davem@davemloft.net>
75367         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75369 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75371         * elf/Makefile: Add rules to build and run unload8 test.
75372         * elf/unload8.c: New file.
75373         * elf/unload8mod1.c: New file.
75374         * elf/unload8mod1x.c: New file.
75375         * elf/unload8mod2.c: New file.
75376         * elf/unload8mod3.c: New file.
75378         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75379         it wasn't used.
75381 2011-08-23  David S. Miller  <davem@davemloft.net>
75383         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75384         subtract stack bias.
75385         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75386         %sp not %fp in calculations.
75387         (_JMPBUF_UNWINDS_ADJ): Likewise.
75389         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75390         (aio_suspend): Call it to force an exception region around the
75391         AIO_MISC_WAIT() invocation.
75393 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75395         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75396         backslash.
75398 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75400         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75401         protection macro.
75402         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75403         and <dl-machine.h>.
75404         (Elf64_FuncDesc): Remove.
75406 2011-08-22  David S. Miller  <davem@davemloft.net>
75408         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75409         sigaltstack check, add missing cfi directives.
75410         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75411         missing cfi directives, and sigaltstack handling.
75413 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75415         [BZ #11724]
75416         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75417         object is seen twice.
75418         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75420         * elf/Makefile (distribute): Add tst-initorder2.c.
75421         (tests): Add tst-initorder2.
75422         (modules-names): Add tst-initorder2a tst-initorder2b
75423         tst-initorder2c tst-initorder2d.  Add rules to build them.
75424         ($(objpfx)tst-initorder2.out): New rule.
75425         * elf/tst-initorder2.c: New file.
75426         * elf/tst-initorder2.exp: New file.
75428 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75430         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75432         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75433         dependencies back to end of function.
75435         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75436         $(elfobjdir)/ld.so.
75438 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75440         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75441         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75442         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75443         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75444         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75445         of __vdso_gettimeofday.
75446         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75447         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75448         attribute_hidden.
75449         (_libc_vdso_platform_setup): Remove initialization of
75450         __vdso_gettimeofday and __vdso_time.
75452 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75454         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75455         and fgetc_unlocked.
75456         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75457         getc_unlocked.
75459         * elf/dl-open.c (add_to_global): Report additions to the global scope
75460         for LD_DEBUG=scopes.
75461         (dl_open_worker): Also print scope of newly loaded dependencies.
75462         (_dl_show_scope): Indicate if there is no scope.
75464         [BZ #13114]
75465         * stdio-common/Makefile (tests): Add bug24.
75466         * stdio-common/bug24.c: New file.
75468 2011-08-19  Andreas Jaeger  <aj@suse.de>
75470         [BZ #13114]
75471         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75472         non-existant file when using close-on-exec mode.
75474 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75476         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75477         the very first instruction.
75479         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75480         the CFI state in the end.
75481         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75482         inclusion of dl-trampoline.h.
75483         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75485 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75487         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75488         expectations for long double.
75490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75491         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75493 2011-08-14  David S. Miller  <davem@davemloft.net>
75495         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75496         artificual limit depends upon the system page size.
75498 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75500         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75501         * resolv/Makefile: Define CFLAGS-libresolv.
75503 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75505         * nss/makedb.c (compute_tables): Make variables used in nested
75506         function static.
75508 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75510         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75511         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75512         if buffer was too small.
75514         * elf/pldd.c (main): Attach to all threads in the process.
75515         Rewrite /proc handling to use *at functions.
75517 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75519         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75520         specifies first scope to show.
75521         (dl_open_worker): Update callers.  Move printing scope of new
75522         object to before the relocation.
75523         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75524         * sysdeps/generic/ldsodefs.h: Update declaration.
75526         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75527         string for the scope number.
75529 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75531         * nscd/servicescache.c (cache_addserv): Make sure written is always
75532         initialized.
75534 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75536         * sysdeps/i386/i486/bits/atomic.h
75537         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75538         statement expression, so as to suppress "set but not used" warning.
75539         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75541         * string/strncat.c (STRNCAT): Use prototype definition.
75543         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75544         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75545         -Iprograms here.
75546         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75547         (localedef-modules): Add localedef.
75548         (locale-modules): Add locale.
75550         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75551         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75552         to avoid a warning.
75554 2011-08-14  David S. Miller  <davem@davemloft.net>
75556         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75557         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75559 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75561         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75562         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75563         * elf/rtld.c (dl_main): Set l_name of vDSO.
75564         Call _dl_show_scope when DL_DEBUG_SCOPES.
75565         (process_dl_debug): Recognize scopes flag and also set it for all.
75566         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75567         Declare _dl_show_scope.
75569         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75570         (do_dlopen): Pass caller_dlopen to dl_open.
75571         (__libc_dlopen_mode): Initialize caller_dlopen.
75573         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75574         of libc.  Make tolower call locale-independent.  Optimize a bit by
75575         using isdigit instead of isalnum.
75576         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75578 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75580         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75581         was a dependency or dynamically loaded.
75583 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75585         * intl/l10nflist.c: Allow architecture-specific pop function.
75586         * sysdeps/x86_64/l10nflist.c: New file.
75588         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75589         classification.
75591 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75593         * include/dirent.h: Add libc_hidden_proto for scandirat and
75594         scandirat64.  Don't declare __scandirat64.
75595         * dirent/scandirat.c: Add libc_hidden_def.
75596         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75597         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75599 2011-08-10  David S. Miller  <davem@davemloft.net>
75601         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75602         enum.
75603         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75604         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75605         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75607 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75609         * Versions.def [libc]: Add GLIBC_2.15.
75610         * dirent/Makefile (routines): Add scandirat and scandirat64.
75611         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75612         GLIBC_2.15.
75613         * dirent/dirent.h: Declare scandirat and scandirat64.
75614         * dirent/scandirat.c: New file.
75615         * dirent/scandirat64.c: New file.
75616         * sysdeps/wordsize-64/scandirat.c: New file.
75617         * sysdeps/wordsize-64/scandirat64.c: New file.
75618         * dirent/opendir.c: Define opendirat.
75619         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75620         using scandirat.
75621         * dirent/scandir64.c: Adjust for scandir.c change.
75622         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75623         __scandirat64, and __scandir_cancel_handler.
75624         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75625         additional parameter and use openat instead of open (outside of ld.so).
75626         Add new __opendir as wrapper around __opendirat.
75627         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75628         here without requiring old scandirat implementation.
75630 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75632         * dirent/scandir.c (cancel_handler): Renamed to
75633         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75634         defined.  Adjust users.
75635         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75636         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75638 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75640         * string/test-string.h (IMPL): Use __STRING to expand name and then
75641         stringify it.
75643         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75644         of cleanups.
75646 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75648         * string/Makefile: Update.
75649         (strop-tests): Append strncat.
75650         * string/test-wcscmp.c: New file.
75651         New comprehensive test for wcscmp.
75652         * string/test-strcmp.c: Update.
75653         (WIDE): New define.
75655 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75657         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75658         line.
75660 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75662         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75663         encoding to ACE if AI_IDN.
75665 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75667         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75668         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75670 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75672         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75673         Fix overflow bug in strncat.
75674         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75676         * string/test-strncat.c: Update.
75677         Add new tests for checking overflow bugs.
75679 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75681         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75682         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75683         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75684         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75685         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75686         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75687         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75688         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75689         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75691         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75692         (USE_AS_STRCAT): Define.
75693         Add strcat and strncat support.
75694         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75696 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75698         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75699         __n bigger than INT_MAX+1.
75700         (__strncmp_g): Likewise.
75702 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75704         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75705         * libio/stido.h: Likewise.
75707         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75708         (AF_NFC): Define.
75709         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75710         (AF_NFC): Define.
75712         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75713         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75714         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75715         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75716         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75718         [BZ #13021]
75719         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75720         installed.
75722         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75723         typo.
75724         (_dl_x86_64_save_sse): Likewise.
75726 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75728         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75729         OSXSAVE.
75730         (_dl_x86_64_save_sse): Likewise.
75732         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75734         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75736 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75738         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75739         change.
75740         (_dl_x86_64_save_sse): Use correct AVX check.
75742 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75744         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75745         bug in strncpy/strncat.
75746         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75748 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75750         * string/tester.c (test_strcat): Add tests for different alignments
75751         of source and destination.
75752         (test_strncat): Likewise.
75754 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75756         [BZ #12852]
75757         * posix/glob.c (glob): Check passed in values before using them in
75758         expressions to avoid some overflows.
75759         (glob_in_dir): Likewise.
75761         [BZ #13007]
75762         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75763         check for AVX enablement so that we don't crash with old kernels and
75764         new hardware.
75765         * elf/tst-audit4.c: Add same checks here.
75766         * elf/tst-audit6.c: Likewise.
75768         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75770 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
75772         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75774 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75776         * po/cs.po: Update from translation team.
75777         * po/bg.po: Likewise.
75779 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
75781         * misc/sys/cdefs.h: Add support for const attribute.
75782         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75783         to gnu_dev_{major,minor,makedev} functions.
75785 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
75787         * intl/dcigettext.c (get_output_charset): Add missing bracket.
75789 2011-07-20  Andreas Schwab  <schwab@redhat.com>
75791         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75792         strlen results.
75794 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75796         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75797         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75798         register in order to avoid conflicts with the soft frame pointer
75799         being held in r11 when necessary.
75800         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75801         (INTERNAL_VSYSCALL_NCS): Likewise.
75803 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
75805         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75806         * elf/dl-fini.c (_dl_fini): Adjust caller.
75807         * elf/dl-close.c (_dl_close_worker): Likewise.
75808         * sysdeps/generic/ldsodefs.h: Adjust declaration.
75810 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75812         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75813         "aux_cache->nlibs < 0".
75815         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75816         in the reload-count case.
75818 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75821         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75822         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75823         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75824         * sysdeps/x86_64/multiarch/strcat.S: New file.
75825         * sysdeps/x86_64/multiarch/strncat.S: New file.
75826         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75827         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75828         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75829         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75830         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75831         (USE_AS_STRCAT): Define.
75832         Add strcat and strncat support.
75833         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75834         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75835         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75836         * string/strncat.c: Update.
75837         (USE_AS_STRNCAT): Define.
75838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75839         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75840         and i7.
75841         * sysdeps/x86_64/multiarch/init-arch.h
75842         (bit_Prefer_PMINUB_for_stringop): New.
75843         (index_Prefer_PMINUB_for_stringop): Likewise.
75844         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75845         bit_Prefer_PMINUB_for_stringop.
75847 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75849         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75850         buffer64.
75851         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75852         of casting of buffer.
75853         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75854         buffer32 and buffer64.
75855         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75856         writes instead of casting of buffer.
75857         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75858         buffer32.
75859         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75860         casting of buffer.
75862 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75864         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75866 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75868         * nscd/nscd.c (termination_handler): Don't do anything for a database
75869         if it has not yet been initialized.
75871 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75873         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75875 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75877         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75879 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75881         * po/nl.po: Update from translation team.
75882         * po/sv.po: Likewise.
75884 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75886         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75887         now disallowed by GCC.
75889         * configure.in (use-default-link): Default to yes if a test -shared
75890         link meets our qualifications.
75891         * configure: Regenerated.
75893         * config.make.in (output-format): New variable.
75894         * configure.in: Check for ld --print-output-format support.
75895         * configure: Regenerated.
75896         * Makerules ($(common-objpfx)format.lds)
75897         [$(output-format) != unknown]: Just use $(output-format),
75898         instead of the linker-script munging.
75900 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75902         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75903         of $(common-objpfx)shlib.lds.
75904         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75906         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75907         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75909         * configure.in (-z relro check): Adjust test code to add a large
75910         writable data section after it.
75911         * configure: Regenerated.
75913 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75915         * configure.in (-z relro check): Fix test code to make the variable
75916         truly const.
75917         * configure: Regenerated.
75919 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75921         * nscd/nscd.h (struct traced_file): Define.
75922         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75923         elements.  Add traced_files.
75924         (inotify_fd): Declare.
75925         (register_traced_file): Declare.
75926         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75927         (inotify_fd): Export.
75928         (resolv_conf_descr): Remove.
75929         (nscd_init): Move inotify descriptor creation to main.
75930         Don't register files for notification here.
75931         (register_traced_file): New function.
75932         (invalidate_cache): Don't use reset_res to determine whether to call
75933         res_init, go through the list of registered files.
75934         (main_loop_poll): The inotify descriptors are now stored in the
75935         structures for the traced files.
75936         (main_loop_epoll): Likewise.
75937         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75938         to __nss_disable_nscd.
75939         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75940         for a database anymore.  Check the records for all the registered
75941         files instead.
75942         * nss/Makefile (libnss_files-routines): Add files-init.
75943         (libnss_db-routines): Add db-init.
75944         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75945         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75946         * nss/nss_db/db-init.c: New file.
75947         * nss/nss_files/files-init.c: New file.
75948         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75949         __nss_lookup_function.
75950         (__nss_lookup_function): Call nss_load_library.
75951         (nss_load_all_libraries): New function.
75952         (__nss_disable_nscd): Take parameter with callback function for files
75953         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75954         used for the cached services.
75955         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75956         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75957         options for features to all the files in nscd.
75959         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75961 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75963         * csu/elf-init.c (__libc_csu_init): Comment typo.
75965 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75967         * po/pl.po: Update from translation team.
75968         * po/ja.po: Likewise.
75969         * po/ru.po: Likewise.
75970         * po/ko.po: Likewise.
75971         * po/fr.po: Likewise.
75973 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75975         * configure.in (.ctors/.dtors header and trailer check):
75976         Use an empirical test on a built program.
75977         * configure: Regenerated.
75979         * configure.in (-z relro check): Use an empirical test on a built DSO.
75980         Detect, but do not require, on ia64.
75981         * configure: Regenerated.
75983         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75984         Update tests that use readelf to use $READELF instead.
75985         * configure: Regenerated.
75987 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75989         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75990         if the result is not used.
75992 2011-07-05  Andreas Jaeger  <aj@suse.de>
75994         [BZ#9696]
75995         * stdlib/tst-strtod.c: Add testcase.
75997 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
75999         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76000         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76001         The latter has a higher limit.  Take additional parameter to pass to
76002         the new function.
76003         (__pathconf): Pass file to __statfs_link_max.
76004         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76005         __statfs_link_max.
76006         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76007         __statfs_link_max.
76009         [BZ #12868]
76010         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76011         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76012         Handle Lustre.
76013         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76014         (__statfs_filesize_max): Likewise.
76015         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76017 2011-07-05  Andreas Jaeger  <aj@suse.de>
76019         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76021 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76023         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76024         `status' variable.
76025         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76026         Likewise.
76028 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76030         * Makefile (strop-tests): Add strncat.
76031         * string/test-strncat.c: New file.
76033 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76035         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76037 2011-06-21  Andreas Jaeger  <aj@suse.de>
76039         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76040         Copy rule from iconvdata/Makefile.
76042 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76044         [BZ #12922]
76045         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76046         but no long options are defined, just return 'W'.
76048 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76050         [BZ #9696]
76051         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76053 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76055         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76056         netgroups to read.
76057         (innetgr): Likewise.
76059 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76061         * config.make.in (install_root): Default to $(DESTDIR).
76063 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76065         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76067 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76069         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76071         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76072         containing directory rather than embedding absolute directory names.
76074         * scripts/check-local-headers.sh: Rewritten using awk.
76075         Match by word, not by line.  Print error messages for matches.
76076         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76078         * Makerules [shlib-lds-flags empty]:
76079         ($(common-objpfx)libc_pic.opts): New target.
76080         ($(common-objpfx)libc_pic.os.clean): New target.
76081         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76083         * config.make.in (OBJCOPY): New variable.
76084         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76085         * configure: Regenerated.
76087         * config.make.in (use-default-link): New variable.
76088         * configure.in (use_default_link): Grok --with-default-link to set it.
76089         * configure: Regenerated.
76090         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76091         (shlib-lds, shlib-lds-flags): Define to empty.
76093         * Makerules (shlib-lds): New variable.
76094         (shlib-lds-flags): New variable.
76095         (build-shlib, build-moduile, build-module-asneeded): Use it.
76096         ($(common-objpfx)libc.so): Use $(shlib-lds).
76097         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76098         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76100         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76101         DT_FLAGS/DT_FLAGS_1 with zero flags.
76103         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76104         linker script munging.
76106 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76108         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76109         as 128-bit value.
76110         * crypt/sha512.c (sha512_process_block): Perform total addition using
76111         128-bit if possible.
76112         (__sha512_finish_ctx): Likewise.
76113         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76114         as 64-bit value.
76115         * crypt/sha256.c (SWAP64): Define.
76116         (sha256_process_block): Perform total addition using 64-bit if
76117         possible.
76118         (__sha256_finish_ctx): Likewise.
76120 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76122         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76123         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76124         * nscd/hstcache.c (cache_addhst): Likewise.
76125         * nscd/grpcache.c (cache_addgr): Likewise.
76126         * nscd/aicache.c (addhstaiX): Likewise.
76127         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76129 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76131         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76132         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76133         * nscd/hstcache.c (cache_addhst): Likewise.
76134         * nscd/grpcache.c (cache_addgr): Likewise.
76135         * nscd/aicache.c (addhstaiX): Likewise.
76137 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76139         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76140         domain only when needed.
76142 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76144         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76145         is always restored.
76147 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76149         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76150         are re-adding the entry.
76151         * nscd/servicescache.c (cache_addserv): Likewise.
76153 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76155         * sysdeps/generic/dl-irel.h: fix protection against multiple
76156         inclusions.
76157         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76159 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76161         [BZ #12935]
76162         * malloc/memusage.sh: Fix quoting in message.
76163         * debug/xtrace.sh: Likewise.
76165         * configure.in: Remove support for --experimental-malloc option, make
76166         it the default.
76167         * config.make.in: Likewise.
76168         * malloc/Makefile: Likewise.
76170 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76172         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76173         two-byte characters.
76175 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76177         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76178         AC_CACHE_CHECK invocation.
76179         * configure: Regenerated.
76181         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76183 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76185         [BZ #12350]
76186         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76187         bit from old_res_options.
76189         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76191         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76192         value type for setfct.
76194 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76196         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76197         __gettimeofday instead of gettimeofday.
76199 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76201         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76203 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76205         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76207         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76208         info.
76210 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76213         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76214         strcpy-sse2-unaligned strncpy-sse2-unaligned
76215         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76216         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76217         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76218         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76219         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76220         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76221         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76222         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76223         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76224         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76225         (STRCPY): Support SSE2 and SSSE3 versions.
76227 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76229         [BZ #12874]
76230         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76231         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76232         kernels which artificially limit size of requests.
76234 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76236         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76237         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76238         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76239         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76240         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76241         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76242         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76243         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76244         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76245         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76246         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76247         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76248         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76249         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76250         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76252         Enable unaligned load optimization for Intel Core i3, i5 and i7
76253         processors.
76254         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76255         Define.
76256         (index_Fast_Unaligned_Load): Define.
76257         (HAS_FAST_UNALIGNED_LOAD): Define.
76259 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76261         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76263 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76265         [BZ #12907]
76266         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76267         until it is clear that the information is realy needed.
76268         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76270 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76274 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76276         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76277         /sys/devices/system/cpu/online if it is usable.
76279         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76280         reading the information from the /proc filesystem to once a second.
76282 2011-06-21  Andreas Jaeger  <aj@suse.de>
76284         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76285         NULL after inclusion of kernel headers.
76287 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76289         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76290         calls to internal_setent.
76292         [BZ #12885]
76293         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76294         addresses using gethostbyname4_r ignore IPv4 addresses.
76296         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76297         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76299         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76301 2011-06-20  David S. Miller  <davem@davemloft.net>
76303         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76304         inclusions.
76305         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76307         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76308         (elf_irel): Use it.
76309         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76310         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76311         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76312         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76313         * sysdeps/x86_64/dl-irel.h: Likewise.
76315         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76316         * elf/dl-sym.c: Likewise.
76318 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76320         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76321         need to dereference resplen2.
76323 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76325         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76327 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76329         * Makeconfig: Define vardbdir and inst_vardbdir.
76330         * nss/Makefile: Add rules to install db-Makefile.
76332         * nss/nss_db/db-XXX.c: Cleanup.
76334         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76335         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76336         GLIBC_PRIVATE.
76337         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76338         * nss/makedb.c: Implement -g option to specify that value strings
76339         are generated and should not be added to table iterated over for
76340         get*ent calls.
76341         * nss/nss_db/db-initgroups.c: New file.
76343         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76344         interface.
76346         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76347         (internal_getgrouplist): Adjust to name change.
76348         Update use_initgroups_entry if this is not the first call.
76349         * nss/databases.def: Add initgroups entry.
76351         * nss/makedb.c (compute_tables): Check result of multiple hash table
76352         sizes to minimize maximum chain length.
76354 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76356         * Versions.def: Add entry for libnss_db.
76357         * shlib-versions: Likewise.
76358         * nss/Makefile: Add rules to build libnss_db.
76359         * nss/Versions: Add libnss_db information.  Organize libnss_files
76360         entries better.
76361         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76362         makedb progra.  Some minor improvements to generate smaller files.
76363         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76364         here from...
76365         * nss/makedb.c: ...here.
76366         Improve database format to be smaller and require less memory at
76367         runtime.
76368         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76369         db anymore.
76370         * nss/nss_db/db-netgrp.c: Likewise.
76371         * nss/nss_db/db-open.c: Likewise.
76372         * nss/nss_files/flies-XXX.x: Adjust comments.
76373         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76374         * nss/nss_files/files-grp.c: Likewise.
76375         * nss/nss_files/files-hosts.c: Likewise.
76376         * nss/nss_files/files-network.c: Likewise.
76377         * nss/nss_files/files-proto.c: Likewise.
76378         * nss/nss_files/files-pwd.c: Likewise.
76379         * nss/nss_files/files-rpc.c: Likewise.
76380         * nss/nss_files/files-service.c: Likewise.
76381         * nss/nss_files/files-sgrp.c: Likewise.
76382         * nss/nss_files/files-spwd.c: Likewise.
76383         * nss/nss_db/db-alias.c: Removed.
76384         * nss/nss_db/dummy-db.h: Removed.
76386 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76388         * nss/makedb.c: Rewritten to not use database library.
76389         * nss/Makefile: Update to build new makedb program.
76391 2011-06-14  Andreas Jaeger  <aj@suse.de>
76393         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76394         memset declaration.
76396 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76399         tmpbuf.
76401 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76403         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76404         * elf/Makefile ($(objpfx)ld.so): Likewise.
76406         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76407         Don't list ld.so twice in dependencies.
76409         * posix/bug-regex31.c: Include <stdlib.h>.
76411         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76413         * nis/nss_compat/compat-spwd.c
76414         (getspent_next_nss_netgr): Remove unused variable.
76415         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76417         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76418         nonmembers" output to use the right array.
76420         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76422         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76424         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76425         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76426         * catgets/gencat.c (read_input_file): Likewise.
76427         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76429         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76430         variable definition inside #if's controlling its use.
76432         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76434         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76436         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76438         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76439         unreachable code.
76441         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76443         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76444         * configure: Regenerated.
76446         * Makerules: Revert last change.
76447         * elf/Makefile: Likewise.
76449 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76451         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76452         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76453         (reloc-link): Likewise.
76455 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76457         * elf/Makefile: Add rules to build pldd.
76458         * elf/pldd.c: New file.
76459         * elf/pldd-xx.c: New file.
76461 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76463         * version.h: Update for 2.15 development version.
76465 2011-06-07  David S. Miller  <davem@davemloft.net>
76467         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76468         ifuncs.
76469         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76470         elf_machine_lazy_rel): Likewise.
76471         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76472         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76473         elf_machine_lazy_rel): Likewise.
76474         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76475         dl_hwcap via passed in argument.
76476         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76477         Likewise.
76479 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76481         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76483 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76485         [BZ #12849]
76486         * manual/fdl-1.1.texi: New file, verbatim from:
76487         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76488         * manual/lgpl-2.1.texi: New file, verbatim from:
76489         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76490         * manual/Makefile (licenses): New variable, list those new file names.
76491         (texis): Use it.
76492         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76494         * manual/fdl.texi: File removed.
76495         * manual/lesser.texi: File removed.
76496         * manual/libc.texinfo (Copying, Documentation License):
76497         Use new @include file names, put @appendix directive before @include.
76499 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76501         [BZ #12841]
76502         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76503         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76504         (mq_open): Add __NTH.
76506 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76509         Assume Intel Core i3/i5/i7 processor if AVX is available.
76511 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76513         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76514         typo.
76516 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76518         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76519         memory.  Use alloca_account.  Fix memory leak when retrying.
76521 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76523         * version.h (RELEASE): Bump for 2.14 release.
76524         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76526         * config.make.in (RANLIB): Remove entry.
76528 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76530         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76531         (libc.pot): Work around missing support for .ksh extension in xgettext.
76533         [BZ #12684]
76534         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76535         if both request failed.
76536         (send_dg): In case of server errors clear resplen or *resplen2.
76538         [BZ #12454]
76539         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76540         when there are multiple maps.
76541         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76542         (_dl_fini): Remove test here.
76544         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76546 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76548         [BZ #12350]
76549         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76550         bit from old_res_options.
76551         (gaih_inet): Likewise.
76553         [BZ #11099]
76554         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76555         as signed.
76557         * resolv/res_init.c (res_setoptions): Make the code more compact.
76559         [BZ #11558]
76560         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76561         set RES_USEVC.
76563         [BZ #11634]
76564         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76566         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76568         [BZ #11781]
76569         * malloc/malloc.h: Declare malloc hook variables as volatile.
76571         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76572         in last patch.
76574         [BZ #11799]
76575         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76576         raise in the comment.
76577         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76578         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76579         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76581 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76583         [BZ #12811]
76584         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76585         grow the buffers more if it already has to be sufficient.
76586         (build_wcs_upper_buffer): Likewise.
76587         * posix/regexec.c (check_matching): Likewise.
76588         (clean_state_log_if_needed): Likewise.
76589         (extend_buffers): Don't enlarge buffers beyond size of the input
76590         buffer.
76591         Patches mostly by Emil Wojak <emil@wojak.eu>.
76592         * posix/bug-regex32.c: New file.
76593         * posix/Makefile (tests): Add bug-regex32.
76595         * locale/findlocale.c (_nl_find_locale): Return right away if
76596         _nl_explode_name failed.
76597         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76599         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76601         * debug/xtrace.sh: Unify messages.
76602         * malloc/memusage.sh: Likewise.
76604         [BZ #12813]
76605         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76606         time symbol from vDSO.  Substitute with vsyscall if not available.
76607         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76608         __vdso_time.
76610         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76611         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76612         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76613         Add sendmmsg and internal_sendmmsg.
76614         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76615         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76616         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76618         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76619         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76620         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76622 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76624         [BZ #12813]
76625         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76626         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76627         available.
76628         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76629         __vdso_getcpu.
76631         [BZ #12814]
76632         * iconvdata/Makefile (tests): Add bug-iconv9.
76633         * iconvdata/bug-iconv9.c: New file.
76635 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76637         [BZ #12814]
76638         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76640 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76642         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76643         (struct user_regs_struct): Change intcs field back to cs.
76645 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76647         * po/ja.po: Update from translation team.
76649 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76651         [BZ #12795]
76652         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76653         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76655 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76657         * stdlib/longlong.h: Update from GCC.
76659 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76661         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76662         parameter name.
76663         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76664         Add parameter name.
76665         (__sysconf): Pass it down.
76667 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76669         [BZ #12671]
76670         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76671         some situations.
76672         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76673         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76674         add in in __libc_use_alloca calls.  Adjust callers.
76675         (glob): Use malloc in some situations.
76677         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76678         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76679         pltexit.
76681 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76683         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76684         and CLOCK_BOOTTIME_ALARM.
76686         [BZ #12782]
76687         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76688         is returned.
76690         * string/_strerror.c (__strerror_r): Print negative errors as signed
76691         numbers.
76693         [BZ #12777]
76694         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76695         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76696         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76698         * configure.in: Fix typo in redirection and correct removal of test
76699         files in two cases.
76701         [BZ #12788]
76702         * locale/setlocale.c (new_composite_name): Fix test to check for
76703         identical name of all categories.
76705         [BZ #12792]
76706         * libio/filedoalloc.c (local_isatty): New function.
76707         (_IO_file_doallocate): Use local_isatty.
76708         * stdio-common/perror.c (perror): In case a new stream is used
76709         forward the stream error.
76710         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76711         error flag.
76713 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76715         [BZ #11884]
76716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76717         alloca.
76718         * include/alloca.h (extend_alloca_account): Define.
76720         [BZ #11857]
76721         * posix/regex.h: Fix comments with documentation of user-accessible
76722         fields after compilation and describe correct free'ing of pattern
76723         after re_compile_pattern.
76724         Patch by Reuben Thomas <rrt@sc3d.org>.
76726 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76728         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76729         and -mno-altivec to prevent the compiler from using Altivec and/or
76730         VSX instructions when the corresponding registers are not available.
76732 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76734         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76736 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76738         * libio/freopen.c (freopen): Use __dup2, not dup2.
76739         * libio/freopen64.c (freopen64): Likewise.
76741 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76743         [BZ #12775]
76744         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76745         * math/Makefile (tests): Add test-powl.
76746         (CFLAGS-test-powl.c): Define.
76747         * math/test-powl.c: New file.
76749 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76751         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76753 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76755         [BZ #11837]
76756         * iconvdata/gb18030.c: Update to GB18020-2005.
76758 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76760         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76761         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76762         Patch by Aharon Robbins <arnold@skeeve.com>.
76764         [BZ #11892]
76765         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76766         on the stack.
76768         [BZ #11895]
76769         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76770         through underflows.
76772         [BZ #12766]
76773         * misc/error.c (error_at_line): Ensure file_name and old_file_name
76774         point to strings before performing equality test for error_one_per_line
76775         mode.
76777         [BZ #11697]
76778         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76780         [BZ #11820]
76781         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76782         (struct user_fpregs_struct): Avoid __uint*_t types.
76784         [BZ #6420]
76785         * malloc/mtrace.c (tr_where): Add additional parameter to point to
76786         symbol info.  Use it instead of calling _dl_addr locally.
76787         (lock_and_info): New function.
76788         (tr_freehook): Call lock_and_info and pass symbol info as additional
76789         parameter to tr_where.
76790         (tr_mallochook): Likewise.
76791         (tr_reallochook): Likewise.
76792         (tr_memalignhook): Likewise.
76794         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
76795         used and couldn't be at all thread-safe.
76797 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
76799         * libio/freopen.c (freopen): Don't close old file descriptor
76800         before the new one is opened.  Instead dup the new file descriptor
76801         to the old one after the new stream is created.
76802         * libio/freopen64.c (freopen64): Likewise.
76803         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76804         * libio/fileops.c (_IO_new_file_close_it): Handle new
76805         _IO_FLAGS2_NOCLOSE flag.
76806         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76807         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76808         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76809         _IO_FLAGS2_NOCLOSE flag.
76810         * include/unistd.h: Add hidden_proto for dup3.
76811         Define __have_dup3.
76812         * io/dup3.c: Define hidden symbol.
76813         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76815         [BZ #7101]
76816         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76817         when an incomplete long option is used.
76818         * posix/tst-getopt_long1.c: New file.
76819         * posix/Makefile (tests): Add tst-getopt_long1.
76821         [BZ #10138]
76822         * scripts/config.guess: Update from autoconf-2.68.
76823         * scripts/config.sub: Likewise.
76825         [BZ #10157]
76826         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76827         tests into ...
76828         (has_cpuclock): ...this.  New function.
76829         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76830         macro here based on has_cpuclock code.
76832         [BZ #10149]
76833         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76834         First byte (not low byte) is now always NUL.
76835         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76837         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76838         Use non-cancelable interfaces.
76840         [BZ #9809]
76841         * locale/iso-639.def: Add entry for Sorani.
76843         [BZ #11901]
76844         * include/stdlib.h: Move include protection to the right place.
76845         Define abort_msg_s.  Declare __abort_msg with it.
76846         * stdlib/abort.c (__abort_msg): Adjust type.
76847         * assert/assert.c (__assert_fail_base): New function.  Majority
76848         of code from __assert_fail.  Allocate memory for __abort_msg with
76849         mmap.
76850         (__assert_fail): Now call __assert_fail_base.
76851         * assert/assert-perr.c: Remove bulk of implementation.  Use
76852         __assert_fail_base.
76853         * include/assert.hL Declare __assert_fail_base.
76854         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76855         mmap.
76856         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76858 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76860         [BZ #11952]
76861         [BZ #12453]
76862         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76863         until all modules are registered in the DTV.
76864         * elf/Makefile: Add rules to build and run tst-tls19.
76865         * elf/tst-tls19.c: New file.
76866         * elf/tst-tls19mod1.c: New file.
76867         * elf/tst-tls19mod2.c: New file.
76868         * elf/tst-tls19mod3.c: New file.
76869         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76871         [BZ #12083]
76872         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76873         correctly.
76875         [BZ #12601]
76876         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76877         two-byte sequence errors.
76878         * iconvdata/Makefile (tests): Add bug-iconv8.
76879         * iconvdata/bug-iconv8.c: New file.
76881         [BZ #12626]
76882         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76883         buf2 definition.
76885         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76887         [BZ #12432]
76888         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76889         (dummy_getcfa): New function.
76890         (init): Get _Unwind_GetCFA address, use dummy if not found.
76891         (backtrace_helper): In recursion check, also check whether CFA changes.
76892         (__backtrace): Completely initialize arg.
76894         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76895         storing incomplete byte sequence in state object.  Avoid testing for
76896         guaranteed too small input if we know there is enough data available.
76898 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76900         * Makeconfig (+link-pie): Indent.
76901         * Rules (binaries-pie): Define if $(have-fpie) and
76902         $(build-shared).
76903         (binaries-shared): Also filter out $(binaries-pie).
76904         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76905         * nscd/Makefile (others-pie): Add nscd.
76906         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76907         ($(objpfx)nscd): Remove command override.
76908         * login/Makefile (others-pie): Add pt_chown.
76909         ($(objpfx)pt_chown): Remove command override.
76910         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76911         remove command overrides.
76913 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76915         * libio/tst_putwc.c: Fix error messages.
76917         [BZ #12724]
76918         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76919         currently writing and seek to current position when not.
76920         * libio/Makefile (tests): Add bug-fclose1.
76921         * libio/bug-fclose1.c: New file.
76923 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76925         [BZ #12511]
76926         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76927         don't set DF_1_NODELETE here.
76928         (do_lookup_x): When entering new entry test for copy relocation
76929         and if necessary set DF_1_NODELETE flag.
76930         * elf/tst-unique4.cc: New file.
76931         * elf/tst-unique4.h: New file.
76932         * elf/tst-unique4lib.cc: New file.
76933         * elf/Makefile: Add rules to build and run tst-unique4.
76934         Patch by Piotr Bury <pbury@goahead.com>.
76936 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76938         [BZ #12052]
76939         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76941         [BZ #12625]
76942         * misc/mntent_r.c (addmntent): Flush the stream after the output
76944         [BZ #12393]
76945         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76946         (is_trusted_path_normalize): Skip initial colon.  Append slash
76947         to empty buffer.  Duplicate is_trusted_path code but allow
76948         constructed patch to be prefix.
76949         (is_dst): Allow $ORIGIN followed by /.
76950         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76951         Correct testing of result of is_trusted_path_normalize
76952         (decompose_rpath): Fix warning.
76954 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76956         [BZ #11257]
76957         * grp/initgroups.c (internal_getgrouplist): When we found the service
76958         list through the initgroups entry in nsswitch.conf do not always
76959         continue on a successful lookup.  Don't always use the
76960         __nss_group_database value if it is set.
76961         * nss/nsswitch.conf (initgroups): Change action for successful db
76962         lookup to continue for compatibility.
76964 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76966         [BZ #11532]
76967         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76968         and CP774 modules.
76969         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76970         and CP774 modules.
76971         * iconvdata/tst-tables.sh: Likewise.
76972         * iconvdata/cp770.c: New file.
76973         * iconvdata/cp771.c: New file.
76974         * iconvdata/cp772.c: New file.
76975         * iconvdata/cp773.c: New file.
76976         * iconvdata/cp774.c: New file.
76977         * iconvdata/testdata/CP770: New file.
76978         * iconvdata/testdata/CP770..UTF8: New file.
76979         * iconvdata/testdata/CP771: New file.
76980         * iconvdata/testdata/CP771..UTF8: New file.
76981         * iconvdata/testdata/CP772: New file.
76982         * iconvdata/testdata/CP772..UTF8: New file.
76983         * iconvdata/testdata/CP773: New file.
76984         * iconvdata/testdata/CP773..UTF8: New file.
76985         * iconvdata/testdata/CP774: New file.
76986         * iconvdata/testdata/CP774..UTF8: New file.
76988         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76989         END CHARMAP line.
76990         * iconvdata/gen-8bit-gap.sh: Likewise.
76991         * iconvdata/gen-8bit.sh: Likewise.
76993         * locale/iso-639.def: Add ary entry.
76995         [BZ #11258]
76996         * locale/C-translit.h.in: Add U20A1 transliteration.
76998         [BZ #12178]
76999         * locale/iso-639.def: Add wae entry.
77000         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77002         [BZ #12545]
77003         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77004         for n.
77006         [BZ #12711]
77007         * locale/C-translit.h.in: Add entry for U20B9.
77008         Patch by pravin.d.s@gmail.com.
77010 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77012         [BZ #12713]
77013         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77014         ENAMETOOLONG use generic getcwd.
77015         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77016         in rtld.  Use *stat64.
77017         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77018         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77019         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77020         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77021         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77022         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77023         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77024         __fstatat64 macros.
77025         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77026         * dirent/rewinddir.c: Add libc_hidden_def.
77027         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77028         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77030         * include/dirent.h (__alloc_dir): Add flags parameter.
77031         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77032         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77033         __alloc_dir.
77034         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77035         from fdopendir if O_CLOEXEC is already set.
77037 2011-03-15  Alan Modra  <amodra@gmail.com>
77039         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77040         l_tls_firstbyte_offset non-zero.  Save padding offset in
77041         l_tls_firstbyte_offset for later use.
77042         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77043         freeing static tls block.
77045 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77047         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77048         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77049         being defined by the kernel headers.
77051 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77053         [BZ #12734]
77054         * resolv/resolv.h: Define RES_NOTLDQUERY.
77055         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77056         no-tld-query and set RES_NOTLDQUERY.
77057         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77058         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77059         modern BIND to search name as TLD unless forbidden.
77061 2011-05-07  Petr Baudis  <pasky@suse.cz>
77062             Ulrich Drepper  <drepper@gmail.com>
77064         [BZ #12393]
77065         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77066         (is_trusted_path): ...to here.
77067         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77068         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77069         using is_trusted_path_normalize() in setuid scripts.
77071 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77073         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77074         __BEGIN/__END_DECLS.
77076 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77078         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77079         NSS_STATUS_NOTFOUND if no record was found.
77081 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77083         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77084         (headers-not-in-tirpc): Remove rpc/netdb.h
77085         * resolv/netdb.h: Revert last change.
77087 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77089         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77090         circular dependency between libgcc.a and libc.a.
77092 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77094         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77095         * nis/Makefile: Don't install rpcsvc/*.
77096         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77097         instead of <rpc/types.h>.
77098         (MAXHOSTNAMELEN): Define.
77100 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77102         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77104 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77106         [BZ #12714]
77107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77108         gethostbyname4_r when IPv6 results are possible.
77110 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77112         [BZ #12723]
77113         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77114         _PC_PIPE_BUF handling.
77116 2011-04-30  Bruno Haible  <bruno@clisp.org>
77118         [BZ #12717]
77119         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77120         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77121         to 'int'.
77122         * inet/getnameinfo.c (getnameinfo): Likewise.
77124 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77126         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77127         to groups setting in database lookup.
77128         * nss/nsswitch.conf: Add initgroups entry.
77130 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77132         [BZ #12685]
77133         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77134         mode string.
77135         Patch by Eric Blake <eblake@redhat.com>.
77137 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77139         * sunrpc/Makefile (need-export-routines): Add svc_run.
77140         (routines): Remove svc_run.
77141         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77142         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77143         * sunrpc/svc_run.c (svc_run): Likewise.
77144         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77146 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77148         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77149         problem in reallocation in last patch.
77151 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77153         * sunrpc/Makefile: Move inclusion of Rules.
77155 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77157         * nss/nss_files/files-initgroups.c: New file.
77158         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77159         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77160         _nss_files_initgroups_dyn.
77162 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77164         * elf/elf.h (R_ARM_IRELATIVE): Define.
77166 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77168         * po/ru.po: Update from translation team.
77170 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77172         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77173         dependencies.
77175 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77177         [BZ #12653]
77178         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77179         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77180         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77181         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77182         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77184 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77186         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77187         differing bytes.
77188         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77189         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77190         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77192 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77194         [BZ #12420]
77195         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77196         storing it.
77197         * stdlib/bug-getcontext.c: New file.
77198         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77200 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77202         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77203         instructions into .machine "z9-109".
77204         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77205         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77207 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77209         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77210         between environment variables and auxiliary vector.
77212 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77214         * Makefile: Add rules to build linkobj/libc.so.
77215         * include/libc-symbols.h: Define libc_hidden_nolink.
77216         * include/rpc/auth.h: Mark functions which are to be hidden.
77217         * include/rpc/auth_des.h: Likewise.
77218         * include/rpc/auth_unix.h: Likewise.
77219         * include/rpc/clnt.h: Likewise.
77220         * include/rpc/des_crypt.h: Likewise.
77221         * include/rpc/key_prot.h: Likewise.
77222         * include/rpc/pmap_clnt.h: Likewise.
77223         * include/rpc/pmap_prot.h: Likewise.
77224         * include/rpc/pmap_rmt.h: Likewise.
77225         * include/rpc/rpc_msg.h: Likewise.
77226         * include/rpc/svc.h: Likewise.
77227         * include/rpc/svc_auth.h: Likewise.
77228         * include/rpc/xdr.h: Likewise.
77229         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77230         * nss/Makefile: Likewise.
77231         * sunrpc/Makefile: Don't install headers.  Build library with normal
77232         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77233         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77234         for the compat linking library.  Remove use of INTDEF/INTUSE.
77235         * sunrpc/auth_none.c: Likewise.
77236         * sunrpc/auth_unix.c: Likewise.
77237         * sunrpc/authdes_prot.c: Likewise.
77238         * sunrpc/authuxprot.c: Likewise.
77239         * sunrpc/clnt_gen.c: Likewise.
77240         * sunrpc/clnt_perr.c: Likewise.
77241         * sunrpc/clnt_raw.c: Likewise.
77242         * sunrpc/clnt_simp.c: Likewise.
77243         * sunrpc/clnt_tcp.c: Likewise.
77244         * sunrpc/clnt_udp.c: Likewise.
77245         * sunrpc/clnt_unix.c: Likewise.
77246         * sunrpc/des_crypt.c: Likewise.
77247         * sunrpc/des_soft.c: Likewise.
77248         * sunrpc/get_myaddr.c: Likewise.
77249         * sunrpc/key_call.c: Likewise.
77250         * sunrpc/key_prot.c: Likewise.
77251         * sunrpc/netname.c: Likewise.
77252         * sunrpc/pm_getmaps.c: Likewise.
77253         * sunrpc/pm_getport.c: Likewise.
77254         * sunrpc/pmap_clnt.c: Likewise.
77255         * sunrpc/pmap_prot.c: Likewise.
77256         * sunrpc/pmap_prot2.c: Likewise.
77257         * sunrpc/pmap_rmt.c: Likewise.
77258         * sunrpc/publickey.c: Likewise.
77259         * sunrpc/rpc_cmsg.c: Likewise.
77260         * sunrpc/rpc_common.c: Likewise.
77261         * sunrpc/rpc_dtable.c: Likewise.
77262         * sunrpc/rpc_prot.c: Likewise.
77263         * sunrpc/rpc_thread.c: Likewise.
77264         * sunrpc/rtime.c: Likewise.
77265         * sunrpc/svc.c: Likewise.
77266         * sunrpc/svc_auth.c: Likewise.
77267         * sunrpc/svc_authux.c: Likewise.
77268         * sunrpc/svc_raw.c: Likewise.
77269         * sunrpc/svc_run.c: Likewise.
77270         * sunrpc/svc_simple.c: Likewise.
77271         * sunrpc/svc_tcp.c: Likewise.
77272         * sunrpc/svc_udp.c: Likewise.
77273         * sunrpc/svc_unix.c: Likewise.
77274         * sunrpc/svcauth_des.c: Likewise.
77275         * sunrpc/xcrypt.c: Likewise.
77276         * sunrpc/xdr.c: Likewise.
77277         * sunrpc/xdr_array.c: Likewise.
77278         * sunrpc/xdr_float.c: Likewise.
77279         * sunrpc/xdr_intXX_t.c: Likewise.
77280         * sunrpc/xdr_mem.c: Likewise.
77281         * sunrpc/xdr_rec.c: Likewise.
77282         * sunrpc/xdr_ref.c: Likewise.
77283         * sunrpc/xdr_sizeof.c: Likewise.
77284         * sunrpc/xdr_stdio.c: Likewise.
77286 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77288         [BZ #12650]
77289         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77290         * sysdeps/ia64/dl-tls.h: Likewise.
77291         * sysdeps/powerpc/dl-tls.h: Likewise.
77292         * sysdeps/s390/dl-tls.h: Likewise.
77293         * sysdeps/sh/dl-tls.h: Likewise.
77294         * sysdeps/sparc/dl-tls.h: Likewise.
77295         * sysdeps/x86_64/dl-tls.h: Likewise.
77296         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77298 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77300         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77301         rpath element also skip the following colon.
77302         (expand_dynamic_string_token): Add is_path parameter and pass
77303         down to DL_DST_REQUIRED and _dl_dst_substitute.
77304         (decompose_rpath): Call expand_dynamic_string_token with
77305         non-zero is_path.  Ignore empty rpaths.
77306         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77307         with zero is_path.
77309 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77312         Make cancelable.
77314 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77316         [BZ #12655]
77317         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77318         Patch by Filipe David Manana <fdmanana@apache.org>.
77320 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77322         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77323         Maintain aligned stack.
77324         (CHECK_RSP): Remove unused macro.
77326 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77328         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77329         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77331 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77333         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77335         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77337 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77339         [BZ #12518]
77340         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77341         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77342         * sysdeps/x86_64/memmove.c: New file.
77343         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77344         (memcpy): Renamed to ...
77345         (__new_memcpy): This.
77346         (memcpy): Provide GLIBC_2_14 memcpy.
77347         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77348         (memcpy): Provide GLIBC_2_2_5 memcpy.
77350 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77352         [BZ #12631]
77353         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77355 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77357         * misc/syncfs.c: New file.
77358         * misc/Makefile (routines): Add syncfs.
77359         * posix/unistd.h: Declare syncfs.
77360         * sysdeps/unix/syscalls.list: Add syncfs.
77362 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77364         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77365         open_by_handle_at.
77366         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77367         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77368         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77369         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77370         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77371         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77372         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77374 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77376         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77377         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77378         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77380         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77382         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77384         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77385         sync_file_range.c with -fexceptions.
77386         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77387         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77388         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77389         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77390         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77391         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77392         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77393         sync_file_range as cancellation point
77394         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77395         now a wrapper around __call_sync_file_range with cancellation handling.
77396         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77397         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77398         function name to __call_sync_file_range.
77399         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77400         Add call_sync_file_range.
77402 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77404         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77405         bits/timex.h.
77407 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77409         * iconv/iconv.h: Fix typo in comment.
77410         * io/fcntl.h: Likewise.
77411         * libio/stdio.h: Likewise.
77412         * posix/spawn.h: Likewise.
77413         * posix/unistd.h: Likewise.
77414         * stdlib/stdlib.h: Likewise.
77415         * time/time.h: Likewise.
77416         * wcsmbs/wchar.h: Likewise.
77418         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77419         open_by_handle): Add.
77420         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77421         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77422         Augment a few comments.
77423         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77425         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77427         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77428         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77429         open_by_handle.
77431         * io/fcntl.h (AT_EMPTY_PATH): Define.
77433 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77435         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77436         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77437         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77438         to...
77439         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77440         * Versions.def: Add GLIBC_2.14.
77441         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77442         Export.
77444 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77446         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77447         round counter.
77448         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77450 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77452         [BZ #12597]
77453         * string/test-strncmp.c (do_page_test): New function.
77454         (check2): Likewise.
77455         (test_main): Call check2.
77456         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77458 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77460         [BZ #12587]
77461         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77462         Handle cache information in CPU leaf 4.
77463         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77465 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77467         [BZ #12583]
77468         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77469         character representation.
77470         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77472 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77474         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77475         END(__isnan) to END(__isnanf) to match function entry point/label
77476         EALIGN(__isnanf,...).
77478 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77480         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77482 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77484         [BZ #12510]
77485         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77486         copy from the symbol referenced in the relocation to initialize the
77487         used variable.
77488         Patch by Piotr Bury <pbury@goahead.com>.
77489         * elf/Makefile: Add rules to build and tst-unique3.
77490         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77491         * elf/tst-unique3.cc: New file.
77492         * elf/tst-unique3.h: New file.
77493         * elf/tst-unique3lib.cc: New file.
77494         * elf/tst-unique3lib2.cc: New file.
77496         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77498 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77500         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77501         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77502         to _start.
77504 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77506         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77507         to-be-loaded object along a path to loader is ld.so.
77509 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77510             Ulrich Drepper  <drepper@gmail.com>
77512         * sysdeps/x86_64/memset.S: After aligning destination, code
77513         branches to different locations depending on the value of
77514         misalignment, when multiarch is enabled. Fix this.
77516 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77518         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77519         Set _x86_64_preferred_memory_instruction for AMD processsors.
77520         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77521         Set bit_Prefer_SSE_for_memop for AMD processors.
77523 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77525         * libio/fmemopen.c (fmemopen): Optimize a bit.
77527 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77529         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77531 2011-03-03  Roland McGrath  <roland@redhat.com>
77533         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77535 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77537         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77538         __bzero_ultra1 instead of __memset_ultra1.
77540 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77541             Ulrich Drepper  <drepper@gmail.com>
77543         [BZ #12509]
77544         * include/link.h (struct link_map): Add l_orig_initfini.
77545         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77546         returning unsuccessfully.
77547         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77548         close of a file loaded at startup, restore the original l_initfini
77549         list.
77550         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77551         list, store the pointer.
77552         * elf/Makefile ($(objpfx)noload-mem): New rule.
77553         (noload-ENV): Define.
77554         (tests): Add $(objpfx)noload-mem.
77555         * elf/noload.c: Include <memcheck.h>.
77556         (main): Call mtrace.  Close all opened handles.
77558 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77560         [BZ #12454]
77561         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77562         dependencies are missing.
77564 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77566         Fix __if_freereq crash: Unlike the generic version which uses free,
77567         Hurd needs munmap.
77568         * sysdeps/mach/hurd/ifreq.h: New file.
77570 2011-01-27  Petr Baudis  <pasky@suse.cz>
77571             Ulrich Drepper  <drepper@gmail.com>
77573         [BZ 12445]#
77574         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77575         to extend_alloca().
77576         * stdio-common/bug23.c: New file.
77577         * stdio-common/Makefile (tests): Add bug23.
77579 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77580             Ulrich Drepper  <drepper@gmail.com>
77582         [BZ #12489]
77583         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77584         before performing relro protection.  At old place add assertion
77585         to make sure nothing changed.
77587 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77588             Glauber de Oliveira Costa  <glommer@gmail.com>
77590         * elf/elf.h: Add new ARM TLS relocs.
77592 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77595         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77596         cast from r3.
77597         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77598         'tests' variable.
77599         * sysdeps/wordsize-64/tst-writev.c: New file.
77601 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77603         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77604         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77605         insns in _dl_start to prevent a TOC reference before relocs are
77606         resolved.
77608 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77610         [BZ #12469]
77611         * Makeconfig: Remove RANLIB definition.
77612         * Makerules: Don't use RANLIB.
77613         * aclocal.m4: Remove ranlib test.
77614         * configure.in: No need to check for ranlib.
77615         * elf/rtld-Rules: Don't use RANLIB.
77617 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77619         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77620         protection macro.
77621         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77622         inclusion protection macro.
77624         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77625         SIGRTMIN and SIGRTMAX and print information in that case only when
77626         SIGRTMIN is defined.
77628 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77630         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77631         arginfo fn returning -1.
77633         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77634         and thousands string is zero terminated.
77636 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77638         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77639         sysdeps/unix/sysv/linux/bits/socket.h.
77641 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77643         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77644         (__CPU_COUNT): Remove old macros.
77645         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77646         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77647         (__CPU_ALLOC, __CPU_FREE): Add macros.
77648         (__sched_cpualloc, __sched_cpufree): Add declarations.
77650 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77652         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77653         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77654         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77655         (readdhstai): Return value of addhstaiX call.
77656         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77657         (addgrbyX): Return value returned by cache_addgr.
77658         (readdgrbyname): Return value returned by addgrbyX.
77659         (readdgrbygid): Likewise.
77660         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77661         (addpwbyX): Return value returned by cache_addpw.
77662         (readdpwbyname): Return value returned by addhstbyX.
77663         (readdpwbyuid): Likewise.
77664         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77665         (addservbyX): Return value returned by cache_addserv.
77666         (readdservbyname): Return value returned by addservbyX:
77667         (readdservbyport): Likewise.
77668         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77669         (addhstbyX): Return value returned by cache_addhst.
77670         (readdhstbyname): Return value returned by addhstbyX.
77671         (readdhstbyaddr): Likewise.
77672         (readdhstbynamev6): Likewise.
77673         (readdhstbyaddrv6): Likewise.
77674         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77675         (readdinitgroups): Return value returned by addinitgroupsX.
77676         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77677         (prune_cache): Keep track of timeout value of re-added entries.
77678         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77679         * nscd/nscd.h: Adjust prototypes of readd* functions.
77681 2011-02-04  Roland McGrath  <roland@redhat.com>
77683         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77684         (nis_stats): Likewise.
77685         * nis/nis_modify.c (nis_modify): Likewise.
77686         * nis/nis_remove.c (nis_remove): Likewise.
77687         * nis/nis_add.c (nis_add): Likewise.
77689         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77691         * posix/fnmatch_loop.c: Add some consts.
77693         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77695 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77697         [BZ #12460]
77698         * config.make.in (config-cflags-novzeroupper): Define.
77699         * configure.in: Substitute libc_cv_cc_novzeroupper.
77700         * elf/Makefile (AVX-CFLAGS): Define.
77701         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77702         (CFLAGS-tst-auditmod4a.c): Likewise.
77703         (CFLAGS-tst-auditmod4b.c): Likewise.
77704         (CFLAGS-tst-auditmod6b.c): Likewise.
77705         (CFLAGS-tst-auditmod6c.c): Likewise.
77706         (CFLAGS-tst-auditmod7b.c): Likewise.
77707         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77709 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77711         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77712         function to the callback.
77713         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77715 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77717         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77718         of errno.
77720 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77722         [BZ #11724]
77723         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77724         of constructors.
77725         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77726         of destructors.
77727         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77729         [BZ #11724]
77730         * elf/Makefile: Add rules to build and run new test.
77731         * elf/tst-initorder.c: New file.
77732         * elf/tst-initorder.exp: New file.
77733         * elf/tst-initordera1.c: New file.
77734         * elf/tst-initordera2.c: New file.
77735         * elf/tst-initordera3.c: New file.
77736         * elf/tst-initordera4.c: New file.
77737         * elf/tst-initorderb1.c: New file.
77738         * elf/tst-initorderb2.c: New file.
77739         * elf/tst-order-a1.c: New file.
77740         * elf/tst-order-a2.c: New file.
77741         * elf/tst-order-a3.c: New file.
77742         * elf/tst-order-a4.c: New file.
77743         * elf/tst-order-b1.c: New file.
77744         * elf/tst-order-b2.c: New file.
77745         * elf/tst-order-main.c: New file.
77746         New test case by George Gensure <werkt0@gmail.com>.
77748 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77750         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77751         decoding ACE if AI_CANONIDN.
77753 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77755         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77757 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77759         * version.h (RELEASE): Bump for 2.13 release.
77760         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77762         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77764         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77765         MADV_NOHUGEPAGE.
77766         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77767         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77768         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77769         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77770         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77771         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77773         * posix/getconf.c: Update copyright year.
77774         * catgets/gencat.c: Likewise.
77775         * csu/version.c: Likewise.
77776         * debug/catchsegv.sh: Likewise.
77777         * debug/xtrace.sh: Likewise.
77778         * elf/ldconfig.c: Likewise.
77779         * elf/ldd.bash.in: Likewise.
77780         * elf/sprof.c (print_version): Likewise.
77781         * iconv/iconv_prog.c: Likewise.
77782         * iconv/iconvconfig.c: Likewise.
77783         * locale/programs/locale.c: Likewise.
77784         * locale/programs/localedef.c: Likewise.
77785         * malloc/memusage.sh: Likewise.
77786         * malloc/mtrace.pl: Likewise.
77787         * nscd/nscd.c (print_version): Likewise.
77788         * nss/getent.c: Likewise.
77790         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77791         PF_CAIF, and PF_ALG.
77792         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77794 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
77796         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77797         (modules-names): Use them.
77798         (ifunc-test-modules, ifunc-pie-tests): Define.
77799         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77800         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77801         (test-extras): Likewise.
77802         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77803         $(compile-command.c).
77804         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77805         (all-built-dso): Define.
77806         (check-textrel.out, check-execstack.out): Depend on it.
77808         * configure.in: Don't override --enable-multi-arch.
77810 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
77812         [BZ #6812]
77813         * nscd/hstcache.c (tryagain): Define.
77814         (cache_addhst): Return tryagain not notfound for temporary errors.
77815         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77816         failed.
77818 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
77820         [BZ #10563]
77821         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77822         to make the syscall.
77823         * sysdeps/unix/sysv/linux/setgroups.c: New file.
77825         [BZ #12378]
77826         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77827         and fall back to matching as normal character if the string ends before
77828         the matching ']' is found.  This is what POSIX requires.
77829         * posix/testfnm.c: Adjust test result.
77830         * posix/globtest.sh: Adjust test result.  Add new test.
77831         * posix/tst-fnmatch.input: Likewise.
77832         * posix/tst-fnmatch2.c: Add new test.
77834 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
77836         * elf/Makefile (check-execstack): Revert last change.  Depend on
77837         check-execstack.h.
77838         (check-execstack.h): New target.
77839         (generated): Add check-execstack.h.
77840         * elf/check-execstack.c: Include "check-execstack.h".
77841         (main): Revert last change.
77842         (handle_file): Return zero if GNU_STACK is absent and
77843         DEFAULT_STACK_PERMS doesn't include PF_X.
77845 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77847         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77848         in child fails because the descriptor is already closed.
77849         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77850         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77851         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77853         [BZ #12397]
77854         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77855         syscall.
77857         [BZ #10484]
77858         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77859         temporary buffer used to handle multi lookups locally.
77860         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77862 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77864         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77865         loader is ld.so.
77867 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77869         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77870         alignment for SSE2.
77872 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77874         [BZ #12394]
77875         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77876         characters.  When rounding increased number of integer digits recompute
77877         number of groups.
77878         * stdio-common/tst-grouping.c: New file.
77879         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77881 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77883         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77884         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77886         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77887         void.
77888         * bits/select.h: Likewise.
77890 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77892         * po/ja.po: Update from translation team.
77894 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77896         [BZ #11155]
77897         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77898         implementation just like for lxstat, fxstatat, et al.
77900 2010-12-27  Jim Meyering  <meyering@redhat.com>
77902         [BZ #12348]
77903         * posix/regexec.c (build_trtable): Return failure indication upon
77904         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77906 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77908         [BZ #12201]
77909         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77910         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77911         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77912         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77914         [BZ #12207]
77915         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77917         [BZ #12204]
77918         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77919         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77921 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77923         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77924         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77925         script has SORT_BY_INIT_PRIORITY.
77926         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77927         NO_CTORS_DTORS_SECTIONS is defined.
77928         * elf/soinit.c: Likewise.
77929         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77930         NO_CTORS_DTORS_SECTIONS is defined.
77931         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77932         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77933         * sysdeps/sh/init-first.c: Likewise.
77934         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77936 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77938         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77939         always use the slow path.
77941 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77943         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77944         similar rule which adds the sysdep directories to the header search in
77945         order to pick up the correct platform stackinfo.h.
77946         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77947         perform test if it is, otherwise return successfully without testing.
77948         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77949         DEFAULT_STACK_PERMS define in stackinfo.h.
77950         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77951         defined in stackinfo.h.
77952         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77953         DEFAULT_STACK_PERMS defined in stackinfo.h.
77954         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77955         * sysdeps/ia64/stackinfo.h: Likewise.
77956         * sysdeps/s390/stackinfo.h: Likewise.
77957         * sysdeps/sh/stackinfo.h: Likewise.
77958         * sysdeps/sparc/stackinfo.h: Likewise.
77959         * sysdeps/x86_64/stackinfo.h: Likewise.
77960         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77961         PF_X for powerpc64.  Retain PF_X for powerpc32.
77963 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77965         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77966         accurately.
77967         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77968         GETDENTS_64BIT_ALIGNED.
77970 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77972         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77974 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77976         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77977         _GNU_SOURCE.
77979         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77980         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77981         Remove __restrict.
77982         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77983         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77985 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77987         [BZ #11655]
77988         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77989         are initialized.
77991 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77993         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77995 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
77997         * po/it.po: Update from translation team.
77999 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78001         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78002         unused codes.
78004 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78006         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78008 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78010         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78011         specially.
78012         (gaih_getanswer_slice): Likewise.
78014 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78016         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78018 2010-05-31  Petr Baudis  <pasky@suse.cz>
78020         [BZ #11149]
78021         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78022         silently even in the chroot mode.
78024 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78026         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78027         last patch a bit.  Pretty printing
78029 2010-05-31  Petr Baudis <pasky@suse.cz>
78031         [BZ #10085]
78032         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78033         initialization of skip_initgroups_dyn.
78035 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78037         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78038         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78040 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78042         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78044 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78046         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78047         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78048         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78049         ($(objpfx)tst-fnmatch-mem): New rule.
78050         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78051         * posix/tst-fnmatch.c (main): Call mtrace.
78053 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78056         Support Intel processor model 6 and model 0x2c.
78058 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78060         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78061           signed comparison.
78063 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78065         [BZ #12205]
78066         * string/test-strncasecmp.c (check_result): New function.
78067         (do_one_test): Use it.
78068         (check1): New function.
78069         (test_main): Use it.
78070         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78071         Support strcasecmp and strncasecmp.
78073 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78075         [BZ #12194]
78076         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78077         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78079 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78081         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78082         IFUNC support.
78083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78084         memset-x86-64.
78085         * sysdeps/x86_64/multiarch/bzero.S: New file.
78086         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78087         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78088         * sysdeps/x86_64/multiarch/memset.S: New file.
78089         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78091         Set bit_Prefer_SSE_for_memop for Intel processors.
78092         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78093         Define.
78094         (index_Prefer_SSE_for_memop): Define.
78095         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78097 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78099         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78100         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78102 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78104         [BZ #12191]
78105         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78106         (__x86_64_raw_data_cache_size_half): Likewise.
78107         (__x86_64_raw_shared_cache_size): Likewise.
78108         (__x86_64_raw_shared_cache_size_half): Likewise.
78110         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78111         (__x86_64_raw_data_cache_size_half): Likewise.
78112         (__x86_64_raw_shared_cache_size): Likewise.
78113         (__x86_64_raw_shared_cache_size_half): Likewise.
78114         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78115         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78116         and __x86_64_raw_shared_cache_size_half.  Round
78117         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78118         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78119         to multiple of 256 bytes.
78121 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78123         [BZ #12167]
78124         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78125         of inacessible symlinks.  Verify result of symlink before returning it.
78126         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78127         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78129 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78131         * math/math.h (isinf): Fix typo in comment.
78133 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78135         * po/da.po: Update from translation team.
78137 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78139         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78140         is added to the list.
78142 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78143             Ulrich Drepper  <drepper@gmail.com>
78145         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78146         the global list here.  Move code to...
78147         (_dl_add_to_namespace_list): ...here.  New function.
78148         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78149         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78150         * elf/dl-load.c (lose): Don't remove the element from the list.
78151         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78152         (_dl_map_object): Likewise.
78154 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78156         [BZ #12159]
78157         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78158         into all bytes of SSE register.
78159         Patch by Richard Li <richardpku@gmail.com>.
78161 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78163         [BZ #12140]
78164         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78165         perturbing.
78167 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78169         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78170         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78171         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78172         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78174         submachine.
78175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78177 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78179         * include/dlfcn.h (__RTLD_SECURE): Define.
78180         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78181         mode & __RTLD_SECURE instead.
78182         (open_path): Rename preloaded parameter to secure.
78183         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78184         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78185         * elf/dl-deps.c (openaux): Likewise.
78186         * elf/rtld.c (struct map_args): Remove is_preloaded.
78187         (map_doit): Don't use it.
78188         (dl_main): Likewise.
78189         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78190         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78192 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78194         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78195         (sysd-rules-targets): Remove duplicates.
78196         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78197         rtld-%.$o dependency.
78199 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78201         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78202         _dl_map_object do it.
78204 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78206         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78207         fast fma builtins, define the macros in the C99 standard.
78208         (FP_FAST_FMAF): Likewise.
78209         (FP_FAST_FMAL): Likewise.
78210         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78212         * bits/mathdef.h: Update copyright year.
78213         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78215 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78217         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78218         builtins, define the macros in the C99 standard.
78219         (FP_FAST_FMAF): Likewise.
78220         (FP_FAST_FMAL): Likewise.
78221         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78222         multiply/add.
78223         (FP_FAST_FMAF): Likewise.
78225 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78227         [BZ #3268]
78228         * math/libm-test.inc (fma_test): Some new testcases.
78229         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78230         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78231         y and infinite z.  Do multiplication by C already in long double.
78232         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78233         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78234         y and infinite z.  Do bitwise or of inexact bit into u.d.
78235         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78236         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78237         * sysdeps/i386/fpu/s_fma.S: Removed.
78238         * sysdeps/i386/fpu/s_fmal.S: Removed.
78240 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78242         [BZ #3268]
78243         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78244         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78245         computation is not scheduled after fetestexcept.  Fix value
78246         of minimum denormal long double.
78248 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78250         [BZ #3268]
78251         * math/libm-test.inc (fma_test): Add some more tests.
78252         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78253         correctly.
78255 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78257         * scripts/data/localplt-s390-linux-gnu.data: New file.
78258         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78260 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78262         [BZ #3268]
78263         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78264         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78265         instead of dbl-64.
78266         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78267         inlines.
78268         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78269         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78270         if one of x and y is very large and the other is subnormal.
78271         * sysdeps/s390/fpu/s_fmaf.c: New file.
78272         * sysdeps/s390/fpu/s_fma.c: New file.
78273         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78274         * sysdeps/powerpc/fpu/s_fma.S: New file.
78275         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78276         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78277         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78279 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78281         [BZ #3268]
78282         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78283         fma tests.
78284         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78285         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78286         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78287         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78288         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78289         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78290         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78292 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78294         [BZ #12078]
78295         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78296         * posix/bug-regex31.input: Add test case.
78298 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78300         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78301         * posix/bug-regex31.input: New file.
78303         [BZ #12078]
78304         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78305         (parse_sub_exp): Fix last change, use postorder.
78307         * posix/bug-regex31.c: New file.
78308         * posix/Makefile: Add rules to build and run bug-regex31.
78310         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78312         [BZ #12078]
78313         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78315         [BZ #12108]
78316         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78317         to have entries in sys_siglist.
78319         [BZ #12093]
78320         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78321         be NULL.
78323 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78325         [BZ #3268]
78326         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78327         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78328         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78329         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78330         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78331         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78332         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78333         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78334         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78335         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78336         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78337         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78338         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78339         * math/ftestexcept.c (fetestexcept): Likewise.
78340         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78341         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78342         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78343         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78344         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78345         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78346         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78348 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78350         [BZ #12107]
78351         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78352         newline.
78354 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78356         * string/bug-strstr1.c: New file.
78357         * string/Makefile: Add rules to build and run bug-strstr1.
78359 2010-10-05  Eric Blake  <eblake@redhat.com>
78361         [BZ #12092]
78362         * string/str-two-way.h (two_way_long_needle): Always clear memory
78363         when skipping input due to the shift table.
78365 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78367         [BZ #12005]
78368         * malloc/mcheck.c: Handle large requests.
78370         [BZ #12077]
78371         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78372         for strncmp and strncasecmp.
78373         * string/stratcliff.c: Add tests for strcmp and strncmp.
78374         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78376 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78378         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78379         __set_fpscr.
78381 2010-09-30  Andreas Jaeger  <aj@suse.de>
78383         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78384         (CGROUP_SUPER_MAGIC): Define.
78385         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78386         Handle btrfs and cgroup file systems.
78387         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78388         Likewise.
78390 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78392         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78393         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78395 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78397         [BZ #12067]
78398         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78399         trying to locate the ELF header.
78401 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78403         [BZ #11611]
78404         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78405         Mask out sign-bit copies when constructing f_fsid.
78407 2010-09-24  Petr Baudis <pasky@suse.cz>
78409         * debug/stack_chk_fail_local.c: Add missing licence exception.
78410         * debug/warning-nop.c: Likewise.
78412 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78414         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78415         implementing getdents64 using getdents syscall, set d_type if
78416         __ASSUME_GETDENTS32_D_TYPE.
78418 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78420         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78421         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78423 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78425         [BZ #12037]
78426         * posix/unistd.h: Undo change of feature selection for ftruncate from
78427         2010-01-11.
78429 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78431         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78432         detection.
78434 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78436         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78437         fanotify_mark.
78438         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78440 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78442         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78443         variables after CHECK_SP call.
78444         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78446 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78447             Ulrich Drepper  <drepper@redhat.com>
78449         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78450         re-relocationg ld.so.
78451         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78452         _dl_init_paths call.
78453         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78454         here anymore.
78456 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78458         * resolv/res_init.c (__res_vinit): Count the default server we added.
78460 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78461             Ulrich Drepper  <drepper@redhat.com>
78463         [BZ #11968]
78464         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78465         (____longjmp_chk): Use %ebx for saving value across system call.
78466         Add unwind info.
78468 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78470         * manual/Makefile: Don't mix pattern rules with normal rules.
78472 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78474         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78475         operation.
78476         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78477         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78478         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78479         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78480         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78481         Likewise.
78483 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78485         [BZ #11979]
78486         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78487         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78489 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78491         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78492         * sysdeps/x86_64/addmul_1.S: Likewise.
78493         * sysdeps/x86_64/lshift.S: Likewise.
78494         * sysdeps/x86_64/mul_1.S: Likewise.
78495         * sysdeps/x86_64/rshift.S: Likewise.
78496         * sysdeps/x86_64/sub_n.S: Likewise.
78497         * sysdeps/x86_64/submul_1.S: Likewise.
78499 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78501         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78502         Define __sched_param instead of SCHED_* and sched_param when
78503         <bits/sched.h> is included with __need_schedparam defined.
78504         * bits/sched.h [__need_schedparam]
78505         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78506         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78507         (__defined_schedparam): Define to 1.
78508         (__sched_param): New structure, identical to sched_param.
78509         (__need_schedparam): Undefine.
78511 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78513         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78514         (epoll_create1): Declare.
78516         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78518 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78520         [BZ #7066]
78521         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78522         shifting retval into place.
78524 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78526         * nis/rpcsvc/nis.h: Update copyright notice.
78527         * nis/rpcsvc/nis.x: Likewise.
78528         * nis/rpcsvc/nis_callback.h: Likewise.
78529         * nis/rpcsvc/nis_callback.x: Likewise.
78530         * nis/rpcsvc/nis_object.x: Likewise.
78531         * nis/rpcsvc/nis_tags.h: Likewise.
78532         * nis/rpcsvc/yp.h: Likewise.
78533         * nis/rpcsvc/yp.x: Likewise.
78534         * nis/rpcsvc/ypupd.h: Likewise.
78535         * nis/yp_xdr.c: Likewise.
78536         * nis/ypupdate_xdr.c: Likewise.
78538         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78539         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78540         (pmap_getport): Use __libc_rpc_getport.
78541         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78542         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78543         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78545 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78548         fanotify_mark.
78550 2010-08-27  Roland McGrath  <roland@redhat.com>
78552         * sysdeps/i386/i686/multiarch/Makefile
78553         (CFLAGS-varshift.c): New variable.
78555 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78557         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78558         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78560         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78562         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78564 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78566         * sysdeps/x86_64/strlen.S: Unroll the loop.
78567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78568         strlen-sse2 strlen-sse2-bsf.
78569         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78570         __strlen_no_bsf if bit_Slow_BSF is set.
78571         (__strlen_sse42): Removed.
78572         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78573         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78575 2010-08-25  Roland McGrath  <roland@redhat.com>
78577         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78578         * sysdeps/x86_64/multiarch/varshift.c: New file.
78579         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78580         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78581         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78582         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78584 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78586         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78587         strlen-sse2 strlen-sse2-bsf.
78588         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78589         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78590         (__strlen_sse2): Removed.
78591         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78592         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78594         bit_Slow_BSF for Atom.
78595         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78596         (index_Slow_BSF): Define.
78597         (HAS_SLOW_BSF): Define.
78599 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78601         [BZ #10851]
78602         * resolv/res_init.c (__res_vinit): When no server address at all
78603         is given default to loopback.
78605 2010-08-24  Roland McGrath  <roland@redhat.com>
78607         * configure.in: Remove config-name.h generation.
78608         * configure: Regenerated.
78609         * config-name.in: File removed.
78610         * scripts/config-uname.sh: New file.
78611         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78612         ($(objdir)config-name.h): New target.
78614         * sunrpc/rpc_parse.h: Avoid nested comment.
78616 2010-08-24  Richard Henderson  <rth@redhat.com>
78617             Ulrich Drepper  <drepper@redhat.com>
78618             H.J. Lu  <hongjiu.lu@intel.com>
78620         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78622         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78623         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78624         _mm_alignr_epi8 with _mm_loadu_si128.
78625         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78626         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78627         (__m128i_shift_right): Removed.
78628         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78629         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78630         * sysdeps/x86_64/multiarch/varshift.h: New file.
78631         * sysdeps/x86_64/multiarch/varshift.S: New file.
78633 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78635         * configure.in: Move assembler checks to before sysdep dir checking.
78637 2010-08-20  Petr Baudis  <pasky@suse.cz>
78639         * LICENSES: Sync the sunrpc license.
78641 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78643         * sunrpc/auth_des.c: Update copyright notice once again.
78644         * sunrpc/auth_none.c: Likewise.
78645         * sunrpc/auth_unix.c: Likewise.
78646         * sunrpc/authdes_prot.c: Likewise.
78647         * sunrpc/authuxprot.c: Likewise.
78648         * sunrpc/bindrsvprt.c: Likewise.
78649         * sunrpc/clnt_gen.c: Likewise.
78650         * sunrpc/clnt_perr.c: Likewise.
78651         * sunrpc/clnt_raw.c: Likewise.
78652         * sunrpc/clnt_simp.c: Likewise.
78653         * sunrpc/clnt_tcp.c: Likewise.
78654         * sunrpc/clnt_udp.c: Likewise.
78655         * sunrpc/clnt_unix.c: Likewise.
78656         * sunrpc/des_crypt.c: Likewise.
78657         * sunrpc/des_soft.c: Likewise.
78658         * sunrpc/get_myaddr.c: Likewise.
78659         * sunrpc/getrpcport.c: Likewise.
78660         * sunrpc/key_call.c: Likewise.
78661         * sunrpc/key_prot.c: Likewise.
78662         * sunrpc/openchild.c: Likewise.
78663         * sunrpc/pm_getmaps.c: Likewise.
78664         * sunrpc/pm_getport.c: Likewise.
78665         * sunrpc/pmap_clnt.c: Likewise.
78666         * sunrpc/pmap_prot.c: Likewise.
78667         * sunrpc/pmap_prot2.c: Likewise.
78668         * sunrpc/pmap_rmt.c: Likewise.
78669         * sunrpc/rpc/auth.h: Likewise.
78670         * sunrpc/rpc/auth_unix.h: Likewise.
78671         * sunrpc/rpc/clnt.h: Likewise.
78672         * sunrpc/rpc/des_crypt.h: Likewise.
78673         * sunrpc/rpc/key_prot.h: Likewise.
78674         * sunrpc/rpc/netdb.h: Likewise.
78675         * sunrpc/rpc/pmap_clnt.h: Likewise.
78676         * sunrpc/rpc/pmap_prot.h: Likewise.
78677         * sunrpc/rpc/pmap_rmt.h: Likewise.
78678         * sunrpc/rpc/rpc.h: Likewise.
78679         * sunrpc/rpc/rpc_des.h: Likewise.
78680         * sunrpc/rpc/rpc_msg.h: Likewise.
78681         * sunrpc/rpc/svc.h: Likewise.
78682         * sunrpc/rpc/svc_auth.h: Likewise.
78683         * sunrpc/rpc/types.h: Likewise.
78684         * sunrpc/rpc/xdr.h: Likewise.
78685         * sunrpc/rpc_clntout.c: Likewise.
78686         * sunrpc/rpc_cmsg.c: Likewise.
78687         * sunrpc/rpc_common.c: Likewise.
78688         * sunrpc/rpc_cout.c: Likewise.
78689         * sunrpc/rpc_dtable.c: Likewise.
78690         * sunrpc/rpc_hout.c: Likewise.
78691         * sunrpc/rpc_main.c: Likewise.
78692         * sunrpc/rpc_parse.c: Likewise.
78693         * sunrpc/rpc_parse.h: Likewise.
78694         * sunrpc/rpc_prot.c: Likewise.
78695         * sunrpc/rpc_sample.c: Likewise.
78696         * sunrpc/rpc_scan.c: Likewise.
78697         * sunrpc/rpc_scan.h: Likewise.
78698         * sunrpc/rpc_svcout.c: Likewise.
78699         * sunrpc/rpc_tblout.c: Likewise.
78700         * sunrpc/rpc_util.c: Likewise.
78701         * sunrpc/rpc_util.h: Likewise.
78702         * sunrpc/rpcinfo.c: Likewise.
78703         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78704         * sunrpc/rpcsvc/key_prot.x: Likewise.
78705         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78706         * sunrpc/rpcsvc/mount.x: Likewise.
78707         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78708         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78709         * sunrpc/rpcsvc/rex.x: Likewise.
78710         * sunrpc/rpcsvc/rstat.x: Likewise.
78711         * sunrpc/rpcsvc/rusers.x: Likewise.
78712         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78713         * sunrpc/rpcsvc/spray.x: Likewise.
78714         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78715         * sunrpc/rtime.c: Likewise.
78716         * sunrpc/svc.c: Likewise.
78717         * sunrpc/svc_auth.c: Likewise.
78718         * sunrpc/svc_authux.c: Likewise.
78719         * sunrpc/svc_raw.c: Likewise.
78720         * sunrpc/svc_run.c: Likewise.
78721         * sunrpc/svc_simple.c: Likewise.
78722         * sunrpc/svc_tcp.c: Likewise.
78723         * sunrpc/svc_udp.c: Likewise.
78724         * sunrpc/svc_unix.c: Likewise.
78725         * sunrpc/svcauth_des.c: Likewise.
78726         * sunrpc/xcrypt.c: Likewise.
78727         * sunrpc/xdr.c: Likewise.
78728         * sunrpc/xdr_array.c: Likewise.
78729         * sunrpc/xdr_float.c: Likewise.
78730         * sunrpc/xdr_mem.c: Likewise.
78731         * sunrpc/xdr_rec.c: Likewise.
78732         * sunrpc/xdr_ref.c: Likewise.
78733         * sunrpc/xdr_sizeof.c: Likewise.
78734         * sunrpc/xdr_stdio.c: Likewise.
78736         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78737         handling.
78739 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78741         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78743 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78745         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78746         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78747         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78748         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78749         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78750         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78751         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78752         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78753         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78754         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78755         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78756         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78757         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78758         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78760 2010-07-26  Anton Blanchard  <anton@samba.org>
78762         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78763         * malloc/arena.c (heap_trim): Likewise.
78765 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78767         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78768         here.  Not...
78769         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78770         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78772 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
78774         * sysdeps/i386/elf/Makefile: New file.
78776 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78778         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78779         from fanotify_init.
78780         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78781         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78783 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
78785         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78786         of strncasecmp_l.
78787         * sysdeps/multiarch/strcmp.S: Likewise.
78789 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
78791         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78792         strncase_l-nonascii.
78793         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78794         Add strncase_l-ssse3.
78795         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78796         * sysdeps/x86_64/strcmp.S: Likewise.
78797         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78798         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78799         * sysdeps/x86_64/strncase.S: New file.
78800         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78801         * sysdeps/x86_64/strncase_l.S: New file.
78802         * string/Makefile (strop-tests): Add strncasecmp.
78803         * string/test-strncasecmp.c: New file.
78805         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78806         warning.
78808         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78809         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78811 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78813         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78815 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
78817         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78818         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78819         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78821 2010-05-01  Alan Modra  <amodra@gmail.com>
78823         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78824         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78825         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78826         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78827         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78828         tidying.  Don't tail-call __sigjmp_save for static lib.
78829         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78830         save location.
78831         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78832         (CALL_MCOUNT): Add eh info, and nop after bl.
78833         (TAIL_CALL_SYSCALL_ERROR): New macro.
78834         (PSEUDO_RET): Use it.
78835         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78836         Correct save location of integer regs and cr.
78837         (_dl_profile_resolve): Correct cr save location.  Delete nops
78838         after bl when SHARED.  Reduce cfi size a little by better
78839         placement of cfi directives.
78840         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78841         make a stack frame.  Instead use parm save area as a temp.
78842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78843         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78845         Don't make a stack frame for parent, use parm save area.
78846         Increase child stack frame to 112 bytes.  Don't save unused reg,
78847         and adjust reg usage.  Set up cfi on error recovery and
78848         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78850         (__makecontext): Add dummy nop after jump to exit.
78851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78852         Use correct parm save area and cr save, reduce stack frame.
78853         Correct cfi for possible PSEUDO_RET frame setup.
78854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78855         Branch to local label emitted by PSEUDO_RET rather than
78856         __syscall_error.
78858 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78860         [BZ #11904]
78861         * locale/programs/locale.c (print_assignment): New function.
78862         (show_locale_vars): Use it.
78864 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78866         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78867         field.
78868         (struct statfs64): Likewise.
78869         (_STATFS_F_FLAGS): Define.
78870         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78871         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78872         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78873         (ST_VALID): Define locally.
78874         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78875         __statvfs_getflags, use the provided value.
78876         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78877         __ASSUME_STATFS_F_FLAGS.
78879         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78881         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78882         Add sys/fanotify.h.
78883         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78884         fanotify_mask for GLIBC_2.13.
78885         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78886         fanotify_init and fanotify_mark.
78887         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78888         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78890         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78891         Add prlimit.
78892         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78893         prlimit64 for GLIBC_2.13.
78894         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78895         prlimit64.
78896         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78897         syscall.
78898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78899         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78900         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78901         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78902         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78903         add prlimit alias.
78904         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78906         [BZ #11903]
78907         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78908         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78910         * nss/Makefile: Add rules to build and run tst-nss-test1.
78911         * shlib-versions: Add entry for libnss_test1.
78912         * nss/nss_test1.c: New file.
78913         * nss/tst-nss-test1.c: New file.
78915         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78916         (__nss_configure_lookup): Set appropriate entry in
78917         __nss_configure_lookup to true.
78918         * nss/nsswitch.h: Define enum with indeces of databases in
78919         databases and __nss_database_custom arrays.  Declare
78920         __nss_database_custom.
78921         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78922         to avoid using nscd when custom rules are installed.
78923         * nss/getXXbyYY_r.c: Likewise.
78924         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78926         * nss/nss_files/files-parse.c: Whitespace fixes.
78928 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78930         [BZ #11883]
78931         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78932         * posix/fnmatch_loop.c: Likewise.
78934 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78936         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78937         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78938         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78939         * Versions.def [GLIBC_2.13]: Add.
78941 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78943         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78944         Also fail if tpwd after pwuid call is NULL.
78946 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78948         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78949         when converting to ms.
78951 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78953         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78954         EOPNOTSUPP errors with ENOTTY.
78955         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78956         EOPNOTSUPP errors with ENOTTY.
78958 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78960         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78961         Add strcasecmp_l-ssse3.
78962         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78963         strcasecmp.
78964         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78965         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78966         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78968 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78970         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78972         * string/Makefile (strop-tests): Add strcasecmp.
78973         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78974         strcasecmp_l-nonascii.
78975         (gen-as-const-headers): Add locale-defines.sym.
78976         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78977         * sysdeps/x86_64/strcasecmp.S: New file.
78978         * sysdeps/x86_64/strcasecmp_l.S: New file.
78979         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78980         * sysdeps/x86_64/locale-defines.sym: New file.
78981         * string/test-strcasecmp.c: New file.
78983         * string/test-strcasestr.c: Test both ends of the range of characters.
78984         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78986 2010-07-29  Roland McGrath  <roland@redhat.com>
78988         [BZ #11856]
78989         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78991 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78993         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78994         for ld.so.
78996 2010-07-27  Andreas Schwab  <schwab@redhat.com>
78998         * manual/memory.texi (Malloc Tunable Parameters): Document
78999         M_PERTURB.
79001 2010-07-26  Roland McGrath  <roland@redhat.com>
79003         [BZ #11840]
79004         * configure.in (-fgnu89-inline check): Set and substitute
79005         gnu89_inline, not libc_cv_gnu89_inline.
79006         * configure: Regenerated.
79007         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79009 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79011         * string/test-strnlen.c: New file.
79012         * string/Makefile (strop-tests): Add strnlen.
79013         * string/tester.c (test_strnlen): Add a few more test cases.
79014         * string/tst-strlen.c: Better error reporting.
79016         * sysdeps/x86_64/strnlen.S: New file.
79018 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79020         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79021         lower-latency instructions.
79023 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79025         * string/test-strcasestr.c: New file.
79026         * string/test-strstr.c: New file.
79027         * string/Makefile (strop-tests): Add strstr and strcasestr.
79028         * string/str-two-way.h: Don't undefine MAX.
79029         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79031 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79034         strcasestr-nonascii.
79035         (CFLAGS-strcasestr-nonascii.c): Define.
79036         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79037         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79038         Remove unused attribute.
79040 2010-07-20  Roland McGrath  <roland@redhat.com>
79042         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79043         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79044         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79045         like LD_HWCAP_MASK can disable hwcaps.
79047 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79049         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79051 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79053         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79054         call in strcasestr.
79055         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79056         __strcasestr_sse42_nonascii.
79057         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79058         strcasestr-nonascii.c.
79059         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79061 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79063         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79064         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79065         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79066         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79068 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79070         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79071         fcntl.
79073 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79075         [BZ #11577]
79076         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79077         dl_signal_cerror.
79079 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79081         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79082         _PC_PIPE_BUF using F_GETPIPE_SZ.
79084 2010-07-05  Roland McGrath  <roland@redhat.com>
79086         * manual/arith.texi (Rounding Functions): Fix rint description
79087         implicit in round description.
79089 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79091         * elf/Makefile: Fix linking for a few tests to make recent linker
79092         happy.
79094 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79096         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79097         $(common-objpfx)libc_nonshared.a.
79099 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79101         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79102         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79103         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79104         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79105         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79106         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79107         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79108         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79123         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79124         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79125         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79126         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79127         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79128         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79129         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79130         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79131         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79132         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79133         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79134         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79150 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79152         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79153         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79154         * string/memmove.c (memmove): Renamed to ...
79155         (MEMMOVE): ...this.  Default to memmove.
79156         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79157         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79158         (END_CHK): Define.
79159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79160         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79161         mempcpy-ssse3-back memmove-ssse3-back.
79162         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79163         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79164         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79165         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79166         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79167         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79168         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79169         * sysdeps/x86_64/multiarch/memmove.c: New file.
79170         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79171         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79172         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79173         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79174         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79175         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79176         Define.
79177         (index_Fast_Copy_Backward): Define.
79178         (HAS_ARCH_FEATURE): Define.
79179         (HAS_FAST_REP_STRING): Define.
79180         (HAS_FAST_COPY_BACKWARD): Define.
79182 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79184         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79185         Restore proper fallback handling.
79187 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79189         [BZ #11701]
79190         * posix/group_member.c (__group_member): Correct checking loop.
79192         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79193         OOM in getpwuid_r correctly.  Return error number when the caller
79194         should return, otherwise -1.
79195         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79196         call returning > 0 value.
79197         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79199 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79201         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79202         libc_nonshared.a from targets in modules-names.
79204 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79206         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79207         requires it.
79209 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79211         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79212         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79213         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79214         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79216 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79218         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79220 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79222         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79223         and F_GETPIPE_SZ.
79224         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79225         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79226         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79227         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79228         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79229         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79231 2010-06-14  Roland McGrath  <roland@redhat.com>
79233         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79235 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79237         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79238         __REDIRECT followed by __THROW.
79239         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79240         * posix/getopt.h (getopt): Likewise.
79242 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79244         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79245         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79246         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79247         in AT_FLAGS.
79248         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79249         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79251 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79253         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79255 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79257         [BZ #11640]
79258         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79259         Properly check family and model.
79261 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79263         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79265 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79267         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79269 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79271         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79272         symbol reference.
79274 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79276         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79277         symbol reference.
79279 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79281         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79282         and internal_recvmmsg.
79283         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79284         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79285         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79286         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79288         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79289         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79290         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79292 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79294         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79296 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79298         POWER7 optimizations.
79299         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79300         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79302 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79304         * version.h: Update for 2.13 development version.
79306 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79308         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79309         exceptions.  Return 0.
79311 2010-05-07  Roland McGrath  <roland@redhat.com>
79313         * elf/ldconfig.c (main): Add a const.
79315 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79317         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79318         (args_options): Add no-idn option.
79319         (ahosts_keys_int): Add idn_flags to ai_flags.
79320         (parse_option): Handle 'i' option to clear idn_flags.
79322         * malloc/malloc.c (_int_free): Possible race in the most recently
79323         added check.  Only act on the data if no current modification
79324         happened.
79326 See ChangeLog.17 for earlier changes.